fromMap method

FPayPalErrorInfo fromMap(
  1. Map<String, dynamic> data
)

Implementation

FPayPalErrorInfo fromMap(Map<String, dynamic> data) {
  setMap(data);

  reason = getString("reason");
  orderId = getString("orderId");
  error = getString("error");

  nativeSdkVersion = getString("nativeSdkVersion");
  eligibilityDebugID = getString("eligibilityDebugID");
  fundingEligibilityDebugID = getString("fundingEligibilityDebugID");
  updateClientConfigDebugID = getString("updateClientConfigDebugID");
  lsatUpgradeDebugID = getString("lsatUpgradeDebugID");
  fetchPayloadDebugID = getString("fetchPayloadDebugID");
  currencyConversionDebugID = getString("currencyConversionDebugID");
  finishCheckoutDebugID = getString("finishCheckoutDebugID");

  return this;
}