PaymayaSinglePayment constructor
const
PaymayaSinglePayment({
- required PaymayaRedirectUrls redirectUrl,
- required SinglePaymentAmount totalAmount,
- required String requestReferenceNumber,
- Map<
String, dynamic> metadata = const {},
Not identical with PaymayaAmount.
This was intended for SinglePayment method which uses the value as String instead of num
Implementation
const PaymayaSinglePayment({
required this.redirectUrl,
required this.totalAmount,
required this.requestReferenceNumber,
this.metadata = const {},
});