toJson method

Map<String, dynamic> toJson()

Implementation

Map<String, dynamic> toJson() {
  final Map<String, dynamic> data = <String, dynamic>{};
  data['executePaymentRequest'] = executePaymentRequest!.toJson();
  if (card != null) {
    data['card'] = card!.toJson();
  }
  data['token'] = token;
  data['saveToken'] = saveToken;
  data['bypass3DS'] = bypass3DS;
  return data;
}