diff --git a/account.go b/account.go index c33d2c2..59a114d 100644 --- a/account.go +++ b/account.go @@ -102,7 +102,7 @@ type Account struct { // Unique ID to identify a dunning campaign. Used to specify if a non-default dunning campaign should be assigned to this account. For sites without multiple dunning campaigns enabled, the default dunning campaign will always be used. DunningCampaignId string `json:"dunning_campaign_id,omitempty"` - // Unique ID to identify an invoice template. Available when the site is on a Pro or Enterprise plan. Used to specify if a non-default invoice template will be used to generate invoices for the account. For sites without multiple invoice templates enabled, the default template will always be used. + // Unique ID to identify an invoice template. Available when the site is on a Pro or Elite plan. Used to specify if a non-default invoice template will be used to generate invoices for the account. For sites without multiple invoice templates enabled, the default template will always be used. InvoiceTemplateId string `json:"invoice_template_id,omitempty"` Address Address `json:"address,omitempty"` diff --git a/account_create.go b/account_create.go index 98b3b6c..f099e2f 100644 --- a/account_create.go +++ b/account_create.go @@ -66,7 +66,7 @@ type AccountCreate struct { // Unique ID to identify a dunning campaign. Used to specify if a non-default dunning campaign should be assigned to this account. For sites without multiple dunning campaigns enabled, the default dunning campaign will always be used. DunningCampaignId *string `json:"dunning_campaign_id,omitempty"` - // Unique ID to identify an invoice template. Available when the site is on a Pro or Enterprise plan. Used to specify which invoice template, if any, should be used to generate invoices for the account. + // Unique ID to identify an invoice template. Available when the site is on a Pro or Elite plan. Used to specify which invoice template, if any, should be used to generate invoices for the account. InvoiceTemplateId *string `json:"invoice_template_id,omitempty"` Address *AddressCreate `json:"address,omitempty"` diff --git a/account_purchase.go b/account_purchase.go index 3dbc841..b1adbdf 100644 --- a/account_purchase.go +++ b/account_purchase.go @@ -64,7 +64,7 @@ type AccountPurchase struct { // Unique ID to identify a dunning campaign. Used to specify if a non-default dunning campaign should be assigned to this account. For sites without multiple dunning campaigns enabled, the default dunning campaign will always be used. DunningCampaignId *string `json:"dunning_campaign_id,omitempty"` - // Unique ID to identify an invoice template. Available when the site is on a Pro or Enterprise plan. Used to specify which invoice template, if any, should be used to generate invoices for the account. + // Unique ID to identify an invoice template. Available when the site is on a Pro or Elite plan. Used to specify which invoice template, if any, should be used to generate invoices for the account. InvoiceTemplateId *string `json:"invoice_template_id,omitempty"` Address *AddressCreate `json:"address,omitempty"` diff --git a/account_update.go b/account_update.go index 8d86d69..a15c0dc 100644 --- a/account_update.go +++ b/account_update.go @@ -56,7 +56,7 @@ type AccountUpdate struct { // Unique ID to identify a dunning campaign. Used to specify if a non-default dunning campaign should be assigned to this account. For sites without multiple dunning campaigns enabled, the default dunning campaign will always be used. DunningCampaignId *string `json:"dunning_campaign_id,omitempty"` - // Unique ID to identify an invoice template. Available when the site is on a Pro or Enterprise plan. Used to specify which invoice template, if any, should be used to generate invoices for the account. + // Unique ID to identify an invoice template. Available when the site is on a Pro or Elite plan. Used to specify which invoice template, if any, should be used to generate invoices for the account. InvoiceTemplateId *string `json:"invoice_template_id,omitempty"` Address *AddressCreate `json:"address,omitempty"` diff --git a/address.go b/address.go index cc82585..b3226be 100644 --- a/address.go +++ b/address.go @@ -32,6 +32,9 @@ type Address struct { // Country, 2-letter ISO 3166-1 alpha-2 code. Country string `json:"country,omitempty"` + + // Code that represents a geographic entity (location or object). Only returned for Sling Vertex Integration + GeoCode string `json:"geo_code,omitempty"` } // GetResponse returns the ResponseMetadata that generated this resource diff --git a/address_create.go b/address_create.go index 59b40b2..24d4e22 100644 --- a/address_create.go +++ b/address_create.go @@ -28,4 +28,7 @@ type AddressCreate struct { // Country, 2-letter ISO 3166-1 alpha-2 code. Country *string `json:"country,omitempty"` + + // Code that represents a geographic entity (location or object). Only returned for Sling Vertex Integration + GeoCode *string `json:"geo_code,omitempty"` } diff --git a/address_with_name.go b/address_with_name.go index 465154f..8dd7c2f 100644 --- a/address_with_name.go +++ b/address_with_name.go @@ -38,6 +38,9 @@ type AddressWithName struct { // Country, 2-letter ISO 3166-1 alpha-2 code. Country string `json:"country,omitempty"` + + // Code that represents a geographic entity (location or object). Only returned for Sling Vertex Integration + GeoCode string `json:"geo_code,omitempty"` } // GetResponse returns the ResponseMetadata that generated this resource diff --git a/billing_info_create.go b/billing_info_create.go index 8010eea..92a1158 100644 --- a/billing_info_create.go +++ b/billing_info_create.go @@ -58,6 +58,9 @@ type BillingInfoCreate struct { // PayPal billing agreement ID PaypalBillingAgreementId *string `json:"paypal_billing_agreement_id,omitempty"` + // Roku's CIB if billing through Roku + RokuBillingAgreementId *string `json:"roku_billing_agreement_id,omitempty"` + // Fraud Session ID FraudSessionId *string `json:"fraud_session_id,omitempty"` diff --git a/invoice_address.go b/invoice_address.go index 71e3465..8681081 100644 --- a/invoice_address.go +++ b/invoice_address.go @@ -39,6 +39,9 @@ type InvoiceAddress struct { // Country, 2-letter ISO 3166-1 alpha-2 code. Country string `json:"country,omitempty"` + // Code that represents a geographic entity (location or object). Only returned for Sling Vertex Integration + GeoCode string `json:"geo_code,omitempty"` + // First name FirstName string `json:"first_name,omitempty"` diff --git a/invoice_address_create.go b/invoice_address_create.go index 8ebc3fe..0df08c2 100644 --- a/invoice_address_create.go +++ b/invoice_address_create.go @@ -35,6 +35,9 @@ type InvoiceAddressCreate struct { // Country, 2-letter ISO 3166-1 alpha-2 code. Country *string `json:"country,omitempty"` + // Code that represents a geographic entity (location or object). Only returned for Sling Vertex Integration + GeoCode *string `json:"geo_code,omitempty"` + // First name FirstName *string `json:"first_name,omitempty"` diff --git a/openapi/api.yaml b/openapi/api.yaml index 0e0dbda..fe2608a 100644 --- a/openapi/api.yaml +++ b/openapi/api.yaml @@ -17256,8 +17256,8 @@ components: type: string title: Invoice Template ID description: Unique ID to identify an invoice template. Available when - the site is on a Pro or Enterprise plan. Used to specify which invoice - template, if any, should be used to generate invoices for the account. + the site is on a Pro or Elite plan. Used to specify which invoice template, + if any, should be used to generate invoices for the account. address: "$ref": "#/components/schemas/Address" billing_info: @@ -17355,10 +17355,10 @@ components: type: string title: Invoice Template ID description: Unique ID to identify an invoice template. Available when the - site is on a Pro or Enterprise plan. Used to specify if a non-default - invoice template will be used to generate invoices for the account. For - sites without multiple invoice templates enabled, the default template - will always be used. + site is on a Pro or Elite plan. Used to specify if a non-default invoice + template will be used to generate invoices for the account. For sites + without multiple invoice templates enabled, the default template will + always be used. address: "$ref": "#/components/schemas/Address" billing_info: @@ -17511,6 +17511,11 @@ components: type: string title: Country description: Country, 2-letter ISO 3166-1 alpha-2 code. + geo_code: + type: string + maxLength: 20 + description: Code that represents a geographic entity (location or object). + Only returned for Sling Vertex Integration AddressWithName: allOf: - "$ref": "#/components/schemas/Address" @@ -18215,6 +18220,9 @@ components: paypal_billing_agreement_id: type: string title: PayPal billing agreement ID + roku_billing_agreement_id: + type: string + title: Roku's CIB if billing through Roku fraud_session_id: type: string title: Fraud Session ID @@ -21107,6 +21115,11 @@ components: type: string maxLength: 50 description: Country, 2-letter ISO 3166-1 alpha-2 code. + geo_code: + type: string + maxLength: 20 + description: Code that represents a geographic entity (location or object). + Only returned for Sling Vertex Integration created_at: type: string title: Created at @@ -21158,6 +21171,11 @@ components: type: string maxLength: 20 description: Zip or postal code. + geo_code: + type: string + maxLength: 20 + description: Code that represents a geographic entity (location or object). + Only returned for Sling Vertex Integration country: type: string maxLength: 50 @@ -21412,6 +21430,11 @@ components: type: string maxLength: 50 description: Country, 2-letter ISO 3166-1 alpha-2 code. + geo_code: + type: string + maxLength: 20 + description: Code that represents a geographic entity (location or object). + Only returned for Sling Vertex Integration Site: type: object properties: @@ -24979,6 +25002,7 @@ components: - check - credit_card - eft + - google_pay - money_order - other - paypal @@ -25172,6 +25196,7 @@ components: - credit_card - eft - gateway_token + - google_pay - iban_bank_account - money_order - other diff --git a/shipping_address.go b/shipping_address.go index b481a82..71acc86 100644 --- a/shipping_address.go +++ b/shipping_address.go @@ -51,6 +51,9 @@ type ShippingAddress struct { // Country, 2-letter ISO 3166-1 alpha-2 code. Country string `json:"country,omitempty"` + // Code that represents a geographic entity (location or object). Only returned for Sling Vertex Integration + GeoCode string `json:"geo_code,omitempty"` + // Created at CreatedAt time.Time `json:"created_at,omitempty"` diff --git a/shipping_address_create.go b/shipping_address_create.go index 4be4b1c..f4dd8e2 100644 --- a/shipping_address_create.go +++ b/shipping_address_create.go @@ -33,6 +33,9 @@ type ShippingAddressCreate struct { // Zip or postal code. PostalCode *string `json:"postal_code,omitempty"` + // Code that represents a geographic entity (location or object). Only returned for Sling Vertex Integration + GeoCode *string `json:"geo_code,omitempty"` + // Country, 2-letter ISO 3166-1 alpha-2 code. Country *string `json:"country,omitempty"` } diff --git a/shipping_address_update.go b/shipping_address_update.go index 67e2225..05818a9 100644 --- a/shipping_address_update.go +++ b/shipping_address_update.go @@ -39,4 +39,7 @@ type ShippingAddressUpdate struct { // Country, 2-letter ISO 3166-1 alpha-2 code. Country *string `json:"country,omitempty"` + + // Code that represents a geographic entity (location or object). Only returned for Sling Vertex Integration + GeoCode *string `json:"geo_code,omitempty"` }