Changeset 2814720
- Timestamp:
- 11/08/2022 10:36:21 PM (3 years ago)
- Location:
- foosales
- Files:
-
- 14 edited
-
tags/1.30.2/classes/class-foosales.php (modified) (1 diff)
-
tags/1.30.2/templates/template-product-pos-settings.php (modified) (2 diffs)
-
tags/1.30.2/vendor/stripe-php/lib/Refund.php (modified) (1 diff)
-
tags/1.30.2/vendor/stripe-php/lib/Service/Issuing/AuthorizationService.php (modified) (2 diffs)
-
tags/1.30.2/vendor/stripe-php/lib/Stripe.php (modified) (1 diff)
-
tags/1.30.2/vendor/stripe-php/lib/Subscription.php (modified) (1 diff)
-
tags/1.30.2/vendor/stripe-php/lib/TaxId.php (modified) (4 diffs)
-
trunk/classes/class-foosales.php (modified) (1 diff)
-
trunk/templates/template-product-pos-settings.php (modified) (2 diffs)
-
trunk/vendor/stripe-php/lib/Refund.php (modified) (1 diff)
-
trunk/vendor/stripe-php/lib/Service/Issuing/AuthorizationService.php (modified) (2 diffs)
-
trunk/vendor/stripe-php/lib/Stripe.php (modified) (1 diff)
-
trunk/vendor/stripe-php/lib/Subscription.php (modified) (1 diff)
-
trunk/vendor/stripe-php/lib/TaxId.php (modified) (4 diffs)
Legend:
- Unmodified
- Added
- Removed
-
foosales/tags/1.30.2/classes/class-foosales.php
r2814597 r2814720 2140 2140 global $woocommerce_errors; 2141 2141 2142 if ( isset( $_POST['WooCommerceEventsPOSAttendeeDetails'] ) ) { // phpcs:ignore WordPress.Security.NonceVerification.Missing 2143 2144 $fooevents_pos_attendee_details = sanitize_text_field( wp_unslash( $_POST['WooCommerceEventsPOSAttendeeDetails'] ) ); // phpcs:ignore WordPress.Security.NonceVerification.Missing 2145 update_post_meta( $post_id, 'WooCommerceEventsPOSAttendeeDetails', $fooevents_pos_attendee_details ); 2146 2147 } 2148 2149 if ( isset( $_POST['WooCommerceEventsPOSAttendeeEmail'] ) ) { // phpcs:ignore WordPress.Security.NonceVerification.Missing 2150 2151 $fooevents_pos_attendee_email = sanitize_text_field( wp_unslash( $_POST['WooCommerceEventsPOSAttendeeEmail'] ) ); // phpcs:ignore WordPress.Security.NonceVerification.Missing 2152 update_post_meta( $post_id, 'WooCommerceEventsPOSAttendeeEmail', $fooevents_pos_attendee_email ); 2153 2154 } 2155 2156 if ( isset( $_POST['WooCommerceEventsPOSAttendeeTelephone'] ) ) { // phpcs:ignore WordPress.Security.NonceVerification.Missing 2157 2158 $fooevents_pos_attendee_telephone = sanitize_text_field( wp_unslash( $_POST['WooCommerceEventsPOSAttendeeTelephone'] ) ); // phpcs:ignore WordPress.Security.NonceVerification.Missing 2159 update_post_meta( $post_id, 'WooCommerceEventsPOSAttendeeTelephone', $fooevents_pos_attendee_telephone ); 2160 2161 } 2162 2163 if ( isset( $_POST['WooCommerceEventsPOSAttendeeCompany'] ) ) { // phpcs:ignore WordPress.Security.NonceVerification.Missing 2164 2165 $fooevents_pos_attendee_company = sanitize_text_field( wp_unslash( $_POST['WooCommerceEventsPOSAttendeeCompany'] ) ); // phpcs:ignore WordPress.Security.NonceVerification.Missing 2166 update_post_meta( $post_id, 'WooCommerceEventsPOSAttendeeCompany', $fooevents_pos_attendee_company ); 2167 2168 } 2169 2170 if ( isset( $_POST['WooCommerceEventsPOSAttendeeDesignation'] ) ) { // phpcs:ignore WordPress.Security.NonceVerification.Missing 2171 2172 $fooevents_pos_attendee_designation = sanitize_text_field( wp_unslash( $_POST['WooCommerceEventsPOSAttendeeDesignation'] ) ); // phpcs:ignore WordPress.Security.NonceVerification.Missing 2173 update_post_meta( $post_id, 'WooCommerceEventsPOSAttendeeDesignation', $fooevents_pos_attendee_designation ); 2174 2142 if ( isset( $_POST['_foosales_pos_settings_nonce'] ) && wp_verify_nonce( sanitize_text_field( wp_unslash( $_POST['_foosales_pos_settings_nonce'] ) ), '_foosales_save_pos_settings_' . $post_id ) ) { 2143 2144 if ( isset( $_POST['WooCommerceEventsPOSAttendeeDetails'] ) ) { 2145 2146 $fooevents_pos_attendee_details = sanitize_text_field( wp_unslash( $_POST['WooCommerceEventsPOSAttendeeDetails'] ) ); 2147 update_post_meta( $post_id, 'WooCommerceEventsPOSAttendeeDetails', $fooevents_pos_attendee_details ); 2148 2149 } 2150 2151 if ( isset( $_POST['WooCommerceEventsPOSAttendeeEmail'] ) ) { 2152 2153 $fooevents_pos_attendee_email = sanitize_text_field( wp_unslash( $_POST['WooCommerceEventsPOSAttendeeEmail'] ) ); 2154 update_post_meta( $post_id, 'WooCommerceEventsPOSAttendeeEmail', $fooevents_pos_attendee_email ); 2155 2156 } 2157 2158 if ( isset( $_POST['WooCommerceEventsPOSAttendeeTelephone'] ) ) { 2159 2160 $fooevents_pos_attendee_telephone = sanitize_text_field( wp_unslash( $_POST['WooCommerceEventsPOSAttendeeTelephone'] ) ); 2161 update_post_meta( $post_id, 'WooCommerceEventsPOSAttendeeTelephone', $fooevents_pos_attendee_telephone ); 2162 2163 } 2164 2165 if ( isset( $_POST['WooCommerceEventsPOSAttendeeCompany'] ) ) { 2166 2167 $fooevents_pos_attendee_company = sanitize_text_field( wp_unslash( $_POST['WooCommerceEventsPOSAttendeeCompany'] ) ); 2168 update_post_meta( $post_id, 'WooCommerceEventsPOSAttendeeCompany', $fooevents_pos_attendee_company ); 2169 2170 } 2171 2172 if ( isset( $_POST['WooCommerceEventsPOSAttendeeDesignation'] ) ) { 2173 2174 $fooevents_pos_attendee_designation = sanitize_text_field( wp_unslash( $_POST['WooCommerceEventsPOSAttendeeDesignation'] ) ); 2175 update_post_meta( $post_id, 'WooCommerceEventsPOSAttendeeDesignation', $fooevents_pos_attendee_designation ); 2176 2177 } 2175 2178 } 2176 2179 -
foosales/tags/1.30.2/templates/template-product-pos-settings.php
r2814597 r2814720 18 18 <?php 19 19 foreach ( $options as $option ) { 20 echo $option; // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped 20 echo wp_kses( 21 $option, 22 array( 23 'div' => array( 'class' => array() ), 24 'p' => array( 'class' => array() ), 25 'label' => array(), 26 'select' => array( 27 'name' => array(), 28 'id' => array(), 29 ), 30 'option' => array( 31 'value' => array(), 32 'selected' => array(), 33 ), 34 'img' => array( 35 'class' => array(), 36 'data-tip' => array(), 37 'src' => array(), 38 'height' => array(), 39 'width' => array(), 40 ), 41 ) 42 ); 21 43 } 22 44 ?> … … 25 47 } 26 48 } 49 50 wp_nonce_field( '_foosales_save_pos_settings_' . $post->ID, '_foosales_pos_settings_nonce' ); 27 51 ?> 28 52 </div> -
foosales/tags/1.30.2/vendor/stripe-php/lib/Refund.php
r2814597 r2814720 9 9 * been created but not yet refunded. Funds will be refunded to the credit or debit 10 10 * card that was originally charged. 11 * 12 * Stripe Tax users with recurring payments and invoices can create <a 13 * href="https://stripe.com/docs/api/credit_notes">Credit Notes</a>, which reduce 14 * overall tax liability because tax is correctly recalculated and apportioned to 15 * the related invoice. 11 16 * 12 17 * Related guide: <a href="https://stripe.com/docs/refunds">Refunds</a>. -
foosales/tags/1.30.2/vendor/stripe-php/lib/Service/Issuing/AuthorizationService.php
r2814597 r2814720 28 28 * should be made within the timeout window of the <a 29 29 * href="/docs/issuing/controls/real-time-authorizations">real-time 30 * authorization</a> flow. 30 * authorization</a> flow. You can also respond directly to the webhook request to 31 * approve an authorization (preferred). More details can be found <a 32 * href="https://site-admin.stripe.com/docs/issuing/controls/real-time-authorizations#authorization-handling">here</a>. 31 33 * 32 34 * @param string $id … … 47 49 * should be made within the timeout window of the <a 48 50 * href="/docs/issuing/controls/real-time-authorizations">real time 49 * authorization</a> flow. 51 * authorization</a> flow. You can also respond directly to the webhook request to 52 * decline an authorization (preferred). More details can be found <a 53 * href="https://site-admin.stripe.com/docs/issuing/controls/real-time-authorizations#authorization-handling">here</a>. 50 54 * 51 55 * @param string $id -
foosales/tags/1.30.2/vendor/stripe-php/lib/Stripe.php
r2814597 r2814720 59 59 private static $initialNetworkRetryDelay = 0.5; 60 60 61 const VERSION = '9. 8.0';61 const VERSION = '9.9.0'; 62 62 63 63 /** -
foosales/tags/1.30.2/vendor/stripe-php/lib/Subscription.php
r2814597 r2814720 40 40 * @property \FooSales\Stripe\StripeObject $metadata Set of <a href="https://stripe.com/docs/api/metadata">key-value pairs</a> that you can attach to an object. This can be useful for storing additional information about the object in a structured format. 41 41 * @property null|int $next_pending_invoice_item_invoice Specifies the approximate timestamp on which any pending invoice items will be billed according to the schedule provided at <code>pending_invoice_item_interval</code>. 42 * @property null|string|\FooSales\Stripe\Account $on_behalf_of The account (if any) the charge was made on behalf of for charges associated with this subscription. See the Connect documentation for details. 42 43 * @property null|\FooSales\Stripe\StripeObject $pause_collection If specified, payment collection for this subscription will be paused. 43 44 * @property null|\FooSales\Stripe\StripeObject $payment_settings Payment settings passed on to invoices created by the subscription. -
foosales/tags/1.30.2/vendor/stripe-php/lib/TaxId.php
r2814597 r2814720 19 19 * @property null|string|\FooSales\Stripe\Customer $customer ID of the customer. 20 20 * @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. 21 * @property string $type Type of the tax ID, one of <code>ae_trn</code>, <code>au_abn</code>, <code>au_arn</code>, <code>bg_uic</code>, <code>br_cnpj</code>, <code>br_cpf</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>ch_vat</code>, <code>cl_tin</code>, <code>e s_cif</code>, <code>eu_oss_vat</code>, <code>eu_vat</code>, <code>gb_vat</code>, <code>ge_vat</code>, <code>hk_br</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>kr_brn</code>, <code>li_uid</code>, <code>mx_rfc</code>, <code>my_frp</code>, <code>my_itn</code>, <code>my_sst</code>, <code>no_vat</code>, <code>nz_gst</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>th_vat</code>, <code>tw_vat</code>, <code>ua_vat</code>, <code>us_ein</code>, or <code>za_vat</code>. Note that some legacy tax IDs have type <code>unknown</code>21 * @property string $type Type of the tax ID, one of <code>ae_trn</code>, <code>au_abn</code>, <code>au_arn</code>, <code>bg_uic</code>, <code>br_cnpj</code>, <code>br_cpf</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>ch_vat</code>, <code>cl_tin</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>hk_br</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>kr_brn</code>, <code>li_uid</code>, <code>mx_rfc</code>, <code>my_frp</code>, <code>my_itn</code>, <code>my_sst</code>, <code>no_vat</code>, <code>nz_gst</code>, <code>ph_tin</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>th_vat</code>, <code>tr_tin</code>, <code>tw_vat</code>, <code>ua_vat</code>, <code>us_ein</code>, or <code>za_vat</code>. Note that some legacy tax IDs have type <code>unknown</code> 22 22 * @property string $value Value of the tax ID. 23 23 * @property null|\FooSales\Stripe\StripeObject $verification Tax ID verification information. … … 43 43 const TYPE_CH_VAT = 'ch_vat'; 44 44 const TYPE_CL_TIN = 'cl_tin'; 45 const TYPE_EG_TIN = 'eg_tin'; 45 46 const TYPE_ES_CIF = 'es_cif'; 46 47 const TYPE_EU_OSS_VAT = 'eu_oss_vat'; … … 66 67 const TYPE_NO_VAT = 'no_vat'; 67 68 const TYPE_NZ_GST = 'nz_gst'; 69 const TYPE_PH_TIN = 'ph_tin'; 68 70 const TYPE_RU_INN = 'ru_inn'; 69 71 const TYPE_RU_KPP = 'ru_kpp'; … … 73 75 const TYPE_SI_TIN = 'si_tin'; 74 76 const TYPE_TH_VAT = 'th_vat'; 77 const TYPE_TR_TIN = 'tr_tin'; 75 78 const TYPE_TW_VAT = 'tw_vat'; 76 79 const TYPE_UA_VAT = 'ua_vat'; -
foosales/trunk/classes/class-foosales.php
r2814597 r2814720 2140 2140 global $woocommerce_errors; 2141 2141 2142 if ( isset( $_POST['WooCommerceEventsPOSAttendeeDetails'] ) ) { // phpcs:ignore WordPress.Security.NonceVerification.Missing 2143 2144 $fooevents_pos_attendee_details = sanitize_text_field( wp_unslash( $_POST['WooCommerceEventsPOSAttendeeDetails'] ) ); // phpcs:ignore WordPress.Security.NonceVerification.Missing 2145 update_post_meta( $post_id, 'WooCommerceEventsPOSAttendeeDetails', $fooevents_pos_attendee_details ); 2146 2147 } 2148 2149 if ( isset( $_POST['WooCommerceEventsPOSAttendeeEmail'] ) ) { // phpcs:ignore WordPress.Security.NonceVerification.Missing 2150 2151 $fooevents_pos_attendee_email = sanitize_text_field( wp_unslash( $_POST['WooCommerceEventsPOSAttendeeEmail'] ) ); // phpcs:ignore WordPress.Security.NonceVerification.Missing 2152 update_post_meta( $post_id, 'WooCommerceEventsPOSAttendeeEmail', $fooevents_pos_attendee_email ); 2153 2154 } 2155 2156 if ( isset( $_POST['WooCommerceEventsPOSAttendeeTelephone'] ) ) { // phpcs:ignore WordPress.Security.NonceVerification.Missing 2157 2158 $fooevents_pos_attendee_telephone = sanitize_text_field( wp_unslash( $_POST['WooCommerceEventsPOSAttendeeTelephone'] ) ); // phpcs:ignore WordPress.Security.NonceVerification.Missing 2159 update_post_meta( $post_id, 'WooCommerceEventsPOSAttendeeTelephone', $fooevents_pos_attendee_telephone ); 2160 2161 } 2162 2163 if ( isset( $_POST['WooCommerceEventsPOSAttendeeCompany'] ) ) { // phpcs:ignore WordPress.Security.NonceVerification.Missing 2164 2165 $fooevents_pos_attendee_company = sanitize_text_field( wp_unslash( $_POST['WooCommerceEventsPOSAttendeeCompany'] ) ); // phpcs:ignore WordPress.Security.NonceVerification.Missing 2166 update_post_meta( $post_id, 'WooCommerceEventsPOSAttendeeCompany', $fooevents_pos_attendee_company ); 2167 2168 } 2169 2170 if ( isset( $_POST['WooCommerceEventsPOSAttendeeDesignation'] ) ) { // phpcs:ignore WordPress.Security.NonceVerification.Missing 2171 2172 $fooevents_pos_attendee_designation = sanitize_text_field( wp_unslash( $_POST['WooCommerceEventsPOSAttendeeDesignation'] ) ); // phpcs:ignore WordPress.Security.NonceVerification.Missing 2173 update_post_meta( $post_id, 'WooCommerceEventsPOSAttendeeDesignation', $fooevents_pos_attendee_designation ); 2174 2142 if ( isset( $_POST['_foosales_pos_settings_nonce'] ) && wp_verify_nonce( sanitize_text_field( wp_unslash( $_POST['_foosales_pos_settings_nonce'] ) ), '_foosales_save_pos_settings_' . $post_id ) ) { 2143 2144 if ( isset( $_POST['WooCommerceEventsPOSAttendeeDetails'] ) ) { 2145 2146 $fooevents_pos_attendee_details = sanitize_text_field( wp_unslash( $_POST['WooCommerceEventsPOSAttendeeDetails'] ) ); 2147 update_post_meta( $post_id, 'WooCommerceEventsPOSAttendeeDetails', $fooevents_pos_attendee_details ); 2148 2149 } 2150 2151 if ( isset( $_POST['WooCommerceEventsPOSAttendeeEmail'] ) ) { 2152 2153 $fooevents_pos_attendee_email = sanitize_text_field( wp_unslash( $_POST['WooCommerceEventsPOSAttendeeEmail'] ) ); 2154 update_post_meta( $post_id, 'WooCommerceEventsPOSAttendeeEmail', $fooevents_pos_attendee_email ); 2155 2156 } 2157 2158 if ( isset( $_POST['WooCommerceEventsPOSAttendeeTelephone'] ) ) { 2159 2160 $fooevents_pos_attendee_telephone = sanitize_text_field( wp_unslash( $_POST['WooCommerceEventsPOSAttendeeTelephone'] ) ); 2161 update_post_meta( $post_id, 'WooCommerceEventsPOSAttendeeTelephone', $fooevents_pos_attendee_telephone ); 2162 2163 } 2164 2165 if ( isset( $_POST['WooCommerceEventsPOSAttendeeCompany'] ) ) { 2166 2167 $fooevents_pos_attendee_company = sanitize_text_field( wp_unslash( $_POST['WooCommerceEventsPOSAttendeeCompany'] ) ); 2168 update_post_meta( $post_id, 'WooCommerceEventsPOSAttendeeCompany', $fooevents_pos_attendee_company ); 2169 2170 } 2171 2172 if ( isset( $_POST['WooCommerceEventsPOSAttendeeDesignation'] ) ) { 2173 2174 $fooevents_pos_attendee_designation = sanitize_text_field( wp_unslash( $_POST['WooCommerceEventsPOSAttendeeDesignation'] ) ); 2175 update_post_meta( $post_id, 'WooCommerceEventsPOSAttendeeDesignation', $fooevents_pos_attendee_designation ); 2176 2177 } 2175 2178 } 2176 2179 -
foosales/trunk/templates/template-product-pos-settings.php
r2814597 r2814720 18 18 <?php 19 19 foreach ( $options as $option ) { 20 echo $option; // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped 20 echo wp_kses( 21 $option, 22 array( 23 'div' => array( 'class' => array() ), 24 'p' => array( 'class' => array() ), 25 'label' => array(), 26 'select' => array( 27 'name' => array(), 28 'id' => array(), 29 ), 30 'option' => array( 31 'value' => array(), 32 'selected' => array(), 33 ), 34 'img' => array( 35 'class' => array(), 36 'data-tip' => array(), 37 'src' => array(), 38 'height' => array(), 39 'width' => array(), 40 ), 41 ) 42 ); 21 43 } 22 44 ?> … … 25 47 } 26 48 } 49 50 wp_nonce_field( '_foosales_save_pos_settings_' . $post->ID, '_foosales_pos_settings_nonce' ); 27 51 ?> 28 52 </div> -
foosales/trunk/vendor/stripe-php/lib/Refund.php
r2775729 r2814720 9 9 * been created but not yet refunded. Funds will be refunded to the credit or debit 10 10 * card that was originally charged. 11 * 12 * Stripe Tax users with recurring payments and invoices can create <a 13 * href="https://stripe.com/docs/api/credit_notes">Credit Notes</a>, which reduce 14 * overall tax liability because tax is correctly recalculated and apportioned to 15 * the related invoice. 11 16 * 12 17 * Related guide: <a href="https://stripe.com/docs/refunds">Refunds</a>. -
foosales/trunk/vendor/stripe-php/lib/Service/Issuing/AuthorizationService.php
r2687850 r2814720 28 28 * should be made within the timeout window of the <a 29 29 * href="/docs/issuing/controls/real-time-authorizations">real-time 30 * authorization</a> flow. 30 * authorization</a> flow. You can also respond directly to the webhook request to 31 * approve an authorization (preferred). More details can be found <a 32 * href="https://site-admin.stripe.com/docs/issuing/controls/real-time-authorizations#authorization-handling">here</a>. 31 33 * 32 34 * @param string $id … … 47 49 * should be made within the timeout window of the <a 48 50 * href="/docs/issuing/controls/real-time-authorizations">real time 49 * authorization</a> flow. 51 * authorization</a> flow. You can also respond directly to the webhook request to 52 * decline an authorization (preferred). More details can be found <a 53 * href="https://site-admin.stripe.com/docs/issuing/controls/real-time-authorizations#authorization-handling">here</a>. 50 54 * 51 55 * @param string $id -
foosales/trunk/vendor/stripe-php/lib/Stripe.php
r2814597 r2814720 59 59 private static $initialNetworkRetryDelay = 0.5; 60 60 61 const VERSION = '9. 8.0';61 const VERSION = '9.9.0'; 62 62 63 63 /** -
foosales/trunk/vendor/stripe-php/lib/Subscription.php
r2814597 r2814720 40 40 * @property \FooSales\Stripe\StripeObject $metadata Set of <a href="https://stripe.com/docs/api/metadata">key-value pairs</a> that you can attach to an object. This can be useful for storing additional information about the object in a structured format. 41 41 * @property null|int $next_pending_invoice_item_invoice Specifies the approximate timestamp on which any pending invoice items will be billed according to the schedule provided at <code>pending_invoice_item_interval</code>. 42 * @property null|string|\FooSales\Stripe\Account $on_behalf_of The account (if any) the charge was made on behalf of for charges associated with this subscription. See the Connect documentation for details. 42 43 * @property null|\FooSales\Stripe\StripeObject $pause_collection If specified, payment collection for this subscription will be paused. 43 44 * @property null|\FooSales\Stripe\StripeObject $payment_settings Payment settings passed on to invoices created by the subscription. -
foosales/trunk/vendor/stripe-php/lib/TaxId.php
r2814597 r2814720 19 19 * @property null|string|\FooSales\Stripe\Customer $customer ID of the customer. 20 20 * @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. 21 * @property string $type Type of the tax ID, one of <code>ae_trn</code>, <code>au_abn</code>, <code>au_arn</code>, <code>bg_uic</code>, <code>br_cnpj</code>, <code>br_cpf</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>ch_vat</code>, <code>cl_tin</code>, <code>e s_cif</code>, <code>eu_oss_vat</code>, <code>eu_vat</code>, <code>gb_vat</code>, <code>ge_vat</code>, <code>hk_br</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>kr_brn</code>, <code>li_uid</code>, <code>mx_rfc</code>, <code>my_frp</code>, <code>my_itn</code>, <code>my_sst</code>, <code>no_vat</code>, <code>nz_gst</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>th_vat</code>, <code>tw_vat</code>, <code>ua_vat</code>, <code>us_ein</code>, or <code>za_vat</code>. Note that some legacy tax IDs have type <code>unknown</code>21 * @property string $type Type of the tax ID, one of <code>ae_trn</code>, <code>au_abn</code>, <code>au_arn</code>, <code>bg_uic</code>, <code>br_cnpj</code>, <code>br_cpf</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>ch_vat</code>, <code>cl_tin</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>hk_br</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>kr_brn</code>, <code>li_uid</code>, <code>mx_rfc</code>, <code>my_frp</code>, <code>my_itn</code>, <code>my_sst</code>, <code>no_vat</code>, <code>nz_gst</code>, <code>ph_tin</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>th_vat</code>, <code>tr_tin</code>, <code>tw_vat</code>, <code>ua_vat</code>, <code>us_ein</code>, or <code>za_vat</code>. Note that some legacy tax IDs have type <code>unknown</code> 22 22 * @property string $value Value of the tax ID. 23 23 * @property null|\FooSales\Stripe\StripeObject $verification Tax ID verification information. … … 43 43 const TYPE_CH_VAT = 'ch_vat'; 44 44 const TYPE_CL_TIN = 'cl_tin'; 45 const TYPE_EG_TIN = 'eg_tin'; 45 46 const TYPE_ES_CIF = 'es_cif'; 46 47 const TYPE_EU_OSS_VAT = 'eu_oss_vat'; … … 66 67 const TYPE_NO_VAT = 'no_vat'; 67 68 const TYPE_NZ_GST = 'nz_gst'; 69 const TYPE_PH_TIN = 'ph_tin'; 68 70 const TYPE_RU_INN = 'ru_inn'; 69 71 const TYPE_RU_KPP = 'ru_kpp'; … … 73 75 const TYPE_SI_TIN = 'si_tin'; 74 76 const TYPE_TH_VAT = 'th_vat'; 77 const TYPE_TR_TIN = 'tr_tin'; 75 78 const TYPE_TW_VAT = 'tw_vat'; 76 79 const TYPE_UA_VAT = 'ua_vat';
Note: See TracChangeset
for help on using the changeset viewer.