From e070ba8583bb1383f440b71b8081ac7edbaf2ab5 Mon Sep 17 00:00:00 2001 From: Richard Marmorstein Date: Tue, 2 Feb 2021 13:03:57 -0500 Subject: [PATCH 1/2] Codegen for openapi 4d877a7 --- lib/Issuing/Dispute.php | 4 ++-- lib/Person.php | 1 + lib/TaxId.php | 3 ++- 3 files changed, 5 insertions(+), 3 deletions(-) diff --git a/lib/Issuing/Dispute.php b/lib/Issuing/Dispute.php index 5f24864b4..0df24b849 100644 --- a/lib/Issuing/Dispute.php +++ b/lib/Issuing/Dispute.php @@ -15,10 +15,10 @@ * * @property string $id Unique identifier for the object. * @property string $object String representing the object's type. Objects of the same type share the same value. - * @property int $amount Disputed amount. Usually the amount of the disputed_transaction, but can differ (usually because of currency fluctuation). + * @property int $amount Disputed amount. Usually the amount of the transaction, but can differ (usually because of currency fluctuation). * @property null|\Stripe\BalanceTransaction[] $balance_transactions List of balance transactions associated with the dispute. * @property int $created Time at which the object was created. Measured in seconds since the Unix epoch. - * @property string $currency The currency the disputed_transaction was made in. + * @property string $currency The currency the transaction was made in. * @property \Stripe\StripeObject $evidence * @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 $metadata Set of key-value pairs that you can attach to an object. This can be useful for storing additional information about the object in a structured format. diff --git a/lib/Person.php b/lib/Person.php index 1bea08862..ad2b46f15 100644 --- a/lib/Person.php +++ b/lib/Person.php @@ -38,6 +38,7 @@ * @property null|string $last_name_kanji The Kanji variation of the person's last name (Japan only). * @property null|string $maiden_name The person's maiden name. * @property \Stripe\StripeObject $metadata Set of key-value pairs that you can attach to an object. This can be useful for storing additional information about the object in a structured format. + * @property null|string $nationality The country where the person is a national. * @property null|string $phone The person's phone number. * @property string $political_exposure Indicates if the person or any of their representatives, family members, or other closely related persons, declares that they hold or have held an important public job or function, in any jurisdiction. * @property \Stripe\StripeObject $relationship diff --git a/lib/TaxId.php b/lib/TaxId.php index d4188fe40..7281f00ba 100644 --- a/lib/TaxId.php +++ b/lib/TaxId.php @@ -18,7 +18,7 @@ * @property int $created Time at which the object was created. Measured in seconds since the Unix epoch. * @property null|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 ae_trn, au_abn, br_cnpj, br_cpf, ca_bn, ca_qst, ch_vat, cl_tin, es_cif, eu_vat, hk_br, id_npwp, in_gst, jp_cn, jp_rn, kr_brn, li_uid, mx_rfc, my_frp, my_itn, my_sst, no_vat, nz_gst, ru_inn, ru_kpp, sa_vat, 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 ae_trn, au_abn, br_cnpj, br_cpf, ca_bn, ca_qst, ch_vat, cl_tin, es_cif, eu_vat, gb_vat, hk_br, id_npwp, in_gst, jp_cn, jp_rn, kr_brn, li_uid, mx_rfc, my_frp, my_itn, my_sst, no_vat, nz_gst, ru_inn, ru_kpp, sa_vat, 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 null|\Stripe\StripeObject $verification Tax ID verification information. */ @@ -38,6 +38,7 @@ class TaxId extends ApiResource const TYPE_CL_TIN = 'cl_tin'; const TYPE_ES_CIF = 'es_cif'; const TYPE_EU_VAT = 'eu_vat'; + const TYPE_GB_VAT = 'gb_vat'; const TYPE_HK_BR = 'hk_br'; const TYPE_ID_NPWP = 'id_npwp'; const TYPE_IN_GST = 'in_gst'; From d62d6ca08ed25da2afe1cfb7b5aabd6cd8ab60e0 Mon Sep 17 00:00:00 2001 From: Richard Marmorstein Date: Wed, 3 Feb 2021 11:18:17 -0500 Subject: [PATCH 2/2] bump