File Coverage

lib/Google/Ads/AdWords/v201710/Budget.pm
Criterion Covered Total %
statement 12 14 85.7
branch n/a
condition n/a
subroutine 4 6 66.6
pod n/a
total 16 20 80.0


line stmt bran cond sub pod time code
1             package Google::Ads::AdWords::v201710::Budget;
2 1     1   598 use strict;
  1         2  
  1         34  
3 1     1   8 use warnings;
  1         4  
  1         99  
4              
5              
6             __PACKAGE__->_set_element_form_qualified(1);
7              
8 0     0     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 0     0     return $XML_ATTRIBUTE_CLASS;
15             }
16              
17 1     1   6 use Class::Std::Fast::Storable constructor => 'none';
  1         1  
  1         7  
18 1     1   136 use base qw(Google::Ads::SOAP::Typelib::ComplexType);
  1         2  
  1         98  
19              
20             { # BLOCK to scope variables
21              
22             my %budgetId_of :ATTR(:get);
23             my %name_of :ATTR(:get);
24             my %amount_of :ATTR(:get);
25             my %deliveryMethod_of :ATTR(:get);
26             my %referenceCount_of :ATTR(:get);
27             my %isExplicitlyShared_of :ATTR(:get);
28             my %status_of :ATTR(:get);
29              
30             __PACKAGE__->_factory(
31             [ qw( budgetId
32             name
33             amount
34             deliveryMethod
35             referenceCount
36             isExplicitlyShared
37             status
38              
39             ) ],
40             {
41             'budgetId' => \%budgetId_of,
42             'name' => \%name_of,
43             'amount' => \%amount_of,
44             'deliveryMethod' => \%deliveryMethod_of,
45             'referenceCount' => \%referenceCount_of,
46             'isExplicitlyShared' => \%isExplicitlyShared_of,
47             'status' => \%status_of,
48             },
49             {
50             'budgetId' => 'SOAP::WSDL::XSD::Typelib::Builtin::long',
51             'name' => 'SOAP::WSDL::XSD::Typelib::Builtin::string',
52             'amount' => 'Google::Ads::AdWords::v201710::Money',
53             'deliveryMethod' => 'Google::Ads::AdWords::v201710::Budget::BudgetDeliveryMethod',
54             'referenceCount' => 'SOAP::WSDL::XSD::Typelib::Builtin::int',
55             'isExplicitlyShared' => 'SOAP::WSDL::XSD::Typelib::Builtin::boolean',
56             'status' => 'Google::Ads::AdWords::v201710::Budget::BudgetStatus',
57             },
58             {
59              
60             'budgetId' => 'budgetId',
61             'name' => 'name',
62             'amount' => 'amount',
63             'deliveryMethod' => 'deliveryMethod',
64             'referenceCount' => 'referenceCount',
65             'isExplicitlyShared' => 'isExplicitlyShared',
66             'status' => 'status',
67             }
68             );
69              
70             } # end BLOCK
71              
72              
73              
74              
75              
76              
77              
78             1;
79              
80              
81             =pod
82              
83             =head1 NAME
84              
85             Google::Ads::AdWords::v201710::Budget
86              
87             =head1 DESCRIPTION
88              
89             Perl data type class for the XML Schema defined complexType
90             Budget from the namespace https://adwords.google.com/api/adwords/cm/v201710.
91              
92             Budgets are used for managing the amount of money spent on AdWords.
93              
94              
95              
96              
97             =head2 PROPERTIES
98              
99             The following properties may be accessed using get_PROPERTY / set_PROPERTY
100             methods:
101              
102             =over
103              
104             =item * budgetId
105              
106              
107             =item * name
108              
109              
110             =item * amount
111              
112              
113             =item * deliveryMethod
114              
115              
116             =item * referenceCount
117              
118              
119             =item * isExplicitlyShared
120              
121              
122             =item * status
123              
124              
125              
126              
127             =back
128              
129              
130             =head1 METHODS
131              
132             =head2 new
133              
134             Constructor. The following data structure may be passed to new():
135              
136              
137              
138              
139              
140              
141             =head1 AUTHOR
142              
143             Generated by SOAP::WSDL
144              
145             =cut
146