Class: Peddler::APIs::ShippingV1::PurchaseLabelsRequest

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

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#label_specificationPeddler::APIs::ShippingV1::LabelSpecification (readonly)

Returns the value of attribute label_specification.



467
468
469
# File 'sig/peddler/apis/shipping_v1.rbs', line 467

def label_specification
  @label_specification
end

#rate_idString (readonly)

Returns the value of attribute rate_id.

Returns:

  • (String)


468
469
470
# File 'sig/peddler/apis/shipping_v1.rbs', line 468

def rate_id
  @rate_id
end

Class Method Details

.[](label_specification:, rate_id:) ⇒ Peddler::APIs::ShippingV1::PurchaseLabelsRequest .[](arg0, arg1) ⇒ Peddler::APIs::ShippingV1::PurchaseLabelsRequest



460
461
# File 'sig/peddler/apis/shipping_v1.rbs', line 460

def self.[]: (label_specification: Peddler::APIs::ShippingV1::LabelSpecification, rate_id: String) -> Peddler::APIs::ShippingV1::PurchaseLabelsRequest
| (Peddler::APIs::ShippingV1::LabelSpecification, String) -> Peddler::APIs::ShippingV1::PurchaseLabelsRequest

.members[ :label_specification, :rate_id ]

Returns:

  • ([ :label_specification, :rate_id ])


463
# File 'sig/peddler/apis/shipping_v1.rbs', line 463

def self.members: () -> [ :label_specification, :rate_id ]

.new(label_specification:, rate_id:) ⇒ Peddler::APIs::ShippingV1::PurchaseLabelsRequest .new(arg0, arg1) ⇒ Peddler::APIs::ShippingV1::PurchaseLabelsRequest

Overloads:



458
459
# File 'sig/peddler/apis/shipping_v1.rbs', line 458

def self.new: (label_specification: Peddler::APIs::ShippingV1::LabelSpecification, rate_id: String) -> Peddler::APIs::ShippingV1::PurchaseLabelsRequest
| (Peddler::APIs::ShippingV1::LabelSpecification, String) -> Peddler::APIs::ShippingV1::PurchaseLabelsRequest

.parsePeddler::APIs::ShippingV1::PurchaseLabelsRequest

Parameters:

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

Returns:



465
# File 'sig/peddler/apis/shipping_v1.rbs', line 465

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

Instance Method Details

#members[ :label_specification, :rate_id ]

Returns:

  • ([ :label_specification, :rate_id ])


470
# File 'sig/peddler/apis/shipping_v1.rbs', line 470

def members: () -> [ :label_specification, :rate_id ]

#to_h{ label_specification: Peddler::APIs::ShippingV1::LabelSpecification, rate_id: String }

Returns:



471
# File 'sig/peddler/apis/shipping_v1.rbs', line 471

def to_h: () -> { label_specification: Peddler::APIs::ShippingV1::LabelSpecification, rate_id: String }