16 lines
432 B
TypeScript
16 lines
432 B
TypeScript
/**
|
|
* Presenter Interface: ICreatePaymentPresenter
|
|
*/
|
|
|
|
import type { Presenter } from '@core/shared/presentation/Presenter';
|
|
import type { PaymentDto } from './IGetPaymentsPresenter';
|
|
|
|
export interface CreatePaymentResultDTO {
|
|
payment: PaymentDto;
|
|
}
|
|
|
|
export interface CreatePaymentViewModel {
|
|
payment: PaymentDto;
|
|
}
|
|
|
|
export interface ICreatePaymentPresenter extends Presenter<CreatePaymentResultDTO, CreatePaymentViewModel> {} |