import StripeCheckoutComponent from 'formiojs/src/contrib/stripe/checkout/StripeCheckout.js'StripeCheckoutComponent
Extends:
src/components/button/Button.js~ButtonComponent → StripeCheckoutComponent
Static Member Summary
| Static Public Members | ||
| public static get |
builderInfo: {"group": *, "schema": *} |
|
Constructor Summary
| Public Constructor | ||
| public |
|
|
Member Summary
| Public Members | ||
| public |
Keep initial component action |
|
| public |
|
|
| public |
handler: * |
|
| public |
|
|
| public |
Promise when Stripe is ready. |
|
Method Summary
| Public Methods | ||
| public |
build() |
|
| public |
getValue(): * |
|
| public |
onClickButton(event: Object) Handle customEvent event on the button |
|
| public |
Handle event dispatched by Stripe library |
|
| public |
setValue(value: *, flags: {}): * |
|
Static Public Members
public static get builderInfo: {"group": *, "schema": *} source
Public Constructors
public constructor() source
Public Members
public handler: * source
Public Methods
public build() source
public onClickButton(event: Object) source
Handle customEvent event on the button
Params:
| Name | Type | Attribute | Description |
| event | Object | The event returned by ButtonComponent. |
public onToken(token: Object) source
Handle event dispatched by Stripe library
Params:
| Name | Type | Attribute | Description |
| token | Object | The token returned by Stripe. |
public setValue(value: *, flags: {}): * source
Params:
| Name | Type | Attribute | Description |
| value | * | ||
| flags | {} |
|
Return:
| * |
