Class: Peddler::APIs::MerchantFulfillmentV0::Shipment

Inherits:
Data
  • Object
show all
Defined in:
sig/peddler/apis/merchant_fulfillment_v0.rbs

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#amazon_order_idString (readonly)

Returns the value of attribute amazon_order_id.

Returns:

  • (String)


749
750
751
# File 'sig/peddler/apis/merchant_fulfillment_v0.rbs', line 749

def amazon_order_id
  @amazon_order_id
end

#created_dateString (readonly)

Returns the value of attribute created_date.

Returns:

  • (String)


750
751
752
# File 'sig/peddler/apis/merchant_fulfillment_v0.rbs', line 750

def created_date
  @created_date
end

#insurancePeddler::Money (readonly)

Returns the value of attribute insurance.

Returns:



751
752
753
# File 'sig/peddler/apis/merchant_fulfillment_v0.rbs', line 751

def insurance
  @insurance
end

#item_listArray[Peddler::APIs::MerchantFulfillmentV0::Item] (readonly)

Returns the value of attribute item_list.



752
753
754
# File 'sig/peddler/apis/merchant_fulfillment_v0.rbs', line 752

def item_list
  @item_list
end

#labelPeddler::APIs::MerchantFulfillmentV0::Label (readonly)

Returns the value of attribute label.



753
754
755
# File 'sig/peddler/apis/merchant_fulfillment_v0.rbs', line 753

def label
  @label
end

#last_updated_dateString? (readonly)

Returns the value of attribute last_updated_date.

Returns:

  • (String, nil)


754
755
756
# File 'sig/peddler/apis/merchant_fulfillment_v0.rbs', line 754

def last_updated_date
  @last_updated_date
end

#package_dimensionsPeddler::APIs::MerchantFulfillmentV0::PackageDimensions (readonly)

Returns the value of attribute package_dimensions.



755
756
757
# File 'sig/peddler/apis/merchant_fulfillment_v0.rbs', line 755

def package_dimensions
  @package_dimensions
end

#seller_order_idString? (readonly)

Returns the value of attribute seller_order_id.

Returns:

  • (String, nil)


756
757
758
# File 'sig/peddler/apis/merchant_fulfillment_v0.rbs', line 756

def seller_order_id
  @seller_order_id
end

#ship_from_addressPeddler::APIs::MerchantFulfillmentV0::Address (readonly)

Returns the value of attribute ship_from_address.



757
758
759
# File 'sig/peddler/apis/merchant_fulfillment_v0.rbs', line 757

def ship_from_address
  @ship_from_address
end

#ship_to_addressPeddler::APIs::MerchantFulfillmentV0::Address (readonly)

Returns the value of attribute ship_to_address.



758
759
760
# File 'sig/peddler/apis/merchant_fulfillment_v0.rbs', line 758

def ship_to_address
  @ship_to_address
end

#shipment_idString (readonly)

Returns the value of attribute shipment_id.

Returns:

  • (String)


759
760
761
# File 'sig/peddler/apis/merchant_fulfillment_v0.rbs', line 759

def shipment_id
  @shipment_id
end

#shipping_servicePeddler::APIs::MerchantFulfillmentV0::ShippingService (readonly)

Returns the value of attribute shipping_service.



760
761
762
# File 'sig/peddler/apis/merchant_fulfillment_v0.rbs', line 760

def shipping_service
  @shipping_service
end

#statusString (readonly)

Returns the value of attribute status.

Returns:

  • (String)


761
762
763
# File 'sig/peddler/apis/merchant_fulfillment_v0.rbs', line 761

def status
  @status
end

#tracking_idString? (readonly)

Returns the value of attribute tracking_id.

Returns:

  • (String, nil)


762
763
764
# File 'sig/peddler/apis/merchant_fulfillment_v0.rbs', line 762

def tracking_id
  @tracking_id
end

#weightPeddler::APIs::MerchantFulfillmentV0::Weight (readonly)

