LoanOffer constructor

LoanOffer({
  1. required String uuid,
  2. required ProductType productType,
  3. required ProductSubType productSubType,
  4. String? productSubTypeDisclaimer,
  5. String? url,
  6. required Originator originator,
  7. String? originatorId,
  8. required bool preQualified,
  9. required bool preApproved,
  10. required bool secured,
  11. required bool coApplicant,
  12. required bool sponsored,
  13. required int maxAmount,
  14. int? minAmount,
  15. int? termLength,
  16. TermUnit? termUnit,
  17. String? displayTermUnit,
  18. String? termDescription,
  19. num? maxApr,
  20. num? minApr,
  21. num? meanApr,
  22. required AprType aprType,
  23. String? aprDescription,
  24. num? feeRate,
  25. num? maxFeeRate,
  26. num? minFeeRate,
  27. num? feeFixed,
  28. num? maxFeeFixed,
  29. num? minFeeFixed,
  30. required bool allowPrepayment,
  31. num? prepaymentFee,
  32. num? monthlyPayment,
  33. num? maxMonthlyPayment,
  34. num? minMonthlyPayment,
  35. String? monthlyPaymentDescription,
  36. num? meanMonthlyPayment,
  37. num? maxTotalPayment,
  38. num? minTotalPayment,
  39. num? meanTotalPayment,
  40. num? recommendationScore,
  41. num? payout,
  42. num? conversionProbability,
  43. String? terms,
  44. String? amountPrefix,
})

Returns a new LoanOffer instance.

Implementation

LoanOffer({
  required this.uuid,
  required this.productType,
  required this.productSubType,
  this.productSubTypeDisclaimer,
  this.url,
  required this.originator,
  this.originatorId,
  required this.preQualified,
  required this.preApproved,
  required this.secured,
  required this.coApplicant,
  required this.sponsored,
  required this.maxAmount,
  this.minAmount,
  this.termLength,
  this.termUnit,
  this.displayTermUnit,
  this.termDescription,
  this.maxApr,
  this.minApr,
  this.meanApr,
  required this.aprType,
  this.aprDescription,
  this.feeRate,
  this.maxFeeRate,
  this.minFeeRate,
  this.feeFixed,
  this.maxFeeFixed,
  this.minFeeFixed,
  required this.allowPrepayment,
  this.prepaymentFee,
  this.monthlyPayment,
  this.maxMonthlyPayment,
  this.minMonthlyPayment,
  this.monthlyPaymentDescription,
  this.meanMonthlyPayment,
  this.maxTotalPayment,
  this.minTotalPayment,
  this.meanTotalPayment,
  this.recommendationScore,
  this.payout,
  this.conversionProbability,
  this.terms,
  this.amountPrefix,
});