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_utc ⇒ String (readonly)

Returns the value of attribute expected_shipping_date_time_in_utc.

Returns:

  • (String)


953
954
955
# File 'sig/peddler/apis/external_fulfillment_shipments_2024_09_11.rbs', line 953

def expected_shipping_date_time_in_utc
  @expected_shipping_date_time_in_utc
end

Returns the value of attribute recommended_packages.



954
955
956
# File 'sig/peddler/apis/external_fulfillment_shipments_2024_09_11.rbs', line 954

def recommended_packages
  @recommended_packages
end

Returns the value of attribute recommended_ship_method.

Returns:

  • (String, nil)


955
956
957
# File 'sig/peddler/apis/external_fulfillment_shipments_2024_09_11.rbs', line 955

def recommended_ship_method
  @recommended_ship_method
end

#ship_to_address ⇒ Peddler::APIs::ExternalFulfillmentShipments20240911::Address? (readonly)

Returns the value of attribute ship_to_address.



956
957
958
# File 'sig/peddler/apis/external_fulfillment_shipments_2024_09_11.rbs', line 956

def ship_to_address
  @ship_to_address
end

#shipping_type ⇒ String? (readonly)

Returns the value of attribute shipping_type.

Returns:

  • (String, nil)


957
958
959
# File 'sig/peddler/apis/external_fulfillment_shipments_2024_09_11.rbs', line 957

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:



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

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


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

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:



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

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

.parse ⇒ Peddler::APIs::ExternalFulfillmentShipments20240911::ShippingInfo

Parameters:

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

Returns:



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

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


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

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:



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

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? }