Skip to content
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
20 changes: 10 additions & 10 deletions openapi/api.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -24392,11 +24392,11 @@ components:
tax_details:
type: array
description: Provides additional tax details for Communications taxes when
Avalara for Communications is enabled or Canadian Sales Tax when there
is tax applied at both the country and province levels. This will only
be populated for the Invoice response when fetching a single invoice and
not for the InvoiceList or LineItemList. Only populated for a single LineItem
fetch when Avalara for Communications is enabled.
Avalara for Communications or Vertex Tax Breakdown is enabled or Canadian
Sales Tax. Tax details will only be populated for the Invoice response
when fetching a single invoice and not for the InvoiceList or LineItemList.
Only populated for a single LineItem fetch when Avalara for Communications
is enabled.
items:
"$ref": "#/components/schemas/TaxDetail"
TaxDetail:
Expand All @@ -24407,8 +24407,8 @@ components:
type: string
title: Type
description: Provides the tax type for the region or type of Comminications
tax when Avalara for Communications is enabled. For Canadian Sales Tax,
this will be GST, HST, QST or PST.
tax when Avalara for Communications or Vertex is enabled. For Canadian
Sales Tax, this will be GST, HST, QST or PST.
region:
type: string
title: Region
Expand All @@ -24429,18 +24429,18 @@ components:
type: string
title: Name
description: Provides the name of the Communications tax applied. Present
only when Avalara for Communications is enabled.
only when Avalara for Communications or Vertex is enabled.
level:
type: string
title: Level
description: Provides the jurisdiction level for the Communications tax
applied. Example values include city, state and federal. Present only
when Avalara for Communications is enabled.
when Avalara for Communications or Vertex is enabled.
billable:
type: boolean
title: Billable
description: Whether or not the line item is taxable. Only populated for
a single LineItem fetch when Avalara for Communications is enabled.
a single LineItem fetch when Avalara for Communications or Vertex is enabled.
Transaction:
type: object
properties:
Expand Down
26 changes: 14 additions & 12 deletions src/main/java/com/recurly/v3/resources/TaxDetail.java
Original file line number Diff line number Diff line change
Expand Up @@ -14,23 +14,23 @@ public class TaxDetail extends Resource {

/**
* Whether or not the line item is taxable. Only populated for a single LineItem fetch when
* Avalara for Communications is enabled.
* Avalara for Communications or Vertex is enabled.
*/
@SerializedName("billable")
@Expose
private Boolean billable;

/**
* Provides the jurisdiction level for the Communications tax applied. Example values include
* city, state and federal. Present only when Avalara for Communications is enabled.
* city, state and federal. Present only when Avalara for Communications or Vertex is enabled.
*/
@SerializedName("level")
@Expose
private String level;

/**
* Provides the name of the Communications tax applied. Present only when Avalara for
* Communications is enabled.
* Communications or Vertex is enabled.
*/
@SerializedName("name")
@Expose
Expand All @@ -56,55 +56,56 @@ public class TaxDetail extends Resource {

/**
* Provides the tax type for the region or type of Comminications tax when Avalara for
* Communications is enabled. For Canadian Sales Tax, this will be GST, HST, QST or PST.
* Communications or Vertex is enabled. For Canadian Sales Tax, this will be GST, HST, QST or PST.
*/
@SerializedName("type")
@Expose
private String type;

/**
* Whether or not the line item is taxable. Only populated for a single LineItem fetch when
* Avalara for Communications is enabled.
* Avalara for Communications or Vertex is enabled.
*/
public Boolean getBillable() {
return this.billable;
}

/**
* @param billable Whether or not the line item is taxable. Only populated for a single LineItem
* fetch when Avalara for Communications is enabled.
* fetch when Avalara for Communications or Vertex is enabled.
*/
public void setBillable(final Boolean billable) {
this.billable = billable;
}

/**
* Provides the jurisdiction level for the Communications tax applied. Example values include
* city, state and federal. Present only when Avalara for Communications is enabled.
* city, state and federal. Present only when Avalara for Communications or Vertex is enabled.
*/
public String getLevel() {
return this.level;
}

/**
* @param level Provides the jurisdiction level for the Communications tax applied. Example values
* include city, state and federal. Present only when Avalara for Communications is enabled.
* include city, state and federal. Present only when Avalara for Communications or Vertex is
* enabled.
*/
public void setLevel(final String level) {
this.level = level;
}

/**
* Provides the name of the Communications tax applied. Present only when Avalara for
* Communications is enabled.
* Communications or Vertex is enabled.
*/
public String getName() {
return this.name;
}

/**
* @param name Provides the name of the Communications tax applied. Present only when Avalara for
* Communications is enabled.
* Communications or Vertex is enabled.
*/
public void setName(final String name) {
this.name = name;
Expand Down Expand Up @@ -149,15 +150,16 @@ public void setTax(final BigDecimal tax) {

/**
* Provides the tax type for the region or type of Comminications tax when Avalara for
* Communications is enabled. For Canadian Sales Tax, this will be GST, HST, QST or PST.
* Communications or Vertex is enabled. For Canadian Sales Tax, this will be GST, HST, QST or PST.
*/
public String getType() {
return this.type;
}

/**
* @param type Provides the tax type for the region or type of Comminications tax when Avalara for
* Communications is enabled. For Canadian Sales Tax, this will be GST, HST, QST or PST.
* Communications or Vertex is enabled. For Canadian Sales Tax, this will be GST, HST, QST or
* PST.
*/
public void setType(final String type) {
this.type = type;
Expand Down
28 changes: 14 additions & 14 deletions src/main/java/com/recurly/v3/resources/TaxInfo.java
Original file line number Diff line number Diff line change
Expand Up @@ -29,11 +29,11 @@ public class TaxInfo extends Resource {
private String region;

/**
* Provides additional tax details for Communications taxes when Avalara for Communications is
* enabled or Canadian Sales Tax when there is tax applied at both the country and province
* levels. This will only be populated for the Invoice response when fetching a single invoice and
* not for the InvoiceList or LineItemList. Only populated for a single LineItem fetch when
* Avalara for Communications is enabled.
* Provides additional tax details for Communications taxes when Avalara for Communications or
* Vertex Tax Breakdown is enabled or Canadian Sales Tax. Tax details will only be populated for
* the Invoice response when fetching a single invoice and not for the InvoiceList or
* LineItemList. Only populated for a single LineItem fetch when Avalara for Communications is
* enabled.
*/
@SerializedName("tax_details")
@Expose
Expand Down Expand Up @@ -79,22 +79,22 @@ public void setRegion(final String region) {
}

/**
* Provides additional tax details for Communications taxes when Avalara for Communications is
* enabled or Canadian Sales Tax when there is tax applied at both the country and province
* levels. This will only be populated for the Invoice response when fetching a single invoice and
* not for the InvoiceList or LineItemList. Only populated for a single LineItem fetch when
* Avalara for Communications is enabled.
* Provides additional tax details for Communications taxes when Avalara for Communications or
* Vertex Tax Breakdown is enabled or Canadian Sales Tax. Tax details will only be populated for
* the Invoice response when fetching a single invoice and not for the InvoiceList or
* LineItemList. Only populated for a single LineItem fetch when Avalara for Communications is
* enabled.
*/
public List<TaxDetail> getTaxDetails() {
return this.taxDetails;
}

/**
* @param taxDetails Provides additional tax details for Communications taxes when Avalara for
* Communications is enabled or Canadian Sales Tax when there is tax applied at both the
* country and province levels. This will only be populated for the Invoice response when
* fetching a single invoice and not for the InvoiceList or LineItemList. Only populated for a
* single LineItem fetch when Avalara for Communications is enabled.
* Communications or Vertex Tax Breakdown is enabled or Canadian Sales Tax. Tax details will
* only be populated for the Invoice response when fetching a single invoice and not for the
* InvoiceList or LineItemList. Only populated for a single LineItem fetch when Avalara for
* Communications is enabled.
*/
public void setTaxDetails(final List<TaxDetail> taxDetails) {
this.taxDetails = taxDetails;
Expand Down
Loading