Class: Peddler::APIs::ExternalFulfillmentShipments20240911::ShipmentInfo

Inherits:
Data
  • Object
show all
Defined in:
sig/peddler/apis/external_fulfillment_shipments_2024_09_11.rbs

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#buyer_order_idString (readonly)

Returns the value of attribute buyer_order_id.

Returns:

  • (String)


808
809
810
# File 'sig/peddler/apis/external_fulfillment_shipments_2024_09_11.rbs', line 808

def buyer_order_id
  @buyer_order_id
end

#number_of_unitsInteger (readonly)

Returns the value of attribute number_of_units.

Returns:

  • (Integer)


809
810
811
# File 'sig/peddler/apis/external_fulfillment_shipments_2024_09_11.rbs', line 809

def number_of_units
  @number_of_units
end

#order_placed_timestampString? (readonly)

Returns the value of attribute order_placed_timestamp.

Returns:

  • (String, nil)


810
811
812
# File 'sig/peddler/apis/external_fulfillment_shipments_2024_09_11.rbs', line 810

def order_placed_timestamp
  @order_placed_timestamp
end

#order_states_eligible_for_rejectionArray[String]? (readonly)

Returns the value of attribute order_states_eligible_for_rejection.

Returns:

  • (Array[String], nil)


811
812
813
# File 'sig/peddler/apis/external_fulfillment_shipments_2024_09_11.rbs', line 811

def order_states_eligible_for_rejection
  @order_states_eligible_for_rejection
end

#original_shipment_infoPeddler::APIs::ExternalFulfillmentShipments20240911::ReplacedShipmentInfo? (readonly)

Returns the value of attribute original_shipment_info.



812
813
814
# File 'sig/peddler/apis/external_fulfillment_shipments_2024_09_11.rbs', line 812

def original_shipment_info
  @original_shipment_info
end

#payment_methodString? (readonly)

Returns the value of attribute payment_method.

Returns:

  • (String, nil)


813
814
815
# File 'sig/peddler/apis/external_fulfillment_shipments_2024_09_11.rbs', line 813

def payment_method
  @payment_method
end

#priorityString (readonly)

Returns the value of attribute priority.

Returns:

  • (String)


814
815
816
# File 'sig/peddler/apis/external_fulfillment_shipments_2024_09_11.rbs', line 814

def priority
  @priority
end

#processing_sourceString? (readonly)

Returns the value of attribute processing_source.

Returns:

  • (String, nil)


815
816
817
# File 'sig/peddler/apis/external_fulfillment_shipments_2024_09_11.rbs', line 815

def processing_source
  @processing_source
end

#shipment_typeString (readonly)

Returns the value of attribute shipment_type.

Returns:

  • (String)


816
817
818
# File 'sig/peddler/apis/external_fulfillment_shipments_2024_09_11.rbs', line 816

def shipment_type
  @shipment_type
end

Class Method Details

.[](buyer_order_id:, number_of_units:, priority:, shipment_type:, order_placed_timestamp:, order_states_eligible_for_rejection:, original_shipment_info:, payment_method:, processing_source:) ⇒ Peddler::APIs::ExternalFulfillmentShipments20240911::ShipmentInfo .[](arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8) ⇒ Peddler::APIs::ExternalFulfillmentShipments20240911::ShipmentInfo

Overloads:



801
802
# File 'sig/peddler/apis/external_fulfillment_shipments_2024_09_11.rbs', line 801

def self.[]: (buyer_order_id: String, number_of_units: Integer, priority: String, shipment_type: String, ?order_placed_timestamp: String?, ?order_states_eligible_for_rejection: Array[String]?, ?original_shipment_info: Peddler::APIs::ExternalFulfillmentShipments20240911::ReplacedShipmentInfo?, ?payment_method: String?, ?processing_source: String?) -> Peddler::APIs::ExternalFulfillmentShipments20240911::ShipmentInfo
| (String, Integer, String, String, String?, Array[String]?, Peddler::APIs::ExternalFulfillmentShipments20240911::ReplacedShipmentInfo?, String?, String?) -> Peddler::APIs::ExternalFulfillmentShipments20240911::ShipmentInfo

