Class: Peddler::APIs::VendorDirectFulfillmentShipping20211228::PackingSlip

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

#contentString (readonly)

Returns the value of attribute content.

Returns:

  • (String)


322
323
324
# File 'sig/peddler/apis/vendor_direct_fulfillment_shipping_2021_12_28.rbs', line 322

def content
  @content
end

#content_typeString? (readonly)

Returns the value of attribute content_type.

Returns:

  • (String, nil)


323
324
325
# File 'sig/peddler/apis/vendor_direct_fulfillment_shipping_2021_12_28.rbs', line 323

def content_type
  @content_type
end

#purchase_order_numberString (readonly)

Returns the value of attribute purchase_order_number.

Returns:

  • (String)


324
325
326
# File 'sig/peddler/apis/vendor_direct_fulfillment_shipping_2021_12_28.rbs', line 324

def purchase_order_number
  @purchase_order_number
end

Class Method Details

.[](content:, purchase_order_number:, content_type:) ⇒ Peddler::APIs::VendorDirectFulfillmentShipping20211228::PackingSlip .[](arg0, arg1, arg2) ⇒ Peddler::APIs::VendorDirectFulfillmentShipping20211228::PackingSlip

Overloads:



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

def self.[]: (content: String, purchase_order_number: String, ?content_type: String?) -> Peddler::APIs::VendorDirectFulfillmentShipping20211228::PackingSlip
| (String, String, String?) -> Peddler::APIs::VendorDirectFulfillmentShipping20211228::PackingSlip

.members[ :content, :purchase_order_number, :content_type ]

Returns:

  • ([ :content, :purchase_order_number, :content_type ])


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

def self.members: () -> [ :content, :purchase_order_number, :content_type ]

.new(content:, purchase_order_number:, content_type:) ⇒ Peddler::APIs::VendorDirectFulfillmentShipping20211228::PackingSlip .new(arg0, arg1, arg2) ⇒ Peddler::APIs::VendorDirectFulfillmentShipping20211228::PackingSlip

Overloads:



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

def self.new: (content: String, purchase_order_number: String, ?content_type: String?) -> Peddler::APIs::VendorDirectFulfillmentShipping20211228::PackingSlip
| (String, String, String?) -> Peddler::APIs::VendorDirectFulfillmentShipping20211228::PackingSlip

.parsePeddler::APIs::VendorDirectFulfillmentShipping20211228::PackingSlip

Parameters:

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

Returns:



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

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

Instance Method Details

#members[ :content, :purchase_order_number, :content_type ]

Returns:

  • ([ :content, :purchase_order_number, :content_type ])


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

def members: () -> [ :content, :purchase_order_number, :content_type ]

#to_h{ content: String, purchase_order_number: String, content_type: String? }

Returns:

  • ({ content: String, purchase_order_number: String, content_type: String? })


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

def to_h: () -> { content: String, purchase_order_number: String, content_type: String? }