Class TerminalAssignmentNotificationRequest
- java.lang.Object
-
- com.adyen.model.managementwebhooks.TerminalAssignmentNotificationRequest
-
public class TerminalAssignmentNotificationRequest extends Object
TerminalAssignmentNotificationRequest
-
-
Field Summary
Fields Modifier and Type Field Description static StringJSON_PROPERTY_ASSIGNED_TO_ACCOUNTstatic StringJSON_PROPERTY_ASSIGNED_TO_STOREstatic StringJSON_PROPERTY_EVENT_DATEstatic StringJSON_PROPERTY_PSP_REFERENCEstatic StringJSON_PROPERTY_UNIQUE_TERMINAL_ID
-
Constructor Summary
Constructors Constructor Description TerminalAssignmentNotificationRequest()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description TerminalAssignmentNotificationRequestassignedToAccount(String assignedToAccount)The unique identifier of the merchant/company account to which the terminal is assigned.TerminalAssignmentNotificationRequestassignedToStore(String assignedToStore)The unique identifier of the store to which the terminal is assigned.booleanequals(Object o)Return true if this TerminalAssignmentNotificationRequest object is equal to o.TerminalAssignmentNotificationRequesteventDate(String eventDate)The date and time when an event has been completed.static TerminalAssignmentNotificationRequestfromJson(String jsonString)Create an instance of TerminalAssignmentNotificationRequest given an JSON stringStringgetAssignedToAccount()The unique identifier of the merchant/company account to which the terminal is assigned.StringgetAssignedToStore()The unique identifier of the store to which the terminal is assigned.StringgetEventDate()The date and time when an event has been completed.StringgetPspReference()The PSP reference of the request from which the notification originates.StringgetUniqueTerminalId()The unique identifier of the terminal.inthashCode()TerminalAssignmentNotificationRequestpspReference(String pspReference)The PSP reference of the request from which the notification originates.voidsetAssignedToAccount(String assignedToAccount)The unique identifier of the merchant/company account to which the terminal is assigned.voidsetAssignedToStore(String assignedToStore)The unique identifier of the store to which the terminal is assigned.voidsetEventDate(String eventDate)The date and time when an event has been completed.voidsetPspReference(String pspReference)The PSP reference of the request from which the notification originates.voidsetUniqueTerminalId(String uniqueTerminalId)The unique identifier of the terminal.StringtoJson()Convert an instance of TerminalAssignmentNotificationRequest to an JSON stringStringtoString()TerminalAssignmentNotificationRequestuniqueTerminalId(String uniqueTerminalId)The unique identifier of the terminal.
-
-
-
Field Detail
-
JSON_PROPERTY_ASSIGNED_TO_ACCOUNT
public static final String JSON_PROPERTY_ASSIGNED_TO_ACCOUNT
- See Also:
- Constant Field Values
-
JSON_PROPERTY_ASSIGNED_TO_STORE
public static final String JSON_PROPERTY_ASSIGNED_TO_STORE
- See Also:
- Constant Field Values
-
JSON_PROPERTY_EVENT_DATE
public static final String JSON_PROPERTY_EVENT_DATE
- See Also:
- Constant Field Values
-
JSON_PROPERTY_PSP_REFERENCE
public static final String JSON_PROPERTY_PSP_REFERENCE
- See Also:
- Constant Field Values
-
JSON_PROPERTY_UNIQUE_TERMINAL_ID
public static final String JSON_PROPERTY_UNIQUE_TERMINAL_ID
- See Also:
- Constant Field Values
-
-
Method Detail
-
assignedToAccount
public TerminalAssignmentNotificationRequest assignedToAccount(String assignedToAccount)
The unique identifier of the merchant/company account to which the terminal is assigned.- Parameters:
assignedToAccount-- Returns:
- the current
TerminalAssignmentNotificationRequestinstance, allowing for method chaining
-
getAssignedToAccount
public String getAssignedToAccount()
The unique identifier of the merchant/company account to which the terminal is assigned.- Returns:
- assignedToAccount
-
setAssignedToAccount
public void setAssignedToAccount(String assignedToAccount)
The unique identifier of the merchant/company account to which the terminal is assigned.- Parameters:
assignedToAccount-
-
assignedToStore
public TerminalAssignmentNotificationRequest assignedToStore(String assignedToStore)
The unique identifier of the store to which the terminal is assigned.- Parameters:
assignedToStore-- Returns:
- the current
TerminalAssignmentNotificationRequestinstance, allowing for method chaining
-
getAssignedToStore
public String getAssignedToStore()
The unique identifier of the store to which the terminal is assigned.- Returns:
- assignedToStore
-
setAssignedToStore
public void setAssignedToStore(String assignedToStore)
The unique identifier of the store to which the terminal is assigned.- Parameters:
assignedToStore-
-
eventDate
public TerminalAssignmentNotificationRequest eventDate(String eventDate)
The date and time when an event has been completed.- Parameters:
eventDate-- Returns:
- the current
TerminalAssignmentNotificationRequestinstance, allowing for method chaining
-
getEventDate
public String getEventDate()
The date and time when an event has been completed.- Returns:
- eventDate
-
setEventDate
public void setEventDate(String eventDate)
The date and time when an event has been completed.- Parameters:
eventDate-
-
pspReference
public TerminalAssignmentNotificationRequest pspReference(String pspReference)
The PSP reference of the request from which the notification originates.- Parameters:
pspReference-- Returns:
- the current
TerminalAssignmentNotificationRequestinstance, allowing for method chaining
-
getPspReference
public String getPspReference()
The PSP reference of the request from which the notification originates.- Returns:
- pspReference
-
setPspReference
public void setPspReference(String pspReference)
The PSP reference of the request from which the notification originates.- Parameters:
pspReference-
-
uniqueTerminalId
public TerminalAssignmentNotificationRequest uniqueTerminalId(String uniqueTerminalId)
The unique identifier of the terminal.- Parameters:
uniqueTerminalId-- Returns:
- the current
TerminalAssignmentNotificationRequestinstance, allowing for method chaining
-
getUniqueTerminalId
public String getUniqueTerminalId()
The unique identifier of the terminal.- Returns:
- uniqueTerminalId
-
setUniqueTerminalId
public void setUniqueTerminalId(String uniqueTerminalId)
The unique identifier of the terminal.- Parameters:
uniqueTerminalId-
-
equals
public boolean equals(Object o)
Return true if this TerminalAssignmentNotificationRequest object is equal to o.
-
fromJson
public static TerminalAssignmentNotificationRequest fromJson(String jsonString) throws com.fasterxml.jackson.core.JsonProcessingException
Create an instance of TerminalAssignmentNotificationRequest given an JSON string- Parameters:
jsonString- JSON string- Returns:
- An instance of TerminalAssignmentNotificationRequest
- Throws:
com.fasterxml.jackson.core.JsonProcessingException- if the JSON string is invalid with respect to TerminalAssignmentNotificationRequest
-
toJson
public String toJson() throws com.fasterxml.jackson.core.JsonProcessingException
Convert an instance of TerminalAssignmentNotificationRequest to an JSON string- Returns:
- JSON string
- Throws:
com.fasterxml.jackson.core.JsonProcessingException
-
-