UNPKG

@chevre/domain

Version:

Chevre Domain Library for Node.js

34 lines (33 loc) 1.27 kB
import * as GMO from '@motionpicture/gmo-service'; import { ActionRepo } from '../../../../repo/action'; import * as factory from '../../../../factory'; interface ICreditCardPaymentAgencyTransaction { 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?: never; } declare function processAuthorizeCreditCard(params: { project: { id: string; }; payTransaction: { id: string; }; shopId: string; shopPass: string; returnUrls3ds: string[]; callbackType3ds?: factory.service.paymentService.ICallbackType3ds; orderId: string; availableChannel: Pick<factory.serviceChannel.IServiceChannelCreditCard, 'credentials' | 'serviceUrl'>; object: factory.assetTransaction.pay.IPaymentMethod; /** * 決済URL発行処理かどうか */ processPublishPaymentUrl: boolean; }): (repos: { action: ActionRepo; creditCardService: GMO.service.Credit; }) => Promise<ICreditCardPaymentAgencyTransaction>; export { ICreditCardPaymentAgencyTransaction, processAuthorizeCreditCard };