« Shipment/FedEx/WSDL/ShipTypes/EdtRequestType.pm
↑ Summary
Shipment/FedEx/WSDL/ShipTypes/EdtTaxType.pm »
| 1 | package Shipment::FedEx::WSDL::ShipTypes::EdtTaxDetail; | ||
| 2 | $Shipment::FedEx::WSDL::ShipTypes::EdtTaxDetail::VERSION = '3.11'; | ||
| 3 | use strict; | ||
| 4 | use warnings; | ||
| 5 | |||
| 6 | |||
| 7 | __PACKAGE__->_set_element_form_qualified(1); | ||
| 8 | |||
| 9 | sub get_xmlns {'http://fedex.com/ws/ship/v9'} | ||
| 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 %TaxType_of : ATTR(:get<TaxType>); | ||
| 26 | my %EffectiveDate_of : ATTR(:get<EffectiveDate>); | ||
| 27 | my %Name_of : ATTR(:get<Name>); | ||
| 28 | my %TaxableValue_of : ATTR(:get<TaxableValue>); | ||
| 29 | my %Description_of : ATTR(:get<Description>); | ||
| 30 | my %Formula_of : ATTR(:get<Formula>); | ||
| 31 | my %Amount_of : ATTR(:get<Amount>); | ||
| 32 | |||
| 33 | __PACKAGE__->_factory( | ||
| 34 | [ qw( TaxType | ||
| 35 | EffectiveDate | ||
| 36 | Name | ||
| 37 | TaxableValue | ||
| 38 | Description | ||
| 39 | Formula | ||
| 40 | Amount | ||
| 41 | |||
| 42 | ) | ||
| 43 | ], | ||
| 44 | { 'TaxType' => \%TaxType_of, | ||
| 45 | 'EffectiveDate' => \%EffectiveDate_of, | ||
| 46 | 'Name' => \%Name_of, | ||
| 47 | 'TaxableValue' => \%TaxableValue_of, | ||
| 48 | 'Description' => \%Description_of, | ||
| 49 | 'Formula' => \%Formula_of, | ||
| 50 | 'Amount' => \%Amount_of, | ||
| 51 | }, | ||
| 52 | { 'TaxType' => 'Shipment::FedEx::WSDL::ShipTypes::EdtTaxType', | ||
| 53 | 'EffectiveDate' => 'SOAP::WSDL::XSD::Typelib::Builtin::date', | ||
| 54 | 'Name' => 'SOAP::WSDL::XSD::Typelib::Builtin::string', | ||
| 55 | 'TaxableValue' => 'Shipment::FedEx::WSDL::ShipTypes::Money', | ||
| 56 | 'Description' => 'SOAP::WSDL::XSD::Typelib::Builtin::string', | ||
| 57 | 'Formula' => 'SOAP::WSDL::XSD::Typelib::Builtin::string', | ||
| 58 | 'Amount' => 'Shipment::FedEx::WSDL::ShipTypes::Money', | ||
| 59 | }, | ||
| 60 | { | ||
| 61 | |||
| 62 | 'TaxType' => 'TaxType', | ||
| 63 | 'EffectiveDate' => 'EffectiveDate', | ||
| 64 | 'Name' => 'Name', | ||
| 65 | 'TaxableValue' => 'TaxableValue', | ||
| 66 | 'Description' => 'Description', | ||
| 67 | 'Formula' => 'Formula', | ||
| 68 | 'Amount' => 'Amount', | ||
| 69 | } | ||
| 70 | ); | ||
| 71 | |||
| 72 | } # end BLOCK | ||
| 73 | |||
| 74 | |||
| 75 | 1; | ||
| 76 | |||
| 77 | __END__ |