Not identical with PaymayaAmount.
This was intended for SinglePayment method which uses the value as String instead of num Converts Map to String
String toJson() => json.encode(toMap());