Skip to content

Commit

Permalink
Merge pull request #812 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 0bd04f3 + ba5f7b1 commit 343ec91
Show file tree
Hide file tree
Showing 2 changed files with 34 additions and 0 deletions.
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

0 comments on commit 343ec91

Please sign in to comment.