Returns the value of attribute weight.



763
764
765
# File 'sig/peddler/apis/merchant_fulfillment_v0.rbs', line 763

def weight
  @weight
end

Class Method Details

.[](amazon_order_id:, created_date:, insurance:, item_list:, label:, package_dimensions:, ship_from_address:, ship_to_address:, shipment_id:, shipping_service:, status:, weight:, last_updated_date:, seller_order_id:, tracking_id:) ⇒ Peddler::APIs::MerchantFulfillmentV0::Shipment .[](arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9, arg10, arg11, arg12, arg13, arg14) ⇒ Peddler::APIs::MerchantFulfillmentV0::Shipment

Overloads:



742
743
# File 'sig/peddler/apis/merchant_fulfillment_v0.rbs', line 742

def self.[]: (amazon_order_id: String, created_date: String, insurance: Peddler::Money, item_list: Array[Peddler::APIs::MerchantFulfillmentV0::Item], label: Peddler::APIs::MerchantFulfillmentV0::Label, package_dimensions: Peddler::APIs::MerchantFulfillmentV0::PackageDimensions, ship_from_address: Peddler::APIs::MerchantFulfillmentV0::Address, ship_to_address: Peddler::APIs::MerchantFulfillmentV0::Address, shipment_id: String, shipping_service: Peddler::APIs::MerchantFulfillmentV0::ShippingService, status: String, weight: Peddler::APIs::MerchantFulfillmentV0::Weight, ?last_updated_date: String?, ?seller_order_id: String?, ?tracking_id: String?) -> Peddler::APIs::MerchantFulfillmentV0::Shipment
| (String, String, Peddler::Money, Array[Peddler::APIs::MerchantFulfillmentV0::Item], Peddler::APIs::MerchantFulfillmentV0::Label, Peddler::APIs::MerchantFulfillmentV0::PackageDimensions, Peddler::APIs::MerchantFulfillmentV0::Address, Peddler::APIs::MerchantFulfillmentV0::Address, String, Peddler::APIs::MerchantFulfillmentV0::ShippingService, String, Peddler::APIs::MerchantFulfillmentV0::Weight, String?, String?, String?) -> Peddler::APIs::MerchantFulfillmentV0::Shipment

.members[ :amazon_order_id, :created_date, :insurance, :item_list, :label, :package_dimensions, :ship_from_address, :ship_to_address, :shipment_id, :shipping_service, :status, :weight, :last_updated_date, :seller_order_id, :tracking_id ]

Returns:

  • ([ :amazon_order_id, :created_date, :insurance, :item_list, :label, :package_dimensions, :ship_from_address, :ship_to_address, :shipment_id, :shipping_service, :status, :weight, :last_updated_date, :seller_order_id, :tracking_id ])


745
# File 'sig/peddler/apis/merchant_fulfillment_v0.rbs', line 745

def self.members: () -> [ :amazon_order_id, :created_date, :insurance, :item_list, :label, :package_dimensions, :ship_from_address, :ship_to_address, :shipment_id, :shipping_service, :status, :weight, :last_updated_date, :seller_order_id, :tracking_id ]

.new(amazon_order_id:, created_date:, insurance:, item_list:, label:, package_dimensions:, ship_from_address:, ship_to_address:, shipment_id:, shipping_service:, status:, weight:, last_updated_date:, seller_order_id:, tracking_id:) ⇒ Peddler::APIs::MerchantFulfillmentV0::Shipment .new(arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9, arg10, arg11, arg12, arg13, arg14) ⇒ Peddler::APIs::MerchantFulfillmentV0::Shipment

Overloads:



740
741
# File 'sig/peddler/apis/merchant_fulfillment_v0.rbs', line 740

