Class BalancePlatformNotificationResponse
- java.lang.Object
-
- com.adyen.model.configurationwebhooks.BalancePlatformNotificationResponse
-
public class BalancePlatformNotificationResponse extends Object
BalancePlatformNotificationResponse
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classBalancePlatformNotificationResponse.CustomTypeAdapterFactory
-
Field Summary
Fields Modifier and Type Field Description static HashSet<String>openapiFieldsstatic HashSet<String>openapiRequiredFieldsstatic StringSERIALIZED_NAME_NOTIFICATION_RESPONSE
-
Constructor Summary
Constructors Constructor Description BalancePlatformNotificationResponse()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object o)static BalancePlatformNotificationResponsefromJson(String jsonString)Create an instance of BalancePlatformNotificationResponse given an JSON stringStringgetNotificationResponse()Respond with **HTTP 200 OK** and `[accepted]` in the response body to [accept the webhook](https://docs.adyen.com/development-resources/webhooks#accept-notifications).inthashCode()BalancePlatformNotificationResponsenotificationResponse(String notificationResponse)voidsetNotificationResponse(String notificationResponse)StringtoJson()Convert an instance of BalancePlatformNotificationResponse to an JSON stringStringtoString()static voidvalidateJsonObject(com.google.gson.JsonObject jsonObj)Validates the JSON Object and throws an exception if issues found
-
-
-
Method Detail
-
notificationResponse
public BalancePlatformNotificationResponse notificationResponse(String notificationResponse)
-
getNotificationResponse
public String getNotificationResponse()
Respond with **HTTP 200 OK** and `[accepted]` in the response body to [accept the webhook](https://docs.adyen.com/development-resources/webhooks#accept-notifications).- Returns:
- notificationResponse
-
setNotificationResponse
public void setNotificationResponse(String notificationResponse)
-
validateJsonObject
public static void validateJsonObject(com.google.gson.JsonObject jsonObj) throws IOExceptionValidates the JSON Object and throws an exception if issues found- Parameters:
jsonObj- JSON Object- Throws:
IOException- if the JSON Object is invalid with respect to BalancePlatformNotificationResponse
-
fromJson
public static BalancePlatformNotificationResponse fromJson(String jsonString) throws IOException
Create an instance of BalancePlatformNotificationResponse given an JSON string- Parameters:
jsonString- JSON string- Returns:
- An instance of BalancePlatformNotificationResponse
- Throws:
IOException- if the JSON string is invalid with respect to BalancePlatformNotificationResponse
-
toJson
public String toJson()
Convert an instance of BalancePlatformNotificationResponse to an JSON string- Returns:
- JSON string
-
-