Class: Peddler::APIs::ExternalFulfillmentShipments20240911::ShipLabelsInput

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

#courier_supported_attributesPeddler::APIs::ExternalFulfillmentShipments20240911::CourierSupportedAttributes? (readonly)

Returns the value of attribute courier_supported_attributes.



726
727
728
# File 'sig/peddler/apis/external_fulfillment_shipments_2024_09_11.rbs', line 726

def courier_supported_attributes
  @courier_supported_attributes
end

#package_idsArray[String] (readonly)

Returns the value of attribute package_ids.

Returns:

  • (Array[String])


727
728
729
# File 'sig/peddler/apis/external_fulfillment_shipments_2024_09_11.rbs', line 727

def package_ids
  @package_ids
end

Class Method Details

.[](package_ids:, courier_supported_attributes:) ⇒ Peddler::APIs::ExternalFulfillmentShipments20240911::ShipLabelsInput .[](arg0, arg1) ⇒ Peddler::APIs::ExternalFulfillmentShipments20240911::ShipLabelsInput



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

def self.[]: (package_ids: Array[String], ?courier_supported_attributes: Peddler::APIs::ExternalFulfillmentShipments20240911::CourierSupportedAttributes?) -> Peddler::APIs::ExternalFulfillmentShipments20240911::ShipLabelsInput
| (Array[String], Peddler::APIs::ExternalFulfillmentShipments20240911::CourierSupportedAttributes?) -> Peddler::APIs::ExternalFulfillmentShipments20240911::ShipLabelsInput

.members[ :package_ids, :courier_supported_attributes ]

Returns:

  • ([ :package_ids, :courier_supported_attributes ])


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

def self.members: () -> [ :package_ids, :courier_supported_attributes ]

.new(package_ids:, courier_supported_attributes:) ⇒ Peddler::APIs::ExternalFulfillmentShipments20240911::ShipLabelsInput .new(arg0, arg1) ⇒ Peddler::APIs::ExternalFulfillmentShipments20240911::ShipLabelsInput



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

def self.new: (package_ids: Array[String], ?courier_supported_attributes: Peddler::APIs::ExternalFulfillmentShipments20240911::CourierSupportedAttributes?) -> Peddler::APIs::ExternalFulfillmentShipments20240911::ShipLabelsInput
| (Array[String], Peddler::APIs::ExternalFulfillmentShipments20240911::CourierSupportedAttributes?) -> Peddler::APIs::ExternalFulfillmentShipments20240911::ShipLabelsInput

.parsePeddler::APIs::ExternalFulfillmentShipments20240911::ShipLabelsInput

Parameters:

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

Returns:



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

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

Instance Method Details

#members[ :package_ids, :courier_supported_attributes ]

Returns:

  • ([ :package_ids, :courier_supported_attributes ])


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

def members: () -> [ :package_ids, :courier_supported_attributes ]

#to_h{ package_ids: Array[String], courier_supported_attributes: Peddler::APIs::ExternalFulfillmentShipments20240911::CourierSupportedAttributes? }

Returns:



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

def to_h: () -> { package_ids: Array[String], courier_supported_attributes: Peddler::APIs::ExternalFulfillmentShipments20240911::CourierSupportedAttributes? }