Edit File by line

Deprecated: str_replace(): Passing null to parameter #2 ($replace) of type array|string is deprecated in /home/sportsfever/public_html/filemanger/function.php on line 93
/home/sportsfe.../httpdocs/wp-conte.../plugins/wpforms-.../vendor_p.../stripe/stripe-p.../lib
File: Token.php
<?php
[0] Fix | Delete
[1] Fix | Delete
// File generated from our OpenAPI spec
[2] Fix | Delete
namespace WPForms\Vendor\Stripe;
[3] Fix | Delete
[4] Fix | Delete
/**
[5] Fix | Delete
* Tokenization is the process Stripe uses to collect sensitive card or bank
[6] Fix | Delete
* account details, or personally identifiable information (PII), directly from
[7] Fix | Delete
* your customers in a secure manner. A token representing this information is
[8] Fix | Delete
* returned to your server to use. Use our
[9] Fix | Delete
* <a href="https://stripe.com/docs/payments">recommended payments integrations</a> to perform this process
[10] Fix | Delete
* on the client-side. This guarantees that no sensitive card data touches your server,
[11] Fix | Delete
* and allows your integration to operate in a PCI-compliant way.
[12] Fix | Delete
*
[13] Fix | Delete
* If you can't use client-side tokenization, you can also create tokens using
[14] Fix | Delete
* the API with either your publishable or secret API key. If
[15] Fix | Delete
* your integration uses this method, you're responsible for any PCI compliance
[16] Fix | Delete
* that it might require, and you must keep your secret API key safe. Unlike with
[17] Fix | Delete
* client-side tokenization, your customer's information isn't sent directly to
[18] Fix | Delete
* Stripe, so we can't determine how it's handled or stored.
[19] Fix | Delete
*
[20] Fix | Delete
* You can't store or use tokens more than once. To store card or bank account
[21] Fix | Delete
* information for later use, create <a href="https://stripe.com/docs/api#customers">Customer</a>
[22] Fix | Delete
* objects or <a href="https://stripe.com/docs/api#external_accounts">Custom accounts</a>.
[23] Fix | Delete
* <a href="https://stripe.com/docs/radar">Radar</a>, our integrated solution for automatic fraud protection,
[24] Fix | Delete
* performs best with integrations that use client-side tokenization.
[25] Fix | Delete
*
[26] Fix | Delete
* @property string $id Unique identifier for the object.
[27] Fix | Delete
* @property string $object String representing the object's type. Objects of the same type share the same value.
[28] Fix | Delete
* @property null|\Stripe\BankAccount $bank_account <p>These bank accounts are payment methods on <code>Customer</code> objects.</p><p>On the other hand <a href="https://stripe.com/docs/api#external_accounts">External Accounts</a> are transfer destinations on <code>Account</code> objects for <a href="https://stripe.com/docs/connect/custom-accounts">Custom accounts</a>. They can be bank accounts or debit cards as well, and are documented in the links above.</p><p>Related guide: <a href="https://stripe.com/docs/payments/bank-debits-transfers">Bank debits and transfers</a></p>
[29] Fix | Delete
* @property null|\Stripe\Card $card <p>You can store multiple cards on a customer in order to charge the customer later. You can also store multiple debit cards on a recipient in order to transfer to those cards later.</p><p>Related guide: <a href="https://stripe.com/docs/sources/cards">Card payments with Sources</a></p>
[30] Fix | Delete
* @property null|string $client_ip IP address of the client that generates the token.
[31] Fix | Delete
* @property int $created Time at which the object was created. Measured in seconds since the Unix epoch.
[32] Fix | Delete
* @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.
[33] Fix | Delete
* @property string $type Type of the token: <code>account</code>, <code>bank_account</code>, <code>card</code>, or <code>pii</code>.
[34] Fix | Delete
* @property bool $used Determines if you have already used this token (you can only use tokens once).
[35] Fix | Delete
*/
[36] Fix | Delete
class Token extends ApiResource
[37] Fix | Delete
{
[38] Fix | Delete
const OBJECT_NAME = 'token';
[39] Fix | Delete
use ApiOperations\Create;
[40] Fix | Delete
use ApiOperations\Retrieve;
[41] Fix | Delete
const TYPE_ACCOUNT = 'account';
[42] Fix | Delete
const TYPE_BANK_ACCOUNT = 'bank_account';
[43] Fix | Delete
const TYPE_CARD = 'card';
[44] Fix | Delete
const TYPE_PII = 'pii';
[45] Fix | Delete
}
[46] Fix | Delete
[47] Fix | Delete
It is recommended that you Edit text format, this type of Fix handles quite a lot in one request
Function