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 95e8f31 commit 6d0a987
Show file tree
Hide file tree
Showing 4 changed files with 24 additions and 0 deletions.
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
3 changes: 3 additions & 0 deletions plan.go
Original file line number Diff line number Diff line change
Expand Up @@ -87,6 +87,9 @@ type Plan struct {
// `true` exempts tax on the plan, `false` applies tax on the plan.
TaxExempt bool `json:"tax_exempt,omitempty"`

// Used by Vertex for tax calculations. Possible values are `sale`, `rental`, `lease`.
VertexTransactionType string `json:"vertex_transaction_type,omitempty"`

// Pricing
Currencies []PlanPricing `json:"currencies,omitempty"`

Expand Down
3 changes: 3 additions & 0 deletions plan_create.go
Original file line number Diff line number Diff line change
Expand Up @@ -103,6 +103,9 @@ type PlanCreate struct {
// `true` exempts tax on the plan, `false` applies tax on the plan.
TaxExempt *bool `json:"tax_exempt,omitempty"`

// Used by Vertex for tax calculations. Possible values are `sale`, `rental`, `lease`.
VertexTransactionType *string `json:"vertex_transaction_type,omitempty"`

// Pricing
Currencies []PlanPricingCreate `json:"currencies,omitempty"`

Expand Down
3 changes: 3 additions & 0 deletions plan_update.go
Original file line number Diff line number Diff line change
Expand Up @@ -95,6 +95,9 @@ type PlanUpdate struct {
// `true` exempts tax on the plan, `false` applies tax on the plan.
TaxExempt *bool `json:"tax_exempt,omitempty"`

// Used by Vertex for tax calculations. Possible values are `sale`, `rental`, `lease`.
VertexTransactionType *string `json:"vertex_transaction_type,omitempty"`

// Optional when the pricing model is 'ramp'.
Currencies []PlanPricingCreate `json:"currencies,omitempty"`

Expand Down

0 comments on commit 6d0a987

Please sign in to comment.