PayloadModel constructor
PayloadModel({
- required String? currency,
- required String? transRef,
- String? email,
- String? description,
- String? fullName,
- required String? country,
- required String? amount,
- String? callbackUrl,
- required String? publicKey,
- String? narrator = 'seerbit-react-native',
- String? reportLink = "",
- String? pocketRef,
- String? vendorId,
- bool? closeOnSuccess,
- bool? closePrompt,
- bool? setAmountByCustomer,
- bool? tokenize = false,
- String? planId,
- CustomizationModel customization = const CustomizationModel(),
Implementation
PayloadModel(
{required this.currency,
required this.transRef,
this.email,
this.description,
this.fullName,
required this.country,
required this.amount,
this.callbackUrl,
required this.publicKey,
this.narrator = 'seerbit-react-native',
this.reportLink = "",
this.pocketRef,
this.vendorId,
this.closeOnSuccess,
this.closePrompt,
this.setAmountByCustomer,
this.tokenize = false,
this.planId,
this.customization = const CustomizationModel()});