Payment constructor

const Payment({
  1. String? publicReference,
  2. String? reference,
  3. String? authorization,
  4. String? name,
  5. String? amount,
  6. Country? country,
  7. String? msisdn,
  8. String? currency,
  9. PaymentType? paymentType,
  10. String? pan,
  11. String? exp,
  12. String? cvv,
  13. int? timeOut,
  14. String? referencePrefix,
  15. String? transactionId,
  16. TargetEnvironment? targetEnvironment,
})

Implementation

const factory Payment({
  // Define the properties of the `Payment` class
  String? publicReference,
  String? reference,
  String? authorization,
  String? name,
  String? amount,
  Country? country,
  String? msisdn,
  String? currency,
  PaymentType? paymentType,
  String? pan,
  String? exp,
  String? cvv,
  int? timeOut,
  String? referencePrefix,
  String? transactionId,
  TargetEnvironment? targetEnvironment,
}) = _Payment;