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

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