/home/techb158/dev.balacoffee.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/dev.balacoffee.com/vendor/stripe/stripe-php/lib/File.php (3897B)
create file request (for * example, when uploading dispute evidence) or it may have been created by Stripe * (for example, the results of a Sigma scheduled * query). * * Related guide: File Upload * Guide. * * @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 int $created Time at which the object was created. Measured in seconds since the Unix epoch. * @property null|int $expires_at The time at which the file expires and is no longer available in epoch seconds. * @property null|string $filename A filename for the file, suitable for saving to a filesystem. * @property null|\Stripe\Collection<\Stripe\FileLink> $links A list of file links that point at this file. * @property string $purpose The purpose of the uploaded file. * @property int $size The size in bytes of the file object. * @property null|string $title A user friendly title for the document. * @property null|string $type The type of the file returned (e.g., csv, pdf, jpg, or png). * @property null|string $url The URL from which the file can be downloaded using your live secret API key. */ class File extends ApiResource { const OBJECT_NAME = 'file'; use ApiOperations\All; use ApiOperations\Retrieve; const PURPOSE_ACCOUNT_REQUIREMENT = 'account_requirement'; const PURPOSE_ADDITIONAL_VERIFICATION = 'additional_verification'; const PURPOSE_BUSINESS_ICON = 'business_icon'; const PURPOSE_BUSINESS_LOGO = 'business_logo'; const PURPOSE_CUSTOMER_SIGNATURE = 'customer_signature'; const PURPOSE_DISPUTE_EVIDENCE = 'dispute_evidence'; const PURPOSE_DOCUMENT_PROVIDER_IDENTITY_DOCUMENT = 'document_provider_identity_document'; const PURPOSE_FINANCE_REPORT_RUN = 'finance_report_run'; const PURPOSE_IDENTITY_DOCUMENT = 'identity_document'; const PURPOSE_IDENTITY_DOCUMENT_DOWNLOADABLE = 'identity_document_downloadable'; const PURPOSE_PCI_DOCUMENT = 'pci_document'; const PURPOSE_SELFIE = 'selfie'; const PURPOSE_SIGMA_SCHEDULED_QUERY = 'sigma_scheduled_query'; const PURPOSE_TAX_DOCUMENT_USER_UPLOAD = 'tax_document_user_upload'; // This resource can have two different object names. In latter API // versions, only `file` is used, but since stripe-php may be used with // any API version, we need to support deserializing the older // `file_upload` object into the same class. const OBJECT_NAME_ALT = 'file_upload'; use ApiOperations\Create { create as protected _create; } public static function classUrl() { return '/v1/files'; } /** * @param null|array $params * @param null|array|string $opts * * @throws \Stripe\Exception\ApiErrorException if the request fails * * @return \Stripe\File the created file */ public static function create($params = null, $opts = null) { $opts = \Stripe\Util\RequestOptions::parse($opts); if (null === $opts->apiBase) { $opts->apiBase = Stripe::$apiUploadBase; } // Manually flatten params, otherwise curl's multipart encoder will // choke on nested arrays. $flatParams = \array_column(\Stripe\Util\Util::flattenParams($params), 1, 0); return static::_create($flatParams, $opts); } }