You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 

150 lines
6.9 KiB

  1. // Code generated by protoc-gen-go. DO NOT EDIT.
  2. // source: google/ads/googleads/v0/resources/payments_account.proto
  3. package resources // import "google.golang.org/genproto/googleapis/ads/googleads/v0/resources"
  4. import proto "github.com/golang/protobuf/proto"
  5. import fmt "fmt"
  6. import math "math"
  7. import wrappers "github.com/golang/protobuf/ptypes/wrappers"
  8. // Reference imports to suppress errors if they are not otherwise used.
  9. var _ = proto.Marshal
  10. var _ = fmt.Errorf
  11. var _ = math.Inf
  12. // This is a compile-time assertion to ensure that this generated file
  13. // is compatible with the proto package it is being compiled against.
  14. // A compilation error at this line likely means your copy of the
  15. // proto package needs to be updated.
  16. const _ = proto.ProtoPackageIsVersion2 // please upgrade the proto package
  17. // A Payments account, which can be used to set up billing for an Ads customer.
  18. type PaymentsAccount struct {
  19. // The resource name of the Payments account.
  20. // PaymentsAccount resource names have the form:
  21. //
  22. // `customers/{customer_id}/paymentsAccounts/{payments_account_id}`
  23. ResourceName string `protobuf:"bytes,1,opt,name=resource_name,json=resourceName,proto3" json:"resource_name,omitempty"`
  24. // A 16 digit ID used to identify a Payments account.
  25. PaymentsAccountId *wrappers.StringValue `protobuf:"bytes,2,opt,name=payments_account_id,json=paymentsAccountId,proto3" json:"payments_account_id,omitempty"`
  26. // The name of the Payments account.
  27. Name *wrappers.StringValue `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty"`
  28. // The currency code of the Payments account.
  29. // A subset of the currency codes derived from the ISO 4217 standard is
  30. // supported.
  31. CurrencyCode *wrappers.StringValue `protobuf:"bytes,4,opt,name=currency_code,json=currencyCode,proto3" json:"currency_code,omitempty"`
  32. // A 12 digit ID used to identify the Payments profile associated with the
  33. // Payments account.
  34. PaymentsProfileId *wrappers.StringValue `protobuf:"bytes,5,opt,name=payments_profile_id,json=paymentsProfileId,proto3" json:"payments_profile_id,omitempty"`
  35. // A secondary Payments profile ID present in uncommon situations, e.g.
  36. // when a sequential liability agreement has been arranged.
  37. SecondaryPaymentsProfileId *wrappers.StringValue `protobuf:"bytes,6,opt,name=secondary_payments_profile_id,json=secondaryPaymentsProfileId,proto3" json:"secondary_payments_profile_id,omitempty"`
  38. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  39. XXX_unrecognized []byte `json:"-"`
  40. XXX_sizecache int32 `json:"-"`
  41. }
  42. func (m *PaymentsAccount) Reset() { *m = PaymentsAccount{} }
  43. func (m *PaymentsAccount) String() string { return proto.CompactTextString(m) }
  44. func (*PaymentsAccount) ProtoMessage() {}
  45. func (*PaymentsAccount) Descriptor() ([]byte, []int) {
  46. return fileDescriptor_payments_account_5eec033e0d66de16, []int{0}
  47. }
  48. func (m *PaymentsAccount) XXX_Unmarshal(b []byte) error {
  49. return xxx_messageInfo_PaymentsAccount.Unmarshal(m, b)
  50. }
  51. func (m *PaymentsAccount) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  52. return xxx_messageInfo_PaymentsAccount.Marshal(b, m, deterministic)
  53. }
  54. func (dst *PaymentsAccount) XXX_Merge(src proto.Message) {
  55. xxx_messageInfo_PaymentsAccount.Merge(dst, src)
  56. }
  57. func (m *PaymentsAccount) XXX_Size() int {
  58. return xxx_messageInfo_PaymentsAccount.Size(m)
  59. }
  60. func (m *PaymentsAccount) XXX_DiscardUnknown() {
  61. xxx_messageInfo_PaymentsAccount.DiscardUnknown(m)
  62. }
  63. var xxx_messageInfo_PaymentsAccount proto.InternalMessageInfo
  64. func (m *PaymentsAccount) GetResourceName() string {
  65. if m != nil {
  66. return m.ResourceName
  67. }
  68. return ""
  69. }
  70. func (m *PaymentsAccount) GetPaymentsAccountId() *wrappers.StringValue {
  71. if m != nil {
  72. return m.PaymentsAccountId
  73. }
  74. return nil
  75. }
  76. func (m *PaymentsAccount) GetName() *wrappers.StringValue {
  77. if m != nil {
  78. return m.Name
  79. }
  80. return nil
  81. }
  82. func (m *PaymentsAccount) GetCurrencyCode() *wrappers.StringValue {
  83. if m != nil {
  84. return m.CurrencyCode
  85. }
  86. return nil
  87. }
  88. func (m *PaymentsAccount) GetPaymentsProfileId() *wrappers.StringValue {
  89. if m != nil {
  90. return m.PaymentsProfileId
  91. }
  92. return nil
  93. }
  94. func (m *PaymentsAccount) GetSecondaryPaymentsProfileId() *wrappers.StringValue {
  95. if m != nil {
  96. return m.SecondaryPaymentsProfileId
  97. }
  98. return nil
  99. }
  100. func init() {
  101. proto.RegisterType((*PaymentsAccount)(nil), "google.ads.googleads.v0.resources.PaymentsAccount")
  102. }
  103. func init() {
  104. proto.RegisterFile("google/ads/googleads/v0/resources/payments_account.proto", fileDescriptor_payments_account_5eec033e0d66de16)
  105. }
  106. var fileDescriptor_payments_account_5eec033e0d66de16 = []byte{
  107. // 387 bytes of a gzipped FileDescriptorProto
  108. 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x94, 0x92, 0xc1, 0x6a, 0xdb, 0x30,
  109. 0x1c, 0xc6, 0xb1, 0x93, 0x05, 0xa6, 0x25, 0x8c, 0x79, 0x3b, 0x84, 0xb0, 0x8d, 0x64, 0x23, 0x90,
  110. 0x93, 0x6c, 0xb6, 0xcb, 0xd0, 0x4e, 0xce, 0x0e, 0x21, 0x63, 0x0c, 0x93, 0x82, 0x0f, 0xc5, 0x60,
  111. 0x14, 0x49, 0x31, 0x06, 0x5b, 0x32, 0x92, 0x9d, 0x92, 0x63, 0x5f, 0xa5, 0xa7, 0xd2, 0x47, 0xe9,
  112. 0xa3, 0xf4, 0x29, 0x8a, 0x2d, 0x5b, 0x90, 0x50, 0xda, 0xf4, 0xf6, 0x61, 0x7f, 0xdf, 0xef, 0xfb,
  113. 0xff, 0xd1, 0x1f, 0xfc, 0x4a, 0x84, 0x48, 0x32, 0xe6, 0x62, 0xaa, 0x5c, 0x2d, 0x6b, 0xb5, 0xf7,
  114. 0x5c, 0xc9, 0x94, 0xa8, 0x24, 0x61, 0xca, 0x2d, 0xf0, 0x21, 0x67, 0xbc, 0x54, 0x31, 0x26, 0x44,
  115. 0x54, 0xbc, 0x84, 0x85, 0x14, 0xa5, 0x70, 0x66, 0xda, 0x0e, 0x31, 0x55, 0xd0, 0x24, 0xe1, 0xde,
  116. 0x83, 0x26, 0x39, 0xf9, 0xda, 0xc2, 0x9b, 0xc0, 0xb6, 0xda, 0xb9, 0x57, 0x12, 0x17, 0x05, 0x93,
  117. 0x4a, 0x23, 0xbe, 0xdd, 0xf6, 0xc0, 0xfb, 0xa0, 0xa5, 0xfb, 0x1a, 0xee, 0x7c, 0x07, 0xa3, 0x0e,
  118. 0x10, 0x73, 0x9c, 0xb3, 0xb1, 0x35, 0xb5, 0x16, 0x6f, 0x37, 0xc3, 0xee, 0xe3, 0x7f, 0x9c, 0x33,
  119. 0xe7, 0x1f, 0xf8, 0x78, 0x3a, 0x55, 0x9c, 0xd2, 0xb1, 0x3d, 0xb5, 0x16, 0xef, 0x7e, 0x7c, 0x6e,
  120. 0xc7, 0x81, 0x5d, 0x2d, 0xbc, 0x28, 0x65, 0xca, 0x93, 0x10, 0x67, 0x15, 0xdb, 0x7c, 0x28, 0x8e,
  121. 0x0b, 0xd7, 0xd4, 0xf1, 0x40, 0xbf, 0x69, 0xea, 0x9d, 0x11, 0x6f, 0x9c, 0x8e, 0x0f, 0x46, 0xa4,
  122. 0x92, 0x92, 0x71, 0x72, 0x88, 0x89, 0xa0, 0x6c, 0xdc, 0x3f, 0x23, 0x3a, 0xec, 0x22, 0x7f, 0x04,
  123. 0x3d, 0x5e, 0xa1, 0x90, 0x62, 0x97, 0x66, 0xac, 0x5e, 0xe1, 0xcd, 0x6b, 0x56, 0x08, 0x74, 0x6e,
  124. 0x4d, 0x9d, 0x18, 0x7c, 0x51, 0x8c, 0x08, 0x4e, 0xb1, 0x3c, 0xc4, 0x4f, 0x71, 0x07, 0x67, 0x70,
  125. 0x27, 0x06, 0x11, 0x9c, 0x16, 0x2c, 0xaf, 0x6d, 0x30, 0x27, 0x22, 0x87, 0x2f, 0x3e, 0xfa, 0xf2,
  126. 0xd3, 0xc9, 0x8b, 0x06, 0x75, 0x55, 0x60, 0x5d, 0xfe, 0x6d, 0xa3, 0x89, 0xc8, 0x30, 0x4f, 0xa0,
  127. 0x90, 0x89, 0x9b, 0x30, 0xde, 0x0c, 0xd2, 0x5d, 0x5e, 0x91, 0xaa, 0x67, 0x0e, 0xf1, 0xb7, 0x51,
  128. 0x37, 0x76, 0x6f, 0xe5, 0xfb, 0x77, 0xf6, 0x6c, 0xa5, 0x91, 0x3e, 0x55, 0x50, 0xcb, 0x5a, 0x85,
  129. 0x1e, 0xdc, 0x74, 0xce, 0xfb, 0xce, 0x13, 0xf9, 0x54, 0x45, 0xc6, 0x13, 0x85, 0x5e, 0x64, 0x3c,
  130. 0x0f, 0xf6, 0x5c, 0xff, 0x40, 0xc8, 0xa7, 0x0a, 0x21, 0xe3, 0x42, 0x28, 0xf4, 0x10, 0x32, 0xbe,
  131. 0xed, 0xa0, 0x19, 0xf6, 0xe7, 0x63, 0x00, 0x00, 0x00, 0xff, 0xff, 0x6a, 0xa6, 0x46, 0x7a, 0x34,
  132. 0x03, 0x00, 0x00,
  133. }