PATH:
home
/
letacommog
/
rdvenunclick.fr1
/
wp-content
/
plugins
/
dokan-pro
/
vendor
/
stripe
/
stripe-php
/
lib
<?php namespace Stripe; /** * Class Charge * * @property string $id * @property string $object * @property int $amount * @property int $amount_refunded * @property string $application * @property string $application_fee * @property int $application_fee_amount * @property string $balance_transaction * @property mixed $billing_details * @property bool $captured * @property int $created * @property string $currency * @property string $customer * @property string $description * @property string $destination * @property string $dispute * @property string $failure_code * @property string $failure_message * @property mixed $fraud_details * @property string $invoice * @property bool $livemode * @property StripeObject $metadata * @property string $on_behalf_of * @property string $order * @property mixed $outcome * @property bool $paid * @property string $payment_intent * @property string $payment_method * @property mixed $payment_method_details * @property string $receipt_email * @property string $receipt_number * @property string $receipt_url * @property bool $refunded * @property Collection $refunds * @property string $review * @property mixed $shipping * @property mixed $source * @property string $source_transfer * @property string $statement_descriptor * @property string $status * @property string $transfer * @property mixed $transfer_data * @property string $transfer_group * * @package Stripe */ class Charge extends ApiResource { const OBJECT_NAME = "charge"; use ApiOperations\All; use ApiOperations\Create; use ApiOperations\Retrieve; use ApiOperations\Update; /** * Possible string representations of decline codes. * These strings are applicable to the decline_code property of the \Stripe\Exception\CardException exception. * @link https://stripe.com/docs/declines/codes */ const DECLINED_AUTHENTICATION_REQUIRED = 'authentication_required'; const DECLINED_APPROVE_WITH_ID = 'approve_with_id'; const DECLINED_CALL_ISSUER = 'call_issuer'; const DECLINED_CARD_NOT_SUPPORTED = 'card_not_supported'; const DECLINED_CARD_VELOCITY_EXCEEDED = 'card_velocity_exceeded'; const DECLINED_CURRENCY_NOT_SUPPORTED = 'currency_not_supported'; const DECLINED_DO_NOT_HONOR = 'do_not_honor'; const DECLINED_DO_NOT_TRY_AGAIN = 'do_not_try_again'; const DECLINED_DUPLICATED_TRANSACTION = 'duplicate_transaction'; const DECLINED_EXPIRED_CARD = 'expired_card'; const DECLINED_FRAUDULENT = 'fraudulent'; const DECLINED_GENERIC_DECLINE = 'generic_decline'; const DECLINED_INCORRECT_NUMBER = 'incorrect_number'; const DECLINED_INCORRECT_CVC = 'incorrect_cvc'; const DECLINED_INCORRECT_PIN = 'incorrect_pin'; const DECLINED_INCORRECT_ZIP = 'incorrect_zip'; const DECLINED_INSUFFICIENT_FUNDS = 'insufficient_funds'; const DECLINED_INVALID_ACCOUNT = 'invalid_account'; const DECLINED_INVALID_AMOUNT = 'invalid_amount'; const DECLINED_INVALID_CVC = 'invalid_cvc'; const DECLINED_INVALID_EXPIRY_YEAR = 'invalid_expiry_year'; const DECLINED_INVALID_NUMBER = 'invalid_number'; const DECLINED_INVALID_PIN = 'invalid_pin'; const DECLINED_ISSUER_NOT_AVAILABLE = 'issuer_not_available'; const DECLINED_LOST_CARD = 'lost_card'; const DECLINED_MERCHANT_BLACKLIST = 'merchant_blacklist'; const DECLINED_NEW_ACCOUNT_INFORMATION_AVAILABLE = 'new_account_information_available'; const DECLINED_NO_ACTION_TAKEN = 'no_action_taken'; const DECLINED_NOT_PERMITTED = 'not_permitted'; const DECLINED_OFFLINE_PIN_REQUIRED = 'offline_pin_required'; const DECLINED_ONLINE_OR_OFFLINE_PIN_REQUIRED = 'online_or_offline_pin_required'; const DECLINED_PICKUP_CARD = 'pickup_card'; const DECLINED_PIN_TRY_EXCEEDED = 'pin_try_exceeded'; const DECLINED_PROCESSING_ERROR = 'processing_error'; const DECLINED_REENTER_TRANSACTION = 'reenter_transaction'; const DECLINED_RESTRICTED_CARD = 'restricted_card'; const DECLINED_REVOCATION_OF_ALL_AUTHORIZATIONS = 'revocation_of_all_authorizations'; const DECLINED_REVOCATION_OF_AUTHORIZATION = 'revocation_of_authorization'; const DECLINED_SECURITY_VIOLATION = 'security_violation'; const DECLINED_SERVICE_NOT_ALLOWED = 'service_not_allowed'; const DECLINED_STOLEN_CARD = 'stolen_card'; const DECLINED_STOP_PAYMENT_ORDER = 'stop_payment_order'; const DECLINED_TESTMODE_DECLINE = 'testmode_decline'; const DECLINED_TRANSACTION_NOT_ALLOWED = 'transaction_not_allowed'; const DECLINED_TRY_AGAIN_LATER = 'try_again_later'; const DECLINED_WITHDRAWAL_COUNT_LIMIT_EXCEEDED = 'withdrawal_count_limit_exceeded'; /** * Possible string representations of the status of the charge. * @link https://stripe.com/docs/api/charges/object#charge_object-status */ const STATUS_FAILED = 'failed'; const STATUS_PENDING = 'pending'; const STATUS_SUCCEEDED = 'succeeded'; /** * @param array|null $params * @param array|string|null $options * * @throws \Stripe\Exception\ApiErrorException if the request fails * * @return Charge The captured charge. */ public function capture($params = null, $options = null) { $url = $this->instanceUrl() . '/capture'; list($response, $opts) = $this->_request('post', $url, $params, $options); $this->refreshFrom($response, $opts); return $this; } }
[+]
..
[-] OAuth.php
[edit]
[-] Payout.php
[edit]
[-] TransferReversal.php
[edit]
[-] Person.php
[edit]
[+]
Radar
[-] Refund.php
[edit]
[-] OAuthErrorObject.php
[edit]
[+]
Sigma
[+]
Terminal
[-] OrderItem.php
[edit]
[-] File.php
[edit]
[-] Transfer.php
[edit]
[+]
Issuing
[-] AccountLink.php
[edit]
[-] Token.php
[edit]
[-] Event.php
[edit]
[-] BitcoinReceiver.php
[edit]
[-] Charge.php
[edit]
[-] Webhook.php
[edit]
[-] ErrorObject.php
[edit]
[-] Source.php
[edit]
[-] AlipayAccount.php
[edit]
[-] StripeObject.php
[edit]
[-] RequestTelemetry.php
[edit]
[-] EphemeralKey.php
[edit]
[-] PaymentIntent.php
[edit]
[-] Product.php
[edit]
[+]
Reporting
[-] BalanceTransaction.php
[edit]
[-] CustomerBalanceTransaction.php
[edit]
[-] ExchangeRate.php
[edit]
[-] Order.php
[edit]
[-] Customer.php
[edit]
[-] Invoice.php
[edit]
[+]
Util
[-] Collection.php
[edit]
[-] TaxId.php
[edit]
[-] ApiRequestor.php
[edit]
[-] TaxRate.php
[edit]
[-] Recipient.php
[edit]
[-] FileLink.php
[edit]
[-] BankAccount.php
[edit]
[-] SKU.php
[edit]
[-] Dispute.php
[edit]
[-] Capability.php
[edit]
[-] InvoiceItem.php
[edit]
[-] ApplicationFee.php
[edit]
[-] Plan.php
[edit]
[-] ApplePayDomain.php
[edit]
[-] BitcoinTransaction.php
[edit]
[-] CreditNote.php
[edit]
[-] Subscription.php
[edit]
[-] ApiResponse.php
[edit]
[-] SubscriptionItem.php
[edit]
[+]
Checkout
[-] Topup.php
[edit]
[-] Stripe.php
[edit]
[-] Coupon.php
[edit]
[-] OrderReturn.php
[edit]
[-] SubscriptionSchedule.php
[edit]
[-] UsageRecordSummary.php
[edit]
[+]
ApiOperations
[-] SingletonApiResource.php
[edit]
[+]
HttpClient
[-] ApplicationFeeRefund.php
[edit]
[-] CountrySpec.php
[edit]
[-] LoginLink.php
[edit]
[-] PaymentMethod.php
[edit]
[-] Balance.php
[edit]
[-] WebhookEndpoint.php
[edit]
[-] RecipientTransfer.php
[edit]
[-] UsageRecord.php
[edit]
[-] ApiResource.php
[edit]
[-] InvoiceLineItem.php
[edit]
[-] Account.php
[edit]
[+]
Exception
[-] WebhookSignature.php
[edit]
[-] Card.php
[edit]
[-] Review.php
[edit]
[-] SetupIntent.php
[edit]
[-] SourceTransaction.php
[edit]
[-] ThreeDSecure.php
[edit]
[-] Discount.php
[edit]