.members[ :buyer_order_id, :number_of_units, :priority, :shipment_type, :order_placed_timestamp, :order_states_eligible_for_rejection, :original_shipment_info, :payment_method, :processing_source ]

Returns:

  • ([ :buyer_order_id, :number_of_units, :priority, :shipment_type, :order_placed_timestamp, :order_states_eligible_for_rejection, :original_shipment_info, :payment_method, :processing_source ])


804
# File 'sig/peddler/apis/external_fulfillment_shipments_2024_09_11.rbs', line 804

def self.members: () -> [ :buyer_order_id, :number_of_units, :priority, :shipment_type, :order_placed_timestamp, :order_states_eligible_for_rejection, :original_shipment_info, :payment_method, :processing_source ]

.new(buyer_order_id:, number_of_units:, priority:, shipment_type:, order_placed_timestamp:, order_states_eligible_for_rejection:, original_shipment_info:, payment_method:, processing_source:) ⇒ Peddler::APIs::ExternalFulfillmentShipments20240911::ShipmentInfo .new(arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8) ⇒ Peddler::APIs::ExternalFulfillmentShipments20240911::ShipmentInfo

Overloads:



799
800
# File 'sig/peddler/apis/external_fulfillment_shipments_2024_09_11.rbs', line 799

def self.new: (buyer_order_id: String, number_of_units: Integer, priority: String, shipment_type: String, ?order_placed_timestamp: String?, ?order_states_eligible_for_rejection: Array[String]?, ?original_shipment_info: Peddler::APIs::ExternalFulfillmentShipments20240911::ReplacedShipmentInfo?, ?payment_method: String?, ?processing_source: String?) -> Peddler::APIs::ExternalFulfillmentShipments20240911::ShipmentInfo
| (String, Integer, String, String, String?, Array[String]?, Peddler::APIs::ExternalFulfillmentShipments20240911::ReplacedShipmentInfo?, String?, String?) -> Peddler::APIs::ExternalFulfillmentShipments20240911::ShipmentInfo

.parsePeddler::APIs::ExternalFulfillmentShipments20240911::ShipmentInfo

Parameters:

  • (Hash[String | Symbol, untyped])
  • (Object)

Returns:



806
# File 'sig/peddler/apis/external_fulfillment_shipments_2024_09_11.rbs', line 806

def self.parse: (?Hash[String | Symbol, untyped], **untyped) -> Peddler::APIs::ExternalFulfillmentShipments20240911::ShipmentInfo

Instance Method Details

#members[ :buyer_order_id, :number_of_units, :priority, :shipment_type, :order_placed_timestamp, :order_states_eligible_for_rejection, :original_shipment_info, :payment_method, :processing_source ]

Returns:

  • ([ :buyer_order_id, :number_of_units, :priority, :shipment_type, :order_placed_timestamp, :order_states_eligible_for_rejection, :original_shipment_info, :payment_method, :processing_source ])


818
# File 'sig/peddler/apis/external_fulfillment_shipments_2024_09_11.rbs', line 818

def members: () -> [ :buyer_order_id, :number_of_units, :priority, :shipment_type, :order_placed_timestamp, :order_states_eligible_for_rejection, :original_shipment_info, :payment_method, :processing_source ]

#to_h{ buyer_order_id: String, number_of_units: Integer, priority: String, shipment_type: String, order_placed_timestamp: String?, order_states_eligible_for_rejection: Array[String]?, original_shipment_info: Peddler::APIs::ExternalFulfillmentShipments20240911::ReplacedShipmentInfo?, payment_method: String?, processing_source: String? }

Returns:



819
# File 'sig/peddler/apis/external_fulfillment_shipments_2024_09_11.rbs', line 819

def to_h: () -> { buyer_order_id: String, number_of_units: Integer, priority: String, shipment_type: String, order_placed_timestamp: String?, order_states_eligible_for_rejection: Array[String]?, original_shipment_info: Peddler::APIs::ExternalFulfillmentShipments20240911::ReplacedShipmentInfo?, payment_method: String?, processing_source: String? }