StripeClient
in package
Gateway class that abstracts all API calls to Stripe.
Tags
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
$accountLinks
public
AccountLinkService
$accountLinks
$accounts
public
AccountService
$accounts
$accountSessions
public
AccountSessionService
$accountSessions
$applePayDomains
public
ApplePayDomainService
$applePayDomains
$applicationFees
public
ApplicationFeeService
$applicationFees
$balance
public
BalanceService
$balance
$balanceTransactions
public
BalanceTransactionService
$balanceTransactions
$billingPortal
public
BillingPortalServiceFactory
$billingPortal
$charges
public
ChargeService
$charges
$checkout
public
CheckoutServiceFactory
$checkout
$countrySpecs
public
CountrySpecService
$countrySpecs
$coupons
public
CouponService
$coupons
$creditNotes
public
CreditNoteService
$creditNotes
$customers
public
CustomerService
$customers
$disputes
public
DisputeService
$disputes
$ephemeralKeys
public
EphemeralKeyService
$ephemeralKeys
$events
public
EventService
$events
$exchangeRates
public
ExchangeRateService
$exchangeRates
$fileLinks
public
FileLinkService
$fileLinks
$files
public
FileService
$files
$invoiceItems
public
InvoiceItemService
$invoiceItems
$invoices
public
InvoiceService
$invoices
$issuing
public
IssuingServiceFactory
$issuing
$mandates
public
MandateService
$mandates
$orderReturns
public
OrderReturnService
$orderReturns
$orders
public
OrderService
$orders
$paymentIntents
public
PaymentIntentService
$paymentIntents
$paymentMethodConfigurations
public
PaymentMethodConfigurationService
$paymentMethodConfigurations
$paymentMethodDomains
public
PaymentMethodDomainService
$paymentMethodDomains
$paymentMethods
public
PaymentMethodService
$paymentMethods
$payouts
public
PayoutService
$payouts
$plans
public
PlanService
$plans
$prices
public
PriceService
$prices
$products
public
ProductService
$products
$radar
public
RadarServiceFactory
$radar
$refunds
public
RefundService
$refunds
$reporting
public
ReportingServiceFactory
$reporting
$reviews
public
ReviewService
$reviews
$setupIntents
public
SetupIntentService
$setupIntents
$sigma
public
SigmaServiceFactory
$sigma
$skus
public
SkuService
$skus
$sources
public
SourceService
$sources
$subscriptionItems
public
SubscriptionItemService
$subscriptionItems
$subscriptions
public
SubscriptionService
$subscriptions
$subscriptionSchedules
public
SubscriptionScheduleService
$subscriptionSchedules
$taxRates
public
TaxRateService
$taxRates
$terminal
public
TerminalServiceFactory
$terminal
$tokens
public
TokenService
$tokens
$topups
public
TopupService
$topups
$transfers
public
TransferService
$transfers
$webhookEndpoints
public
WebhookEndpointService
$webhookEndpoints
$mode
private
string
$mode
$secret_key
private
string
$secret_key
$stripe_client
private
StripeClient
$stripe_client
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> = []
__get()
public
__get(string $key) : ClientOperation
Parameters
- $key : string
Return values
ClientOperation__isset()
public
__isset(string $key) : bool
Parameters
- $key : string
Return values
boolis_connected()
public
is_connected() : bool
Return values
boolmode()
public
mode(string|WC_Order|ApiResource $mode) : $this
Parameters
- $mode : string|WC_Order|ApiResource
Tags
Return values
$thisset_mode()
public
set_mode(string $mode) : void
Parameters
- $mode : string
Tags
get_client_config()
protected
get_client_config() : array<string|int, mixed>