Shipment/Purolator/WSDLV2/Types/CreditCardInformation.pm untested

filter: Statementstmt 0.0% 0 / 33 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 0.0% 0 / 6 Podpod 0.0% 0 / 2 totaltotal 0.0% 0 / 41 CC 1 SCAR 6.9
CC
1
Cov
0%
get_xmlns
2.0
__get_attr_class
2.0
BEGIN
2.0
CRAP 2.0
1 package Shipment::Purolator::WSDLV2::Types::CreditCardInformation;
2 $Shipment::Purolator::WSDLV2::Types::CreditCardInformation::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/v2'}
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 %Type_of : ATTR(:get<Type>);
26 my %Number_of : ATTR(:get<Number>);
27 my %Name_of : ATTR(:get<Name>);
28 my %ExpiryMonth_of : ATTR(:get<ExpiryMonth>);
29 my %ExpiryYear_of : ATTR(:get<ExpiryYear>);
30 my %CVV_of : ATTR(:get<CVV>);
31  
32 __PACKAGE__->_factory(
33 [ qw( Type
34 Number
35 Name
36 ExpiryMonth
37 ExpiryYear
38 CVV
39  
40 )
41 ],
42 { 'Type' => \%Type_of,
43 'Number' => \%Number_of,
44 'Name' => \%Name_of,
45 'ExpiryMonth' => \%ExpiryMonth_of,
46 'ExpiryYear' => \%ExpiryYear_of,
47 'CVV' => \%CVV_of,
48 },
49 { 'Type' => 'Shipment::Purolator::WSDLV2::Types::CreditCardType',
50 'Number' => 'SOAP::WSDL::XSD::Typelib::Builtin::string',
51 'Name' => 'SOAP::WSDL::XSD::Typelib::Builtin::string',
52 'ExpiryMonth' => 'SOAP::WSDL::XSD::Typelib::Builtin::int',
53 'ExpiryYear' => 'SOAP::WSDL::XSD::Typelib::Builtin::int',
54 'CVV' => 'SOAP::WSDL::XSD::Typelib::Builtin::string',
55 },
56 {
57  
58 'Type' => 'Type',
59 'Number' => 'Number',
60 'Name' => 'Name',
61 'ExpiryMonth' => 'ExpiryMonth',
62 'ExpiryYear' => 'ExpiryYear',
63 'CVV' => 'CVV',
64 }
65 );
66  
67 } # end BLOCK
68  
69  
70 1;
71  
72 __END__