lib/Google/Ads/AdWords/v201710/MoneyWithCurrency.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/v201710/MoneyAttribute.pm ↑ Summary lib/Google/Ads/AdWords/v201710/MonthlySearchVolumeAttribute.pm »
1 package Google::Ads::AdWords::v201710::MoneyWithCurrency;
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 our $OBJECT_NAMESPACE = 'https://adwords.google.com/api/adwords/cm/v201710';
9 0 ▶sub get_xmlns { return $OBJECT_NAMESPACE };
Subroutine get_xmlns: not called CC=1 SCAR=6.9
10  
11 our $XML_ATTRIBUTE_CLASS;
12 undef $XML_ATTRIBUTE_CLASS;
13  
14 sub __get_attr_class {
15 0 ▶ return $XML_ATTRIBUTE_CLASS;
Subroutine __get_attr_class: not called CC=1 SCAR=6.9
16 }
17  
18  
19 1 ▶use base qw(Google::Ads::AdWords::v201710::ComparableValue);
Subroutine BEGIN: called CC=1 SCAR=0.0
20 # Variety: sequence
21 use Class::Std::Fast::Storable constructor => 'none';
22 use base qw(Google::Ads::SOAP::Typelib::ComplexType);
23  
24 { # BLOCK to scope variables
25  
26 my %ComparableValue__Type_of :ATTR(:get<ComparableValue__Type>);
27 my %money_of :ATTR(:get<money>);
28 my %currencyCode_of :ATTR(:get<currencyCode>);
29  
30 __PACKAGE__->_factory(
31 [ qw( ComparableValue__Type
32 money
33 currencyCode
34  
35 ) ],
36 {
37 'ComparableValue__Type' => \%ComparableValue__Type_of,
38 'money' => \%money_of,
39 'currencyCode' => \%currencyCode_of,
40 },
41 {
42 'ComparableValue__Type' => 'SOAP::WSDL::XSD::Typelib::Builtin::string',
43 'money' => 'Google::Ads::AdWords::v201710::Money',
44 'currencyCode' => 'SOAP::WSDL::XSD::Typelib::Builtin::string',
45 },
46 {
47  
48 'ComparableValue__Type' => 'ComparableValue.Type',
49 'money' => 'money',
50 'currencyCode' => 'currencyCode',
51 }
52 );
53  
54 } # end BLOCK
55  
56  
57  
58  
59  
60  
61  
62 1;
63  
64  
65 =pod
66  
67 =head1 NAME
68  
69 Google::Ads::AdWords::v201710::MoneyWithCurrency
70  
71 =head1 DESCRIPTION
72  
73 Perl data type class for the XML Schema defined complexType
74 MoneyWithCurrency from the namespace https://adwords.google.com/api/adwords/rm/v201710.
75  
76 Represents a money amount with currency.
77  
78  
79  
80  
81 =head2 PROPERTIES
82  
83 The following properties may be accessed using get_PROPERTY / set_PROPERTY
84 methods:
85  
86 =over
87  
88 =item * money
89  
90  
91 =item * currencyCode
92  
93  
94  
95  
96 =back
97  
98  
99 =head1 METHODS
100  
101 =head2 new
102  
103 Constructor. The following data structure may be passed to new():
104  
105  
106  
107  
108  
109  
110 =head1 AUTHOR
111  
112 Generated by SOAP::WSDL
113  
114 =cut
115  
« lib/Google/Ads/AdWords/v201710/MoneyAttribute.pm ↑ Summary lib/Google/Ads/AdWords/v201710/MonthlySearchVolumeAttribute.pm »