| 1 | package Shipment::Temando::WSDL::Types::BookingQuote; | ||
| 2 | $Shipment::Temando::WSDL::Types::BookingQuote::VERSION = '3.11'; | ||
| 3 | use strict; | ||
| 4 | use warnings; | ||
| 5 | |||
| 6 | |||
| 7 | __PACKAGE__->_set_element_form_qualified(0); | ||
| 8 | |||
| 9 | sub get_xmlns { | ||
| 10 | 'http://' | ||
| 11 | . $Shipment::Temando::WSDL::Interfaces::quoting_Service::quoting_port::ns_url | ||
| 12 | . '/schema/2009_06/common.xsd'; | ||
| 13 | } | ||
| 14 | |||
| 15 | our $XML_ATTRIBUTE_CLASS; | ||
| 16 | undef $XML_ATTRIBUTE_CLASS; | ||
| 17 | |||
| 18 | sub __get_attr_class { | ||
| 19 | return $XML_ATTRIBUTE_CLASS; | ||
| 20 | } | ||
| 21 | |||
| 22 | use Class::Std::Fast::Storable constructor => 'none'; | ||
| 23 | use base qw(SOAP::WSDL::XSD::Typelib::ComplexType); | ||
| 24 | |||
| 25 | Class::Std::initialize(); | ||
| 26 | |||
| 27 | { # BLOCK to scope variables | ||
| 28 | |||
| 29 | my %totalPrice_of : ATTR(:get<totalPrice>); | ||
| 30 | my %basePrice_of : ATTR(:get<basePrice>); | ||
| 31 | my %tax_of : ATTR(:get<tax>); | ||
| 32 | my %currency_of : ATTR(:get<currency>); | ||
| 33 | my %deliveryMethod_of : ATTR(:get<deliveryMethod>); | ||
| 34 | my %etaFrom_of : ATTR(:get<etaFrom>); | ||
| 35 | my %etaTo_of : ATTR(:get<etaTo>); | ||
| 36 | my %guaranteedEta_of : ATTR(:get<guaranteedEta>); | ||
| 37 | my %carrierId_of : ATTR(:get<carrierId>); | ||
| 38 | my %extras_of : ATTR(:get<extras>); | ||
| 39 | |||
| 40 | __PACKAGE__->_factory( | ||
| 41 | [ qw( totalPrice | ||
| 42 | basePrice | ||
| 43 | tax | ||
| 44 | currency | ||
| 45 | deliveryMethod | ||
| 46 | etaFrom | ||
| 47 | etaTo | ||
| 48 | guaranteedEta | ||
| 49 | carrierId | ||
| 50 | extras | ||
| 51 | |||
| 52 | ) | ||
| 53 | ], | ||
| 54 | { 'totalPrice' => \%totalPrice_of, | ||
| 55 | 'basePrice' => \%basePrice_of, | ||
| 56 | 'tax' => \%tax_of, | ||
| 57 | 'currency' => \%currency_of, | ||
| 58 | 'deliveryMethod' => \%deliveryMethod_of, | ||
| 59 | 'etaFrom' => \%etaFrom_of, | ||
| 60 | 'etaTo' => \%etaTo_of, | ||
| 61 | 'guaranteedEta' => \%guaranteedEta_of, | ||
| 62 | 'carrierId' => \%carrierId_of, | ||
| 63 | 'extras' => \%extras_of, | ||
| 64 | }, | ||
| 65 | { 'totalPrice' => 'Shipment::Temando::WSDL::Types::CurrencyAmount', | ||
| 66 | 'basePrice' => 'Shipment::Temando::WSDL::Types::CurrencyAmount', | ||
| 67 | 'tax' => 'Shipment::Temando::WSDL::Types::CurrencyAmount', | ||
| 68 | 'currency' => 'Shipment::Temando::WSDL::Types::CurrencyType', | ||
| 69 | 'deliveryMethod' => | ||
| 70 | 'Shipment::Temando::WSDL::Types::DeliveryMethod', | ||
| 71 | 'etaFrom' => 'Shipment::Temando::WSDL::Types::Eta', | ||
| 72 | 'etaTo' => 'Shipment::Temando::WSDL::Types::Eta', | ||
| 73 | 'guaranteedEta' => 'Shipment::Temando::WSDL::Types::YesNoOption', | ||
| 74 | 'carrierId' => 'Shipment::Temando::WSDL::Types::CarrierId', | ||
| 75 | |||
| 76 | 'extras' => | ||
| 77 | 'Shipment::Temando::WSDL::Types::BookingQuote::_extras', | ||
| 78 | }, | ||
| 79 | { | ||
| 80 | |||
| 81 | 'totalPrice' => 'totalPrice', | ||
| 82 | 'basePrice' => 'basePrice', | ||
| 83 | 'tax' => 'tax', | ||
| 84 | 'currency' => 'currency', | ||
| 85 | 'deliveryMethod' => 'deliveryMethod', | ||
| 86 | 'etaFrom' => 'etaFrom', | ||
| 87 | 'etaTo' => 'etaTo', | ||
| 88 | 'guaranteedEta' => 'guaranteedEta', | ||
| 89 | 'carrierId' => 'carrierId', | ||
| 90 | 'extras' => 'extras', | ||
| 91 | } | ||
| 92 | ); | ||
| 93 | |||
| 94 | } # end BLOCK | ||
| 95 | |||
| 96 | |||
| 97 | package Shipment::Temando::WSDL::Types::BookingQuote::_extras; | ||
| 98 | $Shipment::Temando::WSDL::Types::BookingQuote::_extras::VERSION = '3.11'; | ||
| 99 | use strict; | ||
| 100 | use warnings; | ||
| 101 | { | ||
| 102 | our $XML_ATTRIBUTE_CLASS; | ||
| 103 | undef $XML_ATTRIBUTE_CLASS; | ||
| 104 | |||
| 105 | sub __get_attr_class { | ||
| 106 | return $XML_ATTRIBUTE_CLASS; | ||
| 107 | } | ||
| 108 | |||
| 109 | use Class::Std::Fast::Storable constructor => 'none'; | ||
| 110 | use base qw(SOAP::WSDL::XSD::Typelib::ComplexType); | ||
| 111 | |||
| 112 | Class::Std::initialize(); | ||
| 113 | |||
| 114 | { # BLOCK to scope variables | ||
| 115 | |||
| 116 | my %extra_of : ATTR(:get<extra>); | ||
| 117 | |||
| 118 | __PACKAGE__->_factory( | ||
| 119 | [ qw( extra | ||
| 120 | |||
| 121 | ) | ||
| 122 | ], | ||
| 123 | {'extra' => \%extra_of,}, | ||
| 124 | {'extra' => 'Shipment::Temando::WSDL::Types::Extra',}, | ||
| 125 | { | ||
| 126 | |||
| 127 | 'extra' => 'extra', | ||
| 128 | } | ||
| 129 | ); | ||
| 130 | |||
| 131 | } # end BLOCK | ||
| 132 | |||
| 133 | |||
| 134 | } | ||
| 135 | |||
| 136 | |||
| 137 | 1; | ||
| 138 | |||
| 139 | __END__ |