Class TokenizationUpdatedDetailsNotificationRequest
- java.lang.Object
-
- com.adyen.model.tokenizationwebhooks.TokenizationUpdatedDetailsNotificationRequest
-
public class TokenizationUpdatedDetailsNotificationRequest extends Object
TokenizationUpdatedDetailsNotificationRequest
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classTokenizationUpdatedDetailsNotificationRequest.EnvironmentEnumThe environment from which the webhook originated.static classTokenizationUpdatedDetailsNotificationRequest.TypeEnumThe type of webhook.
-
Field Summary
Fields Modifier and Type Field Description static StringJSON_PROPERTY_CREATED_ATstatic StringJSON_PROPERTY_DATAstatic StringJSON_PROPERTY_ENVIRONMENTstatic StringJSON_PROPERTY_EVENT_IDstatic StringJSON_PROPERTY_TYPEstatic StringJSON_PROPERTY_VERSION
-
Constructor Summary
Constructors Constructor Description TokenizationUpdatedDetailsNotificationRequest()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description TokenizationUpdatedDetailsNotificationRequestcreatedAt(OffsetDateTime createdAt)The date and time when the event happened, in ISO 8601 extended format.TokenizationUpdatedDetailsNotificationRequestdata(RecurringTokenStoreOperation data)dataTokenizationUpdatedDetailsNotificationRequestenvironment(TokenizationUpdatedDetailsNotificationRequest.EnvironmentEnum environment)The environment from which the webhook originated.booleanequals(Object o)Return true if this TokenizationUpdatedDetailsNotificationRequest object is equal to o.TokenizationUpdatedDetailsNotificationRequesteventId(String eventId)The PSP reference of the event that triggered the webhook.static TokenizationUpdatedDetailsNotificationRequestfromJson(String jsonString)Create an instance of TokenizationUpdatedDetailsNotificationRequest given an JSON stringOffsetDateTimegetCreatedAt()The date and time when the event happened, in ISO 8601 extended format.RecurringTokenStoreOperationgetData()Get dataTokenizationUpdatedDetailsNotificationRequest.EnvironmentEnumgetEnvironment()The environment from which the webhook originated.StringgetEventId()The PSP reference of the event that triggered the webhook.TokenizationUpdatedDetailsNotificationRequest.TypeEnumgetType()The type of webhook.StringgetVersion()The version of this entity.inthashCode()voidsetCreatedAt(OffsetDateTime createdAt)The date and time when the event happened, in ISO 8601 extended format.voidsetData(RecurringTokenStoreOperation data)datavoidsetEnvironment(TokenizationUpdatedDetailsNotificationRequest.EnvironmentEnum environment)The environment from which the webhook originated.voidsetEventId(String eventId)The PSP reference of the event that triggered the webhook.voidsetType(TokenizationUpdatedDetailsNotificationRequest.TypeEnum type)The type of webhook.voidsetVersion(String version)The version of this entity.StringtoJson()Convert an instance of TokenizationUpdatedDetailsNotificationRequest to an JSON stringStringtoString()TokenizationUpdatedDetailsNotificationRequesttype(TokenizationUpdatedDetailsNotificationRequest.TypeEnum type)The type of webhook.TokenizationUpdatedDetailsNotificationRequestversion(String version)The version of this entity.
-
-
-
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_EVENT_ID
public static final String JSON_PROPERTY_EVENT_ID
- See Also:
- Constant Field Values
-
JSON_PROPERTY_TYPE
public static final String JSON_PROPERTY_TYPE
- See Also:
- Constant Field Values
-
JSON_PROPERTY_VERSION
public static final String JSON_PROPERTY_VERSION
- See Also:
- Constant Field Values
-
-
Method Detail
-
createdAt
public TokenizationUpdatedDetailsNotificationRequest createdAt(OffsetDateTime createdAt)
The date and time when the event happened, in ISO 8601 extended format.- Parameters:
createdAt- The date and time when the event happened, in ISO 8601 extended format.- Returns:
- the current
TokenizationUpdatedDetailsNotificationRequestinstance, allowing for method chaining
-
getCreatedAt
public OffsetDateTime getCreatedAt()
The date and time when the event happened, in ISO 8601 extended format.- Returns:
- createdAt The date and time when the event happened, in ISO 8601 extended format.
-
setCreatedAt
public void setCreatedAt(OffsetDateTime createdAt)
The date and time when the event happened, in ISO 8601 extended format.- Parameters:
createdAt- The date and time when the event happened, in ISO 8601 extended format.
-
data
public TokenizationUpdatedDetailsNotificationRequest data(RecurringTokenStoreOperation data)
data- Parameters:
data-- Returns:
- the current
TokenizationUpdatedDetailsNotificationRequestinstance, allowing for method chaining
-
getData
public RecurringTokenStoreOperation getData()
Get data- Returns:
- data
-
setData
public void setData(RecurringTokenStoreOperation data)
data- Parameters:
data-
-
environment
public TokenizationUpdatedDetailsNotificationRequest environment(TokenizationUpdatedDetailsNotificationRequest.EnvironmentEnum environment)
The environment from which the webhook originated. Possible values: **test**, **live**.- Parameters:
environment- The environment from which the webhook originated. Possible values: **test**, **live**.- Returns:
- the current
TokenizationUpdatedDetailsNotificationRequestinstance, allowing for method chaining
-
getEnvironment
public TokenizationUpdatedDetailsNotificationRequest.EnvironmentEnum getEnvironment()
The environment from which the webhook originated. Possible values: **test**, **live**.- Returns:
- environment The environment from which the webhook originated. Possible values: **test**, **live**.
-
setEnvironment
public void setEnvironment(TokenizationUpdatedDetailsNotificationRequest.EnvironmentEnum environment)
The environment from which the webhook originated. Possible values: **test**, **live**.- Parameters:
environment- The environment from which the webhook originated. Possible values: **test**, **live**.
-
eventId
public TokenizationUpdatedDetailsNotificationRequest eventId(String eventId)
The PSP reference of the event that triggered the webhook.- Parameters:
eventId- The PSP reference of the event that triggered the webhook.- Returns:
- the current
TokenizationUpdatedDetailsNotificationRequestinstance, allowing for method chaining
-
getEventId
public String getEventId()
The PSP reference of the event that triggered the webhook.- Returns:
- eventId The PSP reference of the event that triggered the webhook.
-
setEventId
public void setEventId(String eventId)
The PSP reference of the event that triggered the webhook.- Parameters:
eventId- The PSP reference of the event that triggered the webhook.
-
type
public TokenizationUpdatedDetailsNotificationRequest type(TokenizationUpdatedDetailsNotificationRequest.TypeEnum type)
The type of webhook.- Parameters:
type- The type of webhook.- Returns:
- the current
TokenizationUpdatedDetailsNotificationRequestinstance, allowing for method chaining
-
getType
public TokenizationUpdatedDetailsNotificationRequest.TypeEnum getType()
The type of webhook.- Returns:
- type The type of webhook.
-
setType
public void setType(TokenizationUpdatedDetailsNotificationRequest.TypeEnum type)
The type of webhook.- Parameters:
type- The type of webhook.
-
version
public TokenizationUpdatedDetailsNotificationRequest version(String version)
The version of this entity.- Parameters:
version- The version of this entity.- Returns:
- the current
TokenizationUpdatedDetailsNotificationRequestinstance, allowing for method chaining
-
getVersion
public String getVersion()
The version of this entity.- Returns:
- version The version of this entity.
-
setVersion
public void setVersion(String version)
The version of this entity.- Parameters:
version- The version of this entity.
-
equals
public boolean equals(Object o)
Return true if this TokenizationUpdatedDetailsNotificationRequest object is equal to o.
-
fromJson
public static TokenizationUpdatedDetailsNotificationRequest fromJson(String jsonString) throws com.fasterxml.jackson.core.JsonProcessingException
Create an instance of TokenizationUpdatedDetailsNotificationRequest given an JSON string- Parameters:
jsonString- JSON string- Returns:
- An instance of TokenizationUpdatedDetailsNotificationRequest
- Throws:
com.fasterxml.jackson.core.JsonProcessingException- if the JSON string is invalid with respect to TokenizationUpdatedDetailsNotificationRequest
-
toJson
public String toJson() throws com.fasterxml.jackson.core.JsonProcessingException
Convert an instance of TokenizationUpdatedDetailsNotificationRequest to an JSON string- Returns:
- JSON string
- Throws:
com.fasterxml.jackson.core.JsonProcessingException
-
-