Skip to content

Commit

Permalink
Merge pull request #205 from recurly/v3-v2019-10-10-1656519222
Browse files Browse the repository at this point in the history
Generated Latest Changes for v2019-10-10
  • Loading branch information
arzitney authored Jun 29, 2022
2 parents 52dc9a9 + 85eaa70 commit 565b917
Show file tree
Hide file tree
Showing 3 changed files with 62 additions and 0 deletions.
12 changes: 12 additions & 0 deletions openapi/api.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -18428,6 +18428,12 @@ components:
format: float
title: Unit amount
description: Positive amount for a charge, negative amount for a credit.
tax_inclusive:
type: boolean
title: Tax Inclusive?
description: Determines whether or not tax is included in the unit amount.
The Tax Inclusive Pricing feature (separate from the Mixed Tax Pricing
feature) must be enabled to utilize this flag.
subtotal:
type: number
format: float
Expand Down Expand Up @@ -19921,6 +19927,12 @@ components:
type: number
format: float
title: Subscription unit price
tax_inclusive:
type: boolean
title: Tax Inclusive?
description: Determines whether or not tax is included in the unit amount.
The Tax Inclusive Pricing feature (separate from the Mixed Tax Pricing
feature) must be enabled to utilize this flag.
quantity:
type: integer
title: Subscription quantity
Expand Down
25 changes: 25 additions & 0 deletions src/main/java/com/recurly/v3/resources/LineItem.java
Original file line number Diff line number Diff line change
Expand Up @@ -290,6 +290,14 @@ public class LineItem extends Resource {
@Expose
private Boolean taxExempt;

/**
* Determines whether or not tax is included in the unit amount. The Tax Inclusive Pricing feature
* (separate from the Mixed Tax Pricing feature) must be enabled to utilize this flag.
*/
@SerializedName("tax_inclusive")
@Expose
private Boolean taxInclusive;

/** Tax info */
@SerializedName("tax_info")
@Expose
Expand Down Expand Up @@ -904,6 +912,23 @@ public void setTaxExempt(final Boolean taxExempt) {
this.taxExempt = taxExempt;
}

/**
* Determines whether or not tax is included in the unit amount. The Tax Inclusive Pricing feature
* (separate from the Mixed Tax Pricing feature) must be enabled to utilize this flag.
*/
public Boolean getTaxInclusive() {
return this.taxInclusive;
}

/**
* @param taxInclusive Determines whether or not tax is included in the unit amount. The Tax
* Inclusive Pricing feature (separate from the Mixed Tax Pricing feature) must be enabled to
* utilize this flag.
*/
public void setTaxInclusive(final Boolean taxInclusive) {
this.taxInclusive = taxInclusive;
}

/** Tax info */
public TaxInfo getTaxInfo() {
return this.taxInfo;
Expand Down
25 changes: 25 additions & 0 deletions src/main/java/com/recurly/v3/resources/Subscription.java
Original file line number Diff line number Diff line change
Expand Up @@ -216,6 +216,14 @@ public class Subscription extends Resource {
@Expose
private Float subtotal;

/**
* Determines whether or not tax is included in the unit amount. The Tax Inclusive Pricing feature
* (separate from the Mixed Tax Pricing feature) must be enabled to utilize this flag.
*/
@SerializedName("tax_inclusive")
@Expose
private Boolean taxInclusive;

/** Terms and conditions */
@SerializedName("terms_and_conditions")
@Expose
Expand Down Expand Up @@ -680,6 +688,23 @@ public void setSubtotal(final Float subtotal) {
this.subtotal = subtotal;
}

/**
* Determines whether or not tax is included in the unit amount. The Tax Inclusive Pricing feature
* (separate from the Mixed Tax Pricing feature) must be enabled to utilize this flag.
*/
public Boolean getTaxInclusive() {
return this.taxInclusive;
}

/**
* @param taxInclusive Determines whether or not tax is included in the unit amount. The Tax
* Inclusive Pricing feature (separate from the Mixed Tax Pricing feature) must be enabled to
* utilize this flag.
*/
public void setTaxInclusive(final Boolean taxInclusive) {
this.taxInclusive = taxInclusive;
}

/** Terms and conditions */
public String getTermsAndConditions() {
return this.termsAndConditions;
Expand Down

0 comments on commit 565b917

Please sign in to comment.