Package com.adyen.model.reportwebhooks
Class ReportNotificationData
- java.lang.Object
-
- com.adyen.model.reportwebhooks.ReportNotificationData
-
public class ReportNotificationData extends Object
ReportNotificationData
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classReportNotificationData.CustomTypeAdapterFactory
-
Field Summary
Fields Modifier and Type Field Description static HashSet<String>openapiFieldsstatic HashSet<String>openapiRequiredFieldsstatic StringSERIALIZED_NAME_ACCOUNT_HOLDERstatic StringSERIALIZED_NAME_BALANCE_ACCOUNTstatic StringSERIALIZED_NAME_BALANCE_PLATFORMstatic StringSERIALIZED_NAME_CREATION_DATEstatic StringSERIALIZED_NAME_DOWNLOAD_URLstatic StringSERIALIZED_NAME_FILE_NAMEstatic StringSERIALIZED_NAME_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)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)voidsetBalanceAccount(ResourceReference balanceAccount)voidsetBalancePlatform(String balancePlatform)voidsetCreationDate(OffsetDateTime creationDate)voidsetDownloadUrl(String downloadUrl)voidsetFileName(String fileName)voidsetReportType(String reportType)StringtoJson()Convert an instance of ReportNotificationData to an JSON stringStringtoString()static voidvalidateJsonObject(com.google.gson.JsonObject jsonObj)Validates the JSON Object and throws an exception if issues found
-
-
-
Field Detail
-
SERIALIZED_NAME_ACCOUNT_HOLDER
public static final String SERIALIZED_NAME_ACCOUNT_HOLDER
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_BALANCE_ACCOUNT
public static final String SERIALIZED_NAME_BALANCE_ACCOUNT
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_BALANCE_PLATFORM
public static final String SERIALIZED_NAME_BALANCE_PLATFORM
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_CREATION_DATE
public static final String SERIALIZED_NAME_CREATION_DATE
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_DOWNLOAD_URL
public static final String SERIALIZED_NAME_DOWNLOAD_URL
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_FILE_NAME
public static final String SERIALIZED_NAME_FILE_NAME
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_REPORT_TYPE
public static final String SERIALIZED_NAME_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)
-
balanceAccount
public ReportNotificationData balanceAccount(ResourceReference balanceAccount)
-
getBalanceAccount
public ResourceReference getBalanceAccount()
Get balanceAccount- Returns:
- balanceAccount
-
setBalanceAccount
public void setBalanceAccount(ResourceReference 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)
-
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)
-
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)
-
fileName
public ReportNotificationData fileName(String fileName)
-
getFileName
public String getFileName()
The filename of the report.- Returns:
- fileName
-
setFileName
public void setFileName(String fileName)
-
reportType
public ReportNotificationData reportType(String reportType)
-
getReportType
public String getReportType()
Type of report.- Returns:
- reportType
-
setReportType
public void setReportType(String reportType)
-
validateJsonObject
public static void validateJsonObject(com.google.gson.JsonObject jsonObj) throws IOExceptionValidates the JSON Object and throws an exception if issues found- Parameters:
jsonObj- JSON Object- Throws:
IOException- if the JSON Object is invalid with respect to ReportNotificationData
-
fromJson
public static ReportNotificationData fromJson(String jsonString) throws IOException
Create an instance of ReportNotificationData given an JSON string- Parameters:
jsonString- JSON string- Returns:
- An instance of ReportNotificationData
- Throws:
IOException- if the JSON string is invalid with respect to ReportNotificationData
-
toJson
public String toJson()
Convert an instance of ReportNotificationData to an JSON string- Returns:
- JSON string
-
-