diff --git a/openapi/api.yaml b/openapi/api.yaml index 73b3d73..08c63a4 100644 --- a/openapi/api.yaml +++ b/openapi/api.yaml @@ -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: @@ -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: diff --git a/src/main/java/com/recurly/v3/requests/AccountCreate.java b/src/main/java/com/recurly/v3/requests/AccountCreate.java index b776572..0333b94 100644 --- a/src/main/java/com/recurly/v3/requests/AccountCreate.java +++ b/src/main/java/com/recurly/v3/requests/AccountCreate.java @@ -78,6 +78,14 @@ public class AccountCreate extends Request { @Expose private String email; + /** + * 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. + */ + @SerializedName("entity_use_code") + @Expose + private String entityUseCode; + /** * 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 @@ -325,6 +333,23 @@ public void setEmail(final String email) { this.email = email; } + /** + * 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. + */ + public String getEntityUseCode() { + return this.entityUseCode; + } + + /** + * @param entityUseCode 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. + */ + public void setEntityUseCode(final String entityUseCode) { + this.entityUseCode = entityUseCode; + } + /** * 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 diff --git a/src/main/java/com/recurly/v3/requests/AccountPurchase.java b/src/main/java/com/recurly/v3/requests/AccountPurchase.java index bfde17b..2113bbd 100644 --- a/src/main/java/com/recurly/v3/requests/AccountPurchase.java +++ b/src/main/java/com/recurly/v3/requests/AccountPurchase.java @@ -78,6 +78,14 @@ public class AccountPurchase extends Request { @Expose private String email; + /** + * 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. + */ + @SerializedName("entity_use_code") + @Expose + private String entityUseCode; + /** * 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 @@ -324,6 +332,23 @@ public void setEmail(final String email) { this.email = email; } + /** + * 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. + */ + public String getEntityUseCode() { + return this.entityUseCode; + } + + /** + * @param entityUseCode 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. + */ + public void setEntityUseCode(final String entityUseCode) { + this.entityUseCode = entityUseCode; + } + /** * 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 diff --git a/src/main/java/com/recurly/v3/requests/AccountUpdate.java b/src/main/java/com/recurly/v3/requests/AccountUpdate.java index 33f7501..fde132d 100644 --- a/src/main/java/com/recurly/v3/requests/AccountUpdate.java +++ b/src/main/java/com/recurly/v3/requests/AccountUpdate.java @@ -69,6 +69,14 @@ public class AccountUpdate extends Request { @Expose private String email; + /** + * 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. + */ + @SerializedName("entity_use_code") + @Expose + private String entityUseCode; + /** * 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 @@ -285,6 +293,23 @@ public void setEmail(final String email) { this.email = email; } + /** + * 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. + */ + public String getEntityUseCode() { + return this.entityUseCode; + } + + /** + * @param entityUseCode 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. + */ + public void setEntityUseCode(final String entityUseCode) { + this.entityUseCode = entityUseCode; + } + /** * 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 diff --git a/src/main/java/com/recurly/v3/resources/Account.java b/src/main/java/com/recurly/v3/resources/Account.java index c3f2fd9..f51f8dd 100644 --- a/src/main/java/com/recurly/v3/resources/Account.java +++ b/src/main/java/com/recurly/v3/resources/Account.java @@ -84,6 +84,14 @@ public class Account extends Resource { @Expose private String email; + /** + * 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. + */ + @SerializedName("entity_use_code") + @Expose + private String entityUseCode; + /** * 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 @@ -379,6 +387,23 @@ public void setEmail(final String email) { this.email = email; } + /** + * 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. + */ + public String getEntityUseCode() { + return this.entityUseCode; + } + + /** + * @param entityUseCode 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. + */ + public void setEntityUseCode(final String entityUseCode) { + this.entityUseCode = entityUseCode; + } + /** * 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