PayloadModel.fromJson constructor
PayloadModel.fromJson(
- Map json
Implementation
factory PayloadModel.fromJson(Map json) => PayloadModel(
currency: json["Currency"],
email: json["Email"],
description: json["Description"],
fullName: json['FullName'],
country: json["Country"],
amount: json["Amount"],
callbackUrl: json["CallbackUrl"],
publicKey: json["PublicKey"],
reportLink: json["ReportLink"],
pocketRef: json["PocketRef"],
vendorId: json["VendorId"],
transRef: json['TransRef'],
setAmountByCustomer: json['SetAmountByCustomer'],
closePrompt: json['ClosePrompt'],
closeOnSuccess: json['CloseOnSuccess'],
tokenize: json['tokenize'],
customization: json['customization'],
planId: json['planId']);