Class: Peddler::APIs::ExternalFulfillmentShipments20240911::ShippingOptionsResponse

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

Returns the value of attribute recommended_shipping_option.



881
882
883
# File 'sig/peddler/apis/external_fulfillment_shipments_2024_09_11.rbs', line 881

def recommended_shipping_option
  @recommended_shipping_option
end

#shipping_optionsArray[Peddler::APIs::ExternalFulfillmentShipments20240911::ShippingOptions]? (readonly)

Returns the value of attribute shipping_options.



882
883
884
# File 'sig/peddler/apis/external_fulfillment_shipments_2024_09_11.rbs', line 882

def shipping_options
  @shipping_options
end

Class Method Details

.[](recommended_shipping_option:, shipping_options:) ⇒ Peddler::APIs::ExternalFulfillmentShipments20240911::ShippingOptionsResponse .[](arg0, arg1) ⇒ Peddler::APIs::ExternalFulfillmentShipments20240911::ShippingOptionsResponse



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

def self.[]: (?recommended_shipping_option: Peddler::APIs::ExternalFulfillmentShipments20240911::ShippingOptions?, ?shipping_options: Array[Peddler::APIs::ExternalFulfillmentShipments20240911::ShippingOptions]?) -> Peddler::APIs::ExternalFulfillmentShipments20240911::ShippingOptionsResponse
| (Peddler::APIs::ExternalFulfillmentShipments20240911::ShippingOptions?, Array[Peddler::APIs::ExternalFulfillmentShipments20240911::ShippingOptions]?) -> Peddler::APIs::ExternalFulfillmentShipments20240911::ShippingOptionsResponse

.members[ :recommended_shipping_option, :shipping_options ]

Returns:

  • ([ :recommended_shipping_option, :shipping_options ])


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

def self.members: () -> [ :recommended_shipping_option, :shipping_options ]

.new(recommended_shipping_option:, shipping_options:) ⇒ Peddler::APIs::ExternalFulfillmentShipments20240911::ShippingOptionsResponse .new(arg0, arg1) ⇒ Peddler::APIs::ExternalFulfillmentShipments20240911::ShippingOptionsResponse



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

def self.new: (?recommended_shipping_option: Peddler::APIs::ExternalFulfillmentShipments20240911::ShippingOptions?, ?shipping_options: Array[Peddler::APIs::ExternalFulfillmentShipments20240911::ShippingOptions]?) -> Peddler::APIs::ExternalFulfillmentShipments20240911::ShippingOptionsResponse
| (Peddler::APIs::ExternalFulfillmentShipments20240911::ShippingOptions?, Array[Peddler::APIs::ExternalFulfillmentShipments20240911::ShippingOptions]?) -> Peddler::APIs::ExternalFulfillmentShipments20240911::ShippingOptionsResponse

.parsePeddler::APIs::ExternalFulfillmentShipments20240911::ShippingOptionsResponse

Parameters:

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

Returns:



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

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

Instance Method Details

#members[ :recommended_shipping_option, :shipping_options ]

Returns:

  • ([ :recommended_shipping_option, :shipping_options ])


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

def members: () -> [ :recommended_shipping_option, :shipping_options ]

#to_h{ recommended_shipping_option: Peddler::APIs::ExternalFulfillmentShipments20240911::ShippingOptions?, shipping_options: Array[Peddler::APIs::ExternalFulfillmentShipments20240911::ShippingOptions]? }



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

def to_h: () -> { recommended_shipping_option: Peddler::APIs::ExternalFulfillmentShipments20240911::ShippingOptions?, shipping_options: Array[Peddler::APIs::ExternalFulfillmentShipments20240911::ShippingOptions]? }