Built motion from commit 6a09e18b.|2.6.11
[motion2.git] / legacy-libs / google-proto-files / google / ads / googleads / v1 / resources / payments_account.proto
1 // Copyright 2019 Google LLC.
2 //
3 // Licensed under the Apache License, Version 2.0 (the "License");
4 // you may not use this file except in compliance with the License.
5 // You may obtain a copy of the License at
6 //
7 //     http://www.apache.org/licenses/LICENSE-2.0
8 //
9 // Unless required by applicable law or agreed to in writing, software
10 // distributed under the License is distributed on an "AS IS" BASIS,
11 // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12 // See the License for the specific language governing permissions and
13 // limitations under the License.
14 //
15
16 syntax = "proto3";
17
18 package google.ads.googleads.v1.resources;
19
20 import "google/protobuf/wrappers.proto";
21 import "google/api/annotations.proto";
22
23 option csharp_namespace = "Google.Ads.GoogleAds.V1.Resources";
24 option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v1/resources;resources";
25 option java_multiple_files = true;
26 option java_outer_classname = "PaymentsAccountProto";
27 option java_package = "com.google.ads.googleads.v1.resources";
28 option objc_class_prefix = "GAA";
29 option php_namespace = "Google\\Ads\\GoogleAds\\V1\\Resources";
30 option ruby_package = "Google::Ads::GoogleAds::V1::Resources";
31 // Proto file describing the PaymentsAccount resource.
32
33 // A Payments account, which can be used to set up billing for an Ads customer.
34 message PaymentsAccount {
35   // The resource name of the Payments account.
36   // PaymentsAccount resource names have the form:
37   //
38   // `customers/{customer_id}/paymentsAccounts/{payments_account_id}`
39   string resource_name = 1;
40
41   // A 16 digit ID used to identify a Payments account.
42   google.protobuf.StringValue payments_account_id = 2;
43
44   // The name of the Payments account.
45   google.protobuf.StringValue name = 3;
46
47   // The currency code of the Payments account.
48   // A subset of the currency codes derived from the ISO 4217 standard is
49   // supported.
50   google.protobuf.StringValue currency_code = 4;
51
52   // A 12 digit ID used to identify the Payments profile associated with the
53   // Payments account.
54   google.protobuf.StringValue payments_profile_id = 5;
55
56   // A secondary Payments profile ID present in uncommon situations, e.g.
57   // when a sequential liability agreement has been arranged.
58   google.protobuf.StringValue secondary_payments_profile_id = 6;
59 }