Skip to content

Latest commit

 

History

History
71 lines (41 loc) · 1.34 KB

StoredCardHostedFormService.md

File metadata and controls

71 lines (41 loc) · 1.34 KB

@bigcommerce/checkout-sdk / StoredCardHostedFormService

Class: StoredCardHostedFormService

Table of contents

Constructors

Methods

Constructors

constructor

new StoredCardHostedFormService(_host, _hostedFormFactory)

Parameters

Name Type
_host string
_hostedFormFactory HostedFormFactory

Methods

deinitialize

deinitialize(): void

Returns

void


initialize

initialize(options): Promise<void>

Parameters

Name Type
options HostedFormOptions

Returns

Promise<void>


submitStoredCard

submitStoredCard(fields, data): Promise<void>

Parameters

Name Type
fields StoredCardHostedFormInstrumentFields
data StoredCardHostedFormData

Returns

Promise<void>