blib/lib/Google/Ads/AdWords/v201402/ProductCustomAttribute.pm untested

filter: Statementstmt 0.0% 0 / 31 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 0.0% 0 / 7 Podpod 0.0% 0 / 2 totaltotal 0.0% 0 / 40 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 Google::Ads::AdWords::v201402::ProductCustomAttribute;
2 use strict;
3 use warnings;
4  
5  
6 __PACKAGE__->_set_element_form_qualified(1);
7  
8 sub get_xmlns { 'https://adwords.google.com/api/adwords/cm/v201402' };
9  
10 our $XML_ATTRIBUTE_CLASS;
11 undef $XML_ATTRIBUTE_CLASS;
12  
13 sub __get_attr_class {
14 return $XML_ATTRIBUTE_CLASS;
15 }
16  
17  
18 use base qw(Google::Ads::AdWords::v201402::ProductDimension);
19 # Variety: sequence
20 use Class::Std::Fast::Storable constructor => 'none';
21 use base qw(Google::Ads::SOAP::Typelib::ComplexType);
22  
23 Class::Std::initialize();
24  
25 { # BLOCK to scope variables
26  
27 my %ProductDimension__Type_of :ATTR(:get<ProductDimension__Type>);
28 my %type_of :ATTR(:get<type>);
29 my %value_of :ATTR(:get<value>);
30  
31 __PACKAGE__->_factory(
32 [ qw( ProductDimension__Type
33 type
34 value
35  
36 ) ],
37 {
38 'ProductDimension__Type' => \%ProductDimension__Type_of,
39 'type' => \%type_of,
40 'value' => \%value_of,
41 },
42 {
43 'ProductDimension__Type' => 'SOAP::WSDL::XSD::Typelib::Builtin::string',
44 'type' => 'Google::Ads::AdWords::v201402::ProductDimensionType',
45 'value' => 'SOAP::WSDL::XSD::Typelib::Builtin::string',
46 },
47 {
48  
49 'ProductDimension__Type' => 'ProductDimension.Type',
50 'type' => 'type',
51 'value' => 'value',
52 }
53 );
54  
55 } # end BLOCK
56  
57  
58  
59  
60  
61  
62  
63 1;
64  
65  
66 =pod
67  
68 =head1 NAME
69  
70 Google::Ads::AdWords::v201402::ProductCustomAttribute
71  
72 =head1 DESCRIPTION
73  
74 Perl data type class for the XML Schema defined complexType
75 ProductCustomAttribute from the namespace https://adwords.google.com/api/adwords/cm/v201402.
76  
77 A custom attribute value. As a product can have multiple custom attributes, the user must specify a dimension type that indicates the index of the attribute by which to subdivide. All cases of the same subdivision must have the same dimension type (attribute index).
78  
79  
80  
81  
82 =head2 PROPERTIES
83  
84 The following properties may be accessed using get_PROPERTY / set_PROPERTY
85 methods:
86  
87 =over
88  
89 =item * type
90  
91  
92 =item * value
93  
94  
95  
96  
97 =back
98  
99  
100 =head1 METHODS
101  
102 =head2 new
103  
104 Constructor. The following data structure may be passed to new():
105  
106  
107  
108  
109  
110  
111 =head1 AUTHOR
112  
113 Generated by SOAP::WSDL
114  
115 =cut
116