From 52079466ef83f3da320ad92a772c3716f129f694 Mon Sep 17 00:00:00 2001 From: Recurly Integrations Date: Thu, 8 Aug 2024 17:48:31 +0000 Subject: [PATCH] Generated Latest Changes for v2021-02-25 --- lib/recurly/requests/add_on_create.rb | 2 +- lib/recurly/requests/add_on_update.rb | 2 +- lib/recurly/requests/invoice_refund.rb | 6 +- lib/recurly/requests/item_create.rb | 2 +- lib/recurly/requests/item_update.rb | 2 +- lib/recurly/requests/line_item_create.rb | 2 +- lib/recurly/requests/line_item_refund.rb | 12 +- lib/recurly/requests/plan_create.rb | 2 +- lib/recurly/requests/plan_update.rb | 2 +- lib/recurly/resources/add_on.rb | 2 +- lib/recurly/resources/item.rb | 2 +- lib/recurly/resources/line_item.rb | 2 +- lib/recurly/resources/plan.rb | 2 +- openapi/api.yaml | 175 ++++++++++++++--------- 14 files changed, 136 insertions(+), 79 deletions(-) diff --git a/lib/recurly/requests/add_on_create.rb b/lib/recurly/requests/add_on_create.rb index 381b42558..2ce73af7c 100644 --- a/lib/recurly/requests/add_on_create.rb +++ b/lib/recurly/requests/add_on_create.rb @@ -87,7 +87,7 @@ class AddOnCreate < Request define_attribute :revenue_schedule_type, String # @!attribute tax_code - # @return [String] Optional field used by Avalara, Vertex, and Recurly's EU VAT tax feature to determine taxation rules. If you have your own AvaTax or Vertex account configured, use their tax codes to assign specific tax rules. If you are using Recurly's EU VAT feature, you can use values of `unknown`, `physical`, or `digital`. If `item_code`/`item_id` is part of the request then `tax_code` must be absent. + # @return [String] Optional field used by Avalara, Vertex, and Recurly's In-the-Box tax solution to determine taxation rules. You can pass in specific tax codes using any of these tax integrations. For Recurly's In-the-Box tax offering you can also choose to instead use simple values of `unknown`, `physical`, or `digital` tax codes. If `item_code`/`item_id` is part of the request then `tax_code` must be absent. define_attribute :tax_code, String # @!attribute tier_type diff --git a/lib/recurly/requests/add_on_update.rb b/lib/recurly/requests/add_on_update.rb index b51067ce3..985363c2b 100644 --- a/lib/recurly/requests/add_on_update.rb +++ b/lib/recurly/requests/add_on_update.rb @@ -75,7 +75,7 @@ class AddOnUpdate < Request define_attribute :revenue_schedule_type, String # @!attribute tax_code - # @return [String] Optional field used by Avalara, Vertex, and Recurly's EU VAT tax feature to determine taxation rules. If you have your own AvaTax or Vertex account configured, use their tax codes to assign specific tax rules. If you are using Recurly's EU VAT feature, you can use values of `unknown`, `physical`, or `digital`. If an `Item` is associated to the `AddOn` then `tax code` must be absent. + # @return [String] Optional field used by Avalara, Vertex, and Recurly's In-the-Box tax solution to determine taxation rules. You can pass in specific tax codes using any of these tax integrations. For Recurly's In-the-Box tax offering you can also choose to instead use simple values of `unknown`, `physical`, or `digital` tax codes. If an `Item` is associated to the `AddOn` then `tax_code` must be absent. define_attribute :tax_code, String # @!attribute tiers diff --git a/lib/recurly/requests/invoice_refund.rb b/lib/recurly/requests/invoice_refund.rb index 6562068cd..9a01f191e 100644 --- a/lib/recurly/requests/invoice_refund.rb +++ b/lib/recurly/requests/invoice_refund.rb @@ -7,7 +7,7 @@ module Requests class InvoiceRefund < Request # @!attribute amount - # @return [Float] The amount to be refunded. The amount will be split between the line items. If no amount is specified, it will default to refunding the total refundable amount on the invoice. + # @return [Float] The amount to be refunded. The amount will be split between the line items. If `type` is "amount" and no amount is specified, it will default to refunding the total refundable amount on the invoice. Can only be present if `type` is "amount". define_attribute :amount, Float # @!attribute credit_customer_notes @@ -22,6 +22,10 @@ class InvoiceRefund < Request # @return [Array[LineItemRefund]] The line items to be refunded. This is required when `type=line_items`. define_attribute :line_items, Array, { :item_type => :LineItemRefund } + # @!attribute percentage + # @return [Integer] The percentage of the remaining balance to be refunded. The percentage will be split between the line items. If `type` is "percentage" and no percentage is specified, it will default to refunding 100% of the refundable amount on the invoice. Can only be present if `type` is "percentage". + define_attribute :percentage, Integer + # @!attribute refund_method # @return [String] Indicates how the invoice should be refunded when both a credit and transaction are present on the invoice: - `transaction_first` – Refunds the transaction first, then any amount is issued as credit back to the account. Default value when Credit Invoices feature is enabled. - `credit_first` – Issues credit back to the account first, then refunds any remaining amount back to the transaction. Default value when Credit Invoices feature is not enabled. - `all_credit` – Issues credit to the account for the entire amount of the refund. Only available when the Credit Invoices feature is enabled. - `all_transaction` – Refunds the entire amount back to transactions, using transactions from previous invoices if necessary. Only available when the Credit Invoices feature is enabled. define_attribute :refund_method, String diff --git a/lib/recurly/requests/item_create.rb b/lib/recurly/requests/item_create.rb index 0980f3b40..1328466bc 100644 --- a/lib/recurly/requests/item_create.rb +++ b/lib/recurly/requests/item_create.rb @@ -59,7 +59,7 @@ class ItemCreate < Request define_attribute :revenue_schedule_type, String # @!attribute tax_code - # @return [String] Used by Avalara, Vertex, and Recurly’s EU VAT tax feature. The tax code values are specific to each tax system. If you are using Recurly’s EU VAT feature you can use `unknown`, `physical`, or `digital`. + # @return [String] Optional field used by Avalara, Vertex, and Recurly's In-the-Box tax solution to determine taxation rules. You can pass in specific tax codes using any of these tax integrations. For Recurly's In-the-Box tax offering you can also choose to instead use simple values of `unknown`, `physical`, or `digital` tax codes. define_attribute :tax_code, String # @!attribute tax_exempt diff --git a/lib/recurly/requests/item_update.rb b/lib/recurly/requests/item_update.rb index 1686142c8..44475da9c 100644 --- a/lib/recurly/requests/item_update.rb +++ b/lib/recurly/requests/item_update.rb @@ -59,7 +59,7 @@ class ItemUpdate < Request define_attribute :revenue_schedule_type, String # @!attribute tax_code - # @return [String] Used by Avalara, Vertex, and Recurly’s EU VAT tax feature. The tax code values are specific to each tax system. If you are using Recurly’s EU VAT feature you can use `unknown`, `physical`, or `digital`. + # @return [String] Optional field used by Avalara, Vertex, and Recurly's In-the-Box tax solution to determine taxation rules. You can pass in specific tax codes using any of these tax integrations. For Recurly's In-the-Box tax offering you can also choose to instead use simple values of `unknown`, `physical`, or `digital` tax codes. define_attribute :tax_code, String # @!attribute tax_exempt diff --git a/lib/recurly/requests/line_item_create.rb b/lib/recurly/requests/line_item_create.rb index 4bd1eaa1f..51abd0d87 100644 --- a/lib/recurly/requests/line_item_create.rb +++ b/lib/recurly/requests/line_item_create.rb @@ -87,7 +87,7 @@ class LineItemCreate < Request define_attribute :start_date, DateTime # @!attribute tax_code - # @return [String] Optional field used by Avalara, Vertex, and Recurly's EU VAT tax feature to determine taxation rules. If you have your own AvaTax or Vertex account configured, use their tax codes to assign specific tax rules. If you are using Recurly's EU VAT feature, you can use values of `unknown`, `physical`, or `digital`. + # @return [String] Optional field used by Avalara, Vertex, and Recurly's In-the-Box tax solution to determine taxation rules. You can pass in specific tax codes using any of these tax integrations. For Recurly's In-the-Box tax offering you can also choose to instead use simple values of `unknown`, `physical`, or `digital` tax codes. define_attribute :tax_code, String # @!attribute tax_exempt diff --git a/lib/recurly/requests/line_item_refund.rb b/lib/recurly/requests/line_item_refund.rb index e4fce1d43..b74ba10a5 100644 --- a/lib/recurly/requests/line_item_refund.rb +++ b/lib/recurly/requests/line_item_refund.rb @@ -6,20 +6,28 @@ module Recurly module Requests class LineItemRefund < Request + # @!attribute amount + # @return [Float] The specific amount to be refunded from the adjustment. Must be less than or equal to the adjustment's remaining balance. If `quantity`, `quantity_decimal` and `percentage` are not present, `amount` is required. If `quantity`, `quantity_decimal`, or `percentage` is present, `amount` must be absent. + define_attribute :amount, Float + # @!attribute id # @return [String] Line item ID define_attribute :id, String + # @!attribute percentage + # @return [Integer] The percentage of the adjustment's remaining balance to refund. If `quantity`, `quantity_decimal` and `amount_in_cents` are not present, `percentage` is required. If `quantity`, `quantity_decimal` or `amount_in_cents` is present, `percentage` must be absent. + define_attribute :percentage, Integer + # @!attribute prorate # @return [Boolean] Set to `true` if the line item should be prorated; set to `false` if not. This can only be used on line items that have a start and end date. define_attribute :prorate, :Boolean # @!attribute quantity - # @return [Integer] Line item quantity to be refunded. + # @return [Integer] Line item quantity to be refunded. Must be less than or equal to the `quantity_remaining`. If `quantity_decimal`, `amount`, and `percentage` are not present, `quantity` is required. If `amount` or `percentage` is present, `quantity` must be absent. define_attribute :quantity, Integer # @!attribute quantity_decimal - # @return [String] A floating-point alternative to Quantity. If this value is present, it will be used in place of Quantity for calculations, and Quantity will be the rounded integer value of this number. This field supports up to 9 decimal places. The Decimal Quantity feature must be enabled to utilize this field. + # @return [String] Decimal quantity to refund. The `quantity_decimal` will be used to refund charges that has a NOT null quantity decimal. Must be less than or equal to the `quantity_decimal_remaining`. If `quantity`, `amount`, and `percentage` are not present, `quantity_decimal` is required. If `amount` or `percentage` is present, `quantity_decimal` must be absent. The Decimal Quantity feature must be enabled to utilize this field. define_attribute :quantity_decimal, String end end diff --git a/lib/recurly/requests/plan_create.rb b/lib/recurly/requests/plan_create.rb index 77dfa3db0..d0bb2fa70 100644 --- a/lib/recurly/requests/plan_create.rb +++ b/lib/recurly/requests/plan_create.rb @@ -111,7 +111,7 @@ class PlanCreate < Request define_attribute :setup_fee_revenue_schedule_type, String # @!attribute tax_code - # @return [String] Optional field used by Avalara, Vertex, and Recurly's EU VAT tax feature to determine taxation rules. If you have your own AvaTax or Vertex account configured, use their tax codes to assign specific tax rules. If you are using Recurly's EU VAT feature, you can use values of `unknown`, `physical`, or `digital`. + # @return [String] Optional field used by Avalara, Vertex, and Recurly's In-the-Box tax solution to determine taxation rules. You can pass in specific tax codes using any of these tax integrations. For Recurly's In-the-Box tax offering you can also choose to instead use simple values of `unknown`, `physical`, or `digital` tax codes. define_attribute :tax_code, String # @!attribute tax_exempt diff --git a/lib/recurly/requests/plan_update.rb b/lib/recurly/requests/plan_update.rb index 020f32a98..79622093d 100644 --- a/lib/recurly/requests/plan_update.rb +++ b/lib/recurly/requests/plan_update.rb @@ -99,7 +99,7 @@ class PlanUpdate < Request define_attribute :setup_fee_revenue_schedule_type, String # @!attribute tax_code - # @return [String] Optional field used by Avalara, Vertex, and Recurly's EU VAT tax feature to determine taxation rules. If you have your own AvaTax or Vertex account configured, use their tax codes to assign specific tax rules. If you are using Recurly's EU VAT feature, you can use values of `unknown`, `physical`, or `digital`. + # @return [String] Optional field used by Avalara, Vertex, and Recurly's In-the-Box tax solution to determine taxation rules. You can pass in specific tax codes using any of these tax integrations. For Recurly's In-the-Box tax offering you can also choose to instead use simple values of `unknown`, `physical`, or `digital` tax codes. define_attribute :tax_code, String # @!attribute tax_exempt diff --git a/lib/recurly/resources/add_on.rb b/lib/recurly/resources/add_on.rb index efd1c33b1..46dc59b55 100644 --- a/lib/recurly/resources/add_on.rb +++ b/lib/recurly/resources/add_on.rb @@ -103,7 +103,7 @@ class AddOn < Resource define_attribute :state, String # @!attribute tax_code - # @return [String] Used by Avalara, Vertex, and Recurly’s EU VAT tax feature. The tax code values are specific to each tax system. If you are using Recurly’s EU VAT feature you can use `unknown`, `physical`, or `digital`. + # @return [String] Optional field used by Avalara, Vertex, and Recurly's In-the-Box tax solution to determine taxation rules. You can pass in specific tax codes using any of these tax integrations. For Recurly's In-the-Box tax offering you can also choose to instead use simple values of `unknown`, `physical`, or `digital` tax codes. If `item_code`/`item_id` is part of the request then `tax_code` must be absent. define_attribute :tax_code, String # @!attribute tier_type diff --git a/lib/recurly/resources/item.rb b/lib/recurly/resources/item.rb index 6be3f0edc..348caa42d 100644 --- a/lib/recurly/resources/item.rb +++ b/lib/recurly/resources/item.rb @@ -79,7 +79,7 @@ class Item < Resource define_attribute :state, String # @!attribute tax_code - # @return [String] Used by Avalara, Vertex, and Recurly’s EU VAT tax feature. The tax code values are specific to each tax system. If you are using Recurly’s EU VAT feature you can use `unknown`, `physical`, or `digital`. + # @return [String] Optional field used by Avalara, Vertex, and Recurly's In-the-Box tax solution to determine taxation rules. You can pass in specific tax codes using any of these tax integrations. For Recurly's In-the-Box tax offering you can also choose to instead use simple values of `unknown`, `physical`, or `digital` tax codes. define_attribute :tax_code, String # @!attribute tax_exempt diff --git a/lib/recurly/resources/line_item.rb b/lib/recurly/resources/line_item.rb index ed76c40f2..1856f9ed3 100644 --- a/lib/recurly/resources/line_item.rb +++ b/lib/recurly/resources/line_item.rb @@ -199,7 +199,7 @@ class LineItem < Resource define_attribute :tax, Float # @!attribute tax_code - # @return [String] Used by Avalara, Vertex, and Recurly’s EU VAT tax feature. The tax code values are specific to each tax system. If you are using Recurly’s EU VAT feature you can use `unknown`, `physical`, or `digital`. + # @return [String] Optional field used by Avalara, Vertex, and Recurly's In-the-Box tax solution to determine taxation rules. You can pass in specific tax codes using any of these tax integrations. For Recurly's In-the-Box tax offering you can also choose to instead use simple values of `unknown`, `physical`, or `digital` tax codes. define_attribute :tax_code, String # @!attribute tax_exempt diff --git a/lib/recurly/resources/plan.rb b/lib/recurly/resources/plan.rb index d5492477f..2b899a96b 100644 --- a/lib/recurly/resources/plan.rb +++ b/lib/recurly/resources/plan.rb @@ -103,7 +103,7 @@ class Plan < Resource define_attribute :state, String # @!attribute tax_code - # @return [String] Used by Avalara, Vertex, and Recurly’s EU VAT tax feature. The tax code values are specific to each tax system. If you are using Recurly’s EU VAT feature you can use `unknown`, `physical`, or `digital`. + # @return [String] Optional field used by Avalara, Vertex, and Recurly's In-the-Box tax solution to determine taxation rules. You can pass in specific tax codes using any of these tax integrations. For Recurly's In-the-Box tax offering you can also choose to instead use simple values of `unknown`, `physical`, or `digital` tax codes. define_attribute :tax_code, String # @!attribute tax_exempt diff --git a/openapi/api.yaml b/openapi/api.yaml index 5992ef44f..5b14ea982 100644 --- a/openapi/api.yaml +++ b/openapi/api.yaml @@ -18148,11 +18148,14 @@ components: minimum: 0 tax_code: type: string - title: Tax code - description: Used by Avalara, Vertex, and Recurly’s EU VAT tax feature. - The tax code values are specific to each tax system. If you are using - Recurly’s EU VAT feature you can use `unknown`, `physical`, or `digital`. maxLength: 50 + title: Tax code + description: Optional field used by Avalara, Vertex, and Recurly's In-the-Box + tax solution to determine taxation rules. You can pass in specific tax + codes using any of these tax integrations. For Recurly's In-the-Box tax + offering you can also choose to instead use simple values of `unknown`, + `physical`, or `digital` tax codes. If `item_code`/`item_id` is part of + the request then `tax_code` must be absent. display_quantity: type: boolean title: Display quantity? @@ -18367,14 +18370,14 @@ components: minimum: 0 tax_code: type: string - title: Tax code - description: Optional field used by Avalara, Vertex, and Recurly's EU VAT - tax feature to determine taxation rules. If you have your own AvaTax or - Vertex account configured, use their tax codes to assign specific tax - rules. If you are using Recurly's EU VAT feature, you can use values of - `unknown`, `physical`, or `digital`. If `item_code`/`item_id` is part - of the request then `tax_code` must be absent. maxLength: 50 + title: Tax code + description: Optional field used by Avalara, Vertex, and Recurly's In-the-Box + tax solution to determine taxation rules. You can pass in specific tax + codes using any of these tax integrations. For Recurly's In-the-Box tax + offering you can also choose to instead use simple values of `unknown`, + `physical`, or `digital` tax codes. If `item_code`/`item_id` is part of + the request then `tax_code` must be absent. currencies: type: array title: Add-on pricing @@ -18522,14 +18525,14 @@ components: minimum: 0 tax_code: type: string - title: Tax code - description: Optional field used by Avalara, Vertex, and Recurly's EU VAT - tax feature to determine taxation rules. If you have your own AvaTax or - Vertex account configured, use their tax codes to assign specific tax - rules. If you are using Recurly's EU VAT feature, you can use values of - `unknown`, `physical`, or `digital`. If an `Item` is associated to the - `AddOn` then `tax code` must be absent. maxLength: 50 + title: Tax code + description: Optional field used by Avalara, Vertex, and Recurly's In-the-Box + tax solution to determine taxation rules. You can pass in specific tax + codes using any of these tax integrations. For Recurly's In-the-Box tax + offering you can also choose to instead use simple values of `unknown`, + `physical`, or `digital` tax codes. If an `Item` is associated to the + `AddOn` then `tax_code` must be absent. display_quantity: type: boolean title: Display quantity? @@ -19808,11 +19811,13 @@ components: minimum: 0 tax_code: type: string - title: Tax code - description: Used by Avalara, Vertex, and Recurly’s EU VAT tax feature. - The tax code values are specific to each tax system. If you are using - Recurly’s EU VAT feature you can use `unknown`, `physical`, or `digital`. maxLength: 50 + title: Tax code + description: Optional field used by Avalara, Vertex, and Recurly's In-the-Box + tax solution to determine taxation rules. You can pass in specific tax + codes using any of these tax integrations. For Recurly's In-the-Box tax + offering you can also choose to instead use simple values of `unknown`, + `physical`, or `digital` tax codes. tax_exempt: type: boolean title: Tax exempt? @@ -19916,11 +19921,13 @@ components: minimum: 0 tax_code: type: string - title: Tax code - description: Used by Avalara, Vertex, and Recurly’s EU VAT tax feature. - The tax code values are specific to each tax system. If you are using - Recurly’s EU VAT feature you can use `unknown`, `physical`, or `digital`. maxLength: 50 + title: Tax code + description: Optional field used by Avalara, Vertex, and Recurly's In-the-Box + tax solution to determine taxation rules. You can pass in specific tax + codes using any of these tax integrations. For Recurly's In-the-Box tax + offering you can also choose to instead use simple values of `unknown`, + `physical`, or `digital` tax codes. tax_exempt: type: boolean title: Tax exempt? @@ -20012,11 +20019,13 @@ components: minimum: 0 tax_code: type: string - title: Tax code - description: Used by Avalara, Vertex, and Recurly’s EU VAT tax feature. - The tax code values are specific to each tax system. If you are using - Recurly’s EU VAT feature you can use `unknown`, `physical`, or `digital`. maxLength: 50 + title: Tax code + description: Optional field used by Avalara, Vertex, and Recurly's In-the-Box + tax solution to determine taxation rules. You can pass in specific tax + codes using any of these tax integrations. For Recurly's In-the-Box tax + offering you can also choose to instead use simple values of `unknown`, + `physical`, or `digital` tax codes. tax_exempt: type: boolean title: Tax exempt? @@ -20466,7 +20475,16 @@ components: title: Amount description: | The amount to be refunded. The amount will be split between the line items. - If no amount is specified, it will default to refunding the total refundable amount on the invoice. + If `type` is "amount" and no amount is specified, it will default to refunding the total refundable amount on the invoice. Can only be present if `type` is "amount". + percentage: + type: integer + title: Percentage + description: The percentage of the remaining balance to be refunded. The + percentage will be split between the line items. If `type` is "percentage" + and no percentage is specified, it will default to refunding 100% of the + refundable amount on the invoice. Can only be present if `type` is "percentage". + minimum: 1 + maximum: 100 line_items: type: array title: Line items @@ -20482,7 +20500,7 @@ components: - `all_credit` – Issues credit to the account for the entire amount of the refund. Only available when the Credit Invoices feature is enabled. - `all_transaction` – Refunds the entire amount back to transactions, using transactions from previous invoices if necessary. Only available when the Credit Invoices feature is enabled. default: credit_first - "$ref": "#/components/schemas/RefuneMethodEnum" + "$ref": "#/components/schemas/RefundMethodEnum" credit_customer_notes: type: string title: Credit customer notes @@ -20873,11 +20891,13 @@ components: minimum: 0 tax_code: type: string - title: Tax code - description: Used by Avalara, Vertex, and Recurly’s EU VAT tax feature. - The tax code values are specific to each tax system. If you are using - Recurly’s EU VAT feature you can use `unknown`, `physical`, or `digital`. maxLength: 50 + title: Tax code + description: Optional field used by Avalara, Vertex, and Recurly's In-the-Box + tax solution to determine taxation rules. You can pass in specific tax + codes using any of these tax integrations. For Recurly's In-the-Box tax + offering you can also choose to instead use simple values of `unknown`, + `physical`, or `digital` tax codes. tax_info: "$ref": "#/components/schemas/TaxInfo" origin_tax_address_source: @@ -20951,15 +20971,35 @@ components: quantity: type: integer title: Quantity - description: Line item quantity to be refunded. + description: Line item quantity to be refunded. Must be less than or equal + to the `quantity_remaining`. If `quantity_decimal`, `amount`, and `percentage` + are not present, `quantity` is required. If `amount` or `percentage` is + present, `quantity` must be absent. quantity_decimal: type: string title: Quantity Decimal - description: A floating-point alternative to Quantity. If this value is - present, it will be used in place of Quantity for calculations, and Quantity - will be the rounded integer value of this number. This field supports - up to 9 decimal places. The Decimal Quantity feature must be enabled to - utilize this field. + description: Decimal quantity to refund. The `quantity_decimal` will be + used to refund charges that has a NOT null quantity decimal. Must be less + than or equal to the `quantity_decimal_remaining`. If `quantity`, `amount`, + and `percentage` are not present, `quantity_decimal` is required. If `amount` + or `percentage` is present, `quantity_decimal` must be absent. The Decimal + Quantity feature must be enabled to utilize this field. + amount: + type: number + format: float + description: The specific amount to be refunded from the adjustment. Must + be less than or equal to the adjustment's remaining balance. If `quantity`, + `quantity_decimal` and `percentage` are not present, `amount` is required. + If `quantity`, `quantity_decimal`, or `percentage` is present, `amount` + must be absent. + percentage: + type: integer + description: The percentage of the adjustment's remaining balance to refund. + If `quantity`, `quantity_decimal` and `amount_in_cents` are not present, + `percentage` is required. If `quantity`, `quantity_decimal` or `amount_in_cents` + is present, `percentage` must be absent. + minimum: 1 + maximum: 100 prorate: type: boolean title: Prorate @@ -21095,13 +21135,13 @@ components: minimum: 0 tax_code: type: string - title: Tax code - description: Optional field used by Avalara, Vertex, and Recurly's EU VAT - tax feature to determine taxation rules. If you have your own AvaTax or - Vertex account configured, use their tax codes to assign specific tax - rules. If you are using Recurly's EU VAT feature, you can use values of - `unknown`, `physical`, or `digital`. maxLength: 50 + title: Tax code + description: Optional field used by Avalara, Vertex, and Recurly's In-the-Box + tax solution to determine taxation rules. You can pass in specific tax + codes using any of these tax integrations. For Recurly's In-the-Box tax + offering you can also choose to instead use simple values of `unknown`, + `physical`, or `digital` tax codes. product_code: type: string title: Product code @@ -21299,11 +21339,13 @@ components: minimum: 0 tax_code: type: string - title: Tax code - description: Used by Avalara, Vertex, and Recurly’s EU VAT tax feature. - The tax code values are specific to each tax system. If you are using - Recurly’s EU VAT feature you can use `unknown`, `physical`, or `digital`. maxLength: 50 + title: Tax code + description: Optional field used by Avalara, Vertex, and Recurly's In-the-Box + tax solution to determine taxation rules. You can pass in specific tax + codes using any of these tax integrations. For Recurly's In-the-Box tax + offering you can also choose to instead use simple values of `unknown`, + `physical`, or `digital` tax codes. tax_exempt: type: boolean title: Tax exempt? @@ -21512,13 +21554,13 @@ components: minimum: 0 tax_code: type: string - title: Tax code - description: Optional field used by Avalara, Vertex, and Recurly's EU VAT - tax feature to determine taxation rules. If you have your own AvaTax or - Vertex account configured, use their tax codes to assign specific tax - rules. If you are using Recurly's EU VAT feature, you can use values of - `unknown`, `physical`, or `digital`. maxLength: 50 + title: Tax code + description: Optional field used by Avalara, Vertex, and Recurly's In-the-Box + tax solution to determine taxation rules. You can pass in specific tax + codes using any of these tax integrations. For Recurly's In-the-Box tax + offering you can also choose to instead use simple values of `unknown`, + `physical`, or `digital` tax codes. tax_exempt: type: boolean title: Tax exempt? @@ -21776,13 +21818,13 @@ components: minimum: 0 tax_code: type: string - title: Tax code - description: Optional field used by Avalara, Vertex, and Recurly's EU VAT - tax feature to determine taxation rules. If you have your own AvaTax or - Vertex account configured, use their tax codes to assign specific tax - rules. If you are using Recurly's EU VAT feature, you can use values of - `unknown`, `physical`, or `digital`. maxLength: 50 + title: Tax code + description: Optional field used by Avalara, Vertex, and Recurly's In-the-Box + tax solution to determine taxation rules. You can pass in specific tax + codes using any of these tax integrations. For Recurly's In-the-Box tax + offering you can also choose to instead use simple values of `unknown`, + `physical`, or `digital` tax codes. tax_exempt: type: boolean title: Tax exempt? @@ -26231,8 +26273,9 @@ components: type: string enum: - amount + - percentage - line_items - RefuneMethodEnum: + RefundMethodEnum: type: string enum: - all_credit @@ -26246,6 +26289,7 @@ components: - ach - amazon - apple_pay + - braintree_apple_pay - check - credit_card - eft @@ -26439,6 +26483,7 @@ components: - amazon_billing_agreement - apple_pay - bank_account_info + - braintree_apple_pay - check - credit_card - eft