« lib/Google/Ads/AdWords/v201809/BillingAccount.pm
↑ Summary
lib/Google/Ads/AdWords/v201809/BudgetOrder.pm »
| 1 | package Google::Ads::AdWords::v201809::Budget; | ||
| 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 | 1 | ▶ | use Class::Std::Fast::Storable constructor => 'none'; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 18 | 1 | ▶ | use base qw(Google::Ads::SOAP::Typelib::ComplexType); |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 19 | |||
| 20 | { # BLOCK to scope variables | ||
| 21 | |||
| 22 | my %budgetId_of :ATTR(:get<budgetId>); | ||
| 23 | my %name_of :ATTR(:get<name>); | ||
| 24 | my %amount_of :ATTR(:get<amount>); | ||
| 25 | my %deliveryMethod_of :ATTR(:get<deliveryMethod>); | ||
| 26 | my %referenceCount_of :ATTR(:get<referenceCount>); | ||
| 27 | my %isExplicitlyShared_of :ATTR(:get<isExplicitlyShared>); | ||
| 28 | my %status_of :ATTR(:get<status>); | ||
| 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::v201809::Money', | ||
| 53 | 'deliveryMethod' => 'Google::Ads::AdWords::v201809::Budget::BudgetDeliveryMethod', | ||
| 54 | 'referenceCount' => 'SOAP::WSDL::XSD::Typelib::Builtin::int', | ||
| 55 | 'isExplicitlyShared' => 'SOAP::WSDL::XSD::Typelib::Builtin::boolean', | ||
| 56 | 'status' => 'Google::Ads::AdWords::v201809::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::v201809::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/v201809. | ||
| 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 | |||