diff --git a/lib/LineItem.php b/lib/LineItem.php index 6d3eec5ac..d0796dc47 100644 --- a/lib/LineItem.php +++ b/lib/LineItem.php @@ -13,7 +13,7 @@ * @property string $description An arbitrary string attached to the object. Often useful for displaying to users. Defaults to product name. * @property \Stripe\Price $price
Prices define the unit cost, currency, and (optional) billing cycle for both recurring and one-time purchases of products. Products help you track inventory or provisioning, and prices help you track payment terms. Different physical goods or levels of service should be represented by products, and pricing options should be represented by prices. This approach lets you change prices without having to change your provisioning scheme.
For example, you might have a single "gold" product that has prices for $10/month, $100/year, and €9 once.
Related guides: Set up a subscription, create an invoice, and more about products and prices.
* @property null|int $quantity The quantity of products being purchased. - * @property null|\Stripe\StripeObject[] $taxes The taxes applied to the line item. + * @property \Stripe\StripeObject[] $taxes The taxes applied to the line item. */ class LineItem extends ApiResource { diff --git a/lib/TaxId.php b/lib/TaxId.php index dfe825f9b..eb0b437a4 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 valuetrue
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
, 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 $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
, in_gst
, jp_cn
, kr_brn
, li_uid
, mx_rfc
, my_itn
, my_sst
, no_vat
, nz_gst
, ru_inn
, 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 \Stripe\StripeObject $verification
*/
@@ -26,12 +26,14 @@ class TaxId extends ApiResource
use ApiOperations\Delete;
+ const TYPE_AE_TRN = 'ae_trn';
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';
+ const TYPE_CL_TIN = 'cl_tin';
const TYPE_ES_CIF = 'es_cif';
const TYPE_EU_VAT = 'eu_vat';
const TYPE_HK_BR = 'hk_br';
@@ -45,6 +47,7 @@ class TaxId extends ApiResource
const TYPE_NO_VAT = 'no_vat';
const TYPE_NZ_GST = 'nz_gst';
const TYPE_RU_INN = 'ru_inn';
+ const TYPE_SA_VAT = 'sa_vat';
const TYPE_SG_GST = 'sg_gst';
const TYPE_SG_UEN = 'sg_uen';
const TYPE_TH_VAT = 'th_vat';