@unchainedshop/plugins
Version:
Official plugin collection for the Unchained Engine with payment, delivery, and pricing adapters
31 lines (30 loc) • 812 B
TypeScript
export declare const mapOrderDataToGatewayObject: ({ order, orderPayment, pricing }: {
order: any;
orderPayment: any;
pricing: any;
}, options?: {}) => {
referenceId: any;
successRedirectUrl: string;
failedRedirectUrl: string;
cancelRedirectUrl: string;
amount: number;
currency: any;
purpose: string;
reservation: boolean;
skipResultPage: boolean;
};
export declare const mapUserToGatewayObject: ({ userId, emailAddress, currencyCode }: {
userId: any;
emailAddress: any;
currencyCode: any;
}, options?: {}) => {
referenceId: any;
successRedirectUrl: string;
failedRedirectUrl: string;
cancelRedirectUrl: string;
amount: number;
currency: any;
purpose: string;
preAuthorization: boolean;
skipResultPage: boolean;
};