Class MerchantUpdatedNotificationRequest
- java.lang.Object
-
- com.adyen.model.managementwebhooks.MerchantUpdatedNotificationRequest
-
public class MerchantUpdatedNotificationRequest extends Object
MerchantUpdatedNotificationRequest
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classMerchantUpdatedNotificationRequest.TypeEnumType of notification.
-
Field Summary
Fields Modifier and Type Field Description static StringJSON_PROPERTY_CREATED_ATstatic StringJSON_PROPERTY_DATAstatic StringJSON_PROPERTY_ENVIRONMENTstatic StringJSON_PROPERTY_TYPE
-
Constructor Summary
Constructors Constructor Description MerchantUpdatedNotificationRequest()
-
Method Summary
-
-
-
Field Detail
-
JSON_PROPERTY_CREATED_AT
public static final String JSON_PROPERTY_CREATED_AT
- See Also:
- Constant Field Values
-
JSON_PROPERTY_DATA
public static final String JSON_PROPERTY_DATA
- See Also:
- Constant Field Values
-
JSON_PROPERTY_ENVIRONMENT
public static final String JSON_PROPERTY_ENVIRONMENT
- See Also:
- Constant Field Values
-
JSON_PROPERTY_TYPE
public static final String JSON_PROPERTY_TYPE
- See Also:
- Constant Field Values
-
-
Method Detail
-
createdAt
public MerchantUpdatedNotificationRequest createdAt(OffsetDateTime createdAt)
-
getCreatedAt
public OffsetDateTime getCreatedAt()
Timestamp for when the webhook was created.- Returns:
- createdAt
-
setCreatedAt
public void setCreatedAt(OffsetDateTime createdAt)
-
data
public MerchantUpdatedNotificationRequest data(AccountUpdateNotificationData data)
-
getData
public AccountUpdateNotificationData getData()
Get data- Returns:
- data
-
setData
public void setData(AccountUpdateNotificationData data)
-
environment
public MerchantUpdatedNotificationRequest environment(String environment)
-
getEnvironment
public String getEnvironment()
The environment from which the webhook originated. Possible values: **test**, **live**.- Returns:
- environment
-
setEnvironment
public void setEnvironment(String environment)
-
type
public MerchantUpdatedNotificationRequest type(MerchantUpdatedNotificationRequest.TypeEnum type)
-
getType
public MerchantUpdatedNotificationRequest.TypeEnum getType()
Type of notification.- Returns:
- type
-
setType
public void setType(MerchantUpdatedNotificationRequest.TypeEnum type)
-
equals
public boolean equals(Object o)
Return true if this MerchantUpdatedNotificationRequest object is equal to o.
-
fromJson
public static MerchantUpdatedNotificationRequest fromJson(String jsonString) throws com.fasterxml.jackson.core.JsonProcessingException
Create an instance of MerchantUpdatedNotificationRequest given an JSON string- Parameters:
jsonString- JSON string- Returns:
- An instance of MerchantUpdatedNotificationRequest
- Throws:
com.fasterxml.jackson.core.JsonProcessingException- if the JSON string is invalid with respect to MerchantUpdatedNotificationRequest
-
toJson
public String toJson() throws com.fasterxml.jackson.core.JsonProcessingException
Convert an instance of MerchantUpdatedNotificationRequest to an JSON string- Returns:
- JSON string
- Throws:
com.fasterxml.jackson.core.JsonProcessingException
-
-