UNPKG

@chevre/domain

Version:

Chevre Domain Library for Node.js

25 lines (24 loc) 1.16 kB
import * as GMO from '@motionpicture/gmo-service'; import { ActionRepo } from '../../../../repo/action'; import * as factory from '../../../../factory'; interface ICreditCardPaymentAgencyTransaction3ds { entryTranArgs: GMO.factory.credit.IEntryTranArgs; entryTranResult: GMO.factory.credit.IEntryTranResult; execTranArgs: GMO.factory.credit.IExecTranArgs; execTranResult: GMO.factory.credit.IExecTranResult | GMO.factory.credit.IExecTran3dsResult; secureTran2Result: GMO.factory.credit.ISecureTran2Result; } declare function processAuthorizeCreditCard3ds(params: { project: { id: string; }; payTransaction: { id: string; }; availableChannel: Pick<factory.serviceChannel.IServiceChannelCreditCard, 'credentials' | 'serviceUrl'>; pendingPaymentAgencyTransaction: Pick<ICreditCardPaymentAgencyTransaction3ds, 'entryTranArgs' | 'entryTranResult' | 'execTranArgs' | 'execTranResult'>; }): (repos: { action: ActionRepo; creditCardService: GMO.service.Credit; }) => Promise<ICreditCardPaymentAgencyTransaction3ds>; export { ICreditCardPaymentAgencyTransaction3ds, processAuthorizeCreditCard3ds };