Skip to content

Commit

Permalink
Generated Latest Changes for v2021-02-25
Browse files Browse the repository at this point in the history
  • Loading branch information
Recurly Integrations authored Dec 2, 2024
1 parent e22e122 commit 1761d7d
Show file tree
Hide file tree
Showing 4 changed files with 27 additions and 0 deletions.
4 changes: 4 additions & 0 deletions lib/recurly/requests/plan_create.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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
4 changes: 4 additions & 0 deletions lib/recurly/requests/plan_update.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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
4 changes: 4 additions & 0 deletions lib/recurly/resources/plan.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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
15 changes: 15 additions & 0 deletions openapi/api.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down

0 comments on commit 1761d7d

Please sign in to comment.