Alokai

PaymentWithFields

Custom type of the commercetools Payment object. Custom fields are implementing "ctp-adyen-integration-web-components-payment-type" interface.

export type PaymentWithFields = Payment & {
    custom: {
        fields: {
            adyenMerchantAccount: string;
            commercetoolsProjectKey: string;
            getPaymentMethodsRequest?: string;
            getPaymentMethodsResponse?: string;
            createSessionRequest?: string;
            createSessionResponse?: string;
            amountUpdatesRequest?: string;
            amountUpdatesResponse?: string;
            languageCode?: string;
            getCarbonOffsetCostsRequest?: string;
            getCarbonOffsetCostsResponse?: string;
        };
        type: {
            typeId: string;
            id: string;
        };
    };
};

Referenced Types

  • Payment

On this page