diff --git a/Recurly/Resources/Plan.cs b/Recurly/Resources/Plan.cs index 830d9977..c54e5079 100644 --- a/Recurly/Resources/Plan.cs +++ b/Recurly/Resources/Plan.cs @@ -153,5 +153,9 @@ public class Plan : Resource [JsonProperty("updated_at")] public DateTime? UpdatedAt { get; set; } + /// Used by Vertex for tax calculations. Possible values are `sale`, `rental`, `lease`. + [JsonProperty("vertex_transaction_type")] + public string VertexTransactionType { get; set; } + } } diff --git a/Recurly/Resources/PlanCreate.cs b/Recurly/Resources/PlanCreate.cs index f8716f71..2137d336 100644 --- a/Recurly/Resources/PlanCreate.cs +++ b/Recurly/Resources/PlanCreate.cs @@ -180,5 +180,9 @@ public class PlanCreate : Request [JsonConverter(typeof(RecurlyStringEnumConverter))] public Constants.IntervalUnit? TrialUnit { get; set; } + /// Used by Vertex for tax calculations. Possible values are `sale`, `rental`, `lease`. + [JsonProperty("vertex_transaction_type")] + public string VertexTransactionType { get; set; } + } } diff --git a/Recurly/Resources/PlanUpdate.cs b/Recurly/Resources/PlanUpdate.cs index 34818397..fb1737ab 100644 --- a/Recurly/Resources/PlanUpdate.cs +++ b/Recurly/Resources/PlanUpdate.cs @@ -162,5 +162,9 @@ public class PlanUpdate : Request [JsonConverter(typeof(RecurlyStringEnumConverter))] public Constants.IntervalUnit? TrialUnit { get; set; } + /// Used by Vertex for tax calculations. Possible values are `sale`, `rental`, `lease`. + [JsonProperty("vertex_transaction_type")] + public string VertexTransactionType { get; set; } + } } diff --git a/openapi/api.yaml b/openapi/api.yaml index b8cfb558..bcad8e35 100644 --- a/openapi/api.yaml +++ b/openapi/api.yaml @@ -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 @@ -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 @@ -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