def self.new: (amazon_order_id: String, created_date: String, insurance: Peddler::Money, item_list: Array[Peddler::APIs::MerchantFulfillmentV0::Item], label: Peddler::APIs::MerchantFulfillmentV0::Label, package_dimensions: Peddler::APIs::MerchantFulfillmentV0::PackageDimensions, ship_from_address: Peddler::APIs::MerchantFulfillmentV0::Address, ship_to_address: Peddler::APIs::MerchantFulfillmentV0::Address, shipment_id: String, shipping_service: Peddler::APIs::MerchantFulfillmentV0::ShippingService, status: String, weight: Peddler::APIs::MerchantFulfillmentV0::Weight, ?last_updated_date: String?, ?seller_order_id: String?, ?tracking_id: String?) -> Peddler::APIs::MerchantFulfillmentV0::Shipment
| (String, String, Peddler::Money, Array[Peddler::APIs::MerchantFulfillmentV0::Item], Peddler::APIs::MerchantFulfillmentV0::Label, Peddler::APIs::MerchantFulfillmentV0::PackageDimensions, Peddler::APIs::MerchantFulfillmentV0::Address, Peddler::APIs::MerchantFulfillmentV0::Address, String, Peddler::APIs::MerchantFulfillmentV0::ShippingService, String, Peddler::APIs::MerchantFulfillmentV0::Weight, String?, String?, String?) -> Peddler::APIs::MerchantFulfillmentV0::Shipment

.parsePeddler::APIs::MerchantFulfillmentV0::Shipment

Parameters:

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

Returns:



747
# File 'sig/peddler/apis/merchant_fulfillment_v0.rbs', line 747

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

Instance Method Details

#members[ :amazon_order_id, :created_date, :insurance, :item_list, :label, :package_dimensions, :ship_from_address, :ship_to_address, :shipment_id, :shipping_service, :status, :weight, :last_updated_date, :seller_order_id, :tracking_id ]

Returns:

  • ([ :amazon_order_id, :created_date, :insurance, :item_list, :label, :package_dimensions, :ship_from_address, :ship_to_address, :shipment_id, :shipping_service, :status, :weight, :last_updated_date, :seller_order_id, :tracking_id ])


765
# File 'sig/peddler/apis/merchant_fulfillment_v0.rbs', line 765

def members: () -> [ :amazon_order_id, :created_date, :insurance, :item_list, :label, :package_dimensions, :ship_from_address, :ship_to_address, :shipment_id, :shipping_service, :status, :weight, :last_updated_date, :seller_order_id, :tracking_id ]

#to_h{ amazon_order_id: String, created_date: String, insurance: Peddler::Money, item_list: Array[Peddler::APIs::MerchantFulfillmentV0::Item], label: Peddler::APIs::MerchantFulfillmentV0::Label, package_dimensions: Peddler::APIs::MerchantFulfillmentV0::PackageDimensions, ship_from_address: Peddler::APIs::MerchantFulfillmentV0::Address, ship_to_address: Peddler::APIs::MerchantFulfillmentV0::Address, shipment_id: String, shipping_service: Peddler::APIs::MerchantFulfillmentV0::ShippingService, status: String, weight: Peddler::APIs::MerchantFulfillmentV0::Weight, last_updated_date: String?, seller_order_id: String?, tracking_id: String? }

Returns:



766
# File 'sig/peddler/apis/merchant_fulfillment_v0.rbs', line 766

def to_h: () -> { amazon_order_id: String, created_date: String, insurance: Peddler::Money, item_list: Array[Peddler::APIs::MerchantFulfillmentV0::Item], label: Peddler::APIs::MerchantFulfillmentV0::Label, package_dimensions: Peddler::APIs::MerchantFulfillmentV0::PackageDimensions, ship_from_address: Peddler::APIs::MerchantFulfillmentV0::Address, ship_to_address: Peddler::APIs::MerchantFulfillmentV0::Address, shipment_id: String, shipping_service: Peddler::APIs::MerchantFulfillmentV0::ShippingService, status: String, weight: Peddler::APIs::MerchantFulfillmentV0::Weight, last_updated_date: String?, seller_order_id: String?, tracking_id: String? }