PayModel constructor

PayModel(
  1. String id,
  2. String status,
  3. int amount,
  4. int fee,
  5. String currency,
  6. int refunded,
  7. String? refundedAt,
  8. int captured,
  9. String? capturedAt,
  10. String? voidedAt,
  11. String? description,
  12. String? invoiceId,
  13. String ip,
  14. String callbackUrl,
  15. String createdAt,
  16. String updatedAt,
  17. Object? metadata,
  18. dynamic source,
  19. String? type,
  20. String message,
  21. dynamic error,
)

Implementation

PayModel(
    this.id,
    this.status,
    this.amount,
    this.fee,
    this.currency,
    this.refunded,
    this.refundedAt,
    this.captured,
    this.capturedAt,
    this.voidedAt,
    this.description,
    this.invoiceId,
    this.ip,
    this.callbackUrl,
    this.createdAt,
    this.updatedAt,
    this.metadata,
    this.source,
    this.type,
    this.message,
    this.error
    );