27 lines
669 B
TypeScript
27 lines
669 B
TypeScript
import { Injectable } from '@nestjs/common';
|
|
import { CreatePaymentInput } from '../dto/create-payment.input';
|
|
import { UpdatePaymentInput } from '../dto/update-payment.input';
|
|
|
|
@Injectable()
|
|
export class PaymentsService {
|
|
create(createPaymentInput: CreatePaymentInput) {
|
|
return 'This action adds a new payment';
|
|
}
|
|
|
|
findAll() {
|
|
return `This action returns all payments`;
|
|
}
|
|
|
|
findOne(id: number) {
|
|
return `This action returns a #${id} payment`;
|
|
}
|
|
|
|
update(id: number, updatePaymentInput: UpdatePaymentInput) {
|
|
return `This action updates a #${id} payment`;
|
|
}
|
|
|
|
remove(id: number) {
|
|
return `This action removes a #${id} payment`;
|
|
}
|
|
}
|