Class: Peddler::APIs::ShippingV1::Shipment
- Inherits:
-
Data
- Object
- Data
- Peddler::APIs::ShippingV1::Shipment
- 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.
-
#containers ⇒ Array[Peddler::APIs::ShippingV1::Container]
readonly
Returns the value of attribute containers.
-
#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.
-
#shipment_id ⇒ String
readonly
Returns the value of attribute shipment_id.
-
#shipper ⇒ Peddler::APIs::ShippingV1::Party?
readonly
Returns the value of attribute shipper.
Class Method Summary collapse
-
.[] ⇒ Object
-
.members ⇒ [ :client_reference_id, :containers, :ship_from, :ship_to, :shipment_id, :accepted_rate, :shipper ]
-
.new ⇒ Object
-
.parse ⇒ Peddler::APIs::ShippingV1::Shipment
Instance Method Summary collapse
-
#members ⇒ [ :client_reference_id, :containers, :ship_from, :ship_to, :shipment_id, :accepted_rate, :shipper ]
-
#to_h ⇒ { client_reference_id: String, containers: Array[Peddler::APIs::ShippingV1::Container], ship_from: Peddler::APIs::ShippingV1::Address, ship_to: Peddler::APIs::ShippingV1::Address, shipment_id: String, accepted_rate: Peddler::APIs::ShippingV1::AcceptedRate?, shipper: Peddler::APIs::ShippingV1::Party? }
Instance Attribute Details
#accepted_rate ⇒ Peddler::APIs::ShippingV1::AcceptedRate? (readonly)
Returns the value of attribute accepted_rate.
679 680 681 |
# File 'sig/peddler/apis/shipping_v1.rbs', line 679 def accepted_rate @accepted_rate end |
#client_reference_id ⇒ String (readonly)
Returns the value of attribute client_reference_id.
680 681 682 |
# File 'sig/peddler/apis/shipping_v1.rbs', line 680 def client_reference_id @client_reference_id end |
#containers ⇒ Array[Peddler::APIs::ShippingV1::Container] (readonly)
Returns the value of attribute containers.
681 682 683 |
# File 'sig/peddler/apis/shipping_v1.rbs', line 681 def containers @containers end |
#ship_from ⇒ Peddler::APIs::ShippingV1::Address (readonly)
Returns the value of attribute ship_from.
682 683 684 |
# File 'sig/peddler/apis/shipping_v1.rbs', line 682 def ship_from @ship_from end |
#ship_to ⇒ Peddler::APIs::ShippingV1::Address (readonly)
Returns the value of attribute ship_to.
683 684 685 |
# File 'sig/peddler/apis/shipping_v1.rbs', line 683 def ship_to @ship_to end |
#shipment_id ⇒ String (readonly)
Returns the value of attribute shipment_id.
684 685 686 |
# File 'sig/peddler/apis/shipping_v1.rbs', line 684 def shipment_id @shipment_id end |
#shipper ⇒ Peddler::APIs::ShippingV1::Party? (readonly)
Returns the value of attribute shipper.
685 686 687 |
# File 'sig/peddler/apis/shipping_v1.rbs', line 685 def shipper @shipper end |
Class Method Details
.[](client_reference_id:, containers:, ship_from:, ship_to:, shipment_id:, accepted_rate:, shipper:) ⇒ Peddler::APIs::ShippingV1::Shipment .[](arg0, arg1, arg2, arg3, arg4, arg5, arg6) ⇒ Peddler::APIs::ShippingV1::Shipment
672 673 |
# File 'sig/peddler/apis/shipping_v1.rbs', line 672
def self.[]: (client_reference_id: String, containers: Array[Peddler::APIs::ShippingV1::Container], ship_from: Peddler::APIs::ShippingV1::Address, ship_to: Peddler::APIs::ShippingV1::Address, shipment_id: String, ?accepted_rate: Peddler::APIs::ShippingV1::AcceptedRate?, ?shipper: Peddler::APIs::ShippingV1::Party?) -> Peddler::APIs::ShippingV1::Shipment
| (String, Array[Peddler::APIs::ShippingV1::Container], Peddler::APIs::ShippingV1::Address, Peddler::APIs::ShippingV1::Address, String, Peddler::APIs::ShippingV1::AcceptedRate?, Peddler::APIs::ShippingV1::Party?) -> Peddler::APIs::ShippingV1::Shipment
|
.members ⇒ [ :client_reference_id, :containers, :ship_from, :ship_to, :shipment_id, :accepted_rate, :shipper ]
675 |
# File 'sig/peddler/apis/shipping_v1.rbs', line 675
def self.members: () -> [ :client_reference_id, :containers, :ship_from, :ship_to, :shipment_id, :accepted_rate, :shipper ]
|
.new(client_reference_id:, containers:, ship_from:, ship_to:, shipment_id:, accepted_rate:, shipper:) ⇒ Peddler::APIs::ShippingV1::Shipment .new(arg0, arg1, arg2, arg3, arg4, arg5, arg6) ⇒ Peddler::APIs::ShippingV1::Shipment
670 671 |
# File 'sig/peddler/apis/shipping_v1.rbs', line 670
def self.new: (client_reference_id: String, containers: Array[Peddler::APIs::ShippingV1::Container], ship_from: Peddler::APIs::ShippingV1::Address, ship_to: Peddler::APIs::ShippingV1::Address, shipment_id: String, ?accepted_rate: Peddler::APIs::ShippingV1::AcceptedRate?, ?shipper: Peddler::APIs::ShippingV1::Party?) -> Peddler::APIs::ShippingV1::Shipment
| (String, Array[Peddler::APIs::ShippingV1::Container], Peddler::APIs::ShippingV1::Address, Peddler::APIs::ShippingV1::Address, String, Peddler::APIs::ShippingV1::AcceptedRate?, Peddler::APIs::ShippingV1::Party?) -> Peddler::APIs::ShippingV1::Shipment
|
.parse ⇒ Peddler::APIs::ShippingV1::Shipment
677 |
# File 'sig/peddler/apis/shipping_v1.rbs', line 677
def self.parse: (?Hash[String | Symbol, untyped], **untyped) -> Peddler::APIs::ShippingV1::Shipment
|
Instance Method Details
#members ⇒ [ :client_reference_id, :containers, :ship_from, :ship_to, :shipment_id, :accepted_rate, :shipper ]
687 |
# File 'sig/peddler/apis/shipping_v1.rbs', line 687
def members: () -> [ :client_reference_id, :containers, :ship_from, :ship_to, :shipment_id, :accepted_rate, :shipper ]
|
#to_h ⇒ { client_reference_id: String, containers: Array[Peddler::APIs::ShippingV1::Container], ship_from: Peddler::APIs::ShippingV1::Address, ship_to: Peddler::APIs::ShippingV1::Address, shipment_id: String, accepted_rate: Peddler::APIs::ShippingV1::AcceptedRate?, shipper: Peddler::APIs::ShippingV1::Party? }
688 |
# File 'sig/peddler/apis/shipping_v1.rbs', line 688
def to_h: () -> { client_reference_id: String, containers: Array[Peddler::APIs::ShippingV1::Container], ship_from: Peddler::APIs::ShippingV1::Address, ship_to: Peddler::APIs::ShippingV1::Address, shipment_id: String, accepted_rate: Peddler::APIs::ShippingV1::AcceptedRate?, shipper: Peddler::APIs::ShippingV1::Party? }
|