From 1761d7d13547bd24c1bfcc926435a150266fba8f Mon Sep 17 00:00:00 2001 From: Recurly Integrations Date: Mon, 2 Dec 2024 18:36:06 +0000 Subject: [PATCH] Generated Latest Changes for v2021-02-25 --- lib/recurly/requests/plan_create.rb | 4 ++++ lib/recurly/requests/plan_update.rb | 4 ++++ lib/recurly/resources/plan.rb | 4 ++++ openapi/api.yaml | 15 +++++++++++++++ 4 files changed, 27 insertions(+) diff --git a/lib/recurly/requests/plan_create.rb b/lib/recurly/requests/plan_create.rb index d0bb2fa7..325f4ee5 100644 --- a/lib/recurly/requests/plan_create.rb +++ b/lib/recurly/requests/plan_create.rb @@ -133,6 +133,10 @@ class PlanCreate < Request # @!attribute trial_unit # @return [String] Units for the plan's trial period. define_attribute :trial_unit, String + + # @!attribute vertex_transaction_type + # @return [String] Used by Vertex for tax calculations. Possible values are `sale`, `rental`, `lease`. + define_attribute :vertex_transaction_type, String end end end diff --git a/lib/recurly/requests/plan_update.rb b/lib/recurly/requests/plan_update.rb index 79622093..3becc60b 100644 --- a/lib/recurly/requests/plan_update.rb +++ b/lib/recurly/requests/plan_update.rb @@ -121,6 +121,10 @@ class PlanUpdate < Request # @!attribute trial_unit # @return [String] Units for the plan's trial period. define_attribute :trial_unit, String + + # @!attribute vertex_transaction_type + # @return [String] Used by Vertex for tax calculations. Possible values are `sale`, `rental`, `lease`. + define_attribute :vertex_transaction_type, String end end end diff --git a/lib/recurly/resources/plan.rb b/lib/recurly/resources/plan.rb index 2b899a96..f7471594 100644 --- a/lib/recurly/resources/plan.rb +++ b/lib/recurly/resources/plan.rb @@ -129,6 +129,10 @@ class Plan < Resource # @!attribute updated_at # @return [DateTime] Last updated at define_attribute :updated_at, DateTime + + # @!attribute vertex_transaction_type + # @return [String] Used by Vertex for tax calculations. Possible values are `sale`, `rental`, `lease`. + define_attribute :vertex_transaction_type, String end end end diff --git a/openapi/api.yaml b/openapi/api.yaml index b8cfb558..bcad8e35 100644 --- a/openapi/api.yaml +++ b/openapi/api.yaml @@ -21353,6 +21353,11 @@ components: title: Tax exempt? description: "`true` exempts tax on the plan, `false` applies tax on the plan." + vertex_transaction_type: + type: string + title: Vertex Transaction Type + description: Used by Vertex for tax calculations. Possible values are `sale`, + `rental`, `lease`. currencies: type: array title: Pricing @@ -21568,6 +21573,11 @@ components: title: Tax exempt? description: "`true` exempts tax on the plan, `false` applies tax on the plan." + vertex_transaction_type: + type: string + title: Vertex Transaction Type + description: Used by Vertex for tax calculations. Possible values are `sale`, + `rental`, `lease`. currencies: type: array title: Pricing @@ -21832,6 +21842,11 @@ components: title: Tax exempt? description: "`true` exempts tax on the plan, `false` applies tax on the plan." + vertex_transaction_type: + type: string + title: Vertex Transaction Type + description: Used by Vertex for tax calculations. Possible values are `sale`, + `rental`, `lease`. currencies: type: array title: Pricing