Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Generated Latest Changes for v2021-02-25 (Entity Use Code) #812

Merged
merged 1 commit into from
May 23, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
24 changes: 24 additions & 0 deletions lib/recurly/resources/account.php
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ class Account extends RecurlyResource
private $_deleted_at;
private $_dunning_campaign_id;
private $_email;
private $_entity_use_code;
private $_exemption_certificate;
private $_external_accounts;
private $_first_name;
Expand Down Expand Up @@ -308,6 +309,29 @@ public function setEmail(string $email): void
$this->_email = $email;
}

/**
* Getter method for the entity_use_code attribute.
* 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.
*
* @return ?string
*/
public function getEntityUseCode(): ?string
{
return $this->_entity_use_code;
}

/**
* Setter method for the entity_use_code attribute.
*
* @param string $entity_use_code
*
* @return void
*/
public function setEntityUseCode(string $entity_use_code): void
{
$this->_entity_use_code = $entity_use_code;
}

/**
* Getter method for the exemption_certificate attribute.
* The tax exemption certificate number for the account. If the merchant has an integration for the Vertex tax provider, this optional value will be sent in any tax calculation requests for the account.
Expand Down
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
Loading