Skip to content

Commit

Permalink
Merge pull request #217 from recurly/v3-v2021-02-25-9213342136
Browse files Browse the repository at this point in the history
Generated Latest Changes for v2021-02-25 (Entity Use Code)
  • Loading branch information
csampson authored May 23, 2024
2 parents 2f4dcca + 932ec73 commit 1480dc8
Show file tree
Hide file tree
Showing 5 changed files with 22 additions and 0 deletions.
3 changes: 3 additions & 0 deletions account.go
Original file line number Diff line number Diff line change
Expand Up @@ -111,6 +111,9 @@ type Account struct {

// The custom fields will only be altered when they are included in a request. Sending an empty array will not remove any existing values. To remove a field send the name with a null or empty value.
CustomFields []CustomField `json:"custom_fields,omitempty"`

// The Avalara AvaTax value that can be passed to identify the customer type for tax purposes. The range of values can be A - R (more info at Avalara). Value is case-sensitive.
EntityUseCode string `json:"entity_use_code,omitempty"`
}

// GetResponse returns the ResponseMetadata that generated this resource
Expand Down
3 changes: 3 additions & 0 deletions account_create.go
Original file line number Diff line number Diff line change
Expand Up @@ -75,4 +75,7 @@ type AccountCreate struct {

// The custom fields will only be altered when they are included in a request. Sending an empty array will not remove any existing values. To remove a field send the name with a null or empty value.
CustomFields []CustomFieldCreate `json:"custom_fields,omitempty"`

// The Avalara AvaTax value that can be passed to identify the customer type for tax purposes. The range of values can be A - R (more info at Avalara). Value is case-sensitive.
EntityUseCode *string `json:"entity_use_code,omitempty"`
}
3 changes: 3 additions & 0 deletions account_purchase.go
Original file line number Diff line number Diff line change
Expand Up @@ -73,4 +73,7 @@ type AccountPurchase struct {

// The custom fields will only be altered when they are included in a request. Sending an empty array will not remove any existing values. To remove a field send the name with a null or empty value.
CustomFields []CustomFieldCreate `json:"custom_fields,omitempty"`

// The Avalara AvaTax value that can be passed to identify the customer type for tax purposes. The range of values can be A - R (more info at Avalara). Value is case-sensitive.
EntityUseCode *string `json:"entity_use_code,omitempty"`
}
3 changes: 3 additions & 0 deletions account_update.go
Original file line number Diff line number Diff line change
Expand Up @@ -65,4 +65,7 @@ type AccountUpdate struct {

// The custom fields will only be altered when they are included in a request. Sending an empty array will not remove any existing values. To remove a field send the name with a null or empty value.
CustomFields []CustomFieldCreate `json:"custom_fields,omitempty"`

// The Avalara AvaTax value that can be passed to identify the customer type for tax purposes. The range of values can be A - R (more info at Avalara). Value is case-sensitive.
EntityUseCode *string `json:"entity_use_code,omitempty"`
}
10 changes: 10 additions & 0 deletions openapi/api.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17474,6 +17474,11 @@ components:
"$ref": "#/components/schemas/BillingInfoCreate"
custom_fields:
"$ref": "#/components/schemas/CustomFields"
entity_use_code:
type: string
description: The Avalara AvaTax value that can be passed to identify the
customer type for tax purposes. The range of values can be A - R (more
info at Avalara). Value is case-sensitive.
AccountResponse:
type: object
properties:
Expand Down Expand Up @@ -17575,6 +17580,11 @@ components:
"$ref": "#/components/schemas/BillingInfo"
custom_fields:
"$ref": "#/components/schemas/CustomFields"
entity_use_code:
type: string
description: The Avalara AvaTax value that can be passed to identify the
customer type for tax purposes. The range of values can be A - R (more
info at Avalara). Value is case-sensitive.
AccountNote:
type: object
required:
Expand Down

0 comments on commit 1480dc8

Please sign in to comment.