Class: Peddler::APIs::VendorDirectFulfillmentShipping20211228::CreateShippingLabelsRequest

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

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#containersArray[Peddler::APIs::VendorDirectFulfillmentShipping20211228::Container]? (readonly)

Returns the value of attribute containers.



121
122
123
# File 'sig/peddler/apis/vendor_direct_fulfillment_shipping_2021_12_28.rbs', line 121

def containers
  @containers
end

#selling_partyPeddler::APIs::VendorDirectFulfillmentShipping20211228::PartyIdentification (readonly)

Returns the value of attribute selling_party.



122
123
124
# File 'sig/peddler/apis/vendor_direct_fulfillment_shipping_2021_12_28.rbs', line 122

def selling_party
  @selling_party
end

#ship_from_partyPeddler::APIs::VendorDirectFulfillmentShipping20211228::PartyIdentification (readonly)

Returns the value of attribute ship_from_party.



123
124
125
# File 'sig/peddler/apis/vendor_direct_fulfillment_shipping_2021_12_28.rbs', line 123

def ship_from_party
  @ship_from_party
end

Class Method Details

.[](selling_party:, ship_from_party:, containers:) ⇒ Peddler::APIs::VendorDirectFulfillmentShipping20211228::CreateShippingLabelsRequest .[](arg0, arg1, arg2) ⇒ Peddler::APIs::VendorDirectFulfillmentShipping20211228::CreateShippingLabelsRequest



114
115
# File 'sig/peddler/apis/vendor_direct_fulfillment_shipping_2021_12_28.rbs', line 114

def self.[]: (selling_party: Peddler::APIs::VendorDirectFulfillmentShipping20211228::PartyIdentification, ship_from_party: Peddler::APIs::VendorDirectFulfillmentShipping20211228::PartyIdentification, ?containers: Array[Peddler::APIs::VendorDirectFulfillmentShipping20211228::Container]?) -> Peddler::APIs::VendorDirectFulfillmentShipping20211228::CreateShippingLabelsRequest
| (Peddler::APIs::VendorDirectFulfillmentShipping20211228::PartyIdentification, Peddler::APIs::VendorDirectFulfillmentShipping20211228::PartyIdentification, Array[Peddler::APIs::VendorDirectFulfillmentShipping20211228::Container]?) -> Peddler::APIs::VendorDirectFulfillmentShipping20211228::CreateShippingLabelsRequest

.members[ :selling_party, :ship_from_party, :containers ]

Returns:

  • ([ :selling_party, :ship_from_party, :containers ])


117
# File 'sig/peddler/apis/vendor_direct_fulfillment_shipping_2021_12_28.rbs', line 117

def self.members: () -> [ :selling_party, :ship_from_party, :containers ]

.new(selling_party:, ship_from_party:, containers:) ⇒ Peddler::APIs::VendorDirectFulfillmentShipping20211228::CreateShippingLabelsRequest .new(arg0, arg1, arg2) ⇒ Peddler::APIs::VendorDirectFulfillmentShipping20211228::CreateShippingLabelsRequest



112
113
# File 'sig/peddler/apis/vendor_direct_fulfillment_shipping_2021_12_28.rbs', line 112

def self.new: (selling_party: Peddler::APIs::VendorDirectFulfillmentShipping20211228::PartyIdentification, ship_from_party: Peddler::APIs::VendorDirectFulfillmentShipping20211228::PartyIdentification, ?containers: Array[Peddler::APIs::VendorDirectFulfillmentShipping20211228::Container]?) -> Peddler::APIs::VendorDirectFulfillmentShipping20211228::CreateShippingLabelsRequest
| (Peddler::APIs::VendorDirectFulfillmentShipping20211228::PartyIdentification, Peddler::APIs::VendorDirectFulfillmentShipping20211228::PartyIdentification, Array[Peddler::APIs::VendorDirectFulfillmentShipping20211228::Container]?) -> Peddler::APIs::VendorDirectFulfillmentShipping20211228::CreateShippingLabelsRequest

.parsePeddler::APIs::VendorDirectFulfillmentShipping20211228::CreateShippingLabelsRequest

Parameters:

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

Returns:



119
# File 'sig/peddler/apis/vendor_direct_fulfillment_shipping_2021_12_28.rbs', line 119

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

Instance Method Details

#members[ :selling_party, :ship_from_party, :containers ]

Returns:

  • ([ :selling_party, :ship_from_party, :containers ])


125
# File 'sig/peddler/apis/vendor_direct_fulfillment_shipping_2021_12_28.rbs', line 125

def members: () -> [ :selling_party, :ship_from_party, :containers ]

#to_h{ selling_party: Peddler::APIs::VendorDirectFulfillmentShipping20211228::PartyIdentification, ship_from_party: Peddler::APIs::VendorDirectFulfillmentShipping20211228::PartyIdentification, containers: Array[Peddler::APIs::VendorDirectFulfillmentShipping20211228::Container]? }



126
# File 'sig/peddler/apis/vendor_direct_fulfillment_shipping_2021_12_28.rbs', line 126

def to_h: () -> { selling_party: Peddler::APIs::VendorDirectFulfillmentShipping20211228::PartyIdentification, ship_from_party: Peddler::APIs::VendorDirectFulfillmentShipping20211228::PartyIdentification, containers: Array[Peddler::APIs::VendorDirectFulfillmentShipping20211228::Container]? }