toJson method

Map<String, dynamic> toJson()

Implementation

Map<String, dynamic> toJson() => {
      'clientApplicationKey': clientApplicationKey,
      'title': title,
      'subtitle': subtitle,
      'amount': amount.toJson(),
      'savePaymentMethod': savePaymentMethod.toString(),
      'gatewayId': gatewayId,
      'testModeSettings': testModeSettings?.toJson(),
      'shopId': shopId,
      'returnUrl': returnUrl,
      'isLoggingEnabled': isLoggingEnabled,
      'customizationSettings': customizationSettings.toJson(),
      'paymentMethodId': paymentMethodId,
      'customerId': customerId,
      'isSafeDeal': isSafeDeal,
      'hostParameters': hostParameters?.toJson(),
    };