Class ReportAvailableNotificationContent
- java.lang.Object
-
- com.adyen.model.marketpaywebhooks.ReportAvailableNotificationContent
-
public class ReportAvailableNotificationContent extends Object
ReportAvailableNotificationContent
-
-
Field Summary
Fields Modifier and Type Field Description static StringJSON_PROPERTY_ACCOUNT_CODEstatic StringJSON_PROPERTY_ACCOUNT_TYPEstatic StringJSON_PROPERTY_EVENT_DATEstatic StringJSON_PROPERTY_REMOTE_ACCESS_URLstatic StringJSON_PROPERTY_SUCCESS
-
Constructor Summary
Constructors Constructor Description ReportAvailableNotificationContent()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description ReportAvailableNotificationContentaccountCode(String accountCode)ReportAvailableNotificationContentaccountType(String accountType)booleanequals(Object o)Return true if this ReportAvailableNotificationContent object is equal to o.ReportAvailableNotificationContenteventDate(OffsetDateTime eventDate)static ReportAvailableNotificationContentfromJson(String jsonString)Create an instance of ReportAvailableNotificationContent given an JSON stringStringgetAccountCode()The code of the Account to which the report applies.StringgetAccountType()The type of Account to which the report applies.OffsetDateTimegetEventDate()The date of the event to which the report applies.StringgetRemoteAccessUrl()The URL at which the report can be accessed.BooleangetSuccess()Indicates whether the event resulted in a success.inthashCode()ReportAvailableNotificationContentremoteAccessUrl(String remoteAccessUrl)voidsetAccountCode(String accountCode)voidsetAccountType(String accountType)voidsetEventDate(OffsetDateTime eventDate)voidsetRemoteAccessUrl(String remoteAccessUrl)voidsetSuccess(Boolean success)ReportAvailableNotificationContentsuccess(Boolean success)StringtoJson()Convert an instance of ReportAvailableNotificationContent to an JSON stringStringtoString()
-
-
-
Field Detail
-
JSON_PROPERTY_ACCOUNT_CODE
public static final String JSON_PROPERTY_ACCOUNT_CODE
- See Also:
- Constant Field Values
-
JSON_PROPERTY_ACCOUNT_TYPE
public static final String JSON_PROPERTY_ACCOUNT_TYPE
- See Also:
- Constant Field Values
-
JSON_PROPERTY_EVENT_DATE
public static final String JSON_PROPERTY_EVENT_DATE
- See Also:
- Constant Field Values
-
JSON_PROPERTY_REMOTE_ACCESS_URL
public static final String JSON_PROPERTY_REMOTE_ACCESS_URL
- See Also:
- Constant Field Values
-
JSON_PROPERTY_SUCCESS
public static final String JSON_PROPERTY_SUCCESS
- See Also:
- Constant Field Values
-
-
Method Detail
-
accountCode
public ReportAvailableNotificationContent accountCode(String accountCode)
-
getAccountCode
public String getAccountCode()
The code of the Account to which the report applies.- Returns:
- accountCode
-
setAccountCode
public void setAccountCode(String accountCode)
-
accountType
public ReportAvailableNotificationContent accountType(String accountType)
-
getAccountType
public String getAccountType()
The type of Account to which the report applies.- Returns:
- accountType
-
setAccountType
public void setAccountType(String accountType)
-
eventDate
public ReportAvailableNotificationContent eventDate(OffsetDateTime eventDate)
-
getEventDate
public OffsetDateTime getEventDate()
The date of the event to which the report applies.- Returns:
- eventDate
-
setEventDate
public void setEventDate(OffsetDateTime eventDate)
-
remoteAccessUrl
public ReportAvailableNotificationContent remoteAccessUrl(String remoteAccessUrl)
-
getRemoteAccessUrl
public String getRemoteAccessUrl()
The URL at which the report can be accessed.- Returns:
- remoteAccessUrl
-
setRemoteAccessUrl
public void setRemoteAccessUrl(String remoteAccessUrl)
-
success
public ReportAvailableNotificationContent success(Boolean success)
-
getSuccess
public Boolean getSuccess()
Indicates whether the event resulted in a success.- Returns:
- success
-
setSuccess
public void setSuccess(Boolean success)
-
equals
public boolean equals(Object o)
Return true if this ReportAvailableNotificationContent object is equal to o.
-
fromJson
public static ReportAvailableNotificationContent fromJson(String jsonString) throws com.fasterxml.jackson.core.JsonProcessingException
Create an instance of ReportAvailableNotificationContent given an JSON string- Parameters:
jsonString- JSON string- Returns:
- An instance of ReportAvailableNotificationContent
- Throws:
com.fasterxml.jackson.core.JsonProcessingException- if the JSON string is invalid with respect to ReportAvailableNotificationContent
-
toJson
public String toJson() throws com.fasterxml.jackson.core.JsonProcessingException
Convert an instance of ReportAvailableNotificationContent to an JSON string- Returns:
- JSON string
- Throws:
com.fasterxml.jackson.core.JsonProcessingException
-
-