AutomaticReloadPaymentRequest.fromJson constructor

AutomaticReloadPaymentRequest.fromJson(
  1. dynamic data
)

Implementation

factory AutomaticReloadPaymentRequest.fromJson(dynamic data) {
  var json = DynamicJsonExtension.getJsonMap(data);
  return AutomaticReloadPaymentRequest(
    paymentDescription: json['payment_description'] ?? '',
    automaticReloadBilling: AutomaticReloadPaymentSummaryItem.fromJson(json['automatic_reload_billing']),
    managementURL: json['management_url'] ?? '',
    billingAgreement: json['billing_agreement'],
    tokenNotificationURL: json['token_notification_url'],
  );
}