SinglePaymentAmount class
Not identical with PaymayaAmount.
This was intended for SinglePayment method which uses the value as String instead of num
Constructors
-
SinglePaymentAmount({String? currency = 'PHP', required String value, Map<
String, dynamic> ? metadata}) -
Not identical with PaymayaAmount.
const
- SinglePaymentAmount.fromJson(String source)
-
Not identical with PaymayaAmount.
factory
-
SinglePaymentAmount.fromMap(Map<
String, dynamic> map) -
Not identical with PaymayaAmount.
factory
Properties
- currency → String?
-
Currency defaults to 'PH'
final
- hashCode → int
-
The hash code for this object.
no setteroverride
-
metadata
→ Map<
String, dynamic> ? -
See properties here
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- value → String
-
Total Amount of items
final
Methods
-
copyWith(
{String? currency, String? value, Map< String, dynamic> ? metadata}) → SinglePaymentAmount - Not identical with PaymayaAmount.
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → String - Not identical with PaymayaAmount.
-
toMap(
) → Map< String, dynamic> - Not identical with PaymayaAmount.
-
toString(
) → String -
A string representation of this object.
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
override