Payment constructor
const
Payment({
- 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,
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;