import { PaymentContext, SdkResponse } from "../../../model/types"; import { CreateHostedCheckoutRequest, CreateHostedCheckoutResponse, ErrorResponse, GetHostedCheckoutResponse } from "../domain"; export interface HostedcheckoutsClient { /** * Resource /{merchantId}/hostedcheckouts - Create hosted checkout */ create(merchantId: string, postData: CreateHostedCheckoutRequest, paymentContext?: PaymentContext | null): Promise>; /** * Resource /{merchantId}/hostedcheckouts/{hostedCheckoutId} - Get hosted checkout status */ get(merchantId: string, hostedCheckoutId: string, paymentContext?: PaymentContext | null): Promise>; /** * Resource /{merchantId}/hostedcheckouts/{hostedCheckoutId} - Delete hosted checkout */ remove(merchantId: string, hostedCheckoutId: string, paymentContext?: PaymentContext | null): Promise>; }