Plugin Directory

Changeset 2814720


Ignore:
Timestamp:
11/08/2022 10:36:21 PM (3 years ago)
Author:
foosales
Message:

Release 1.30.2 updates

Location:
foosales
Files:
14 edited

Legend:

Unmodified
Added
Removed
  • foosales/tags/1.30.2/classes/class-foosales.php

    r2814597 r2814720  
    21402140        global $woocommerce_errors;
    21412141
    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            }
    21752178        }
    21762179
  • foosales/tags/1.30.2/templates/template-product-pos-settings.php

    r2814597 r2814720  
    1818            <?php
    1919            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                );
    2143            }
    2244            ?>
     
    2547        }
    2648    }
     49
     50    wp_nonce_field( '_foosales_save_pos_settings_' . $post->ID, '_foosales_pos_settings_nonce' );
    2751    ?>
    2852</div>
  • foosales/tags/1.30.2/vendor/stripe-php/lib/Refund.php

    r2814597 r2814720  
    99 * been created but not yet refunded. Funds will be refunded to the credit or debit
    1010 * 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.
    1116 *
    1217 * 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  
    2828     * should be made within the timeout window of the <a
    2929     * 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>.
    3133     *
    3234     * @param string $id
     
    4749     * should be made within the timeout window of the <a
    4850     * 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>.
    5054     *
    5155     * @param string $id
  • foosales/tags/1.30.2/vendor/stripe-php/lib/Stripe.php

    r2814597 r2814720  
    5959    private static $initialNetworkRetryDelay = 0.5;
    6060
    61     const VERSION = '9.8.0';
     61    const VERSION = '9.9.0';
    6262
    6363    /**
  • foosales/tags/1.30.2/vendor/stripe-php/lib/Subscription.php

    r2814597 r2814720  
    4040 * @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.
    4141 * @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.
    4243 * @property null|\FooSales\Stripe\StripeObject $pause_collection If specified, payment collection for this subscription will be paused.
    4344 * @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  
    1919 * @property null|string|\FooSales\Stripe\Customer $customer ID of the customer.
    2020 * @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>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>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>
    2222 * @property string $value Value of the tax ID.
    2323 * @property null|\FooSales\Stripe\StripeObject $verification Tax ID verification information.
     
    4343    const TYPE_CH_VAT = 'ch_vat';
    4444    const TYPE_CL_TIN = 'cl_tin';
     45    const TYPE_EG_TIN = 'eg_tin';
    4546    const TYPE_ES_CIF = 'es_cif';
    4647    const TYPE_EU_OSS_VAT = 'eu_oss_vat';
     
    6667    const TYPE_NO_VAT = 'no_vat';
    6768    const TYPE_NZ_GST = 'nz_gst';
     69    const TYPE_PH_TIN = 'ph_tin';
    6870    const TYPE_RU_INN = 'ru_inn';
    6971    const TYPE_RU_KPP = 'ru_kpp';
     
    7375    const TYPE_SI_TIN = 'si_tin';
    7476    const TYPE_TH_VAT = 'th_vat';
     77    const TYPE_TR_TIN = 'tr_tin';
    7578    const TYPE_TW_VAT = 'tw_vat';
    7679    const TYPE_UA_VAT = 'ua_vat';
  • foosales/trunk/classes/class-foosales.php

    r2814597 r2814720  
    21402140        global $woocommerce_errors;
    21412141
    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            }
    21752178        }
    21762179
  • foosales/trunk/templates/template-product-pos-settings.php

    r2814597 r2814720  
    1818            <?php
    1919            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                );
    2143            }
    2244            ?>
     
    2547        }
    2648    }
     49
     50    wp_nonce_field( '_foosales_save_pos_settings_' . $post->ID, '_foosales_pos_settings_nonce' );
    2751    ?>
    2852</div>
  • foosales/trunk/vendor/stripe-php/lib/Refund.php

    r2775729 r2814720  
    99 * been created but not yet refunded. Funds will be refunded to the credit or debit
    1010 * 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.
    1116 *
    1217 * Related guide: <a href="https://stripe.com/docs/refunds">Refunds</a>.
  • foosales/trunk/vendor/stripe-php/lib/Service/Issuing/AuthorizationService.php

    r2687850 r2814720  
    2828     * should be made within the timeout window of the <a
    2929     * 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>.
    3133     *
    3234     * @param string $id
     
    4749     * should be made within the timeout window of the <a
    4850     * 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>.
    5054     *
    5155     * @param string $id
  • foosales/trunk/vendor/stripe-php/lib/Stripe.php

    r2814597 r2814720  
    5959    private static $initialNetworkRetryDelay = 0.5;
    6060
    61     const VERSION = '9.8.0';
     61    const VERSION = '9.9.0';
    6262
    6363    /**
  • foosales/trunk/vendor/stripe-php/lib/Subscription.php

    r2814597 r2814720  
    4040 * @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.
    4141 * @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.
    4243 * @property null|\FooSales\Stripe\StripeObject $pause_collection If specified, payment collection for this subscription will be paused.
    4344 * @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  
    1919 * @property null|string|\FooSales\Stripe\Customer $customer ID of the customer.
    2020 * @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>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>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>
    2222 * @property string $value Value of the tax ID.
    2323 * @property null|\FooSales\Stripe\StripeObject $verification Tax ID verification information.
     
    4343    const TYPE_CH_VAT = 'ch_vat';
    4444    const TYPE_CL_TIN = 'cl_tin';
     45    const TYPE_EG_TIN = 'eg_tin';
    4546    const TYPE_ES_CIF = 'es_cif';
    4647    const TYPE_EU_OSS_VAT = 'eu_oss_vat';
     
    6667    const TYPE_NO_VAT = 'no_vat';
    6768    const TYPE_NZ_GST = 'nz_gst';
     69    const TYPE_PH_TIN = 'ph_tin';
    6870    const TYPE_RU_INN = 'ru_inn';
    6971    const TYPE_RU_KPP = 'ru_kpp';
     
    7375    const TYPE_SI_TIN = 'si_tin';
    7476    const TYPE_TH_VAT = 'th_vat';
     77    const TYPE_TR_TIN = 'tr_tin';
    7578    const TYPE_TW_VAT = 'tw_vat';
    7679    const TYPE_UA_VAT = 'ua_vat';
Note: See TracChangeset for help on using the changeset viewer.