| // Code generated by protoc-gen-go. DO NOT EDIT. |
| // source: google/ads/googleads/v1/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_154b57c389e0899a, []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.v1.resources.PaymentsAccount") |
| } |
| |
| func init() { |
| proto.RegisterFile("google/ads/googleads/v1/resources/payments_account.proto", fileDescriptor_154b57c389e0899a) |
| } |
| |
| var fileDescriptor_154b57c389e0899a = []byte{ |
| // 481 bytes of a gzipped FileDescriptorProto |
| 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x94, 0x93, 0xc1, 0x6a, 0xd4, 0x40, |
| 0x1c, 0xc6, 0xd9, 0x64, 0x2d, 0x18, 0x5b, 0xc4, 0xe8, 0x61, 0x5d, 0xaa, 0xb6, 0x42, 0x61, 0xf1, |
| 0x30, 0x63, 0x14, 0xa1, 0x8c, 0xa7, 0x59, 0xc1, 0x52, 0x0f, 0x12, 0x57, 0xdc, 0x83, 0x2c, 0x84, |
| 0xd9, 0x99, 0xd9, 0x18, 0x48, 0xe6, 0x1f, 0x66, 0x92, 0x95, 0xa5, 0xf4, 0xe0, 0xab, 0x78, 0xf4, |
| 0x51, 0x7c, 0x06, 0x0f, 0x3d, 0xf7, 0x11, 0x3c, 0xc9, 0x26, 0x99, 0xb4, 0x1b, 0x44, 0xb7, 0xb7, |
| 0x2f, 0xfc, 0xbf, 0xef, 0x37, 0xff, 0x2f, 0xc3, 0x78, 0xc7, 0x31, 0x40, 0x9c, 0x4a, 0xcc, 0x84, |
| 0xc1, 0xb5, 0x5c, 0xab, 0x65, 0x80, 0xb5, 0x34, 0x50, 0x6a, 0x2e, 0x0d, 0xce, 0xd9, 0x2a, 0x93, |
| 0xaa, 0x30, 0x11, 0xe3, 0x1c, 0x4a, 0x55, 0xa0, 0x5c, 0x43, 0x01, 0xfe, 0x61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