@chevre/domain
Version:
Chevre Domain Library for Node.js
28 lines (27 loc) • 1.2 kB
TypeScript
import type { ActionRepo } from '../../../repo/action';
import type { CredentialsRepo } from '../../../repo/credentials';
import type { EventRepo } from '../../../repo/event';
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';
export declare function validateMovieTicket(params: factory.assetTransaction.pay.IStartParamsWithoutDetail, paymentServiceId: string, checkedAction: {
id: string;
}, purpose: {
/**
* placeOrder ID
*/
id?: string;
}): (repos: {
action: ActionRepo;
credentials: CredentialsRepo;
event: EventRepo;
paymentAccepted: SellerPaymentAcceptedRepo;
paymentService: PaymentServiceRepo;
paymentServiceProvider: PaymentServiceProviderRepo;
task: TaskRepo;
}, settings: Settings) => Promise<{
accountsReceivablesByServiceType: factory.assetTransaction.pay.IAccountsReceivableByServiceType[];
}>;