import { Module } from '@nestjs/common';

import { PaymentsPersistenceModule } from '../../persistence/payments/PaymentsPersistenceModule';

import { PaymentsController } from './PaymentsController';
import { PaymentsProviders } from './PaymentsProviders';
import { PaymentsService } from './PaymentsService';

@Module({
  imports: [PaymentsPersistenceModule],
  controllers: [PaymentsController],
  providers: [PaymentsService, ...PaymentsProviders],
  exports: [PaymentsService],
})
export class PaymentsModule {}
