From 964e9bb6f336b9d9d333f207a59a51e33427813c Mon Sep 17 00:00:00 2001 From: Olivier Bellone Date: Fri, 1 May 2020 12:44:27 -0700 Subject: [PATCH] Codegen for openapi db4b68c (#927) --- lib/Balance.php | 1 + lib/TaxId.php | 4 +++- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/lib/Balance.php b/lib/Balance.php index 4b4d2d613..31e3a72d8 100644 --- a/lib/Balance.php +++ b/lib/Balance.php @@ -20,6 +20,7 @@ * @property string $object String representing the object's type. Objects of the same type share the same value. * @property \Stripe\StripeObject[] $available Funds that are available to be transferred or paid out, whether automatically by Stripe or explicitly via the Transfers API or Payouts API. The available balance for each currency and payment type can be found in the source_types property. * @property \Stripe\StripeObject[] $connect_reserved Funds held due to negative balances on connected Custom accounts. The connect reserve balance for each currency and payment type can be found in the source_types property. + * @property \Stripe\StripeObject $issuing * @property bool $livemode Has the value true if the object exists in live mode or the value false if the object exists in test mode. * @property \Stripe\StripeObject[] $pending Funds that are not yet available in the balance, due to the 7-day rolling pay cycle. The pending balance for each currency, and for each payment type, can be found in the source_types property. */ diff --git a/lib/TaxId.php b/lib/TaxId.php index cf36d1547..dfe825f9b 100644 --- a/lib/TaxId.php +++ b/lib/TaxId.php @@ -16,7 +16,7 @@ * @property int $created Time at which the object was created. Measured in seconds since the Unix epoch. * @property string|\Stripe\Customer $customer ID of the customer. * @property bool $livemode Has the value true if the object exists in live mode or the value false if the object exists in test mode. - * @property string $type Type of the tax ID, one of au_abn, ca_bn, ca_qst, ch_vat, es_cif, eu_vat, hk_br, in_gst, jp_cn, kr_brn, li_uid, mx_rfc, my_itn, my_sst, no_vat, nz_gst, ru_inn, sg_gst, sg_uen, th_vat, tw_vat, us_ein, or za_vat. Note that some legacy tax IDs have type unknown + * @property string $type Type of the tax ID, one of au_abn, br_cnpj, br_cpf, ca_bn, ca_qst, ch_vat, es_cif, eu_vat, hk_br, in_gst, jp_cn, kr_brn, li_uid, mx_rfc, my_itn, my_sst, no_vat, nz_gst, ru_inn, sg_gst, sg_uen, th_vat, tw_vat, us_ein, or za_vat. Note that some legacy tax IDs have type unknown * @property string $value Value of the tax ID. * @property \Stripe\StripeObject $verification */ @@ -27,6 +27,8 @@ class TaxId extends ApiResource use ApiOperations\Delete; const TYPE_AU_ABN = 'au_abn'; + const TYPE_BR_CNPJ = 'br_cnpj'; + const TYPE_BR_CPF = 'br_cpf'; const TYPE_CA_BN = 'ca_bn'; const TYPE_CA_QST = 'ca_qst'; const TYPE_CH_VAT = 'ch_vat';