Payment constructor

Payment({
  1. String? id,
  2. String? subscriberId,
  3. String? bookingId,
  4. String? amount,
  5. String? vat,
  6. String? vatAmount,
  7. String? fee,
  8. String? feeAmount,
  9. String? totalAmount,
  10. dynamic amountToPay,
  11. String? currency,
  12. dynamic currenyToPay,
  13. String? type,
  14. String? purpose,
  15. String? status,
  16. dynamic paymentAddress,
  17. dynamic transactionId,
  18. dynamic transactionHash,
  19. String? meta,
  20. String? invoiceUrl,
  21. String? provider,
  22. dynamic paymentDate,
  23. dynamic additionalData,
  24. dynamic receiptUrl,
  25. dynamic comment,
  26. dynamic reference,
  27. DateTime? createdAt,
  28. 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,
});