/home/techb158/ileadtechnology.com/vendor/stripe/stripe-php/lib
NameSizeModeActions
ApiOperations/-0755rm
BillingPortal/-0755rm
Checkout/-0755rm
Exception/-0755rm
FinancialConnections/-0755rm
HttpClient/-0755rm
Identity/-0755rm
Issuing/-0755rm
Radar/-0755rm
Reporting/-0755rm
Service/-0755rm
Sigma/-0755rm
Terminal/-0755rm
TestHelpers/-0755rm
Util/-0755rm
Account.php170250644editdlrm
AccountLink.php8300644editdlrm
AlipayAccount.php23860644editdlrm
ApiRequestor.php191410644editdlrm
ApiResource.php34900644editdlrm
ApiResponse.php7120644editdlrm
ApplePayDomain.php10160644editdlrm
ApplicationFee.php42550644editdlrm
ApplicationFeeRefund.php25030644editdlrm
Balance.php23620644editdlrm
BalanceTransaction.php56740644editdlrm
BankAccount.php72980644editdlrm
BaseStripeClient.php114360644editdlrm
BaseStripeClientInterface.php9900644editdlrm
BitcoinReceiver.php42630644editdlrm
BitcoinTransaction.php8850644editdlrm
Capability.php29920644editdlrm
Card.php87540644editdlrm
CashBalance.php23580644editdlrm
Charge.php132200644editdlrm
Collection.php84700644editdlrm
CountrySpec.php17840644editdlrm
Coupon.php29910644editdlrm
CreditNote.php58370644editdlrm
CreditNoteLineItem.php18970644editdlrm
Customer.php158940644editdlrm
CustomerBalanceTransaction.php53360644editdlrm
Discount.php15700644editdlrm
Dispute.php51950644editdlrm
EphemeralKey.php15860644editdlrm
ErrorObject.php87900644editdlrm
Event.php154790644editdlrm
ExchangeRate.php14460644editdlrm
File.php38970644editdlrm
FileLink.php14860644editdlrm
FundingInstructions.php14130644editdlrm
Invoice.php206140644editdlrm
InvoiceItem.php38760644editdlrm
InvoiceLineItem.php30110644editdlrm
LineItem.php11920644editdlrm
LoginLink.php4260644editdlrm
Mandate.php11040644editdlrm
OAuth.php33930644editdlrm
OAuthErrorObject.php8610644editdlrm
Order.php52600644editdlrm
OrderItem.php3330644editdlrm
OrderReturn.php16890644editdlrm
PaymentIntent.php139990644editdlrm
PaymentLink.php44450644editdlrm
PaymentMethod.php40470644editdlrm
Payout.php68470644editdlrm
Person.php58320644editdlrm
Plan.php56890644editdlrm
Price.php57400644editdlrm
Product.php47570644editdlrm
PromotionCode.php22530644editdlrm
Quote.php90050644editdlrm
Recipient.php27730644editdlrm
RecipientTransfer.php9180644editdlrm
Refund.php48530644editdlrm
RequestTelemetry.php5390644editdlrm
Review.php34250644editdlrm
SearchResult.php65150644editdlrm
SetupAttempt.php24490644editdlrm
SetupIntent.php77290644editdlrm
ShippingRate.php23910644editdlrm
SingletonApiResource.php9590644editdlrm
SKU.php27860644editdlrm
Source.php85730644editdlrm
SourceTransaction.php4080644editdlrm
Stripe.php72210644editdlrm
StripeClient.php40590644editdlrm
StripeClientInterface.php5860644editdlrm
StripeObject.php190290644editdlrm
StripeStreamingClientInterface.php2380644editdlrm
Subscription.php121540644editdlrm
SubscriptionItem.php56410644editdlrm
SubscriptionSchedule.php41660644editdlrm
TaxCode.php6680644editdlrm
TaxId.php52980644editdlrm
TaxRate.php30080644editdlrm
ThreeDSecure.php26060644editdlrm
Token.php36290644editdlrm
Topup.php40030644editdlrm
Transfer.php63810644editdlrm
TransferReversal.php33230644editdlrm
UsageRecord.php9800644editdlrm
UsageRecordSummary.php8120644editdlrm
Webhook.php15150644editdlrm
WebhookEndpoint.php23110644editdlrm
WebhookSignature.php43770644editdlrm
Edit: /home/techb158/ileadtechnology.com/vendor/stripe/stripe-php/lib/BankAccount.php (7298B)
Customer objects. * * On the other hand External Accounts are * transfer destinations on Account objects for Custom accounts. They * can be bank accounts or debit cards as well, and are documented in the links * above. * * Related guide: Bank Debits and * Transfers. * * @property string $id Unique identifier for the object. * @property string $object String representing the object's type. Objects of the same type share the same value. * @property null|string|\Stripe\Account $account The ID of the account that the bank account is associated with. * @property null|string $account_holder_name The name of the person or business that owns the bank account. * @property null|string $account_holder_type The type of entity that holds the account. This can be either individual or company. * @property null|string $account_type The bank account type. This can only be checking or savings in most countries. In Japan, this can only be futsu or toza. * @property null|string[] $available_payout_methods A set of available payout methods for this bank account. Only values from this set should be passed as the method when creating a payout. * @property null|string $bank_name Name of the bank associated with the routing number (e.g., WELLS FARGO). * @property string $country Two-letter ISO code representing the country the bank account is located in. * @property string $currency Three-letter ISO code for the currency paid out to the bank account. * @property null|string|\Stripe\Customer $customer The ID of the customer that the bank account is associated with. * @property null|bool $default_for_currency Whether this bank account is the default external account for its currency. * @property null|string $fingerprint Uniquely identifies this particular bank account. You can use this attribute to check whether two bank accounts are the same. * @property string $last4 The last four digits of the bank account number. * @property null|\Stripe\StripeObject $metadata Set of key-value pairs that you can attach to an object. This can be useful for storing additional information about the object in a structured format. * @property null|string $routing_number The routing transit number for the bank account. * @property string $status

