Class: Peddler::APIs::ShippingV2::GetRatesRequest

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

#carrier_accountsArray[Peddler::APIs::ShippingV2::CarrierAccount]? (readonly)

Returns the value of attribute carrier_accounts.



901
902
903
# File 'sig/peddler/apis/shipping_v2.rbs', line 901

def carrier_accounts
  @carrier_accounts
end

#channel_detailsPeddler::APIs::ShippingV2::ChannelDetails (readonly)

Returns the value of attribute channel_details.



902
903
904
# File 'sig/peddler/apis/shipping_v2.rbs', line 902

def channel_details
  @channel_details
end

#client_reference_detailsArray[Peddler::APIs::ShippingV2::ClientReferenceDetail]? (readonly)

Returns the value of attribute client_reference_details.



903
904
905
# File 'sig/peddler/apis/shipping_v2.rbs', line 903

def client_reference_details
  @client_reference_details
end

#destination_access_point_detailsPeddler::APIs::ShippingV2::AccessPointDetails? (readonly)

Returns the value of attribute destination_access_point_details.



904
905
906
# File 'sig/peddler/apis/shipping_v2.rbs', line 904

def destination_access_point_details
  @destination_access_point_details
end

#packagesArray[Peddler::APIs::ShippingV2::Package] (readonly)

Returns the value of attribute packages.



905
906
907
# File 'sig/peddler/apis/shipping_v2.rbs', line 905

def packages
  @packages
end

#return_toPeddler::APIs::ShippingV2::Address? (readonly)

Returns the value of attribute return_to.



906
907
908
# File 'sig/peddler/apis/shipping_v2.rbs', line 906

def return_to
  @return_to
end

#ship_dateTime? (readonly)

Returns the value of attribute ship_date.

Returns:

  • (Time, nil)


907
908
909
# File 'sig/peddler/apis/shipping_v2.rbs', line 907

def ship_date
  @ship_date
end

#ship_fromPeddler::APIs::ShippingV2::Address (readonly)

Returns the value of attribute ship_from.



908
909
910
# File 'sig/peddler/apis/shipping_v2.rbs', line 908

def ship_from
  @ship_from
end

#ship_toPeddler::APIs::ShippingV2::Address? (readonly)

Returns the value of attribute ship_to.



909
910
911
# File 'sig/peddler/apis/shipping_v2.rbs', line 909

def ship_to
  @ship_to
end

#shipment_typeString? (readonly)

Returns the value of attribute shipment_type.

Returns:

  • (String, nil)


910
911
912
# File 'sig/peddler/apis/shipping_v2.rbs', line 910

def shipment_type
  @shipment_type
end

#shipper_instructionPeddler::APIs::ShippingV2::ShipperInstruction? (readonly)

Returns the value of attribute shipper_instruction.



911
912
913
# File 'sig/peddler/apis/shipping_v2.rbs', line 911

def shipper_instruction
  @shipper_instruction
end

#tax_detailsArray[Peddler::APIs::ShippingV2::TaxDetail]? (readonly)

Returns the value of attribute tax_details.

Returns:



912
913
914
# File 'sig/peddler/apis/shipping_v2.rbs', line 912

def tax_details
  @tax_details
end

#value_added_servicesPeddler::APIs::ShippingV2::ValueAddedServiceDetails? (readonly)

Returns the value of attribute value_added_services.



913
914
915
# File 'sig/peddler/apis/shipping_v2.rbs', line 913

def value_added_services
  @value_added_services
end

Class Method Details

.[](channel_details:, packages:, ship_from:, carrier_accounts:, client_reference_details:, destination_access_point_details:, return_to:, ship_date:, ship_to:, shipment_type:, shipper_instruction:, tax_details:, value_added_services:) ⇒ Peddler::APIs::ShippingV2::GetRatesRequest .[](arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9, arg10, arg11, arg12) ⇒ Peddler::APIs::ShippingV2::GetRatesRequest

Overloads:



894
895
# File 'sig/peddler/apis/shipping_v2.rbs', line 894

