lib/Google/Ads/AdWords/v201809/ProductCustomAttribute.pm

filter: Statementstmt 81.8% 9 / 11 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 60.0% 3 / 5 Podpod n/a totaltotal 75.0% 12 / 16 CC 1 SCAR 3.4
CC
1
Cov
82%
get_xmlns
2.0
__get_attr_class
2.0
BEGIN
1.0
CRAP 1.4
« lib/Google/Ads/AdWords/v201809/ProductChannelExclusivity.pm ↑ Summary lib/Google/Ads/AdWords/v201809/ProductLegacyCondition.pm »
1 package Google::Ads::AdWords::v201809::ProductCustomAttribute;
2 1 ▶use strict;
Subroutine BEGIN: called CC=1 SCAR=0.0
3 1 ▶use warnings;
Subroutine BEGIN: called CC=1 SCAR=0.0
4  
5  
6 __PACKAGE__->_set_element_form_qualified(1);
7  
8 0 ▶sub get_xmlns { 'https://adwords.google.com/api/adwords/cm/v201809' };
Subroutine get_xmlns: not called CC=1 SCAR=6.9
9  
10 our $XML_ATTRIBUTE_CLASS;
11 undef $XML_ATTRIBUTE_CLASS;
12  
13 0 ▶sub __get_attr_class {
Subroutine __get_attr_class: not called CC=1 SCAR=6.9
14 0 return $XML_ATTRIBUTE_CLASS;
15 }
16  
17  
18 1 ▶use base qw(Google::Ads::AdWords::v201809::ProductDimension);
Subroutine BEGIN: called CC=1 SCAR=0.0
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::v201809::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::v201809::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/v201809.
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  
« lib/Google/Ads/AdWords/v201809/ProductChannelExclusivity.pm ↑ Summary lib/Google/Ads/AdWords/v201809/ProductLegacyCondition.pm »