Class: Peddler::APIs::ShippingV1::PurchaseLabelsRequest
- Inherits:
-
Data
- Object
- Data
- Peddler::APIs::ShippingV1::PurchaseLabelsRequest
- Defined in:
- sig/peddler/apis/shipping_v1.rbs
Instance Attribute Summary collapse
-
#label_specification ⇒ Peddler::APIs::ShippingV1::LabelSpecification
readonly
Returns the value of attribute label_specification.
-
#rate_id ⇒ String
readonly
Returns the value of attribute rate_id.
Class Method Summary collapse
-
.[] ⇒ Object
-
.members ⇒ [ :label_specification, :rate_id ]
-
.new ⇒ Object
-
.parse ⇒ Peddler::APIs::ShippingV1::PurchaseLabelsRequest
Instance Method Summary collapse
-
#members ⇒ [ :label_specification, :rate_id ]
-
#to_h ⇒ { label_specification: Peddler::APIs::ShippingV1::LabelSpecification, rate_id: String }
Instance Attribute Details
#label_specification ⇒ Peddler::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_id ⇒ String (readonly)
Returns the value of attribute rate_id.
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 ]
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
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
|
.parse ⇒ Peddler::APIs::ShippingV1::PurchaseLabelsRequest
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 ]
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 }
471 |
# File 'sig/peddler/apis/shipping_v1.rbs', line 471
def to_h: () -> { label_specification: Peddler::APIs::ShippingV1::LabelSpecification, rate_id: String }
|