StripeClient

Gateway class that abstracts all API calls to Stripe.

Tags
since
4.0.0
author

Payment Plugins

Table of Contents

Properties

$accountLinks  : AccountLinkService
$accounts  : AccountService
$accountSessions  : AccountSessionService
$applePayDomains  : ApplePayDomainService
$applicationFees  : ApplicationFeeService
$balance  : BalanceService
$balanceTransactions  : BalanceTransactionService
$billingPortal  : BillingPortalServiceFactory
$charges  : ChargeService
$checkout  : CheckoutServiceFactory
$countrySpecs  : CountrySpecService
$coupons  : CouponService
$creditNotes  : CreditNoteService
$customers  : CustomerService
$disputes  : DisputeService
$ephemeralKeys  : EphemeralKeyService
$events  : EventService
$exchangeRates  : ExchangeRateService
$fileLinks  : FileLinkService
$files  : FileService
$invoiceItems  : InvoiceItemService
$invoices  : InvoiceService
$issuing  : IssuingServiceFactory
$mandates  : MandateService
$orderReturns  : OrderReturnService
$orders  : OrderService
$paymentIntents  : PaymentIntentService
$paymentMethodConfigurations  : PaymentMethodConfigurationService
$paymentMethodDomains  : PaymentMethodDomainService
$paymentMethods  : PaymentMethodService
$payouts  : PayoutService
$plans  : PlanService
$prices  : PriceService
$products  : ProductService
$radar  : RadarServiceFactory
$refunds  : RefundService
$reporting  : ReportingServiceFactory
$reviews  : ReviewService
$setupIntents  : SetupIntentService
$sigma  : SigmaServiceFactory
$skus  : SkuService
$sources  : SourceService
$subscriptionItems  : SubscriptionItemService
$subscriptions  : SubscriptionService
$subscriptionSchedules  : SubscriptionScheduleService
$taxRates  : TaxRateService
$terminal  : TerminalServiceFactory
$tokens  : TokenService
$topups  : TopupService
$transfers  : TransferService
$webhookEndpoints  : WebhookEndpointService
$mode  : string
$secret_key  : string
$stripe_client  : StripeClient

Methods

__construct()  : mixed
__get()  : ClientOperation
__isset()  : bool
is_connected()  : bool
mode()  : $this
set_mode()  : void
get_client_config()  : array<string|int, mixed>

Properties

Methods

__construct()

public __construct([string $mode = '' ][, string $secret_key = '' ][, array<string|int, mixed> $config = [] ]) : mixed
Parameters
$mode : string = ''
$secret_key : string = ''
$config : array<string|int, mixed> = []

mode()

public mode(string|WC_Order|ApiResource $mode) : $this
Parameters
$mode : string|WC_Order|ApiResource
Tags
since
4.0.0
Return values
$this

get_client_config()

protected get_client_config() : array<string|int, mixed>
Return values
array<string|int, mixed>

        
On this page

Search results