PaymentIntentMandateDataClientKeyParamCustomerAcceptanceOnline.fromJson constructor

PaymentIntentMandateDataClientKeyParamCustomerAcceptanceOnline.fromJson(
  1. Object? json
)

Implementation

factory PaymentIntentMandateDataClientKeyParamCustomerAcceptanceOnline.fromJson(
    Object? json) {
  final map = (json as Map).cast<String, Object?>();
  return PaymentIntentMandateDataClientKeyParamCustomerAcceptanceOnline(
    ipAddress:
        map['ip_address'] == null ? null : (map['ip_address'] as String),
    userAgent:
        map['user_agent'] == null ? null : (map['user_agent'] as String),
  );
}