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