Skip to content

Commit

Permalink
Merge pull request #917 from recurly/v3-v2021-02-25-12125700885
Browse files Browse the repository at this point in the history
Generated Latest Changes for v2021-02-25
  • Loading branch information
8eth authored Dec 2, 2024
2 parents e22e122 + 1761d7d commit ff72064
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 ff72064

Please sign in to comment.