toJson method

Map<String, dynamic> toJson()

Implementation

Map<String, dynamic> toJson() => {
      'clientApplicationKey': clientApplicationKey,
      'title': title,
      'subtitle': subtitle,
      'amount': amount.toJson(),
      'savePaymentMethod': savePaymentMethod.toString(),
      'hostParameters': hostParameters?.toJson(),
      'gatewayId': gatewayId,
      'tokenizationSettings': tokenizationSettings.toJson(),
      'testModeSettings': testModeSettings?.toJson(),
      'shopId': shopId,
      'returnUrl': returnUrl,
      'isLoggingEnabled': isLoggingEnabled,
      'userPhoneNumber': userPhoneNumber,
      'customizationSettings': customizationSettings.toJson(),
      'moneyAuthClientId': moneyAuthClientId,
      'applicationScheme': applicationScheme,
      'customerId': customerId,
      'googlePayParameters': googlePayParameters.jsonList(),
      'googlePayTestEnvironment': googlePayTestEnvironment
    };