Class: Peddler::APIs::ShippingV2::OneClickShipmentRequest

Inherits:
Data
  • Object
show all
Defined in:
sig/peddler/apis/shipping_v2.rbs

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#channel_detailsPeddler::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_detailsPeddler::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_ownerPeddler::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_specificationsPeddler::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

#packagesArray[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_toPeddler::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_selectionPeddler::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_dateTime? (readonly)

Returns the value of attribute ship_date.

Returns:

  • (Time, nil)


1313
1314
1315
# File 'sig/peddler/apis/shipping_v2.rbs', line 1313

def ship_date
  @ship_date
end

#ship_fromPeddler::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_toPeddler::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_instructionPeddler::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_detailsArray[Peddler::APIs::ShippingV2::TaxDetail]? (readonly)

Returns the value of attribute tax_details.

Returns:



1317
1318
1319
# File 'sig/peddler/apis/shipping_v2.rbs', line 1317

def tax_details
  @tax_details
end

#value_added_services_detailsArray[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

Overloads:



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 ]

Returns:

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

Overloads:



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

.parsePeddler::APIs::ShippingV2::OneClickShipmentRequest

Parameters:

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

Returns:



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 ]

Returns:

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