UNPKG

@chevre/domain

Version:

Chevre Domain Library for Node.js

29 lines (28 loc) 1.28 kB
import * as factory from '../../../factory'; import { Settings } from '../../../settings'; import type { AccountingReportRepo } from '../../../repo/accountingReport'; import type { ActionRepo } from '../../../repo/action'; import type { AssetTransactionRepo } from '../../../repo/assetTransaction'; import type { PaymentServiceRepo } from '../../../repo/paymentService'; import type { PaymentServiceProviderRepo } from '../../../repo/paymentServiceProvider'; import type { SellerPaymentAcceptedRepo } from '../../../repo/sellerPaymentAccepted'; import type { TaskRepo } from '../../../repo/task'; type IInvalidatePaymentUrlOperation<T> = (repos: { accountingReport: AccountingReportRepo; action: ActionRepo; paymentAccepted: SellerPaymentAcceptedRepo; paymentService: PaymentServiceRepo; paymentServiceProvider: PaymentServiceProviderRepo; task: TaskRepo; assetTransaction: AssetTransactionRepo; }, settings: Settings) => Promise<T>; /** * 決済ロケーションを無効化する * 実質、外部で実行された決済に対する返金処理 */ export declare function invalidatePaymentUrlByTask(params: factory.task.invalidatePaymentUrl.IData & { sameAs?: { id: string; }; }): IInvalidatePaymentUrlOperation<void>; export {};