Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Generated Latest Changes for v2021-02-25 #226

Merged
merged 1 commit into from
Dec 2, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading