Package com.adyen.model.reportwebhooks
Class ReportNotificationData
- java.lang.Object
-
- com.adyen.model.reportwebhooks.ReportNotificationData
-
public class ReportNotificationData extends Object
ReportNotificationData
-
-
Field Summary
Fields Modifier and Type Field Description static StringJSON_PROPERTY_ACCOUNT_HOLDERstatic StringJSON_PROPERTY_BALANCE_ACCOUNTstatic StringJSON_PROPERTY_BALANCE_PLATFORMstatic StringJSON_PROPERTY_CREATION_DATEstatic StringJSON_PROPERTY_DOWNLOAD_URLstatic StringJSON_PROPERTY_FILE_NAMEstatic StringJSON_PROPERTY_REPORT_TYPE
-
Constructor Summary
Constructors Constructor Description ReportNotificationData()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description ReportNotificationDataaccountHolder(ResourceReference accountHolder)ReportNotificationDatabalanceAccount(ResourceReference balanceAccount)ReportNotificationDatabalancePlatform(String balancePlatform)ReportNotificationDatacreationDate(OffsetDateTime creationDate)ReportNotificationDatadownloadUrl(String downloadUrl)booleanequals(Object o)Return true if this ReportNotificationData object is equal to o.ReportNotificationDatafileName(String fileName)static ReportNotificationDatafromJson(String jsonString)Create an instance of ReportNotificationData given an JSON stringResourceReferencegetAccountHolder()Get accountHolderResourceReferencegetBalanceAccount()Get balanceAccountStringgetBalancePlatform()The unique identifier of the balance platform.OffsetDateTimegetCreationDate()The date and time when the event was triggered, in ISO 8601 extended format.StringgetDownloadUrl()The URL at which you can download the report.StringgetFileName()The filename of the report.StringgetReportType()Type of report.inthashCode()ReportNotificationDatareportType(String reportType)voidsetAccountHolder(ResourceReference accountHolder)accountHoldervoidsetBalanceAccount(ResourceReference balanceAccount)balanceAccountvoidsetBalancePlatform(String balancePlatform)The unique identifier of the balance platform.voidsetCreationDate(OffsetDateTime creationDate)The date and time when the event was triggered, in ISO 8601 extended format.voidsetDownloadUrl(String downloadUrl)The URL at which you can download the report.voidsetFileName(String fileName)The filename of the report.voidsetReportType(String reportType)Type of report.StringtoJson()Convert an instance of ReportNotificationData to an JSON stringStringtoString()
-
-
-
Field Detail
-
JSON_PROPERTY_ACCOUNT_HOLDER
public static final String JSON_PROPERTY_ACCOUNT_HOLDER
- See Also:
- Constant Field Values
-
JSON_PROPERTY_BALANCE_ACCOUNT
public static final String JSON_PROPERTY_BALANCE_ACCOUNT
- See Also:
- Constant Field Values
-
JSON_PROPERTY_BALANCE_PLATFORM
public static final String JSON_PROPERTY_BALANCE_PLATFORM
- See Also:
- Constant Field Values
-
JSON_PROPERTY_CREATION_DATE
public static final String JSON_PROPERTY_CREATION_DATE
- See Also:
- Constant Field Values
-
JSON_PROPERTY_DOWNLOAD_URL
public static final String JSON_PROPERTY_DOWNLOAD_URL
- See Also:
- Constant Field Values
-
JSON_PROPERTY_FILE_NAME
public static final String JSON_PROPERTY_FILE_NAME
- See Also:
- Constant Field Values
-
JSON_PROPERTY_REPORT_TYPE
public static final String JSON_PROPERTY_REPORT_TYPE
- See Also:
- Constant Field Values
-
-
Method Detail
-
accountHolder
public ReportNotificationData accountHolder(ResourceReference accountHolder)
-
getAccountHolder
public ResourceReference getAccountHolder()
Get accountHolder- Returns:
- accountHolder
-
setAccountHolder
public void setAccountHolder(ResourceReference accountHolder)
accountHolder- Parameters:
accountHolder-
-
balanceAccount
public ReportNotificationData balanceAccount(ResourceReference balanceAccount)
-
getBalanceAccount
public ResourceReference getBalanceAccount()
Get balanceAccount- Returns:
- balanceAccount
-
setBalanceAccount
public void setBalanceAccount(ResourceReference balanceAccount)
balanceAccount- Parameters:
balanceAccount-
-
balancePlatform
public ReportNotificationData balancePlatform(String balancePlatform)
-
getBalancePlatform
public String getBalancePlatform()
The unique identifier of the balance platform.- Returns:
- balancePlatform
-
setBalancePlatform
public void setBalancePlatform(String balancePlatform)
The unique identifier of the balance platform.- Parameters:
balancePlatform-
-
creationDate
public ReportNotificationData creationDate(OffsetDateTime creationDate)
-
getCreationDate
public OffsetDateTime getCreationDate()
The date and time when the event was triggered, in ISO 8601 extended format. For example, **2020-12-18T10:15:30+01:00**.- Returns:
- creationDate
-
setCreationDate
public void setCreationDate(OffsetDateTime creationDate)
The date and time when the event was triggered, in ISO 8601 extended format. For example, **2020-12-18T10:15:30+01:00**.- Parameters:
creationDate-
-
downloadUrl
public ReportNotificationData downloadUrl(String downloadUrl)
-
getDownloadUrl
public String getDownloadUrl()
The URL at which you can download the report. To download, you must authenticate your GET request with your [API credentials](https://docs.adyen.com/api-explorer/#/balanceplatform/latest/overview).- Returns:
- downloadUrl
-
setDownloadUrl
public void setDownloadUrl(String downloadUrl)
The URL at which you can download the report. To download, you must authenticate your GET request with your [API credentials](https://docs.adyen.com/api-explorer/#/balanceplatform/latest/overview).- Parameters:
downloadUrl-
-
fileName
public ReportNotificationData fileName(String fileName)
-
getFileName
public String getFileName()
The filename of the report.- Returns:
- fileName
-
setFileName
public void setFileName(String fileName)
The filename of the report.- Parameters:
fileName-
-
reportType
public ReportNotificationData reportType(String reportType)
-
getReportType
public String getReportType()
Type of report.- Returns:
- reportType
-
setReportType
public void setReportType(String reportType)
Type of report.- Parameters:
reportType-
-
equals
public boolean equals(Object o)
Return true if this ReportNotificationData object is equal to o.
-
fromJson
public static ReportNotificationData fromJson(String jsonString) throws com.fasterxml.jackson.core.JsonProcessingException
Create an instance of ReportNotificationData given an JSON string- Parameters:
jsonString- JSON string- Returns:
- An instance of ReportNotificationData
- Throws:
com.fasterxml.jackson.core.JsonProcessingException- if the JSON string is invalid with respect to ReportNotificationData
-
toJson
public String toJson() throws com.fasterxml.jackson.core.JsonProcessingException
Convert an instance of ReportNotificationData to an JSON string- Returns:
- JSON string
- Throws:
com.fasterxml.jackson.core.JsonProcessingException
-
-