Payment constructor

Payment({
  1. int? serviceTaxAmount,
  2. int? installments,
  3. dynamic interest,
  4. bool? capture,
  5. bool? authenticate,
  6. bool? recurrent,
  7. CreditCard? creditCard,
  8. Wallet? wallet,
  9. String? tid,
  10. String? proofOfSale,
  11. String? authorizationCode,
  12. String? softDescriptor,
  13. String? provider,
  14. FraudAnalysis? fraudAnalysis,
  15. bool? isQrCode,
  16. int? amount,
  17. String? receivedDate,
  18. int? status,
  19. bool? isSplitted,
  20. String? returnMessage,
  21. String? returnCode,
  22. String? paymentId,
  23. String? type,
  24. String? currency,
  25. String? country,
  26. List<Link>? links,
  27. String? capturedDate,
  28. int? capturedAmount,
  29. String? voidedDate,
  30. int? voidedAmount,
  31. String? address,
  32. String? boletoNumber,
  33. String? assignor,
  34. String? demonstrative,
  35. String? expirationDate,
  36. String? identification,
  37. String? instructions,
  38. String? url,
  39. String? digitableLine,
  40. String? barCodeNumber,
  41. int? bank,
})

Implementation

Payment(
    {this.serviceTaxAmount,
    this.installments,
    this.interest,
    this.capture,
    this.authenticate,
    this.recurrent,
    this.creditCard,
    this.wallet,
    this.tid,
    this.proofOfSale,
    this.authorizationCode,
    this.softDescriptor,
    this.provider,
    this.fraudAnalysis,
    this.isQrCode,
    this.amount,
    this.receivedDate,
    this.status,
    this.isSplitted,
    this.returnMessage,
    this.returnCode,
    this.paymentId,
    this.type,
    this.currency,
    this.country,
    this.links,
    this.capturedDate,
    this.capturedAmount,
    this.voidedDate,
    this.voidedAmount,
    this.address,
    this.boletoNumber,
    this.assignor,
    this.demonstrative,
    this.expirationDate,
    this.identification,
    this.instructions,
    this.url,
    this.digitableLine,
    this.barCodeNumber,
    this.bank});