Skip to content

actaro-sdk


actaro-sdk / ReceiptStore

Interface: ReceiptStore ​

Defined in: types.ts:36

Methods ​

get() ​

get(id): Promise<ActionReceipt | undefined>

Defined in: types.ts:38

Parameters ​

id ​

string

Returns ​

Promise<ActionReceipt | undefined>


getByIdempotencyKey()? ​

optional getByIdempotencyKey(actionName, idempotencyKey): Promise<ActionReceipt | undefined>

Defined in: types.ts:39

Parameters ​

actionName ​

string

idempotencyKey ​

string

Returns ​

Promise<ActionReceipt | undefined>


list() ​

list(): Promise<ActionReceipt[]>

Defined in: types.ts:43

Returns ​

Promise<ActionReceipt[]>


save() ​

save(receipt): Promise<void>

Defined in: types.ts:37

Parameters ​

receipt ​

ActionReceipt

Returns ​

Promise<void>

Released under the MIT License.