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_id ⇒ String (readonly)

Returns the value of attribute buyer_order_id.

Returns:

  • (String)


864
865
866
# File 'sig/peddler/apis/external_fulfillment_shipments_2024_09_11.rbs', line 864

def buyer_order_id
  @buyer_order_id
end

#number_of_units ⇒ Integer (readonly)

Returns the value of attribute number_of_units.

Returns:

  • (Integer)


865
866
867
# File 'sig/peddler/apis/external_fulfillment_shipments_2024_09_11.rbs', line 865

def number_of_units
  @number_of_units
end

#order_placed_timestamp ⇒ String? (readonly)

Returns the value of attribute order_placed_timestamp.

Returns:

  • (String, nil)


866
867
868
# File 'sig/peddler/apis/external_fulfillment_shipments_2024_09_11.rbs', line 866

def order_placed_timestamp
  @order_placed_timestamp
end

#order_states_eligible_for_rejection ⇒ Array[String]? (readonly)

Returns the value of attribute order_states_eligible_for_rejection.

Returns:

  • (Array[String], nil)


867
868
869
# File 'sig/peddler/apis/external_fulfillment_shipments_2024_09_11.rbs', line 867

def order_states_eligible_for_rejection
  @order_states_eligible_for_rejection
end

#original_shipment_info ⇒ Peddler::APIs::ExternalFulfillmentShipments20240911::ReplacedShipmentInfo? (readonly)

Returns the value of attribute original_shipment_info.



868
869
870
# File 'sig/peddler/apis/external_fulfillment_shipments_2024_09_11.rbs', line 868

def original_shipment_info
  @original_shipment_info
end

#payment_method ⇒ String? (readonly)

Returns the value of attribute payment_method.

Returns:

  • (String, nil)


869
870
871
# File 'sig/peddler/apis/external_fulfillment_shipments_2024_09_11.rbs', line 869

def payment_method
  @payment_method
end

#priority ⇒ String (readonly)

Returns the value of attribute priority.

Returns:

  • (String)


870
871
872
# File 'sig/peddler/apis/external_fulfillment_shipments_2024_09_11.rbs', line 870

def priority
  @priority
end

#processing_source ⇒ String? (readonly)

Returns the value of attribute processing_source.

Returns:

  • (String, nil)


871
872
873
# File 'sig/peddler/apis/external_fulfillment_shipments_2024_09_11.rbs', line 871

def processing_source
  @processing_source
end

#shipment_type ⇒ String (readonly)

Returns the value of attribute shipment_type.

Returns:

  • (String)


872
873
874
# File 'sig/peddler/apis/external_fulfillment_shipments_2024_09_11.rbs', line 872

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:



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

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 ])


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

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:



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

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

.parse ⇒ Peddler::APIs::ExternalFulfillmentShipments20240911::ShipmentInfo

Parameters:

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

Returns:



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

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 ])


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

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:



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

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? }