PluginProbe ʕ •ᴥ•ʔ
Paid Membership Plugin, Ecommerce, User Registration Form, Login Form, User Profile & Restrict Content – ProfilePress / 4.17.1
Paid Membership Plugin, Ecommerce, User Registration Form, Login Form, User Profile & Restrict Content – ProfilePress v4.17.1
4.17.1 4.17.0 4.16.19 4.16.18 4.16.17 4.16.16 trunk 1.0 1.0.1 1.0.2 1.1 1.1.1 1.1.2 1.1.3 1.1.4 1.1.5 1.1.5a 1.1.6 1.1.7 1.2 1.2.1 1.2.2 1.2.3 1.2.4 1.2.5 1.2.6 1.3 1.3.1 1.3.2 1.3.3 1.3.4 1.3.5 1.3.6 1.4 1.4.1 1.4.2 1.5 1.5.1 1.5.2 1.5.3 1.5.4 1.5.5 1.5.6 1.5.7 1.5.8 1.6 1.6.1 1.6.2 1.6.3 1.6.4 1.6.5 1.6.6 1.6.7 1.6.8 1.7 1.7.1 1.7.2 1.8 1.8.1 1.8.10 1.8.2 1.8.3 1.8.4 1.8.5 1.8.6 1.8.7 1.8.8 1.8.9 1.9 1.9.1 1.9.10 1.9.11 1.9.12 1.9.13 1.9.2 1.9.3 1.9.4 1.9.5 1.9.6 1.9.7 1.9.8 1.9.9 2.1.9 2.2.10 2.2.11 2.2.12 2.2.13 2.2.14 2.2.15 2.2.16 2.2.2 2.2.5 2.2.6 2.2.7 2.2.8 2.2.9 3.0 3.1 3.1.1 3.1.10 3.1.11 3.1.12 3.1.13 3.1.14 3.1.15 3.1.16 3.1.17 3.1.18 3.1.19 3.1.2 3.1.3 3.1.4 3.1.5 3.1.6 3.1.7 3.1.8 3.1.9 3.2.0 3.2.1 3.2.10 3.2.11 3.2.12 3.2.13 3.2.14 3.2.15 3.2.16 3.2.2 3.2.3 3.2.4 3.2.5 3.2.6 3.2.7 3.2.8 3.2.9 4.0.0 4.0.1 4.0.2 4.0.3 4.1.0 4.1.1 4.1.2 4.1.3 4.1.4 4.10.0 4.10.1 4.10.2 4.10.3 4.11.0 4.12.0 4.13.0 4.13.1 4.13.2 4.13.3 4.13.4 4.14.0 4.14.1 4.14.2 4.14.3 4.14.4 4.15.0 4.15.1 4.15.10 4.15.11 4.15.12 4.15.13 4.15.14 4.15.15 4.15.16 4.15.17 4.15.18 4.15.19 4.15.2 4.15.20 4.15.20.1 4.15.21 4.15.22 4.15.23 4.15.24 4.15.25 4.15.3 4.15.4 4.15.5 4.15.6 4.15.7 4.15.8 4.15.9 4.16.0 4.16.1 4.16.10 4.16.11 4.16.12 4.16.13 4.16.14 4.16.15 4.16.2 4.16.3 4.16.4 4.16.5 4.16.6 4.16.7 4.16.8 4.16.9 4.2.0 4.3.0 4.3.1 4.3.2 4.4.0 4.4.1 4.5.0 4.5.1 4.5.2 4.5.3 4.5.4 4.5.5 4.6.0 4.7.0 4.8.0 4.9.0
wp-user-avatar / third-party / vendor / stripe / stripe-php / lib / TaxId.php
wp-user-avatar / third-party / vendor / stripe / stripe-php / lib Last commit date
ApiOperations 2 months ago Apps 2 months ago Billing 2 months ago BillingPortal 2 months ago Checkout 2 months ago Climate 2 months ago Entitlements 2 months ago EventData 2 months ago Events 2 months ago Exception 2 months ago FinancialConnections 2 months ago Forwarding 2 months ago HttpClient 2 months ago Identity 2 months ago Issuing 2 months ago Radar 2 months ago Reporting 2 months ago Service 2 months ago Sigma 2 months ago Tax 2 months ago Terminal 2 months ago TestHelpers 2 months ago Treasury 2 months ago Util 2 months ago V2 2 months ago Account.php 2 months ago AccountLink.php 2 months ago AccountSession.php 2 months ago ApiRequestor.php 2 months ago ApiResource.php 2 months ago ApiResponse.php 2 months ago ApplePayDomain.php 2 months ago Application.php 2 months ago ApplicationFee.php 2 months ago ApplicationFeeRefund.php 2 months ago Balance.php 2 months ago BalanceTransaction.php 2 months ago BankAccount.php 2 months ago BaseStripeClient.php 2 months ago BaseStripeClientInterface.php 2 months ago Capability.php 2 months ago Card.php 2 months ago CashBalance.php 2 months ago Charge.php 2 months ago Collection.php 2 months ago ConfirmationToken.php 2 months ago ConnectCollectionTransfer.php 2 months ago CountrySpec.php 2 months ago Coupon.php 2 months ago CreditNote.php 2 months ago CreditNoteLineItem.php 2 months ago Customer.php 2 months ago CustomerBalanceTransaction.php 2 months ago CustomerCashBalanceTransaction.php 2 months ago CustomerSession.php 2 months ago Discount.php 2 months ago Dispute.php 2 months ago EphemeralKey.php 2 months ago ErrorObject.php 2 months ago Event.php 2 months ago ExchangeRate.php 2 months ago File.php 2 months ago FileLink.php 2 months ago FundingInstructions.php 2 months ago Invoice.php 2 months ago InvoiceItem.php 2 months ago InvoiceLineItem.php 2 months ago InvoiceRenderingTemplate.php 2 months ago LineItem.php 2 months ago LoginLink.php 2 months ago Mandate.php 2 months ago OAuth.php 2 months ago OAuthErrorObject.php 2 months ago PaymentIntent.php 2 months ago PaymentLink.php 2 months ago PaymentMethod.php 2 months ago PaymentMethodConfiguration.php 2 months ago PaymentMethodDomain.php 2 months ago Payout.php 2 months ago Person.php 2 months ago Plan.php 2 months ago Price.php 2 months ago Product.php 2 months ago ProductFeature.php 2 months ago PromotionCode.php 2 months ago Quote.php 2 months ago Reason.php 2 months ago RecipientTransfer.php 2 months ago Refund.php 2 months ago RelatedObject.php 2 months ago RequestTelemetry.php 2 months ago ReserveTransaction.php 2 months ago Review.php 2 months ago SearchResult.php 2 months ago SetupAttempt.php 2 months ago SetupIntent.php 2 months ago ShippingRate.php 2 months ago SingletonApiResource.php 2 months ago Source.php 2 months ago SourceMandateNotification.php 2 months ago SourceTransaction.php 2 months ago Stripe.php 2 months ago StripeClient.php 2 months ago StripeClientInterface.php 2 months ago StripeObject.php 2 months ago StripeStreamingClientInterface.php 2 months ago Subscription.php 2 months ago SubscriptionItem.php 2 months ago SubscriptionSchedule.php 2 months ago TaxCode.php 2 months ago TaxDeductedAtSource.php 2 months ago TaxId.php 2 months ago TaxRate.php 2 months ago ThinEvent.php 2 months ago Token.php 2 months ago Topup.php 2 months ago Transfer.php 2 months ago TransferReversal.php 2 months ago UsageRecord.php 2 months ago UsageRecordSummary.php 2 months ago Webhook.php 2 months ago WebhookEndpoint.php 2 months ago WebhookSignature.php 2 months ago
TaxId.php
201 lines
1 <?php
2
3 // File generated from our OpenAPI spec
4 namespace ProfilePressVendor\Stripe;
5
6 /**
7 * You can add one or multiple tax IDs to a <a href="https://stripe.com/docs/api/customers">customer</a> or account.
8 * Customer and account tax IDs get displayed on related invoices and credit notes.
9 *
10 * Related guides: <a href="https://stripe.com/docs/billing/taxes/tax-ids">Customer tax identification numbers</a>, <a href="https://stripe.com/docs/invoicing/connect#account-tax-ids">Account tax IDs</a>
11 *
12 * @property string $id Unique identifier for the object.
13 * @property string $object String representing the object's type. Objects of the same type share the same value.
14 * @property null|string $country Two-letter ISO code representing the country of the tax ID.
15 * @property int $created Time at which the object was created. Measured in seconds since the Unix epoch.
16 * @property null|string|\Stripe\Customer $customer ID of the customer.
17 * @property bool $livemode Has the value <code>true</code> if the object exists in live mode or the value <code>false</code> if the object exists in test mode.
18 * @property null|\Stripe\StripeObject $owner The account or customer the tax ID belongs to.
19 * @property string $type Type of the tax ID, one of <code>ad_nrt</code>, <code>ae_trn</code>, <code>al_tin</code>, <code>am_tin</code>, <code>ao_tin</code>, <code>ar_cuit</code>, <code>au_abn</code>, <code>au_arn</code>, <code>ba_tin</code>, <code>bb_tin</code>, <code>bg_uic</code>, <code>bh_vat</code>, <code>bo_tin</code>, <code>br_cnpj</code>, <code>br_cpf</code>, <code>bs_tin</code>, <code>by_tin</code>, <code>ca_bn</code>, <code>ca_gst_hst</code>, <code>ca_pst_bc</code>, <code>ca_pst_mb</code>, <code>ca_pst_sk</code>, <code>ca_qst</code>, <code>cd_nif</code>, <code>ch_uid</code>, <code>ch_vat</code>, <code>cl_tin</code>, <code>cn_tin</code>, <code>co_nit</code>, <code>cr_tin</code>, <code>de_stn</code>, <code>do_rcn</code>, <code>ec_ruc</code>, <code>eg_tin</code>, <code>es_cif</code>, <code>eu_oss_vat</code>, <code>eu_vat</code>, <code>gb_vat</code>, <code>ge_vat</code>, <code>gn_nif</code>, <code>hk_br</code>, <code>hr_oib</code>, <code>hu_tin</code>, <code>id_npwp</code>, <code>il_vat</code>, <code>in_gst</code>, <code>is_vat</code>, <code>jp_cn</code>, <code>jp_rn</code>, <code>jp_trn</code>, <code>ke_pin</code>, <code>kh_tin</code>, <code>kr_brn</code>, <code>kz_bin</code>, <code>li_uid</code>, <code>li_vat</code>, <code>ma_vat</code>, <code>md_vat</code>, <code>me_pib</code>, <code>mk_vat</code>, <code>mr_nif</code>, <code>mx_rfc</code>, <code>my_frp</code>, <code>my_itn</code>, <code>my_sst</code>, <code>ng_tin</code>, <code>no_vat</code>, <code>no_voec</code>, <code>np_pan</code>, <code>nz_gst</code>, <code>om_vat</code>, <code>pe_ruc</code>, <code>ph_tin</code>, <code>ro_tin</code>, <code>rs_pib</code>, <code>ru_inn</code>, <code>ru_kpp</code>, <code>sa_vat</code>, <code>sg_gst</code>, <code>sg_uen</code>, <code>si_tin</code>, <code>sn_ninea</code>, <code>sr_fin</code>, <code>sv_nit</code>, <code>th_vat</code>, <code>tj_tin</code>, <code>tr_tin</code>, <code>tw_vat</code>, <code>tz_vat</code>, <code>ua_vat</code>, <code>ug_tin</code>, <code>us_ein</code>, <code>uy_ruc</code>, <code>uz_tin</code>, <code>uz_vat</code>, <code>ve_rif</code>, <code>vn_tin</code>, <code>za_vat</code>, <code>zm_tin</code>, or <code>zw_tin</code>. Note that some legacy tax IDs have type <code>unknown</code>
20 * @property string $value Value of the tax ID.
21 * @property null|\Stripe\StripeObject $verification Tax ID verification information.
22 */
23 class TaxId extends ApiResource
24 {
25 const OBJECT_NAME = 'tax_id';
26 const TYPE_AD_NRT = 'ad_nrt';
27 const TYPE_AE_TRN = 'ae_trn';
28 const TYPE_AL_TIN = 'al_tin';
29 const TYPE_AM_TIN = 'am_tin';
30 const TYPE_AO_TIN = 'ao_tin';
31 const TYPE_AR_CUIT = 'ar_cuit';
32 const TYPE_AU_ABN = 'au_abn';
33 const TYPE_AU_ARN = 'au_arn';
34 const TYPE_BA_TIN = 'ba_tin';
35 const TYPE_BB_TIN = 'bb_tin';
36 const TYPE_BG_UIC = 'bg_uic';
37 const TYPE_BH_VAT = 'bh_vat';
38 const TYPE_BO_TIN = 'bo_tin';
39 const TYPE_BR_CNPJ = 'br_cnpj';
40 const TYPE_BR_CPF = 'br_cpf';
41 const TYPE_BS_TIN = 'bs_tin';
42 const TYPE_BY_TIN = 'by_tin';
43 const TYPE_CA_BN = 'ca_bn';
44 const TYPE_CA_GST_HST = 'ca_gst_hst';
45 const TYPE_CA_PST_BC = 'ca_pst_bc';
46 const TYPE_CA_PST_MB = 'ca_pst_mb';
47 const TYPE_CA_PST_SK = 'ca_pst_sk';
48 const TYPE_CA_QST = 'ca_qst';
49 const TYPE_CD_NIF = 'cd_nif';
50 const TYPE_CH_UID = 'ch_uid';
51 const TYPE_CH_VAT = 'ch_vat';
52 const TYPE_CL_TIN = 'cl_tin';
53 const TYPE_CN_TIN = 'cn_tin';
54 const TYPE_CO_NIT = 'co_nit';
55 const TYPE_CR_TIN = 'cr_tin';
56 const TYPE_DE_STN = 'de_stn';
57 const TYPE_DO_RCN = 'do_rcn';
58 const TYPE_EC_RUC = 'ec_ruc';
59 const TYPE_EG_TIN = 'eg_tin';
60 const TYPE_ES_CIF = 'es_cif';
61 const TYPE_EU_OSS_VAT = 'eu_oss_vat';
62 const TYPE_EU_VAT = 'eu_vat';
63 const TYPE_GB_VAT = 'gb_vat';
64 const TYPE_GE_VAT = 'ge_vat';
65 const TYPE_GN_NIF = 'gn_nif';
66 const TYPE_HK_BR = 'hk_br';
67 const TYPE_HR_OIB = 'hr_oib';
68 const TYPE_HU_TIN = 'hu_tin';
69 const TYPE_ID_NPWP = 'id_npwp';
70 const TYPE_IL_VAT = 'il_vat';
71 const TYPE_IN_GST = 'in_gst';
72 const TYPE_IS_VAT = 'is_vat';
73 const TYPE_JP_CN = 'jp_cn';
74 const TYPE_JP_RN = 'jp_rn';
75 const TYPE_JP_TRN = 'jp_trn';
76 const TYPE_KE_PIN = 'ke_pin';
77 const TYPE_KH_TIN = 'kh_tin';
78 const TYPE_KR_BRN = 'kr_brn';
79 const TYPE_KZ_BIN = 'kz_bin';
80 const TYPE_LI_UID = 'li_uid';
81 const TYPE_LI_VAT = 'li_vat';
82 const TYPE_MA_VAT = 'ma_vat';
83 const TYPE_MD_VAT = 'md_vat';
84 const TYPE_ME_PIB = 'me_pib';
85 const TYPE_MK_VAT = 'mk_vat';
86 const TYPE_MR_NIF = 'mr_nif';
87 const TYPE_MX_RFC = 'mx_rfc';
88 const TYPE_MY_FRP = 'my_frp';
89 const TYPE_MY_ITN = 'my_itn';
90 const TYPE_MY_SST = 'my_sst';
91 const TYPE_NG_TIN = 'ng_tin';
92 const TYPE_NO_VAT = 'no_vat';
93 const TYPE_NO_VOEC = 'no_voec';
94 const TYPE_NP_PAN = 'np_pan';
95 const TYPE_NZ_GST = 'nz_gst';
96 const TYPE_OM_VAT = 'om_vat';
97 const TYPE_PE_RUC = 'pe_ruc';
98 const TYPE_PH_TIN = 'ph_tin';
99 const TYPE_RO_TIN = 'ro_tin';
100 const TYPE_RS_PIB = 'rs_pib';
101 const TYPE_RU_INN = 'ru_inn';
102 const TYPE_RU_KPP = 'ru_kpp';
103 const TYPE_SA_VAT = 'sa_vat';
104 const TYPE_SG_GST = 'sg_gst';
105 const TYPE_SG_UEN = 'sg_uen';
106 const TYPE_SI_TIN = 'si_tin';
107 const TYPE_SN_NINEA = 'sn_ninea';
108 const TYPE_SR_FIN = 'sr_fin';
109 const TYPE_SV_NIT = 'sv_nit';
110 const TYPE_TH_VAT = 'th_vat';
111 const TYPE_TJ_TIN = 'tj_tin';
112 const TYPE_TR_TIN = 'tr_tin';
113 const TYPE_TW_VAT = 'tw_vat';
114 const TYPE_TZ_VAT = 'tz_vat';
115 const TYPE_UA_VAT = 'ua_vat';
116 const TYPE_UG_TIN = 'ug_tin';
117 const TYPE_UNKNOWN = 'unknown';
118 const TYPE_US_EIN = 'us_ein';
119 const TYPE_UY_RUC = 'uy_ruc';
120 const TYPE_UZ_TIN = 'uz_tin';
121 const TYPE_UZ_VAT = 'uz_vat';
122 const TYPE_VE_RIF = 've_rif';
123 const TYPE_VN_TIN = 'vn_tin';
124 const TYPE_ZA_VAT = 'za_vat';
125 const TYPE_ZM_TIN = 'zm_tin';
126 const TYPE_ZW_TIN = 'zw_tin';
127 /**
128 * Creates a new account or customer <code>tax_id</code> object.
129 *
130 * @param null|array $params
131 * @param null|array|string $options
132 *
133 * @throws \Stripe\Exception\ApiErrorException if the request fails
134 *
135 * @return \Stripe\TaxId the created resource
136 */
137 public static function create($params = null, $options = null)
138 {
139 self::_validateParams($params);
140 $url = static::classUrl();
141 list($response, $opts) = static::_staticRequest('post', $url, $params, $options);
142 $obj = \ProfilePressVendor\Stripe\Util\Util::convertToStripeObject($response->json, $opts);
143 $obj->setLastResponse($response);
144 return $obj;
145 }
146 /**
147 * Deletes an existing account or customer <code>tax_id</code> object.
148 *
149 * @param null|array $params
150 * @param null|array|string $opts
151 *
152 * @throws \Stripe\Exception\ApiErrorException if the request fails
153 *
154 * @return \Stripe\TaxId the deleted resource
155 */
156 public function delete($params = null, $opts = null)
157 {
158 self::_validateParams($params);
159 $url = $this->instanceUrl();
160 list($response, $opts) = $this->_request('delete', $url, $params, $opts);
161 $this->refreshFrom($response, $opts);
162 return $this;
163 }
164 /**
165 * Returns a list of tax IDs.
166 *
167 * @param null|array $params
168 * @param null|array|string $opts
169 *
170 * @throws \Stripe\Exception\ApiErrorException if the request fails
171 *
172 * @return \Stripe\Collection<\Stripe\TaxId> of ApiResources
173 */
174 public static function all($params = null, $opts = null)
175 {
176 $url = static::classUrl();
177 return static::_requestPage($url, \ProfilePressVendor\Stripe\Collection::class, $params, $opts);
178 }
179 /**
180 * Retrieves an account or customer <code>tax_id</code> object.
181 *
182 * @param array|string $id the ID of the API resource to retrieve, or an options array containing an `id` key
183 * @param null|array|string $opts
184 *
185 * @throws \Stripe\Exception\ApiErrorException if the request fails
186 *
187 * @return \Stripe\TaxId
188 */
189 public static function retrieve($id, $opts = null)
190 {
191 $opts = \ProfilePressVendor\Stripe\Util\RequestOptions::parse($opts);
192 $instance = new static($id, $opts);
193 $instance->refresh();
194 return $instance;
195 }
196 const VERIFICATION_STATUS_PENDING = 'pending';
197 const VERIFICATION_STATUS_UNAVAILABLE = 'unavailable';
198 const VERIFICATION_STATUS_UNVERIFIED = 'unverified';
199 const VERIFICATION_STATUS_VERIFIED = 'verified';
200 }
201