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 80b1727 commit beb98f0
Show file tree
Hide file tree
Showing 2 changed files with 39 additions and 0 deletions.
24 changes: 24 additions & 0 deletions lib/recurly/resources/plan.php
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,7 @@ class Plan extends RecurlyResource
private $_trial_requires_billing_info;
private $_trial_unit;
private $_updated_at;
private $_vertex_transaction_type;

protected static $array_hints = [
'setCurrencies' => '\Recurly\Resources\PlanPricing',
Expand Down Expand Up @@ -769,4 +770,27 @@ public function setUpdatedAt(string $updated_at): void
{
$this->_updated_at = $updated_at;
}

/**
* Getter method for the vertex_transaction_type attribute.
* Used by Vertex for tax calculations. Possible values are `sale`, `rental`, `lease`.
*
* @return ?string
*/
public function getVertexTransactionType(): ?string
{
return $this->_vertex_transaction_type;
}

/**
* Setter method for the vertex_transaction_type attribute.
*
* @param string $vertex_transaction_type
*
* @return void
*/
public function setVertexTransactionType(string $vertex_transaction_type): void
{
$this->_vertex_transaction_type = $vertex_transaction_type;
}
}
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 beb98f0

Please sign in to comment.