Invoice constructor

Invoice({
  1. required String $id,
  2. required String $createdAt,
  3. required String $updatedAt,
  4. required List<String> $permissions,
  5. required String teamId,
  6. required String aggregationId,
  7. required String plan,
  8. required List<UsageResources> usage,
  9. required double amount,
  10. required double tax,
  11. required double taxAmount,
  12. required double vat,
  13. required double vatAmount,
  14. required double grossAmount,
  15. required double creditsUsed,
  16. required String currency,
  17. required String clientSecret,
  18. required String status,
  19. required String lastError,
  20. required String dueAt,
  21. required String from,
  22. required String to,
})

Implementation

Invoice({
  required this.$id,
  required this.$createdAt,
  required this.$updatedAt,
  required this.$permissions,
  required this.teamId,
  required this.aggregationId,
  required this.plan,
  required this.usage,
  required this.amount,
  required this.tax,
  required this.taxAmount,
  required this.vat,
  required this.vatAmount,
  required this.grossAmount,
  required this.creditsUsed,
  required this.currency,
  required this.clientSecret,
  required this.status,
  required this.lastError,
  required this.dueAt,
  required this.from,
  required this.to,
});