« Shipment/Purolator/WSDLV2/Types/WeightUnit.pm
↑ Summary
Shipment/Temando/WSDL/Elements/addBookingDetails.pm »
| 1 | |||
| 2 | package Shipment::Temando::WSDL::Elements::TemandoSecurity; | ||
| 3 | $Shipment::Temando::WSDL::Elements::TemandoSecurity::VERSION = '3.11'; | ||
| 4 | use strict; | ||
| 5 | use warnings; | ||
| 6 | |||
| 7 | { # BLOCK to scope variables | ||
| 8 | |||
| 9 | sub get_xmlns {'http://schemas.xmlsoap.org/ws/2002/04/secext'} | ||
| 10 | |||
| 11 | __PACKAGE__->__set_name('Security'); | ||
| 12 | __PACKAGE__->__set_nillable(); | ||
| 13 | __PACKAGE__->__set_minOccurs(); | ||
| 14 | __PACKAGE__->__set_maxOccurs(); | ||
| 15 | __PACKAGE__->__set_ref(); | ||
| 16 | |||
| 17 | use base qw( | ||
| 18 | SOAP::WSDL::XSD::Typelib::Element | ||
| 19 | SOAP::WSDL::XSD::Typelib::ComplexType | ||
| 20 | ); | ||
| 21 | |||
| 22 | our $XML_ATTRIBUTE_CLASS; | ||
| 23 | undef $XML_ATTRIBUTE_CLASS; | ||
| 24 | |||
| 25 | sub __get_attr_class { | ||
| 26 | return $XML_ATTRIBUTE_CLASS; | ||
| 27 | } | ||
| 28 | |||
| 29 | use Class::Std::Fast::Storable constructor => 'none'; | ||
| 30 | use base qw(SOAP::WSDL::XSD::Typelib::ComplexType); | ||
| 31 | |||
| 32 | Class::Std::initialize(); | ||
| 33 | |||
| 34 | { # BLOCK to scope variables | ||
| 35 | |||
| 36 | my %UsernameToken_of : ATTR(:get<UsernameToken>); | ||
| 37 | |||
| 38 | __PACKAGE__->_factory( | ||
| 39 | [ qw( UsernameToken | ||
| 40 | |||
| 41 | ) | ||
| 42 | ], | ||
| 43 | {'UsernameToken' => \%UsernameToken_of,}, | ||
| 44 | { | ||
| 45 | |||
| 46 | 'UsernameToken' => | ||
| 47 | 'Shipment::Temando::WSDL::Elements::TemandoSecurity::_UsernameToken', | ||
| 48 | |||
| 49 | }, | ||
| 50 | { | ||
| 51 | |||
| 52 | 'UsernameToken' => 'UsernameToken', | ||
| 53 | } | ||
| 54 | ); | ||
| 55 | |||
| 56 | } # end BLOCK | ||
| 57 | |||
| 58 | |||
| 59 | package Shipment::Temando::WSDL::Elements::TemandoSecurity::_UsernameToken; | ||
| 60 | $Shipment::Temando::WSDL::Elements::TemandoSecurity::_UsernameToken::VERSION | ||
| 61 | = '3.11'; | ||
| 62 | use strict; | ||
| 63 | use warnings; | ||
| 64 | { | ||
| 65 | our $XML_ATTRIBUTE_CLASS; | ||
| 66 | undef $XML_ATTRIBUTE_CLASS; | ||
| 67 | |||
| 68 | sub __get_attr_class { | ||
| 69 | return $XML_ATTRIBUTE_CLASS; | ||
| 70 | } | ||
| 71 | |||
| 72 | use Class::Std::Fast::Storable constructor => 'none'; | ||
| 73 | use base qw(SOAP::WSDL::XSD::Typelib::ComplexType); | ||
| 74 | |||
| 75 | Class::Std::initialize(); | ||
| 76 | |||
| 77 | { # BLOCK to scope variables | ||
| 78 | |||
| 79 | sub get_xmlns {'http://schemas.xmlsoap.org/ws/2002/04/secext'} | ||
| 80 | |||
| 81 | my %Username_of : ATTR(:get<Username>); | ||
| 82 | my %Password_of : ATTR(:get<Password>); | ||
| 83 | |||
| 84 | __PACKAGE__->_factory( | ||
| 85 | [ qw( Username | ||
| 86 | Password | ||
| 87 | |||
| 88 | ) | ||
| 89 | ], | ||
| 90 | { 'Username' => \%Username_of, | ||
| 91 | 'Password' => \%Password_of, | ||
| 92 | }, | ||
| 93 | { 'Username' => 'SOAP::WSDL::XSD::Typelib::Builtin::string', | ||
| 94 | 'Password' => 'SOAP::WSDL::XSD::Typelib::Builtin::string', | ||
| 95 | }, | ||
| 96 | { | ||
| 97 | |||
| 98 | 'Username' => 'Username', | ||
| 99 | 'Password' => 'Password', | ||
| 100 | } | ||
| 101 | ); | ||
| 102 | |||
| 103 | } # end BLOCK | ||
| 104 | |||
| 105 | |||
| 106 | } | ||
| 107 | |||
| 108 | |||
| 109 | } # end of BLOCK | ||
| 110 | |||
| 111 | |||
| 112 | 1; | ||
| 113 | |||
| 114 | __END__ |