* add new plugin for better organization * added handling in theme for mutations and query types * added tsdoc to hooks * added tsdocs to utility functions * added tsdoc to providers * generated reference * general fixes for generated reference * generated api reference specs + general fixes * add missing import react * split utilities into different directories * added overview page * added link to customer authentication section * fix lint errors * added changeset * fix readme * fixed build error * added expand fields + other sections to overview * updated what's new section * general refactoring * remove unnecessary query field * fix links * added ignoreApi option
45 lines
1.4 KiB
Plaintext
45 lines
1.4 KiB
Plaintext
import ParameterTypes from "@site/src/components/ParameterTypes"
|
|
|
|
# payment
|
|
|
|
## Classes
|
|
|
|
- [AbstractPaymentProcessor](../payment/classes/payment.AbstractPaymentProcessor.mdx)
|
|
|
|
## Interfaces
|
|
|
|
- [PaymentProcessor](../payment/interfaces/payment.PaymentProcessor.mdx)
|
|
- [PaymentProcessorContext](../payment/interfaces/payment.PaymentProcessorContext.mdx)
|
|
- [PaymentProcessorError](../payment/interfaces/payment.PaymentProcessorError.mdx)
|
|
- [PaymentProcessorSessionResponse](../payment/interfaces/payment.PaymentProcessorSessionResponse.mdx)
|
|
|
|
___
|
|
|
|
## Functions
|
|
|
|
### isPaymentProcessor
|
|
|
|
Return if the input object is AbstractPaymentProcessor
|
|
|
|
#### Parameters
|
|
|
|
<ParameterTypes parameters={[{"name":"obj","type":"`unknown`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]}]} />
|
|
|
|
#### Returns
|
|
|
|
<ParameterTypes parameters={[{"name":"boolean","type":"`boolean`","optional":false,"defaultValue":"","description":"","expandable":false,"children":[]}]} />
|
|
|
|
___
|
|
|
|
### isPaymentProcessorError
|
|
|
|
Utility function to determine if an object is a processor error
|
|
|
|
#### Parameters
|
|
|
|
<ParameterTypes parameters={[{"name":"obj","type":"`any`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]}]} />
|
|
|
|
#### Returns
|
|
|
|
<ParameterTypes parameters={[{"name":"obj","type":"obj is PaymentProcessorError","optional":false,"defaultValue":"","description":"","expandable":false,"children":[]}]} />
|