Skip to main content
Skip to main content

ICartCompletionStrategy

internal.internal.ICartCompletionStrategy

Implemented by

Methods

complete

complete(cartId, idempotencyKey, context): Promise<CartCompletionResponse>

Takes a cart id and completes the cart. This for example takes place when creating an order or confirming a swap.

Parameters

cartIdstringRequired
the id of the Cart to complete.
idempotencyKeyIdempotencyKeyRequired
the idempotency key for the request
contextRequestContextRequired
the request context for the completion request

Returns

Promise<CartCompletionResponse>

PromisePromise<CartCompletionResponse>Required
the response for the completion request
Was this section helpful?