PayloadModel class
Model for the Payload that takes in all the needed payment data
Constructors
-
PayloadModel({required String? currency, required String? email, String? description, required String? amount, String? callbackUrl, required String? customerName, bool? isRecurring, num? frequency, String? meta, String? endDate, bool? legacy, String? transactionRef, List<
MetadataField> ? metaData, required String? apiKey}) - PayloadModel.fromJson(Map json)
-
factory
Properties
- amount → String?
-
final
- apiKey → String?
-
final
- callbackUrl → String?
-
final
- currency → String?
-
final
- customerName → String?
-
final
- description → String?
-
final
- email → String?
-
final
- endDate → String?
-
final
- frequency → num?
-
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- isRecurring → bool?
-
final
- legacy → bool?
-
final
- meta → String?
-
final
-
metaData
→ List<
MetadataField> ? -
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- transactionRef → String?
-
final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited