Skip to content

Commit

Permalink
Merge pull request #782 from recurly/v3-v2021-02-25-6004207465
Browse files Browse the repository at this point in the history
Generated Latest Changes for v2021-02-25 (`VATNumber`, `LifecycleDecline`)
  • Loading branch information
bdoring authored Aug 28, 2023
2 parents 77b7aab + 1a77bfe commit da28cb9
Show file tree
Hide file tree
Showing 2 changed files with 32 additions and 0 deletions.
24 changes: 24 additions & 0 deletions lib/recurly/resources/transaction.php
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,7 @@ class Transaction extends RecurlyResource
private $_type;
private $_updated_at;
private $_uuid;
private $_vat_number;
private $_voided_at;
private $_voided_by_invoice;

Expand Down Expand Up @@ -918,6 +919,29 @@ public function setUuid(string $uuid): void
$this->_uuid = $uuid;
}

/**
* Getter method for the vat_number attribute.
* VAT number for the customer on this transaction. If the customer's Billing Info country is BR or AR, then this will be their Tax Identifier. For all other countries this will come from the VAT Number field in the Billing Info.
*
* @return ?string
*/
public function getVatNumber(): ?string
{
return $this->_vat_number;
}

/**
* Setter method for the vat_number attribute.
*
* @param string $vat_number
*
* @return void
*/
public function setVatNumber(string $vat_number): void
{
$this->_vat_number = $vat_number;
}

/**
* Getter method for the voided_at attribute.
* Voided at
Expand Down
8 changes: 8 additions & 0 deletions openapi/api.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -23040,6 +23040,13 @@ components:
payment when using asynchronous payment methods, e.g., Boleto, iDEAL and
Sofort.
title: Action result
vat_number:
type: string
description: VAT number for the customer on this transaction. If the customer's
Billing Info country is BR or AR, then this will be their Tax Identifier.
For all other countries this will come from the VAT Number field in the
Billing Info.
title: VAT Number
ExternalTransaction:
type: object
properties:
Expand Down Expand Up @@ -25336,6 +25343,7 @@ components:
- invalid_payment_method_hard
- invalid_transaction
- issuer_unavailable
- lifecycle_decline
- merch_max_transaction_limit_exceeded
- moneybot_disconnect
- moneybot_unavailable
Expand Down

0 comments on commit da28cb9

Please sign in to comment.