For bank accounts, possible values are new, validated, verified, verification_failed, or errored. A bank account that hasn't had any activity or validation performed is new. If Stripe can determine that the bank account exists, its status will be validated. Note that there often isn’t enough information to know (e.g., for smaller credit unions), and the validation is not always run. If customer bank account verification has succeeded, the bank account status will be verified. If the verification failed for any reason, such as microdeposit failure, the status will be verification_failed. If a transfer sent to this bank account fails, we'll set the status to errored and will not continue to send transfers until the bank details are updated.

For external accounts, possible values are new and errored. Validations aren't run against external accounts because they're only used for payouts. This means the other statuses don't apply. If a transfer fails, the status is set to errored and transfers are stopped until account details are updated.

*/ class BankAccount extends ApiResource { const OBJECT_NAME = 'bank_account'; use ApiOperations\Delete; use ApiOperations\Update; /** * Possible string representations of the bank verification status. * * @see https://stripe.com/docs/api/external_account_bank_accounts/object#account_bank_account_object-status */ const STATUS_NEW = 'new'; const STATUS_VALIDATED = 'validated'; const STATUS_VERIFIED = 'verified'; const STATUS_VERIFICATION_FAILED = 'verification_failed'; const STATUS_ERRORED = 'errored'; /** * @return string The instance URL for this resource. It needs to be special * cased because it doesn't fit into the standard resource pattern. */ public function instanceUrl() { if ($this['customer']) { $base = Customer::classUrl(); $parent = $this['customer']; $path = 'sources'; } elseif ($this['account']) { $base = Account::classUrl(); $parent = $this['account']; $path = 'external_accounts'; } else { $msg = 'Bank accounts cannot be accessed without a customer ID or account ID.'; throw new Exception\UnexpectedValueException($msg, null); } $parentExtn = \urlencode(Util\Util::utf8($parent)); $extn = \urlencode(Util\Util::utf8($this['id'])); return "{$base}/{$parentExtn}/{$path}/{$extn}"; } /** * @param array|string $_id * @param null|array|string $_opts * * @throws \Stripe\Exception\BadMethodCallException */ public static function retrieve($_id, $_opts = null) { $msg = 'Bank accounts cannot be retrieved without a customer ID or ' . 'an account ID. Retrieve a bank account using ' . "`Customer::retrieveSource('customer_id', " . "'bank_account_id')` or `Account::retrieveExternalAccount(" . "'account_id', 'bank_account_id')`."; throw new Exception\BadMethodCallException($msg); } /** * @param string $_id * @param null|array $_params * @param null|array|string $_options * * @throws \Stripe\Exception\BadMethodCallException */ public static function update($_id, $_params = null, $_options = null) { $msg = 'Bank accounts cannot be updated without a customer ID or an ' . 'account ID. Update a bank account using ' . "`Customer::updateSource('customer_id', 'bank_account_id', " . '$updateParams)` or `Account::updateExternalAccount(' . "'account_id', 'bank_account_id', \$updateParams)`."; throw new Exception\BadMethodCallException($msg); } /** * @param null|array $params * @param null|array|string $opts * * @throws \Stripe\Exception\ApiErrorException if the request fails * * @return BankAccount the verified bank account */ public function verify($params = null, $opts = null) { $url = $this->instanceUrl() . '/verify'; list($response, $opts) = $this->_request('post', $url, $params, $opts); $this->refreshFrom($response, $opts); return $this; } }