Skip to content

Commit

Permalink
Generated Latest Changes for v2021-02-25
Browse files Browse the repository at this point in the history
  • Loading branch information
Recurly Integrations committed Nov 7, 2023
1 parent a20c740 commit a751285
Show file tree
Hide file tree
Showing 14 changed files with 62 additions and 10 deletions.
2 changes: 1 addition & 1 deletion account.go
Original file line number Diff line number Diff line change
Expand Up @@ -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"`
Expand Down
2 changes: 1 addition & 1 deletion account_create.go
Original file line number Diff line number Diff line change
Expand Up @@ -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"`
Expand Down
2 changes: 1 addition & 1 deletion account_purchase.go
Original file line number Diff line number Diff line change
Expand Up @@ -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"`
Expand Down
2 changes: 1 addition & 1 deletion account_update.go
Original file line number Diff line number Diff line change
Expand Up @@ -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"`
Expand Down
3 changes: 3 additions & 0 deletions address.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
3 changes: 3 additions & 0 deletions address_create.go
Original file line number Diff line number Diff line change
Expand Up @@ -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"`
}
3 changes: 3 additions & 0 deletions address_with_name.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
3 changes: 3 additions & 0 deletions billing_info_create.go
Original file line number Diff line number Diff line change
Expand Up @@ -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"`

Expand Down
3 changes: 3 additions & 0 deletions invoice_address.go
Original file line number Diff line number Diff line change
Expand Up @@ -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"`

Expand Down
3 changes: 3 additions & 0 deletions invoice_address_create.go
Original file line number Diff line number Diff line change
Expand Up @@ -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"`

Expand Down
37 changes: 31 additions & 6 deletions openapi/api.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down Expand Up @@ -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:
Expand Down Expand Up @@ -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"
Expand Down Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down Expand Up @@ -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:
Expand Down Expand Up @@ -24979,6 +25002,7 @@ components:
- check
- credit_card
- eft
- google_pay
- money_order
- other
- paypal
Expand Down Expand Up @@ -25172,6 +25196,7 @@ components:
- credit_card
- eft
- gateway_token
- google_pay
- iban_bank_account
- money_order
- other
Expand Down
3 changes: 3 additions & 0 deletions shipping_address.go
Original file line number Diff line number Diff line change
Expand Up @@ -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"`

Expand Down
3 changes: 3 additions & 0 deletions shipping_address_create.go
Original file line number Diff line number Diff line change
Expand Up @@ -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"`
}
3 changes: 3 additions & 0 deletions shipping_address_update.go
Original file line number Diff line number Diff line change
Expand Up @@ -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"`
}

0 comments on commit a751285

Please sign in to comment.