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.



997
998
999
# File 'sig/peddler/apis/external_fulfillment_shipments_2024_09_11.rbs', line 997

def recommended_shipping_option
  @recommended_shipping_option
end

#shipping_options ⇒ Array[Peddler::APIs::ExternalFulfillmentShipments20240911::ShippingOptions]? (readonly)

Returns the value of attribute shipping_options.



998
999
1000
# File 'sig/peddler/apis/external_fulfillment_shipments_2024_09_11.rbs', line 998

def shipping_options
  @shipping_options
end

Class Method Details

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



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

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


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

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



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

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

.parse ⇒ Peddler::APIs::ExternalFulfillmentShipments20240911::ShippingOptionsResponse

Parameters:

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

Returns:



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

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


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

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

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



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

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