@chevre/domain
Version:
Chevre Domain Library for Node.js
17 lines (16 loc) • 762 B
TypeScript
import * as factory from '../../../factory';
import { Settings } from '../../../settings';
import type { ActionRepo } from '../../../repo/action';
import type { PaymentServiceRepo } from '../../../repo/paymentService';
import type { PaymentServiceProviderRepo } from '../../../repo/paymentServiceProvider';
import type { SellerPaymentAcceptedRepo } from '../../../repo/sellerPaymentAccepted';
/**
* クレジットカード決済中止
*/
declare function voidTransaction(params: factory.task.voidPayment.IData): (repos: {
action: ActionRepo;
paymentAccepted: SellerPaymentAcceptedRepo;
paymentService: PaymentServiceRepo;
paymentServiceProvider: PaymentServiceProviderRepo;
}, settings: Settings) => Promise<void>;
export { voidTransaction };