Payment constructor
Payment({ - String? id,
- String? subscriberId,
- String? bookingId,
- String? amount,
- String? vat,
- String? vatAmount,
- String? fee,
- String? feeAmount,
- String? totalAmount,
- dynamic amountToPay,
- String? currency,
- dynamic currenyToPay,
- String? type,
- String? purpose,
- String? status,
- dynamic paymentAddress,
- dynamic transactionId,
- dynamic transactionHash,
- String? meta,
- String? invoiceUrl,
- String? provider,
- dynamic paymentDate,
- dynamic additionalData,
- dynamic receiptUrl,
- dynamic reference,
- DateTime? createdAt,
- DateTime? updatedAt,
})
Implementation
Payment({
this.id,
this.subscriberId,
this.bookingId,
this.amount,
this.vat,
this.vatAmount,
this.fee,
this.feeAmount,
this.totalAmount,
this.amountToPay,
this.currency,
this.currenyToPay,
this.type,
this.purpose,
this.status,
this.paymentAddress,
this.transactionId,
this.transactionHash,
this.meta,
this.invoiceUrl,
this.provider,
this.paymentDate,
this.additionalData,
this.receiptUrl,
this.comment,
this.reference,
this.createdAt,
this.updatedAt,
});