« Shipment/Purolator/WSDL/Types/ConsolidateResponseContainer.pm
↑ Summary
Shipment/Purolator/WSDL/Types/CreateShipmentRequestContainer.pm »
| 1 | package Shipment::Purolator::WSDL::Types::ContentDetail; | ||
| 2 | $Shipment::Purolator::WSDL::Types::ContentDetail::VERSION = '3.11'; | ||
| 3 | use strict; | ||
| 4 | use warnings; | ||
| 5 | |||
| 6 | |||
| 7 | __PACKAGE__->_set_element_form_qualified(1); | ||
| 8 | |||
| 9 | sub get_xmlns {'http://purolator.com/pws/datatypes/v1'} | ||
| 10 | |||
| 11 | our $XML_ATTRIBUTE_CLASS; | ||
| 12 | undef $XML_ATTRIBUTE_CLASS; | ||
| 13 | |||
| 14 | sub __get_attr_class { | ||
| 15 | return $XML_ATTRIBUTE_CLASS; | ||
| 16 | } | ||
| 17 | |||
| 18 | use Class::Std::Fast::Storable constructor => 'none'; | ||
| 19 | use base qw(SOAP::WSDL::XSD::Typelib::ComplexType); | ||
| 20 | |||
| 21 | Class::Std::initialize(); | ||
| 22 | |||
| 23 | { # BLOCK to scope variables | ||
| 24 | |||
| 25 | my %Description_of : ATTR(:get<Description>); | ||
| 26 | my %HarmonizedCode_of : ATTR(:get<HarmonizedCode>); | ||
| 27 | my %CountryOfManufacture_of : ATTR(:get<CountryOfManufacture>); | ||
| 28 | my %ProductCode_of : ATTR(:get<ProductCode>); | ||
| 29 | my %UnitValue_of : ATTR(:get<UnitValue>); | ||
| 30 | my %Quantity_of : ATTR(:get<Quantity>); | ||
| 31 | my %NAFTADocumentIndicator_of : ATTR(:get<NAFTADocumentIndicator>); | ||
| 32 | my %FDADocumentIndicator_of : ATTR(:get<FDADocumentIndicator>); | ||
| 33 | my %FCCDocumentIndicator_of : ATTR(:get<FCCDocumentIndicator>); | ||
| 34 | my %SenderIsProducerIndicator_of : ATTR(:get<SenderIsProducerIndicator>); | ||
| 35 | my %TextileIndicator_of : ATTR(:get<TextileIndicator>); | ||
| 36 | my %TextileManufacturer_of : ATTR(:get<TextileManufacturer>); | ||
| 37 | |||
| 38 | __PACKAGE__->_factory( | ||
| 39 | [ qw( Description | ||
| 40 | HarmonizedCode | ||
| 41 | CountryOfManufacture | ||
| 42 | ProductCode | ||
| 43 | UnitValue | ||
| 44 | Quantity | ||
| 45 | NAFTADocumentIndicator | ||
| 46 | FDADocumentIndicator | ||
| 47 | FCCDocumentIndicator | ||
| 48 | SenderIsProducerIndicator | ||
| 49 | TextileIndicator | ||
| 50 | TextileManufacturer | ||
| 51 | |||
| 52 | ) | ||
| 53 | ], | ||
| 54 | { 'Description' => \%Description_of, | ||
| 55 | 'HarmonizedCode' => \%HarmonizedCode_of, | ||
| 56 | 'CountryOfManufacture' => \%CountryOfManufacture_of, | ||
| 57 | 'ProductCode' => \%ProductCode_of, | ||
| 58 | 'UnitValue' => \%UnitValue_of, | ||
| 59 | 'Quantity' => \%Quantity_of, | ||
| 60 | 'NAFTADocumentIndicator' => \%NAFTADocumentIndicator_of, | ||
| 61 | 'FDADocumentIndicator' => \%FDADocumentIndicator_of, | ||
| 62 | 'FCCDocumentIndicator' => \%FCCDocumentIndicator_of, | ||
| 63 | 'SenderIsProducerIndicator' => \%SenderIsProducerIndicator_of, | ||
| 64 | 'TextileIndicator' => \%TextileIndicator_of, | ||
| 65 | 'TextileManufacturer' => \%TextileManufacturer_of, | ||
| 66 | }, | ||
| 67 | { 'Description' => 'SOAP::WSDL::XSD::Typelib::Builtin::string', | ||
| 68 | 'HarmonizedCode' => 'SOAP::WSDL::XSD::Typelib::Builtin::string', | ||
| 69 | 'CountryOfManufacture' => | ||
| 70 | 'SOAP::WSDL::XSD::Typelib::Builtin::string', | ||
| 71 | 'ProductCode' => 'SOAP::WSDL::XSD::Typelib::Builtin::string', | ||
| 72 | 'UnitValue' => 'SOAP::WSDL::XSD::Typelib::Builtin::decimal', | ||
| 73 | 'Quantity' => 'SOAP::WSDL::XSD::Typelib::Builtin::int', | ||
| 74 | 'NAFTADocumentIndicator' => | ||
| 75 | 'SOAP::WSDL::XSD::Typelib::Builtin::boolean', | ||
| 76 | 'FDADocumentIndicator' => | ||
| 77 | 'SOAP::WSDL::XSD::Typelib::Builtin::boolean', | ||
| 78 | 'FCCDocumentIndicator' => | ||
| 79 | 'SOAP::WSDL::XSD::Typelib::Builtin::boolean', | ||
| 80 | 'SenderIsProducerIndicator' => | ||
| 81 | 'SOAP::WSDL::XSD::Typelib::Builtin::boolean', | ||
| 82 | 'TextileIndicator' => 'SOAP::WSDL::XSD::Typelib::Builtin::boolean', | ||
| 83 | 'TextileManufacturer' => | ||
| 84 | 'SOAP::WSDL::XSD::Typelib::Builtin::string', | ||
| 85 | }, | ||
| 86 | { | ||
| 87 | |||
| 88 | 'Description' => 'Description', | ||
| 89 | 'HarmonizedCode' => 'HarmonizedCode', | ||
| 90 | 'CountryOfManufacture' => 'CountryOfManufacture', | ||
| 91 | 'ProductCode' => 'ProductCode', | ||
| 92 | 'UnitValue' => 'UnitValue', | ||
| 93 | 'Quantity' => 'Quantity', | ||
| 94 | 'NAFTADocumentIndicator' => 'NAFTADocumentIndicator', | ||
| 95 | 'FDADocumentIndicator' => 'FDADocumentIndicator', | ||
| 96 | 'FCCDocumentIndicator' => 'FCCDocumentIndicator', | ||
| 97 | 'SenderIsProducerIndicator' => 'SenderIsProducerIndicator', | ||
| 98 | 'TextileIndicator' => 'TextileIndicator', | ||
| 99 | 'TextileManufacturer' => 'TextileManufacturer', | ||
| 100 | } | ||
| 101 | ); | ||
| 102 | |||
| 103 | } # end BLOCK | ||
| 104 | |||
| 105 | |||
| 106 | 1; | ||
| 107 | |||
| 108 | __END__ |