Class: Peddler::APIs::ShippingV1::PurchaseShipmentRequest
- Inherits:
-
Data
- Object
- Data
- Peddler::APIs::ShippingV1::PurchaseShipmentRequest
- Defined in:
- sig/peddler/apis/shipping_v1.rbs
Instance Attribute Summary collapse
-
#client_reference_id ⇒ String
readonly
Returns the value of attribute client_reference_id.
-
#containers ⇒ Array[Peddler::APIs::ShippingV1::Container]
readonly
Returns the value of attribute containers.
-
#label_specification ⇒ Peddler::APIs::ShippingV1::LabelSpecification
readonly
Returns the value of attribute label_specification.
-
#service_type ⇒ String
readonly
Returns the value of attribute service_type.
-
#ship_date ⇒ Time?
readonly
Returns the value of attribute ship_date.
-
#ship_from ⇒ Peddler::APIs::ShippingV1::Address
readonly
Returns the value of attribute ship_from.
-
#ship_to ⇒ Peddler::APIs::ShippingV1::Address
readonly
Returns the value of attribute ship_to.
Class Method Summary collapse
-
.[] ⇒ Object
-
.members ⇒ [ :client_reference_id, :containers, :label_specification, :service_type, :ship_from, :ship_to, :ship_date ]
-
.new ⇒ Object
-
.parse ⇒ Peddler::APIs::ShippingV1::PurchaseShipmentRequest
Instance Method Summary collapse
-
#members ⇒ [ :client_reference_id, :containers, :label_specification, :service_type, :ship_from, :ship_to, :ship_date ]
-
#to_h ⇒ { client_reference_id: String, containers: Array[Peddler::APIs::ShippingV1::Container], label_specification: Peddler::APIs::ShippingV1::LabelSpecification, service_type: String, ship_from: Peddler::APIs::ShippingV1::Address, ship_to: Peddler::APIs::ShippingV1::Address, ship_date: Time? }
Instance Attribute Details
#client_reference_id ⇒ String (readonly)
Returns the value of attribute client_reference_id.
520 521 522 |
# File 'sig/peddler/apis/shipping_v1.rbs', line 520 def client_reference_id @client_reference_id end |
#containers ⇒ Array[Peddler::APIs::ShippingV1::Container] (readonly)
Returns the value of attribute containers.
521 522 523 |
# File 'sig/peddler/apis/shipping_v1.rbs', line 521 def containers @containers end |
#label_specification ⇒ Peddler::APIs::ShippingV1::LabelSpecification (readonly)
Returns the value of attribute label_specification.
522 523 524 |
# File 'sig/peddler/apis/shipping_v1.rbs', line 522 def label_specification @label_specification end |
#service_type ⇒ String (readonly)
Returns the value of attribute service_type.
523 524 525 |
# File 'sig/peddler/apis/shipping_v1.rbs', line 523 def service_type @service_type end |
#ship_date ⇒ Time? (readonly)
Returns the value of attribute ship_date.
524 525 526 |
# File 'sig/peddler/apis/shipping_v1.rbs', line 524 def ship_date @ship_date end |
#ship_from ⇒ Peddler::APIs::ShippingV1::Address (readonly)
Returns the value of attribute ship_from.
525 526 527 |
# File 'sig/peddler/apis/shipping_v1.rbs', line 525 def ship_from @ship_from end |
#ship_to ⇒ Peddler::APIs::ShippingV1::Address (readonly)
Returns the value of attribute ship_to.
526 527 528 |
# File 'sig/peddler/apis/shipping_v1.rbs', line 526 def ship_to @ship_to end |
Class Method Details
.[](client_reference_id:, containers:, label_specification:, service_type:, ship_from:, ship_to:, ship_date:) ⇒ Peddler::APIs::ShippingV1::PurchaseShipmentRequest .[](arg0, arg1, arg2, arg3, arg4, arg5, arg6) ⇒ Peddler::APIs::ShippingV1::PurchaseShipmentRequest
513 514 |
# File 'sig/peddler/apis/shipping_v1.rbs', line 513
def self.[]: (client_reference_id: String, containers: Array[Peddler::APIs::ShippingV1::Container], label_specification: Peddler::APIs::ShippingV1::LabelSpecification, service_type: String, ship_from: Peddler::APIs::ShippingV1::Address, ship_to: Peddler::APIs::ShippingV1::Address, ?ship_date: Time?) -> Peddler::APIs::ShippingV1::PurchaseShipmentRequest
| (String, Array[Peddler::APIs::ShippingV1::Container], Peddler::APIs::ShippingV1::LabelSpecification, String, Peddler::APIs::ShippingV1::Address, Peddler::APIs::ShippingV1::Address, Time?) -> Peddler::APIs::ShippingV1::PurchaseShipmentRequest
|
.members ⇒ [ :client_reference_id, :containers, :label_specification, :service_type, :ship_from, :ship_to, :ship_date ]
516 |
# File 'sig/peddler/apis/shipping_v1.rbs', line 516
def self.members: () -> [ :client_reference_id, :containers, :label_specification, :service_type, :ship_from, :ship_to, :ship_date ]
|
.new(client_reference_id:, containers:, label_specification:, service_type:, ship_from:, ship_to:, ship_date:) ⇒ Peddler::APIs::ShippingV1::PurchaseShipmentRequest .new(arg0, arg1, arg2, arg3, arg4, arg5, arg6) ⇒ Peddler::APIs::ShippingV1::PurchaseShipmentRequest
511 512 |
# File 'sig/peddler/apis/shipping_v1.rbs', line 511
def self.new: (client_reference_id: String, containers: Array[Peddler::APIs::ShippingV1::Container], label_specification: Peddler::APIs::ShippingV1::LabelSpecification, service_type: String, ship_from: Peddler::APIs::ShippingV1::Address, ship_to: Peddler::APIs::ShippingV1::Address, ?ship_date: Time?) -> Peddler::APIs::ShippingV1::PurchaseShipmentRequest
| (String, Array[Peddler::APIs::ShippingV1::Container], Peddler::APIs::ShippingV1::LabelSpecification, String, Peddler::APIs::ShippingV1::Address, Peddler::APIs::ShippingV1::Address, Time?) -> Peddler::APIs::ShippingV1::PurchaseShipmentRequest
|
.parse ⇒ Peddler::APIs::ShippingV1::PurchaseShipmentRequest
518 |
# File 'sig/peddler/apis/shipping_v1.rbs', line 518
def self.parse: (?Hash[String | Symbol, untyped], **untyped) -> Peddler::APIs::ShippingV1::PurchaseShipmentRequest
|
Instance Method Details
#members ⇒ [ :client_reference_id, :containers, :label_specification, :service_type, :ship_from, :ship_to, :ship_date ]
528 |
# File 'sig/peddler/apis/shipping_v1.rbs', line 528
def members: () -> [ :client_reference_id, :containers, :label_specification, :service_type, :ship_from, :ship_to, :ship_date ]
|
#to_h ⇒ { client_reference_id: String, containers: Array[Peddler::APIs::ShippingV1::Container], label_specification: Peddler::APIs::ShippingV1::LabelSpecification, service_type: String, ship_from: Peddler::APIs::ShippingV1::Address, ship_to: Peddler::APIs::ShippingV1::Address, ship_date: Time? }
529 |
# File 'sig/peddler/apis/shipping_v1.rbs', line 529
def to_h: () -> { client_reference_id: String, containers: Array[Peddler::APIs::ShippingV1::Container], label_specification: Peddler::APIs::ShippingV1::LabelSpecification, service_type: String, ship_from: Peddler::APIs::ShippingV1::Address, ship_to: Peddler::APIs::ShippingV1::Address, ship_date: Time? }
|