From 85eaa70a95926b39f832c621abd5ebf5ee980723 Mon Sep 17 00:00:00 2001 From: DX Codefresh Date: Wed, 29 Jun 2022 16:22:44 +0000 Subject: [PATCH] Generated Latest Changes for v2019-10-10 --- openapi/api.yaml | 12 +++++++++ .../com/recurly/v3/resources/LineItem.java | 25 +++++++++++++++++++ .../recurly/v3/resources/Subscription.java | 25 +++++++++++++++++++ 3 files changed, 62 insertions(+) diff --git a/openapi/api.yaml b/openapi/api.yaml index 32624fb..987ab66 100644 --- a/openapi/api.yaml +++ b/openapi/api.yaml @@ -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 @@ -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 diff --git a/src/main/java/com/recurly/v3/resources/LineItem.java b/src/main/java/com/recurly/v3/resources/LineItem.java index ee196cf..049d1dd 100644 --- a/src/main/java/com/recurly/v3/resources/LineItem.java +++ b/src/main/java/com/recurly/v3/resources/LineItem.java @@ -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 @@ -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; diff --git a/src/main/java/com/recurly/v3/resources/Subscription.java b/src/main/java/com/recurly/v3/resources/Subscription.java index d2de965..f0d5db7 100644 --- a/src/main/java/com/recurly/v3/resources/Subscription.java +++ b/src/main/java/com/recurly/v3/resources/Subscription.java @@ -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 @@ -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;