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)


753
754
755
# File 'sig/peddler/apis/external_fulfillment_shipments_2024_09_11.rbs', line 753

def buyer_order_id
  @buyer_order_id
end

#number_of_unitsInteger (readonly)

Returns the value of attribute number_of_units.

Returns:

  • (Integer)


754
755
756
# File 'sig/peddler/apis/external_fulfillment_shipments_2024_09_11.rbs', line 754

def number_of_units
  @number_of_units
end

#order_placed_timestampString? (readonly)

Returns the value of attribute order_placed_timestamp.

Returns:

  • (String, nil)


755
756
757
# File 'sig/peddler/apis/external_fulfillment_shipments_2024_09_11.rbs', line 755

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)


756
757
758
# File 'sig/peddler/apis/external_fulfillment_shipments_2024_09_11.rbs', line 756

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.



757
758
759
# File 'sig/peddler/apis/external_fulfillment_shipments_2024_09_11.rbs', line 757

def original_shipment_info
  @original_shipment_info
end

#priorityString (readonly)

Returns the value of attribute priority.

Returns:

  • (String)


758
759
760
# File 'sig/peddler/apis/external_fulfillment_shipments_2024_09_11.rbs', line 758

def priority
  @priority
end

#processing_sourceString? (readonly)

Returns the value of attribute processing_source.

Returns:

  • (String, nil)


759
760
761
# File 'sig/peddler/apis/external_fulfillment_shipments_2024_09_11.rbs', line 759

def processing_source
  @processing_source
end

#shipment_typeString (readonly)

Returns the value of attribute shipment_type.

Returns:

  • (String)


760
761
762
# File 'sig/peddler/apis/external_fulfillment_shipments_2024_09_11.rbs', line 760

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:, processing_source:) ⇒ Peddler::APIs::ExternalFulfillmentShipments20240911::ShipmentInfo .[](arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7) ⇒ Peddler::APIs::ExternalFulfillmentShipments20240911::ShipmentInfo

Overloads:



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

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?, ?processing_source: String?) -> Peddler::APIs::ExternalFulfillmentShipments20240911::ShipmentInfo
| (String, Integer, String, String, String?, Array[String]?, Peddler::APIs::ExternalFulfillmentShipments20240911::ReplacedShipmentInfo?, 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, :processing_source ]

Returns:

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


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

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

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

Overloads:



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

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?, ?processing_source: String?) -> Peddler::APIs::ExternalFulfillmentShipments20240911::ShipmentInfo
| (String, Integer, String, String, String?, Array[String]?, Peddler::APIs::ExternalFulfillmentShipments20240911::ReplacedShipmentInfo?, String?) -> Peddler::APIs::ExternalFulfillmentShipments20240911::ShipmentInfo

.parsePeddler::APIs::ExternalFulfillmentShipments20240911::ShipmentInfo

Parameters:

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

Returns:



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

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, :processing_source ]

Returns:

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


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

def members: () -> [ :buyer_order_id, :number_of_units, :priority, :shipment_type, :order_placed_timestamp, :order_states_eligible_for_rejection, :original_shipment_info, :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?, processing_source: String? }

Returns:



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

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?, processing_source: String? }