def self.[]: (channel_details: Peddler::APIs::ShippingV2::ChannelDetails, packages: Array[Peddler::APIs::ShippingV2::Package], ship_from: Peddler::APIs::ShippingV2::Address, ?carrier_accounts: Array[Peddler::APIs::ShippingV2::CarrierAccount]?, ?client_reference_details: Array[Peddler::APIs::ShippingV2::ClientReferenceDetail]?, ?destination_access_point_details: Peddler::APIs::ShippingV2::AccessPointDetails?, ?return_to: Peddler::APIs::ShippingV2::Address?, ?ship_date: Time?, ?ship_to: Peddler::APIs::ShippingV2::Address?, ?shipment_type: String?, ?shipper_instruction: Peddler::APIs::ShippingV2::ShipperInstruction?, ?tax_details: Array[Peddler::APIs::ShippingV2::TaxDetail]?, ?value_added_services: Peddler::APIs::ShippingV2::ValueAddedServiceDetails?) -> Peddler::APIs::ShippingV2::GetRatesRequest
| (Peddler::APIs::ShippingV2::ChannelDetails, Array[Peddler::APIs::ShippingV2::Package], Peddler::APIs::ShippingV2::Address, Array[Peddler::APIs::ShippingV2::CarrierAccount]?, Array[Peddler::APIs::ShippingV2::ClientReferenceDetail]?, Peddler::APIs::ShippingV2::AccessPointDetails?, Peddler::APIs::ShippingV2::Address?, Time?, Peddler::APIs::ShippingV2::Address?, String?, Peddler::APIs::ShippingV2::ShipperInstruction?, Array[Peddler::APIs::ShippingV2::TaxDetail]?, Peddler::APIs::ShippingV2::ValueAddedServiceDetails?) -> Peddler::APIs::ShippingV2::GetRatesRequest

.members[ :channel_details, :packages, :ship_from, :carrier_accounts, :client_reference_details, :destination_access_point_details, :return_to, :ship_date, :ship_to, :shipment_type, :shipper_instruction, :tax_details, :value_added_services ]

Returns:

  • ([ :channel_details, :packages, :ship_from, :carrier_accounts, :client_reference_details, :destination_access_point_details, :return_to, :ship_date, :ship_to, :shipment_type, :shipper_instruction, :tax_details, :value_added_services ])


897
# File 'sig/peddler/apis/shipping_v2.rbs', line 897

def self.members: () -> [ :channel_details, :packages, :ship_from, :carrier_accounts, :client_reference_details, :destination_access_point_details, :return_to, :ship_date, :ship_to, :shipment_type, :shipper_instruction, :tax_details, :value_added_services ]

.new(channel_details:, packages:, ship_from:, carrier_accounts:, client_reference_details:, destination_access_point_details:, return_to:, ship_date:, ship_to:, shipment_type:, shipper_instruction:, tax_details:, value_added_services:) ⇒ Peddler::APIs::ShippingV2::GetRatesRequest .new(arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9, arg10, arg11, arg12) ⇒ Peddler::APIs::ShippingV2::GetRatesRequest

Overloads:



892
893
# File 'sig/peddler/apis/shipping_v2.rbs', line 892

