Class: Peddler::APIs::ShippingV1::PurchaseLabelsResult
- Inherits:
-
Data
- Object
- Data
- Peddler::APIs::ShippingV1::PurchaseLabelsResult
- Defined in:
- sig/peddler/apis/shipping_v1.rbs
Instance Attribute Summary collapse
-
#accepted_rate ⇒ Peddler::APIs::ShippingV1::AcceptedRate
readonly
Returns the value of attribute accepted_rate.
-
#client_reference_id ⇒ String?
readonly
Returns the value of attribute client_reference_id.
-
#label_results ⇒ Array[Peddler::APIs::ShippingV1::LabelResult]
readonly
Returns the value of attribute label_results.
-
#shipment_id ⇒ String
readonly
Returns the value of attribute shipment_id.
Class Method Summary collapse
-
.[] ⇒ Object
-
.members ⇒ [ :accepted_rate, :label_results, :shipment_id, :client_reference_id ]
-
.new ⇒ Object
-
.parse ⇒ Peddler::APIs::ShippingV1::PurchaseLabelsResult
Instance Method Summary collapse
-
#members ⇒ [ :accepted_rate, :label_results, :shipment_id, :client_reference_id ]
-
#to_h ⇒ { accepted_rate: Peddler::APIs::ShippingV1::AcceptedRate, label_results: Array[Peddler::APIs::ShippingV1::LabelResult], shipment_id: String, client_reference_id: String? }
Instance Attribute Details
#accepted_rate ⇒ Peddler::APIs::ShippingV1::AcceptedRate (readonly)
Returns the value of attribute accepted_rate.
501 502 503 |
# File 'sig/peddler/apis/shipping_v1.rbs', line 501 def accepted_rate @accepted_rate end |
#client_reference_id ⇒ String? (readonly)
Returns the value of attribute client_reference_id.
502 503 504 |
# File 'sig/peddler/apis/shipping_v1.rbs', line 502 def client_reference_id @client_reference_id end |
#label_results ⇒ Array[Peddler::APIs::ShippingV1::LabelResult] (readonly)
Returns the value of attribute label_results.
503 504 505 |
# File 'sig/peddler/apis/shipping_v1.rbs', line 503 def label_results @label_results end |
#shipment_id ⇒ String (readonly)
Returns the value of attribute shipment_id.
504 505 506 |
# File 'sig/peddler/apis/shipping_v1.rbs', line 504 def shipment_id @shipment_id end |
Class Method Details
.[](accepted_rate:, label_results:, shipment_id:, client_reference_id:) ⇒ Peddler::APIs::ShippingV1::PurchaseLabelsResult .[](arg0, arg1, arg2, arg3) ⇒ Peddler::APIs::ShippingV1::PurchaseLabelsResult
494 495 |
# File 'sig/peddler/apis/shipping_v1.rbs', line 494
def self.[]: (accepted_rate: Peddler::APIs::ShippingV1::AcceptedRate, label_results: Array[Peddler::APIs::ShippingV1::LabelResult], shipment_id: String, ?client_reference_id: String?) -> Peddler::APIs::ShippingV1::PurchaseLabelsResult
| (Peddler::APIs::ShippingV1::AcceptedRate, Array[Peddler::APIs::ShippingV1::LabelResult], String, String?) -> Peddler::APIs::ShippingV1::PurchaseLabelsResult
|
.members ⇒ [ :accepted_rate, :label_results, :shipment_id, :client_reference_id ]
497 |
# File 'sig/peddler/apis/shipping_v1.rbs', line 497
def self.members: () -> [ :accepted_rate, :label_results, :shipment_id, :client_reference_id ]
|
.new(accepted_rate:, label_results:, shipment_id:, client_reference_id:) ⇒ Peddler::APIs::ShippingV1::PurchaseLabelsResult .new(arg0, arg1, arg2, arg3) ⇒ Peddler::APIs::ShippingV1::PurchaseLabelsResult
492 493 |
# File 'sig/peddler/apis/shipping_v1.rbs', line 492
def self.new: (accepted_rate: Peddler::APIs::ShippingV1::AcceptedRate, label_results: Array[Peddler::APIs::ShippingV1::LabelResult], shipment_id: String, ?client_reference_id: String?) -> Peddler::APIs::ShippingV1::PurchaseLabelsResult
| (Peddler::APIs::ShippingV1::AcceptedRate, Array[Peddler::APIs::ShippingV1::LabelResult], String, String?) -> Peddler::APIs::ShippingV1::PurchaseLabelsResult
|
.parse ⇒ Peddler::APIs::ShippingV1::PurchaseLabelsResult
499 |
# File 'sig/peddler/apis/shipping_v1.rbs', line 499
def self.parse: (?Hash[String | Symbol, untyped], **untyped) -> Peddler::APIs::ShippingV1::PurchaseLabelsResult
|
Instance Method Details
#members ⇒ [ :accepted_rate, :label_results, :shipment_id, :client_reference_id ]
506 |
# File 'sig/peddler/apis/shipping_v1.rbs', line 506
def members: () -> [ :accepted_rate, :label_results, :shipment_id, :client_reference_id ]
|
#to_h ⇒ { accepted_rate: Peddler::APIs::ShippingV1::AcceptedRate, label_results: Array[Peddler::APIs::ShippingV1::LabelResult], shipment_id: String, client_reference_id: String? }
507 |
# File 'sig/peddler/apis/shipping_v1.rbs', line 507
def to_h: () -> { accepted_rate: Peddler::APIs::ShippingV1::AcceptedRate, label_results: Array[Peddler::APIs::ShippingV1::LabelResult], shipment_id: String, client_reference_id: String? }
|