KhipuPaymentForm.fromJson constructor
KhipuPaymentForm.fromJson(
- Map<String, dynamic> json
)
Implementation
factory KhipuPaymentForm.fromJson(Map<String, dynamic> json) {
return KhipuPaymentForm(
amount: json['amount'],
currency: json['currency'],
subject: json['subject'],
transactionId: json['transaction_id'],
custom: json['custom'],
body: json['body'],
bankId: json['bank_id'],
returnUrl: json['return_url'],
cancelUrl: json['cancel_url'],
pictureUrl: json['picture_url'],
notifyUrl: json['notify_url'],
contractUrl: json['contract_url'],
notifyApiVersion: json['notify_api_version'],
expiresDate: DateTime.parse(json['expires_date']),
sendEmail: json['send_email'],
payerName: json['payer_name'],
payerEmail: json['payer_email'],
sendReminders: json['send_reminders'],
responsibleUserEmail: json['responsible_user_email'],
fixedPayerPersonalIdentifier: json['fixed_payer_personal_identifier'],
integratorFee: json['integrator_fee'],
collectAccountUuid: json['collect_account_uuid'],
confirmTimeoutDate: DateTime.parse(json['confirm_timeout_date']),
mandatoryPaymentMethod: json['mandatory_payment_method'],
pspClientMerchantName: json['psp_client_merchant_name'],
);
}