Interface PaymentPresentationData

interface PaymentPresentationData {
    amount?: number;
    currency: string;
    locale: string;
    preference?: "KLARNA" | "PAY_NOW" | "PAY_LATER" | "PAY_OVER_TIME";
    requestCustomerToken?: {
        scopes: (
            | "payment:customer_present"
            | "payment:customer_not_present"
            | "customer:login"
        )[];
    };
    supplementaryPurchaseData?: {
        additionalData?: string;
        lineItems?: LineItem[];
        ondemandService?: OndemandService;
        subscriptions?: Subscription[];
    };
}

Properties

amount?: number
currency: string
locale: string
preference?: "KLARNA" | "PAY_NOW" | "PAY_LATER" | "PAY_OVER_TIME"
requestCustomerToken?: {
    scopes: (
        | "payment:customer_present"
        | "payment:customer_not_present"
        | "customer:login"
    )[];
}
supplementaryPurchaseData?: {
    additionalData?: string;
    lineItems?: LineItem[];
    ondemandService?: OndemandService;
    subscriptions?: Subscription[];
}