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 18f618c commit a00eb7a
Show file tree
Hide file tree
Showing 4 changed files with 32 additions and 3 deletions.
12 changes: 12 additions & 0 deletions lib/recurly.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3076,6 +3076,10 @@ export declare class Plan {
* `true` exempts tax on the plan, `false` applies tax on the plan.
*/
taxExempt?: boolean | null;
/**
* Used by Vertex for tax calculations. Possible values are `sale`, `rental`, `lease`.
*/
vertexTransactionType?: string | null;
/**
* Pricing
*/
Expand Down Expand Up @@ -5297,6 +5301,10 @@ export interface PlanCreate {
* `true` exempts tax on the plan, `false` applies tax on the plan.
*/
taxExempt?: boolean | null;
/**
* Used by Vertex for tax calculations. Possible values are `sale`, `rental`, `lease`.
*/
vertexTransactionType?: string | null;
/**
* Pricing
*/
Expand Down Expand Up @@ -5673,6 +5681,10 @@ export interface PlanUpdate {
* `true` exempts tax on the plan, `false` applies tax on the plan.
*/
taxExempt?: boolean | null;
/**
* Used by Vertex for tax calculations. Possible values are `sale`, `rental`, `lease`.
*/
vertexTransactionType?: string | null;
/**
* Optional when the pricing model is 'ramp'.
*/
Expand Down
4 changes: 3 additions & 1 deletion lib/recurly/resources/Plan.js
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,7 @@ const Resource = require('../Resource')
* @prop {boolean} trialRequiresBillingInfo - Allow free trial subscriptions to be created without billing info. Should not be used if billing info is needed for initial invoice due to existing uninvoiced charges or setup fee.
* @prop {string} trialUnit - Units for the plan's trial period.
* @prop {Date} updatedAt - Last updated at
* @prop {string} vertexTransactionType - Used by Vertex for tax calculations. Possible values are `sale`, `rental`, `lease`.
*/
class Plan extends Resource {
static getSchema () {
Expand Down Expand Up @@ -77,7 +78,8 @@ class Plan extends Resource {
trialLength: Number,
trialRequiresBillingInfo: Boolean,
trialUnit: String,
updatedAt: Date
updatedAt: Date,
vertexTransactionType: String
}
}
}
Expand Down
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
4 changes: 2 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit a00eb7a

Please sign in to comment.