Class: Peddler::APIs::ExternalFulfillmentShipments20240911::ShippingInfo

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

#expected_shipping_date_time_in_utcString (readonly)

Returns the value of attribute expected_shipping_date_time_in_utc.

Returns:

  • (String)


841
842
843
# File 'sig/peddler/apis/external_fulfillment_shipments_2024_09_11.rbs', line 841

def expected_shipping_date_time_in_utc
  @expected_shipping_date_time_in_utc
end

Returns the value of attribute recommended_packages.



842
843
844
# File 'sig/peddler/apis/external_fulfillment_shipments_2024_09_11.rbs', line 842

def recommended_packages
  @recommended_packages
end

Returns the value of attribute recommended_ship_method.

Returns:

  • (String, nil)


843
844
845
# File 'sig/peddler/apis/external_fulfillment_shipments_2024_09_11.rbs', line 843

def recommended_ship_method
  @recommended_ship_method
end

#ship_to_addressPeddler::APIs::ExternalFulfillmentShipments20240911::Address? (readonly)

Returns the value of attribute ship_to_address.



844
845
846
# File 'sig/peddler/apis/external_fulfillment_shipments_2024_09_11.rbs', line 844

def ship_to_address
  @ship_to_address
end

#shipping_typeString? (readonly)

Returns the value of attribute shipping_type.

Returns:

  • (String, nil)


845
846
847
# File 'sig/peddler/apis/external_fulfillment_shipments_2024_09_11.rbs', line 845

def shipping_type
  @shipping_type
end

Class Method Details

.[](expected_shipping_date_time_in_utc:, recommended_packages:, recommended_ship_method:, ship_to_address:, shipping_type:) ⇒ Peddler::APIs::ExternalFulfillmentShipments20240911::ShippingInfo .[](arg0, arg1, arg2, arg3, arg4) ⇒ Peddler::APIs::ExternalFulfillmentShipments20240911::ShippingInfo

Overloads:



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

def self.[]: (expected_shipping_date_time_in_utc: String, ?recommended_packages: Array[Peddler::APIs::ExternalFulfillmentShipments20240911::RecommendedPackage]?, ?recommended_ship_method: String?, ?ship_to_address: Peddler::APIs::ExternalFulfillmentShipments20240911::Address?, ?shipping_type: String?) -> Peddler::APIs::ExternalFulfillmentShipments20240911::ShippingInfo
| (String, Array[Peddler::APIs::ExternalFulfillmentShipments20240911::RecommendedPackage]?, String?, Peddler::APIs::ExternalFulfillmentShipments20240911::Address?, String?) -> Peddler::APIs::ExternalFulfillmentShipments20240911::ShippingInfo

.members[ :expected_shipping_date_time_in_utc, :recommended_packages, :recommended_ship_method, :ship_to_address, :shipping_type ]

Returns:

  • ([ :expected_shipping_date_time_in_utc, :recommended_packages, :recommended_ship_method, :ship_to_address, :shipping_type ])


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

def self.members: () -> [ :expected_shipping_date_time_in_utc, :recommended_packages, :recommended_ship_method, :ship_to_address, :shipping_type ]

.new(expected_shipping_date_time_in_utc:, recommended_packages:, recommended_ship_method:, ship_to_address:, shipping_type:) ⇒ Peddler::APIs::ExternalFulfillmentShipments20240911::ShippingInfo .new(arg0, arg1, arg2, arg3, arg4) ⇒ Peddler::APIs::ExternalFulfillmentShipments20240911::ShippingInfo

Overloads:



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

def self.new: (expected_shipping_date_time_in_utc: String, ?recommended_packages: Array[Peddler::APIs::ExternalFulfillmentShipments20240911::RecommendedPackage]?, ?recommended_ship_method: String?, ?ship_to_address: Peddler::APIs::ExternalFulfillmentShipments20240911::Address?, ?shipping_type: String?) -> Peddler::APIs::ExternalFulfillmentShipments20240911::ShippingInfo
| (String, Array[Peddler::APIs::ExternalFulfillmentShipments20240911::RecommendedPackage]?, String?, Peddler::APIs::ExternalFulfillmentShipments20240911::Address?, String?) -> Peddler::APIs::ExternalFulfillmentShipments20240911::ShippingInfo

.parsePeddler::APIs::ExternalFulfillmentShipments20240911::ShippingInfo

Parameters:

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

Returns:



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

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

Instance Method Details

#members[ :expected_shipping_date_time_in_utc, :recommended_packages, :recommended_ship_method, :ship_to_address, :shipping_type ]

Returns:

  • ([ :expected_shipping_date_time_in_utc, :recommended_packages, :recommended_ship_method, :ship_to_address, :shipping_type ])


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

def members: () -> [ :expected_shipping_date_time_in_utc, :recommended_packages, :recommended_ship_method, :ship_to_address, :shipping_type ]

#to_h{ expected_shipping_date_time_in_utc: String, recommended_packages: Array[Peddler::APIs::ExternalFulfillmentShipments20240911::RecommendedPackage]?, recommended_ship_method: String?, ship_to_address: Peddler::APIs::ExternalFulfillmentShipments20240911::Address?, shipping_type: String? }

Returns:



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

def to_h: () -> { expected_shipping_date_time_in_utc: String, recommended_packages: Array[Peddler::APIs::ExternalFulfillmentShipments20240911::RecommendedPackage]?, recommended_ship_method: String?, ship_to_address: Peddler::APIs::ExternalFulfillmentShipments20240911::Address?, shipping_type: String? }