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 (VATNumberLifecycleDecline) #782

Merged
merged 1 commit into from
Aug 28, 2023
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
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