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

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

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

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