DigitalpayeResponsePayment.fromJson constructor

DigitalpayeResponsePayment.fromJson(
  1. Map<String, dynamic> json
)

Implementation

factory DigitalpayeResponsePayment.fromJson(Map<String, dynamic> json) {
  return DigitalpayeResponsePayment(
    linkpaymentId: json['linkpayment_id'],
    ref: json['ref'],
    operatorId: json['operator_id'],
    transactionId: json['transaction_id'],
    cardId: json['cardId'],
    numberUser: json['number_user'],
    nameUser: json['name_user'],
    emailUser: json['email_user'],
    countryUser: json['country_user'],
    currency: json['currency'],
    amount: json['amount'],
    fees: json['fees'],
    amountReceive: json['amount_receive'],
    amountTotal: json['amount_total'],
    status: json['status'],
    typeTransaction: json['type_transaction'],
    typePayment: json['type_payment'],
    redirectUrl: json['redirectUrl'],
    date: json['date'],
    dateUpdate: json['date_update'],
    waveLaunchUrl: json['wave_launch_url'],
  );
}