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

Release 2.12.16 #531

Merged
merged 1 commit into from
Aug 20, 2020
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
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
# Recurly PHP Client Library CHANGELOG

## Version 2.12.16 (August 20, 2020)

This brings us up to API version 2.29. There are no breaking changes

* Add tax identifier fields to billing info [PR](https://github.com/recurly/recurly-client-php/pull/530)

## Version 2.12.15 (July 22, 2020)

This brings us up to API version 2.28. There are no breaking changes
Expand Down
5 changes: 4 additions & 1 deletion lib/recurly/billing_info.php
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,8 @@
* @property string $type The payment method type for a non-credit card based billing info. `bacs` and `becs` are the only accepted values
* @property string $sort_code Bank identifier code for UK based banks. Required for Bacs based billing infos. (Bacs only)
* @property string $bsb_code Bank identifier code for AU based banks. Required for Becs based billing infos.
* @property string $tax_identifier Tax identifier is required if adding a billing info that is a consumer card in Brazil. This would be the customer's CPF, a Brazilian tax identifier for all tax paying residents.
* @property string $tax_identifier_type This field and a value of 'cpf' are required if adding a billing info that is an elo or hipercard type in Brazil.
*/
class Recurly_BillingInfo extends Recurly_Resource
{
Expand Down Expand Up @@ -110,7 +112,8 @@ protected function getWriteableAttributes() {
'paypal_billing_agreement_id', 'amazon_billing_agreement_id', 'currency',
'token_id', 'external_hpp_type', 'gateway_token', 'gateway_code',
'braintree_payment_nonce', 'roku_billing_agreement_id',
'three_d_secure_action_result_token_id', 'transaction_type', 'iban', 'sort_code', 'bsb_code', 'type'
'three_d_secure_action_result_token_id', 'transaction_type', 'iban', 'sort_code', 'bsb_code', 'type',
'tax_identifier', 'tax_identifier_type'
);
}
}
5 changes: 2 additions & 3 deletions lib/recurly/client.php
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ class Recurly_Client
/**
* API Version
*/
public static $apiVersion = '2.28';
public static $apiVersion = '2.29';

/**
* The path to your CA certs. Use only if needed (if you can't fix libcurl/php).
Expand All @@ -51,8 +51,7 @@ class Recurly_Client
*/
private static $apiUrl = 'https://%s.recurly.com/v2';


const API_CLIENT_VERSION = '2.12.15';
const API_CLIENT_VERSION = '2.12.16';
const DEFAULT_ENCODING = 'UTF-8';

const GET = 'GET';
Expand Down