@bigcommerce/checkout-sdk / StoredCardHostedFormService
• new StoredCardHostedFormService(_host
, _hostedFormFactory
)
Name | Type |
---|---|
_host |
string |
_hostedFormFactory |
HostedFormFactory |
▸ deinitialize(): void
void
▸ initialize(options
): Promise
<void
>
Name | Type |
---|---|
options |
HostedFormOptions |
Promise
<void
>
▸ submitStoredCard(fields
, data
): Promise
<void
>
Name | Type |
---|---|
fields |
StoredCardHostedFormInstrumentFields |
data |
StoredCardHostedFormData |
Promise
<void
>