SinglePaymentAmount constructor

const SinglePaymentAmount({
  1. String? currency = 'PHP',
  2. required String value,
  3. Map<String, dynamic>? metadata,
})

Not identical with PaymayaAmount.

This was intended for SinglePayment method which uses the value as String instead of num

Implementation

const SinglePaymentAmount({
  this.currency = 'PHP',
  required this.value,
  this.metadata,
});