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_IDstatic 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)accountHolderReportNotificationDatabalanceAccount(ResourceReference balanceAccount)balanceAccountReportNotificationDatabalancePlatform(String balancePlatform)The unique identifier of the balance platform.ReportNotificationDatacreationDate(OffsetDateTime creationDate)The date and time when the event was triggered, in ISO 8601 extended format.ReportNotificationDatadownloadUrl(String downloadUrl)The URL at which you can download the report.booleanequals(Object o)Return true if this ReportNotificationData object is equal to o.ReportNotificationDatafileName(String fileName)The filename of the report.static ReportNotificationDatafromJson(String jsonString)Create an instance of ReportNotificationData given an JSON stringResourceReferencegetAccountHolder()accountHolderResourceReferencegetBalanceAccount()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.StringgetId()The ID of the resource.StringgetReportType()The type of report.inthashCode()ReportNotificationDataid(String id)The ID of the resource.ReportNotificationDatareportType(String reportType)The type of report.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.voidsetId(String id)The ID of the resource.voidsetReportType(String reportType)The 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_ID
public static final String JSON_PROPERTY_ID
- 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)
accountHolder- Parameters:
accountHolder-- Returns:
- the current
ReportNotificationDatainstance, allowing for method chaining
-
getAccountHolder
public ResourceReference getAccountHolder()
accountHolder- Returns:
- accountHolder
-
setAccountHolder
public void setAccountHolder(ResourceReference accountHolder)
accountHolder- Parameters:
accountHolder-
-
balanceAccount
public ReportNotificationData balanceAccount(ResourceReference balanceAccount)
balanceAccount- Parameters:
balanceAccount-- Returns:
- the current
ReportNotificationDatainstance, allowing for method chaining
-
getBalanceAccount
public ResourceReference getBalanceAccount()
balanceAccount- Returns:
- balanceAccount
-
setBalanceAccount
public void setBalanceAccount(ResourceReference balanceAccount)
balanceAccount- Parameters:
balanceAccount-
-
balancePlatform
public ReportNotificationData balancePlatform(String balancePlatform)
The unique identifier of the balance platform.- Parameters:
balancePlatform-- Returns:
- the current
ReportNotificationDatainstance, allowing for method chaining
-
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)
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-- Returns:
- the current
ReportNotificationDatainstance, allowing for method chaining
-
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)
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-- Returns:
- the current
ReportNotificationDatainstance, allowing for method chaining
-
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)
The filename of the report.- Parameters:
fileName-- Returns:
- the current
ReportNotificationDatainstance, allowing for method chaining
-
getFileName
public String getFileName()
The filename of the report.- Returns:
- fileName
-
setFileName
public void setFileName(String fileName)
The filename of the report.- Parameters:
fileName-
-
id
public ReportNotificationData id(String id)
The ID of the resource.- Parameters:
id-- Returns:
- the current
ReportNotificationDatainstance, allowing for method chaining
-
getId
public String getId()
The ID of the resource.- Returns:
- id
-
setId
public void setId(String id)
The ID of the resource.- Parameters:
id-
-
reportType
public ReportNotificationData reportType(String reportType)
The type of report. Possible values: - `balanceplatform_accounting_interactive_report` - `balanceplatform_accounting_report` - `balanceplatform_balance_report` - `balanceplatform_fee_report` - `balanceplatform_payment_instrument_report` - `balanceplatform_payout_report` - `balanceplatform_statement_report`- Parameters:
reportType-- Returns:
- the current
ReportNotificationDatainstance, allowing for method chaining
-
getReportType
public String getReportType()
The type of report. Possible values: - `balanceplatform_accounting_interactive_report` - `balanceplatform_accounting_report` - `balanceplatform_balance_report` - `balanceplatform_fee_report` - `balanceplatform_payment_instrument_report` - `balanceplatform_payout_report` - `balanceplatform_statement_report`- Returns:
- reportType
-
setReportType
public void setReportType(String reportType)
The type of report. Possible values: - `balanceplatform_accounting_interactive_report` - `balanceplatform_accounting_report` - `balanceplatform_balance_report` - `balanceplatform_fee_report` - `balanceplatform_payment_instrument_report` - `balanceplatform_payout_report` - `balanceplatform_statement_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
-
-