Du kannst nicht mehr als 25 Themen auswählen Themen müssen entweder mit einem Buchstaben oder einer Ziffer beginnen. Sie können Bindestriche („-“) enthalten und bis zu 35 Zeichen lang sein.
 
 
 

151 Zeilen
7.0 KiB

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