Class: Peddler::APIs::ShippingV2::OneClickShipmentRequest
- Inherits:
-
Data
- Object
- Data
- Peddler::APIs::ShippingV2::OneClickShipmentRequest
- Defined in:
- sig/peddler/apis/shipping_v2.rbs
Instance Attribute Summary collapse
-
#channel_details ⇒ Peddler::APIs::ShippingV2::ChannelDetails
readonly
Returns the value of attribute channel_details.
-
#destination_access_point_details ⇒ Peddler::APIs::ShippingV2::AccessPointDetails?
readonly
Returns the value of attribute destination_access_point_details.
-
#goods_owner ⇒ Peddler::APIs::ShippingV2::GoodsOwner?
readonly
Returns the value of attribute goods_owner.
-
#label_specifications ⇒ Peddler::APIs::ShippingV2::RequestedDocumentSpecification
readonly
Returns the value of attribute label_specifications.
-
#packages ⇒ Array[Peddler::APIs::ShippingV2::Package]
readonly
Returns the value of attribute packages.
-
#return_to ⇒ Peddler::APIs::ShippingV2::Address?
readonly
Returns the value of attribute return_to.
-
#service_selection ⇒ Peddler::APIs::ShippingV2::ServiceSelection
readonly
Returns the value of attribute service_selection.
-
#ship_date ⇒ Time?
readonly
Returns the value of attribute ship_date.
-
#ship_from ⇒ Peddler::APIs::ShippingV2::Address
readonly
Returns the value of attribute ship_from.
-
#ship_to ⇒ Peddler::APIs::ShippingV2::Address?
readonly
Returns the value of attribute ship_to.
-
#shipper_instruction ⇒ Peddler::APIs::ShippingV2::ShipperInstruction?
readonly
Returns the value of attribute shipper_instruction.
-
#tax_details ⇒ Array[Peddler::APIs::ShippingV2::TaxDetail]?
readonly
Returns the value of attribute tax_details.
-
#value_added_services_details ⇒ Array[Peddler::APIs::ShippingV2::OneClickShipmentValueAddedService]?
readonly
Returns the value of attribute value_added_services_details.
Class Method Summary collapse
-
.[] ⇒ Object
-
.members ⇒ [ :channel_details, :label_specifications, :packages, :service_selection, :ship_from, :destination_access_point_details, :goods_owner, :return_to, :ship_date, :ship_to, :shipper_instruction, :tax_details, :value_added_services_details ]
-
.new ⇒ Object
-
.parse ⇒ Peddler::APIs::ShippingV2::OneClickShipmentRequest
Instance Method Summary collapse
-
#members ⇒ [ :channel_details, :label_specifications, :packages, :service_selection, :ship_from, :destination_access_point_details, :goods_owner, :return_to, :ship_date, :ship_to, :shipper_instruction, :tax_details, :value_added_services_details ]
-
#to_h ⇒ { channel_details: Peddler::APIs::ShippingV2::ChannelDetails, label_specifications: Peddler::APIs::ShippingV2::RequestedDocumentSpecification, packages: Array[Peddler::APIs::ShippingV2::Package], service_selection: Peddler::APIs::ShippingV2::ServiceSelection, ship_from: Peddler::APIs::ShippingV2::Address, destination_access_point_details: Peddler::APIs::ShippingV2::AccessPointDetails?, goods_owner: Peddler::APIs::ShippingV2::GoodsOwner?, return_to: Peddler::APIs::ShippingV2::Address?, ship_date: Time?, ship_to: Peddler::APIs::ShippingV2::Address?, shipper_instruction: Peddler::APIs::ShippingV2::ShipperInstruction?, tax_details: Array[Peddler::APIs::ShippingV2::TaxDetail]?, value_added_services_details: Array[Peddler::APIs::ShippingV2::OneClickShipmentValueAddedService]? }
Instance Attribute Details
#channel_details ⇒ Peddler::APIs::ShippingV2::ChannelDetails (readonly)
Returns the value of attribute channel_details.
1306 1307 1308 |
# File 'sig/peddler/apis/shipping_v2.rbs', line 1306 def channel_details @channel_details end |
#destination_access_point_details ⇒ Peddler::APIs::ShippingV2::AccessPointDetails? (readonly)
Returns the value of attribute destination_access_point_details.
1307 1308 1309 |
# File 'sig/peddler/apis/shipping_v2.rbs', line 1307 def destination_access_point_details @destination_access_point_details end |
#goods_owner ⇒ Peddler::APIs::ShippingV2::GoodsOwner? (readonly)
Returns the value of attribute goods_owner.
1308 1309 1310 |
# File 'sig/peddler/apis/shipping_v2.rbs', line 1308 def goods_owner @goods_owner end |
#label_specifications ⇒ Peddler::APIs::ShippingV2::RequestedDocumentSpecification (readonly)
Returns the value of attribute label_specifications.
1309 1310 1311 |
# File 'sig/peddler/apis/shipping_v2.rbs', line 1309 def label_specifications @label_specifications end |
#packages ⇒ Array[Peddler::APIs::ShippingV2::Package] (readonly)
Returns the value of attribute packages.
1310 1311 1312 |
# File 'sig/peddler/apis/shipping_v2.rbs', line 1310 def packages @packages end |
#return_to ⇒ Peddler::APIs::ShippingV2::Address? (readonly)
Returns the value of attribute return_to.
1311 1312 1313 |
# File 'sig/peddler/apis/shipping_v2.rbs', line 1311 def return_to @return_to end |
#service_selection ⇒ Peddler::APIs::ShippingV2::ServiceSelection (readonly)
Returns the value of attribute service_selection.
1312 1313 1314 |
# File 'sig/peddler/apis/shipping_v2.rbs', line 1312 def service_selection @service_selection end |
#ship_date ⇒ Time? (readonly)
Returns the value of attribute ship_date.
1313 1314 1315 |
# File 'sig/peddler/apis/shipping_v2.rbs', line 1313 def ship_date @ship_date end |
#ship_from ⇒ Peddler::APIs::ShippingV2::Address (readonly)
Returns the value of attribute ship_from.
1314 1315 1316 |
# File 'sig/peddler/apis/shipping_v2.rbs', line 1314 def ship_from @ship_from end |
#ship_to ⇒ Peddler::APIs::ShippingV2::Address? (readonly)
Returns the value of attribute ship_to.
1315 1316 1317 |
# File 'sig/peddler/apis/shipping_v2.rbs', line 1315 def ship_to @ship_to end |
#shipper_instruction ⇒ Peddler::APIs::ShippingV2::ShipperInstruction? (readonly)
Returns the value of attribute shipper_instruction.
1316 1317 1318 |
# File 'sig/peddler/apis/shipping_v2.rbs', line 1316 def shipper_instruction @shipper_instruction end |
#tax_details ⇒ Array[Peddler::APIs::ShippingV2::TaxDetail]? (readonly)
Returns the value of attribute tax_details.
1317 1318 1319 |
# File 'sig/peddler/apis/shipping_v2.rbs', line 1317 def tax_details @tax_details end |
#value_added_services_details ⇒ Array[Peddler::APIs::ShippingV2::OneClickShipmentValueAddedService]? (readonly)
Returns the value of attribute value_added_services_details.
1318 1319 1320 |
# File 'sig/peddler/apis/shipping_v2.rbs', line 1318 def value_added_services_details @value_added_services_details end |
Class Method Details
.[](channel_details:, label_specifications:, packages:, service_selection:, ship_from:, destination_access_point_details:, goods_owner:, return_to:, ship_date:, ship_to:, shipper_instruction:, tax_details:, value_added_services_details:) ⇒ Peddler::APIs::ShippingV2::OneClickShipmentRequest .[](arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9, arg10, arg11, arg12) ⇒ Peddler::APIs::ShippingV2::OneClickShipmentRequest
1299 1300 |
# File 'sig/peddler/apis/shipping_v2.rbs', line 1299
def self.[]: (channel_details: Peddler::APIs::ShippingV2::ChannelDetails, label_specifications: Peddler::APIs::ShippingV2::RequestedDocumentSpecification, packages: Array[Peddler::APIs::ShippingV2::Package], service_selection: Peddler::APIs::ShippingV2::ServiceSelection, ship_from: Peddler::APIs::ShippingV2::Address, ?destination_access_point_details: Peddler::APIs::ShippingV2::AccessPointDetails?, ?goods_owner: Peddler::APIs::ShippingV2::GoodsOwner?, ?return_to: Peddler::APIs::ShippingV2::Address?, ?ship_date: Time?, ?ship_to: Peddler::APIs::ShippingV2::Address?, ?shipper_instruction: Peddler::APIs::ShippingV2::ShipperInstruction?, ?tax_details: Array[Peddler::APIs::ShippingV2::TaxDetail]?, ?value_added_services_details: Array[Peddler::APIs::ShippingV2::OneClickShipmentValueAddedService]?) -> Peddler::APIs::ShippingV2::OneClickShipmentRequest
| (Peddler::APIs::ShippingV2::ChannelDetails, Peddler::APIs::ShippingV2::RequestedDocumentSpecification, Array[Peddler::APIs::ShippingV2::Package], Peddler::APIs::ShippingV2::ServiceSelection, Peddler::APIs::ShippingV2::Address, Peddler::APIs::ShippingV2::AccessPointDetails?, Peddler::APIs::ShippingV2::GoodsOwner?, Peddler::APIs::ShippingV2::Address?, Time?, Peddler::APIs::ShippingV2::Address?, Peddler::APIs::ShippingV2::ShipperInstruction?, Array[Peddler::APIs::ShippingV2::TaxDetail]?, Array[Peddler::APIs::ShippingV2::OneClickShipmentValueAddedService]?) -> Peddler::APIs::ShippingV2::OneClickShipmentRequest
|
.members ⇒ [ :channel_details, :label_specifications, :packages, :service_selection, :ship_from, :destination_access_point_details, :goods_owner, :return_to, :ship_date, :ship_to, :shipper_instruction, :tax_details, :value_added_services_details ]
1302 |
# File 'sig/peddler/apis/shipping_v2.rbs', line 1302
def self.members: () -> [ :channel_details, :label_specifications, :packages, :service_selection, :ship_from, :destination_access_point_details, :goods_owner, :return_to, :ship_date, :ship_to, :shipper_instruction, :tax_details, :value_added_services_details ]
|
.new(channel_details:, label_specifications:, packages:, service_selection:, ship_from:, destination_access_point_details:, goods_owner:, return_to:, ship_date:, ship_to:, shipper_instruction:, tax_details:, value_added_services_details:) ⇒ Peddler::APIs::ShippingV2::OneClickShipmentRequest .new(arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9, arg10, arg11, arg12) ⇒ Peddler::APIs::ShippingV2::OneClickShipmentRequest
1297 1298 |
# File 'sig/peddler/apis/shipping_v2.rbs', line 1297
def self.new: (channel_details: Peddler::APIs::ShippingV2::ChannelDetails, label_specifications: Peddler::APIs::ShippingV2::RequestedDocumentSpecification, packages: Array[Peddler::APIs::ShippingV2::Package], service_selection: Peddler::APIs::ShippingV2::ServiceSelection, ship_from: Peddler::APIs::ShippingV2::Address, ?destination_access_point_details: Peddler::APIs::ShippingV2::AccessPointDetails?, ?goods_owner: Peddler::APIs::ShippingV2::GoodsOwner?, ?return_to: Peddler::APIs::ShippingV2::Address?, ?ship_date: Time?, ?ship_to: Peddler::APIs::ShippingV2::Address?, ?shipper_instruction: Peddler::APIs::ShippingV2::ShipperInstruction?, ?tax_details: Array[Peddler::APIs::ShippingV2::TaxDetail]?, ?value_added_services_details: Array[Peddler::APIs::ShippingV2::OneClickShipmentValueAddedService]?) -> Peddler::APIs::ShippingV2::OneClickShipmentRequest
| (Peddler::APIs::ShippingV2::ChannelDetails, Peddler::APIs::ShippingV2::RequestedDocumentSpecification, Array[Peddler::APIs::ShippingV2::Package], Peddler::APIs::ShippingV2::ServiceSelection, Peddler::APIs::ShippingV2::Address, Peddler::APIs::ShippingV2::AccessPointDetails?, Peddler::APIs::ShippingV2::GoodsOwner?, Peddler::APIs::ShippingV2::Address?, Time?, Peddler::APIs::ShippingV2::Address?, Peddler::APIs::ShippingV2::ShipperInstruction?, Array[Peddler::APIs::ShippingV2::TaxDetail]?, Array[Peddler::APIs::ShippingV2::OneClickShipmentValueAddedService]?) -> Peddler::APIs::ShippingV2::OneClickShipmentRequest
|
.parse ⇒ Peddler::APIs::ShippingV2::OneClickShipmentRequest
1304 |
# File 'sig/peddler/apis/shipping_v2.rbs', line 1304
def self.parse: (?Hash[String | Symbol, untyped], **untyped) -> Peddler::APIs::ShippingV2::OneClickShipmentRequest
|
Instance Method Details
#members ⇒ [ :channel_details, :label_specifications, :packages, :service_selection, :ship_from, :destination_access_point_details, :goods_owner, :return_to, :ship_date, :ship_to, :shipper_instruction, :tax_details, :value_added_services_details ]
1320 |
# File 'sig/peddler/apis/shipping_v2.rbs', line 1320
def members: () -> [ :channel_details, :label_specifications, :packages, :service_selection, :ship_from, :destination_access_point_details, :goods_owner, :return_to, :ship_date, :ship_to, :shipper_instruction, :tax_details, :value_added_services_details ]
|
#to_h ⇒ { channel_details: Peddler::APIs::ShippingV2::ChannelDetails, label_specifications: Peddler::APIs::ShippingV2::RequestedDocumentSpecification, packages: Array[Peddler::APIs::ShippingV2::Package], service_selection: Peddler::APIs::ShippingV2::ServiceSelection, ship_from: Peddler::APIs::ShippingV2::Address, destination_access_point_details: Peddler::APIs::ShippingV2::AccessPointDetails?, goods_owner: Peddler::APIs::ShippingV2::GoodsOwner?, return_to: Peddler::APIs::ShippingV2::Address?, ship_date: Time?, ship_to: Peddler::APIs::ShippingV2::Address?, shipper_instruction: Peddler::APIs::ShippingV2::ShipperInstruction?, tax_details: Array[Peddler::APIs::ShippingV2::TaxDetail]?, value_added_services_details: Array[Peddler::APIs::ShippingV2::OneClickShipmentValueAddedService]? }
1321 |
# File 'sig/peddler/apis/shipping_v2.rbs', line 1321
def to_h: () -> { channel_details: Peddler::APIs::ShippingV2::ChannelDetails, label_specifications: Peddler::APIs::ShippingV2::RequestedDocumentSpecification, packages: Array[Peddler::APIs::ShippingV2::Package], service_selection: Peddler::APIs::ShippingV2::ServiceSelection, ship_from: Peddler::APIs::ShippingV2::Address, destination_access_point_details: Peddler::APIs::ShippingV2::AccessPointDetails?, goods_owner: Peddler::APIs::ShippingV2::GoodsOwner?, return_to: Peddler::APIs::ShippingV2::Address?, ship_date: Time?, ship_to: Peddler::APIs::ShippingV2::Address?, shipper_instruction: Peddler::APIs::ShippingV2::ShipperInstruction?, tax_details: Array[Peddler::APIs::ShippingV2::TaxDetail]?, value_added_services_details: Array[Peddler::APIs::ShippingV2::OneClickShipmentValueAddedService]? }
|