# Generated by the protocol buffer compiler. DO NOT EDIT! # source: google/ads/googleads/v13/resources/invoice.proto require 'google/protobuf' require 'google/ads/google_ads/v13/common/dates_pb' require 'google/ads/google_ads/v13/enums/invoice_type_pb' require 'google/ads/google_ads/v13/enums/month_of_year_pb' require 'google/api/field_behavior_pb' require 'google/api/resource_pb' Google::Protobuf::DescriptorPool.generated_pool.build do add_file("google/ads/googleads/v13/resources/invoice.proto", :syntax => :proto3) do add_message "google.ads.googleads.v13.resources.Invoice" do optional :resource_name, :string, 1 proto3_optional :id, :string, 25 optional :type, :enum, 3, "google.ads.googleads.v13.enums.InvoiceTypeEnum.InvoiceType" proto3_optional :billing_setup, :string, 26 proto3_optional :payments_account_id, :string, 27 proto3_optional :payments_profile_id, :string, 28 proto3_optional :issue_date, :string, 29 proto3_optional :due_date, :string, 30 optional :service_date_range, :message, 9, "google.ads.googleads.v13.common.DateRange" proto3_optional :currency_code, :string, 31 optional :adjustments_subtotal_amount_micros, :int64, 19 optional :adjustments_tax_amount_micros, :int64, 20 optional :adjustments_total_amount_micros, :int64, 21 optional :regulatory_costs_subtotal_amount_micros, :int64, 22 optional :regulatory_costs_tax_amount_micros, :int64, 23 optional :regulatory_costs_total_amount_micros, :int64, 24 proto3_optional :subtotal_amount_micros, :int64, 33 proto3_optional :tax_amount_micros, :int64, 34 proto3_optional :total_amount_micros, :int64, 35 proto3_optional :corrected_invoice, :string, 36 repeated :replaced_invoices, :string, 37 proto3_optional :pdf_url, :string, 38 repeated :account_budget_summaries, :message, 18, "google.ads.googleads.v13.resources.Invoice.AccountBudgetSummary" repeated :account_summaries, :message, 39, "google.ads.googleads.v13.resources.Invoice.AccountSummary" end add_message "google.ads.googleads.v13.resources.Invoice.AccountSummary" do proto3_optional :customer, :string, 1 proto3_optional :billing_correction_subtotal_amount_micros, :int64, 2 proto3_optional :billing_correction_tax_amount_micros, :int64, 3 proto3_optional :billing_correction_total_amount_micros, :int64, 4 proto3_optional :coupon_adjustment_subtotal_amount_micros, :int64, 5 proto3_optional :coupon_adjustment_tax_amount_micros, :int64, 6 proto3_optional :coupon_adjustment_total_amount_micros, :int64, 7 proto3_optional :excess_credit_adjustment_subtotal_amount_micros, :int64, 8 proto3_optional :excess_credit_adjustment_tax_amount_micros, :int64, 9 proto3_optional :excess_credit_adjustment_total_amount_micros, :int64, 10 proto3_optional :regulatory_costs_subtotal_amount_micros, :int64, 11 proto3_optional :regulatory_costs_tax_amount_micros, :int64, 12 proto3_optional :regulatory_costs_total_amount_micros, :int64, 13 proto3_optional :subtotal_amount_micros, :int64, 14 proto3_optional :tax_amount_micros, :int64, 15 proto3_optional :total_amount_micros, :int64, 16 end add_message "google.ads.googleads.v13.resources.Invoice.AccountBudgetSummary" do proto3_optional :customer, :string, 10 proto3_optional :customer_descriptive_name, :string, 11 proto3_optional :account_budget, :string, 12 proto3_optional :account_budget_name, :string, 13 proto3_optional :purchase_order_number, :string, 14 proto3_optional :subtotal_amount_micros, :int64, 15 proto3_optional :tax_amount_micros, :int64, 16 proto3_optional :total_amount_micros, :int64, 17 optional :billable_activity_date_range, :message, 9, "google.ads.googleads.v13.common.DateRange" proto3_optional :served_amount_micros, :int64, 18 proto3_optional :billed_amount_micros, :int64, 19 proto3_optional :overdelivery_amount_micros, :int64, 20 proto3_optional :invalid_activity_amount_micros, :int64, 21 repeated :invalid_activity_summaries, :message, 22, "google.ads.googleads.v13.resources.Invoice.InvalidActivitySummary" end add_message "google.ads.googleads.v13.resources.Invoice.InvalidActivitySummary" do proto3_optional :original_month_of_service, :enum, 1, "google.ads.googleads.v13.enums.MonthOfYearEnum.MonthOfYear" proto3_optional :original_year_of_service, :string, 2 proto3_optional :original_invoice_id, :string, 3 proto3_optional :original_account_budget_name, :string, 4 proto3_optional :original_purchase_order_number, :string, 5 proto3_optional :amount_micros, :int64, 6 end end end module Google module Ads module GoogleAds module V13 module Resources Invoice = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.ads.googleads.v13.resources.Invoice").msgclass Invoice::AccountSummary = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.ads.googleads.v13.resources.Invoice.AccountSummary").msgclass Invoice::AccountBudgetSummary = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.ads.googleads.v13.resources.Invoice.AccountBudgetSummary").msgclass Invoice::InvalidActivitySummary = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.ads.googleads.v13.resources.Invoice.InvalidActivitySummary").msgclass end end end end end