Invoice constructor

Invoice({
  1. String? id,
  2. String? object,
  3. String? accountCountry,
  4. String? accountName,
  5. int? amountDue,
  6. int? amountPaid,
  7. int? amountRemaining,
  8. int? applicationFeeAmount,
  9. int? attemptCount,
  10. bool? attempted,
  11. bool? autoAdvance,
  12. String? billingReason,
  13. dynamic charge,
  14. String? collectionMethod,
  15. int? created,
  16. String? currency,
  17. List<CustomField>? customFields,
  18. dynamic customer,
  19. Address? customerAddress,
  20. String? customerEmail,
  21. String? customerName,
  22. String? customerPhone,
  23. Shipping? customerShipping,
  24. String? customerTaxExempt,
  25. List<CustomerTaxId>? customerTaxIds,
  26. dynamic defaultPaymentMethod,
  27. dynamic defaultSource,
  28. List<Rate>? defaultTaxRates,
  29. String? description,
  30. Discount? discount,
  31. int? dueDate,
  32. int? endingBalance,
  33. String? footer,
  34. String? hostedInvoiceUrl,
  35. String? invoicePdf,
  36. InvoiceLineItems? lines,
  37. bool? livemode,
  38. Map<String, dynamic>? metadata,
  39. int? nextPaymentAttempt,
  40. String? number,
  41. bool? paid,
  42. dynamic paymentIntent,
  43. int? periodEnd,
  44. int? periodStart,
  45. int? postPaymentCreditNotesAmount,
  46. int? prePaymentCreditNotesAmount,
  47. String? receiptNumber,
  48. int? startingBalance,
  49. String? statementDescriptor,
  50. String? status,
  51. StatusTransitions? statusTransitions,
  52. dynamic subscription,
  53. int? subtotal,
  54. int? tax,
  55. dynamic taxPercent,
  56. int? total,
  57. List<TaxAmount>? totalTaxAmounts,
  58. int? webhooksDeliveredAt,
  59. int? subscriptionProrationDate,
  60. dynamic thresholdReason,
})

Implementation

Invoice(
    {this.id,
    this.object,
    this.accountCountry,
    this.accountName,
    this.amountDue,
    this.amountPaid,
    this.amountRemaining,
    this.applicationFeeAmount,
    this.attemptCount,
    this.attempted,
    this.autoAdvance,
    this.billingReason,
    this.charge,
    this.collectionMethod,
    this.created,
    this.currency,
    this.customFields,
    this.customer,
    this.customerAddress,
    this.customerEmail,
    this.customerName,
    this.customerPhone,
    this.customerShipping,
    this.customerTaxExempt,
    this.customerTaxIds,
    this.defaultPaymentMethod,
    this.defaultSource,
    this.defaultTaxRates,
    this.description,
    this.discount,
    this.dueDate,
    this.endingBalance,
    this.footer,
    this.hostedInvoiceUrl,
    this.invoicePdf,
    this.lines,
    this.livemode,
    this.metadata,
    this.nextPaymentAttempt,
    this.number,
    this.paid,
    this.paymentIntent,
    this.periodEnd,
    this.periodStart,
    this.postPaymentCreditNotesAmount,
    this.prePaymentCreditNotesAmount,
    this.receiptNumber,
    this.startingBalance,
    this.statementDescriptor,
    this.status,
    this.statusTransitions,
    this.subscription,
    this.subtotal,
    this.tax,
    this.taxPercent,
    this.total,
    this.totalTaxAmounts,
    this.webhooksDeliveredAt,
    this.subscriptionProrationDate,
    this.thresholdReason});