File: payments_account.pb.go

package info (click to toggle)
golang-google-genproto 0.0~git20200413.b5235f6-1
  • links: PTS, VCS
  • area: main
  • in suites: bullseye, bullseye-backports, experimental
  • size: 50,816 kB
  • sloc: sh: 49; makefile: 12
file content (159 lines) | stat: -rw-r--r-- 7,603 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
// Code generated by protoc-gen-go. DO NOT EDIT.
// source: google/ads/googleads/v3/resources/payments_account.proto

package resources

import (
	fmt "fmt"
	math "math"

	proto "github.com/golang/protobuf/proto"
	wrappers "github.com/golang/protobuf/ptypes/wrappers"
	_ "google.golang.org/genproto/googleapis/api/annotations"
)

// Reference imports to suppress errors if they are not otherwise used.
var _ = proto.Marshal
var _ = fmt.Errorf
var _ = math.Inf

// This is a compile-time assertion to ensure that this generated file
// is compatible with the proto package it is being compiled against.
// A compilation error at this line likely means your copy of the
// proto package needs to be updated.
const _ = proto.ProtoPackageIsVersion3 // please upgrade the proto package

// A payments account, which can be used to set up billing for an Ads customer.
type PaymentsAccount struct {
	// Output only. The resource name of the payments account.
	// PaymentsAccount resource names have the form:
	//
	// `customers/{customer_id}/paymentsAccounts/{payments_account_id}`
	ResourceName string `protobuf:"bytes,1,opt,name=resource_name,json=resourceName,proto3" json:"resource_name,omitempty"`
	// Output only. A 16 digit ID used to identify a payments account.
	PaymentsAccountId *wrappers.StringValue `protobuf:"bytes,2,opt,name=payments_account_id,json=paymentsAccountId,proto3" json:"payments_account_id,omitempty"`
	// Output only. The name of the payments account.
	Name *wrappers.StringValue `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty"`
	// Output only. The currency code of the payments account.
	// A subset of the currency codes derived from the ISO 4217 standard is
	// supported.
	CurrencyCode *wrappers.StringValue `protobuf:"bytes,4,opt,name=currency_code,json=currencyCode,proto3" json:"currency_code,omitempty"`
	// Output only. A 12 digit ID used to identify the payments profile associated with the
	// payments account.
	PaymentsProfileId *wrappers.StringValue `protobuf:"bytes,5,opt,name=payments_profile_id,json=paymentsProfileId,proto3" json:"payments_profile_id,omitempty"`
	// Output only. A secondary payments profile ID present in uncommon situations, e.g.
	// when a sequential liability agreement has been arranged.
	SecondaryPaymentsProfileId *wrappers.StringValue `protobuf:"bytes,6,opt,name=secondary_payments_profile_id,json=secondaryPaymentsProfileId,proto3" json:"secondary_payments_profile_id,omitempty"`
	XXX_NoUnkeyedLiteral       struct{}              `json:"-"`
	XXX_unrecognized           []byte                `json:"-"`
	XXX_sizecache              int32                 `json:"-"`
}

func (m *PaymentsAccount) Reset()         { *m = PaymentsAccount{} }
func (m *PaymentsAccount) String() string { return proto.CompactTextString(m) }
func (*PaymentsAccount) ProtoMessage()    {}
func (*PaymentsAccount) Descriptor() ([]byte, []int) {
	return fileDescriptor_37c21bb407f87d61, []int{0}
}

func (m *PaymentsAccount) XXX_Unmarshal(b []byte) error {
	return xxx_messageInfo_PaymentsAccount.Unmarshal(m, b)
}
func (m *PaymentsAccount) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
	return xxx_messageInfo_PaymentsAccount.Marshal(b, m, deterministic)
}
func (m *PaymentsAccount) XXX_Merge(src proto.Message) {
	xxx_messageInfo_PaymentsAccount.Merge(m, src)
}
func (m *PaymentsAccount) XXX_Size() int {
	return xxx_messageInfo_PaymentsAccount.Size(m)
}
func (m *PaymentsAccount) XXX_DiscardUnknown() {
	xxx_messageInfo_PaymentsAccount.DiscardUnknown(m)
}

var xxx_messageInfo_PaymentsAccount proto.InternalMessageInfo

func (m *PaymentsAccount) GetResourceName() string {
	if m != nil {
		return m.ResourceName
	}
	return ""
}

func (m *PaymentsAccount) GetPaymentsAccountId() *wrappers.StringValue {
	if m != nil {
		return m.PaymentsAccountId
	}
	return nil
}

func (m *PaymentsAccount) GetName() *wrappers.StringValue {
	if m != nil {
		return m.Name
	}
	return nil
}

func (m *PaymentsAccount) GetCurrencyCode() *wrappers.StringValue {
	if m != nil {
		return m.CurrencyCode
	}
	return nil
}

func (m *PaymentsAccount) GetPaymentsProfileId() *wrappers.StringValue {
	if m != nil {
		return m.PaymentsProfileId
	}
	return nil
}

func (m *PaymentsAccount) GetSecondaryPaymentsProfileId() *wrappers.StringValue {
	if m != nil {
		return m.SecondaryPaymentsProfileId
	}
	return nil
}

func init() {
	proto.RegisterType((*PaymentsAccount)(nil), "google.ads.googleads.v3.resources.PaymentsAccount")
}

func init() {
	proto.RegisterFile("google/ads/googleads/v3/resources/payments_account.proto", fileDescriptor_37c21bb407f87d61)
}

var fileDescriptor_37c21bb407f87d61 = []byte{
	// 480 bytes of a gzipped FileDescriptorProto
	0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x94, 0x93, 0xc1, 0x6a, 0xd4, 0x40,
	0x1c, 0xc6, 0xd9, 0xcd, 0x5a, 0x70, 0x6c, 0x11, 0xa3, 0x87, 0x75, 0xa9, 0xda, 0x0a, 0x85, 0xc5,
	0xc3, 0x8c, 0x18, 0x84, 0x32, 0x9e, 0x66, 0x05, 0x4b, 0x3d, 0x48, 0x5c, 0x71, 0x0f, 0xb2, 0x10,
	0x66, 0x67, 0x66, 0x63, 0x20, 0x99, 0x7f, 0x98, 0x49, 0x56, 0x96, 0xd2, 0x83, 0xaf, 0xe2, 0xd1,
	0x47, 0xf1, 0x19, 0x3c, 0xf4, 0xdc, 0x47, 0xf0, 0x24, 0x9b, 0x64, 0xd2, 0x36, 0x88, 0xae, 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