« lib/Google/Ads/AdWords/v201809/Budget.pm
↑ Summary
lib/Google/Ads/AdWords/v201809/BudgetOrderRequest.pm »
| 1 | package Google::Ads::AdWords::v201809::BudgetOrder; | ||
| 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/billing/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 %billingAccountId_of :ATTR(:get<billingAccountId>); | ||
| 23 | my %id_of :ATTR(:get<id>); | ||
| 24 | my %billingAccountName_of :ATTR(:get<billingAccountName>); | ||
| 25 | my %poNumber_of :ATTR(:get<poNumber>); | ||
| 26 | my %budgetOrderName_of :ATTR(:get<budgetOrderName>); | ||
| 27 | my %primaryBillingId_of :ATTR(:get<primaryBillingId>); | ||
| 28 | my %secondaryBillingId_of :ATTR(:get<secondaryBillingId>); | ||
| 29 | my %spendingLimit_of :ATTR(:get<spendingLimit>); | ||
| 30 | my %totalAdjustments_of :ATTR(:get<totalAdjustments>); | ||
| 31 | my %startDateTime_of :ATTR(:get<startDateTime>); | ||
| 32 | my %endDateTime_of :ATTR(:get<endDateTime>); | ||
| 33 | my %lastRequest_of :ATTR(:get<lastRequest>); | ||
| 34 | |||
| 35 | __PACKAGE__->_factory( | ||
| 36 | [ qw( billingAccountId | ||
| 37 | id | ||
| 38 | billingAccountName | ||
| 39 | poNumber | ||
| 40 | budgetOrderName | ||
| 41 | primaryBillingId | ||
| 42 | secondaryBillingId | ||
| 43 | spendingLimit | ||
| 44 | totalAdjustments | ||
| 45 | startDateTime | ||
| 46 | endDateTime | ||
| 47 | lastRequest | ||
| 48 | |||
| 49 | ) ], | ||
| 50 | { | ||
| 51 | 'billingAccountId' => \%billingAccountId_of, | ||
| 52 | 'id' => \%id_of, | ||
| 53 | 'billingAccountName' => \%billingAccountName_of, | ||
| 54 | 'poNumber' => \%poNumber_of, | ||
| 55 | 'budgetOrderName' => \%budgetOrderName_of, | ||
| 56 | 'primaryBillingId' => \%primaryBillingId_of, | ||
| 57 | 'secondaryBillingId' => \%secondaryBillingId_of, | ||
| 58 | 'spendingLimit' => \%spendingLimit_of, | ||
| 59 | 'totalAdjustments' => \%totalAdjustments_of, | ||
| 60 | 'startDateTime' => \%startDateTime_of, | ||
| 61 | 'endDateTime' => \%endDateTime_of, | ||
| 62 | 'lastRequest' => \%lastRequest_of, | ||
| 63 | }, | ||
| 64 | { | ||
| 65 | 'billingAccountId' => 'SOAP::WSDL::XSD::Typelib::Builtin::string', | ||
| 66 | 'id' => 'SOAP::WSDL::XSD::Typelib::Builtin::long', | ||
| 67 | 'billingAccountName' => 'SOAP::WSDL::XSD::Typelib::Builtin::string', | ||
| 68 | 'poNumber' => 'SOAP::WSDL::XSD::Typelib::Builtin::string', | ||
| 69 | 'budgetOrderName' => 'SOAP::WSDL::XSD::Typelib::Builtin::string', | ||
| 70 | 'primaryBillingId' => 'SOAP::WSDL::XSD::Typelib::Builtin::string', | ||
| 71 | 'secondaryBillingId' => 'SOAP::WSDL::XSD::Typelib::Builtin::string', | ||
| 72 | 'spendingLimit' => 'Google::Ads::AdWords::v201809::Money', | ||
| 73 | 'totalAdjustments' => 'Google::Ads::AdWords::v201809::Money', | ||
| 74 | 'startDateTime' => 'SOAP::WSDL::XSD::Typelib::Builtin::string', | ||
| 75 | 'endDateTime' => 'SOAP::WSDL::XSD::Typelib::Builtin::string', | ||
| 76 | 'lastRequest' => 'Google::Ads::AdWords::v201809::BudgetOrderRequest', | ||
| 77 | }, | ||
| 78 | { | ||
| 79 | |||
| 80 | 'billingAccountId' => 'billingAccountId', | ||
| 81 | 'id' => 'id', | ||
| 82 | 'billingAccountName' => 'billingAccountName', | ||
| 83 | 'poNumber' => 'poNumber', | ||
| 84 | 'budgetOrderName' => 'budgetOrderName', | ||
| 85 | 'primaryBillingId' => 'primaryBillingId', | ||
| 86 | 'secondaryBillingId' => 'secondaryBillingId', | ||
| 87 | 'spendingLimit' => 'spendingLimit', | ||
| 88 | 'totalAdjustments' => 'totalAdjustments', | ||
| 89 | 'startDateTime' => 'startDateTime', | ||
| 90 | 'endDateTime' => 'endDateTime', | ||
| 91 | 'lastRequest' => 'lastRequest', | ||
| 92 | } | ||
| 93 | ); | ||
| 94 | |||
| 95 | } # end BLOCK | ||
| 96 | |||
| 97 | |||
| 98 | |||
| 99 | |||
| 100 | |||
| 101 | |||
| 102 | |||
| 103 | 1; | ||
| 104 | |||
| 105 | |||
| 106 | =pod | ||
| 107 | |||
| 108 | =head1 NAME | ||
| 109 | |||
| 110 | Google::Ads::AdWords::v201809::BudgetOrder | ||
| 111 | |||
| 112 | =head1 DESCRIPTION | ||
| 113 | |||
| 114 | Perl data type class for the XML Schema defined complexType | ||
| 115 | BudgetOrder from the namespace https://adwords.google.com/api/adwords/billing/v201809. | ||
| 116 | |||
| 117 | A <a href="https://support.google.com/adwords/answer/2393037">budget order</a> links an account-wide budget with a {@link BillingAccount}. | ||
| 118 | |||
| 119 | |||
| 120 | |||
| 121 | |||
| 122 | =head2 PROPERTIES | ||
| 123 | |||
| 124 | The following properties may be accessed using get_PROPERTY / set_PROPERTY | ||
| 125 | methods: | ||
| 126 | |||
| 127 | =over | ||
| 128 | |||
| 129 | =item * billingAccountId | ||
| 130 | |||
| 131 | |||
| 132 | =item * id | ||
| 133 | |||
| 134 | |||
| 135 | =item * billingAccountName | ||
| 136 | |||
| 137 | |||
| 138 | =item * poNumber | ||
| 139 | |||
| 140 | |||
| 141 | =item * budgetOrderName | ||
| 142 | |||
| 143 | |||
| 144 | =item * primaryBillingId | ||
| 145 | |||
| 146 | |||
| 147 | =item * secondaryBillingId | ||
| 148 | |||
| 149 | |||
| 150 | =item * spendingLimit | ||
| 151 | |||
| 152 | |||
| 153 | =item * totalAdjustments | ||
| 154 | |||
| 155 | |||
| 156 | =item * startDateTime | ||
| 157 | |||
| 158 | |||
| 159 | =item * endDateTime | ||
| 160 | |||
| 161 | |||
| 162 | =item * lastRequest | ||
| 163 | |||
| 164 | |||
| 165 | |||
| 166 | |||
| 167 | =back | ||
| 168 | |||
| 169 | |||
| 170 | =head1 METHODS | ||
| 171 | |||
| 172 | =head2 new | ||
| 173 | |||
| 174 | Constructor. The following data structure may be passed to new(): | ||
| 175 | |||
| 176 | |||
| 177 | |||
| 178 | |||
| 179 | |||
| 180 | |||
| 181 | =head1 AUTHOR | ||
| 182 | |||
| 183 | Generated by SOAP::WSDL | ||
| 184 | |||
| 185 | =cut | ||
| 186 | |||