@@ -3,9 +3,9 @@ import { Donation } from '../entities/Donation';
|
||||
import { ResponseDonor } from './ResponseDonor';
|
||||
|
||||
/**
|
||||
* Defines the donation response interface.
|
||||
* Defines the donation response.
|
||||
*/
|
||||
export abstract class IResponseDonation {
|
||||
export class ResponseDonation {
|
||||
/**
|
||||
* The donation's id.
|
||||
*/
|
||||
@@ -26,7 +26,7 @@ export abstract class IResponseDonation {
|
||||
amount: number;
|
||||
|
||||
/**
|
||||
* Creates a IResponseDonation object from a scan.
|
||||
* Creates a ResponseDonation object from a scan.
|
||||
* @param donation The donation the response shall be build for.
|
||||
*/
|
||||
public constructor(donation: Donation) {
|
||||
Reference in New Issue
Block a user