def self.new: (channel_details: Peddler::APIs::ShippingV2::ChannelDetails, packages: Array[Peddler::APIs::ShippingV2::Package], ship_from: Peddler::APIs::ShippingV2::Address, ?carrier_accounts: Array[Peddler::APIs::ShippingV2::CarrierAccount]?, ?client_reference_details: Array[Peddler::APIs::ShippingV2::ClientReferenceDetail]?, ?destination_access_point_details: Peddler::APIs::ShippingV2::AccessPointDetails?, ?return_to: Peddler::APIs::ShippingV2::Address?, ?ship_date: Time?, ?ship_to: Peddler::APIs::ShippingV2::Address?, ?shipment_type: String?, ?shipper_instruction: Peddler::APIs::ShippingV2::ShipperInstruction?, ?tax_details: Array[Peddler::APIs::ShippingV2::TaxDetail]?, ?value_added_services: Peddler::APIs::ShippingV2::ValueAddedServiceDetails?) -> Peddler::APIs::ShippingV2::GetRatesRequest
| (Peddler::APIs::ShippingV2::ChannelDetails, Array[Peddler::APIs::ShippingV2::Package], Peddler::APIs::ShippingV2::Address, Array[Peddler::APIs::ShippingV2::CarrierAccount]?, Array[Peddler::APIs::ShippingV2::ClientReferenceDetail]?, Peddler::APIs::ShippingV2::AccessPointDetails?, Peddler::APIs::ShippingV2::Address?, Time?, Peddler::APIs::ShippingV2::Address?, String?, Peddler::APIs::ShippingV2::ShipperInstruction?, Array[Peddler::APIs::ShippingV2::TaxDetail]?, Peddler::APIs::ShippingV2::ValueAddedServiceDetails?) -> Peddler::APIs::ShippingV2::GetRatesRequest

.parsePeddler::APIs::ShippingV2::GetRatesRequest

Parameters:

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

Returns:



899
# File 'sig/peddler/apis/shipping_v2.rbs', line 899

def self.parse: (?Hash[String | Symbol, untyped], **untyped) -> Peddler::APIs::ShippingV2::GetRatesRequest

Instance Method Details

#members[ :channel_details, :packages, :ship_from, :carrier_accounts, :client_reference_details, :destination_access_point_details, :return_to, :ship_date, :ship_to, :shipment_type, :shipper_instruction, :tax_details, :value_added_services ]

Returns:

  • ([ :channel_details, :packages, :ship_from, :carrier_accounts, :client_reference_details, :destination_access_point_details, :return_to, :ship_date, :ship_to, :shipment_type, :shipper_instruction, :tax_details, :value_added_services ])


915
# File 'sig/peddler/apis/shipping_v2.rbs', line 915

def members: () -> [ :channel_details, :packages, :ship_from, :carrier_accounts, :client_reference_details, :destination_access_point_details, :return_to, :ship_date, :ship_to, :shipment_type, :shipper_instruction, :tax_details, :value_added_services ]

#to_h{ channel_details: Peddler::APIs::ShippingV2::ChannelDetails, packages: Array[Peddler::APIs::ShippingV2::Package], ship_from: Peddler::APIs::ShippingV2::Address, carrier_accounts: Array[Peddler::APIs::ShippingV2::CarrierAccount]?, client_reference_details: Array[Peddler::APIs::ShippingV2::ClientReferenceDetail]?, destination_access_point_details: Peddler::APIs::ShippingV2::AccessPointDetails?, return_to: Peddler::APIs::ShippingV2::Address?, ship_date: Time?, ship_to: Peddler::APIs::ShippingV2::Address?, shipment_type: String?, shipper_instruction: Peddler::APIs::ShippingV2::ShipperInstruction?, tax_details: Array[Peddler::APIs::ShippingV2::TaxDetail]?, value_added_services: Peddler::APIs::ShippingV2::ValueAddedServiceDetails? }

Returns:



916
# File 'sig/peddler/apis/shipping_v2.rbs', line 916

def to_h: () -> { channel_details: Peddler::APIs::ShippingV2::ChannelDetails, packages: Array[Peddler::APIs::ShippingV2::Package], ship_from: Peddler::APIs::ShippingV2::Address, carrier_accounts: Array[Peddler::APIs::ShippingV2::CarrierAccount]?, client_reference_details: Array[Peddler::APIs::ShippingV2::ClientReferenceDetail]?, destination_access_point_details: Peddler::APIs::ShippingV2::AccessPointDetails?, return_to: Peddler::APIs::ShippingV2::Address?, ship_date: Time?, ship_to: Peddler::APIs::ShippingV2::Address?, shipment_type: String?, shipper_instruction: Peddler::APIs::ShippingV2::ShipperInstruction?, tax_details: Array[Peddler::APIs::ShippingV2::TaxDetail]?, value_added_services: Peddler::APIs::ShippingV2::ValueAddedServiceDetails? }