Class: Peddler::APIs::ShippingV1::Shipment

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

#accepted_ratePeddler::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_idString (readonly)

Returns the value of attribute client_reference_id.

Returns:

  • (String)


680
681
682
# File 'sig/peddler/apis/shipping_v1.rbs', line 680

def client_reference_id
  @client_reference_id
end

#containersArray[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_fromPeddler::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_toPeddler::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_idString (readonly)

Returns the value of attribute shipment_id.

Returns:

  • (String)


684
685
686
# File 'sig/peddler/apis/shipping_v1.rbs', line 684

def shipment_id
  @shipment_id
end

#shipperPeddler::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

Overloads:



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 ]

Returns:

  • ([ :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

Overloads:



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

.parsePeddler::APIs::ShippingV1::Shipment

Parameters:

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

Returns:



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 ]

Returns:

  • ([ :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? }

Returns:



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? }