NAME
Shipment::FedEx::WSDL::RateTypes::Commodity
VERSION
version 3.10
DESCRIPTION
Perl data type class for the XML Schema defined complexType Commodity from the namespace http://fedex.com/ws/rate/v9.
For international multiple piece shipments, commodity information must be passed in the Master and on each child transaction. If this shipment cotains more than four commodities line items, the four highest valued should be included in the first 4 occurances for this request.
PROPERTIES
The following properties may be accessed using get_PROPERTY / set_PROPERTY methods:
Name (min/maxOccurs: 0/1)
NumberOfPieces (min/maxOccurs: 0/1)
Description (min/maxOccurs: 0/1)
CountryOfManufacture (min/maxOccurs: 0/1)
HarmonizedCode (min/maxOccurs: 0/1)
Weight (min/maxOccurs: 0/1)
Quantity (min/maxOccurs: 0/1)
QuantityUnits (min/maxOccurs: 0/1)
AdditionalMeasures (min/maxOccurs: 0/unbounded)
UnitPrice (min/maxOccurs: 0/1)
CustomsValue (min/maxOccurs: 0/1)
ExciseConditions (min/maxOccurs: 0/unbounded)
ExportLicenseNumber (min/maxOccurs: 0/1)
ExportLicenseExpirationDate (min/maxOccurs: 0/1)
CIMarksAndNumbers (min/maxOccurs: 0/1)
NaftaDetail (min/maxOccurs: 0/1)
NAME
Shipment::FedEx::WSDL::RateTypes::Commodity
METHODS
new
Constructor. The following data structure may be passed to new():
{ # Shipment::FedEx::WSDL::RateTypes::Commodity
Name => $some_value, # string
NumberOfPieces => $some_value, # nonNegativeInteger
Description => $some_value, # string
CountryOfManufacture => $some_value, # string
HarmonizedCode => $some_value, # string
Weight => { # Shipment::FedEx::WSDL::RateTypes::Weight
Units => $some_value, # WeightUnits
Value => $some_value, # decimal
},
Quantity => $some_value, # nonNegativeInteger
QuantityUnits => $some_value, # string
AdditionalMeasures => { # Shipment::FedEx::WSDL::RateTypes::Measure
Quantity => $some_value, # decimal
Units => $some_value, # string
},
UnitPrice => { # Shipment::FedEx::WSDL::RateTypes::Money
Currency => $some_value, # string
Amount => $some_value, # decimal
},
CustomsValue => {}, # Shipment::FedEx::WSDL::RateTypes::Money
ExciseConditions => { # Shipment::FedEx::WSDL::RateTypes::EdtExciseCondition
Category => $some_value, # string
Value => $some_value, # string
},
ExportLicenseNumber => $some_value, # string
ExportLicenseExpirationDate => $some_value, # date
CIMarksAndNumbers => $some_value, # string
NaftaDetail => { # Shipment::FedEx::WSDL::RateTypes::NaftaCommodityDetail
PreferenceCriterion => $some_value, # NaftaPreferenceCriterionCode
ProducerDetermination => $some_value, # NaftaProducerDeterminationCode
ProducerId => $some_value, # string
NetCostMethod => $some_value, # NaftaNetCostMethodCode
NetCostDateRange => { # Shipment::FedEx::WSDL::RateTypes::DateRange
Begins => $some_value, # date
Ends => $some_value, # date
},
},
},
AUTHOR
Generated by SOAP::WSDL
AUTHOR
Andrew Baerg <baergaj@cpan.org>
COPYRIGHT AND LICENSE
This software is copyright (c) 2018 by Andrew Baerg.
This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.