Class TokenizationCreatedDetailsNotificationRequest
- java.lang.Object
-
- com.adyen.model.tokenizationwebhooks.TokenizationCreatedDetailsNotificationRequest
-
public class TokenizationCreatedDetailsNotificationRequest extends Object
TokenizationCreatedDetailsNotificationRequest
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classTokenizationCreatedDetailsNotificationRequest.EnvironmentEnumThe environment from which the webhook originated.static classTokenizationCreatedDetailsNotificationRequest.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 TokenizationCreatedDetailsNotificationRequest()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description TokenizationCreatedDetailsNotificationRequestcreatedAt(OffsetDateTime createdAt)The date and time when the event happened, in ISO 8601 extended format.TokenizationCreatedDetailsNotificationRequestdata(RecurringTokenStoreOperation data)dataTokenizationCreatedDetailsNotificationRequestenvironment(TokenizationCreatedDetailsNotificationRequest.EnvironmentEnum environment)The environment from which the webhook originated.booleanequals(Object o)Return true if this TokenizationCreatedDetailsNotificationRequest object is equal to o.TokenizationCreatedDetailsNotificationRequesteventId(String eventId)The PSP reference of the event that triggered the webhook.static TokenizationCreatedDetailsNotificationRequestfromJson(String jsonString)Create an instance of TokenizationCreatedDetailsNotificationRequest given an JSON stringOffsetDateTimegetCreatedAt()The date and time when the event happened, in ISO 8601 extended format.RecurringTokenStoreOperationgetData()Get dataTokenizationCreatedDetailsNotificationRequest.EnvironmentEnumgetEnvironment()The environment from which the webhook originated.StringgetEventId()The PSP reference of the event that triggered the webhook.TokenizationCreatedDetailsNotificationRequest.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(TokenizationCreatedDetailsNotificationRequest.EnvironmentEnum environment)The environment from which the webhook originated.voidsetEventId(String eventId)The PSP reference of the event that triggered the webhook.voidsetType(TokenizationCreatedDetailsNotificationRequest.TypeEnum type)The type of webhook.voidsetVersion(String version)The version of this entity.StringtoJson()Convert an instance of TokenizationCreatedDetailsNotificationRequest to an JSON stringStringtoString()TokenizationCreatedDetailsNotificationRequesttype(TokenizationCreatedDetailsNotificationRequest.TypeEnum type)The type of webhook.TokenizationCreatedDetailsNotificationRequestversion(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 TokenizationCreatedDetailsNotificationRequest 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
TokenizationCreatedDetailsNotificationRequestinstance, 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 TokenizationCreatedDetailsNotificationRequest data(RecurringTokenStoreOperation data)
data- Parameters:
data-- Returns:
- the current
TokenizationCreatedDetailsNotificationRequestinstance, allowing for method chaining
-
getData
public RecurringTokenStoreOperation getData()
Get data- Returns:
- data
-
setData
public void setData(RecurringTokenStoreOperation data)
data- Parameters:
data-
-
environment
public TokenizationCreatedDetailsNotificationRequest environment(TokenizationCreatedDetailsNotificationRequest.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
TokenizationCreatedDetailsNotificationRequestinstance, allowing for method chaining
-
getEnvironment
public TokenizationCreatedDetailsNotificationRequest.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(TokenizationCreatedDetailsNotificationRequest.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 TokenizationCreatedDetailsNotificationRequest 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
TokenizationCreatedDetailsNotificationRequestinstance, 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 TokenizationCreatedDetailsNotificationRequest type(TokenizationCreatedDetailsNotificationRequest.TypeEnum type)
The type of webhook.- Parameters:
type- The type of webhook.- Returns:
- the current
TokenizationCreatedDetailsNotificationRequestinstance, allowing for method chaining
-
getType
public TokenizationCreatedDetailsNotificationRequest.TypeEnum getType()
The type of webhook.- Returns:
- type The type of webhook.
-
setType
public void setType(TokenizationCreatedDetailsNotificationRequest.TypeEnum type)
The type of webhook.- Parameters:
type- The type of webhook.
-
version
public TokenizationCreatedDetailsNotificationRequest version(String version)
The version of this entity.- Parameters:
version- The version of this entity.- Returns:
- the current
TokenizationCreatedDetailsNotificationRequestinstance, 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 TokenizationCreatedDetailsNotificationRequest object is equal to o.
-
fromJson
public static TokenizationCreatedDetailsNotificationRequest fromJson(String jsonString) throws com.fasterxml.jackson.core.JsonProcessingException
Create an instance of TokenizationCreatedDetailsNotificationRequest given an JSON string- Parameters:
jsonString- JSON string- Returns:
- An instance of TokenizationCreatedDetailsNotificationRequest
- Throws:
com.fasterxml.jackson.core.JsonProcessingException- if the JSON string is invalid with respect to TokenizationCreatedDetailsNotificationRequest
-
toJson
public String toJson() throws com.fasterxml.jackson.core.JsonProcessingException
Convert an instance of TokenizationCreatedDetailsNotificationRequest to an JSON string- Returns:
- JSON string
- Throws:
com.fasterxml.jackson.core.JsonProcessingException
-
-