@chevre/domain
Version:
Chevre Domain Library for Node.js
21 lines (20 loc) • 950 B
TypeScript
import type { AccountingReportRepo } from '../../../repo/accountingReport';
import type { ActionRepo } from '../../../repo/action';
import type { PaymentServiceRepo } from '../../../repo/paymentService';
import type { PaymentServiceProviderRepo } from '../../../repo/paymentServiceProvider';
import type { SellerPaymentAcceptedRepo } from '../../../repo/sellerPaymentAccepted';
import type { TaskRepo } from '../../../repo/task';
import * as factory from '../../../factory';
import { Settings } from '../../../settings';
/**
* クレジットカード決済
*/
declare function payCreditCard(params: factory.action.trade.pay.IAttributes): (repos: {
action: ActionRepo;
accountingReport: AccountingReportRepo;
paymentAccepted: SellerPaymentAcceptedRepo;
paymentService: PaymentServiceRepo;
paymentServiceProvider: PaymentServiceProviderRepo;
task: TaskRepo;
}, settings: Settings) => Promise<void>;
export { payCreditCard };