Class AccountFundsBelowThresholdNotificationContent
- java.lang.Object
-
- com.adyen.model.marketpaywebhooks.AccountFundsBelowThresholdNotificationContent
-
public class AccountFundsBelowThresholdNotificationContent extends Object
AccountFundsBelowThresholdNotificationContent
-
-
Field Summary
Fields Modifier and Type Field Description static StringJSON_PROPERTY_ACCOUNT_CODEstatic StringJSON_PROPERTY_BALANCE_DATEstatic StringJSON_PROPERTY_CURRENT_FUNDSstatic StringJSON_PROPERTY_FUND_THRESHOLDstatic StringJSON_PROPERTY_MERCHANT_ACCOUNT_CODE
-
Constructor Summary
Constructors Constructor Description AccountFundsBelowThresholdNotificationContent()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description AccountFundsBelowThresholdNotificationContentaccountCode(String accountCode)AccountFundsBelowThresholdNotificationContentbalanceDate(LocalDate balanceDate)AccountFundsBelowThresholdNotificationContentcurrentFunds(Amount currentFunds)booleanequals(Object o)Return true if this AccountFundsBelowThresholdNotificationContent object is equal to o.static AccountFundsBelowThresholdNotificationContentfromJson(String jsonString)Create an instance of AccountFundsBelowThresholdNotificationContent given an JSON stringAccountFundsBelowThresholdNotificationContentfundThreshold(Amount fundThreshold)StringgetAccountCode()The code of the account with funds under thresholdLocalDategetBalanceDate()Get balanceDateAmountgetCurrentFunds()Get currentFundsAmountgetFundThreshold()Get fundThresholdStringgetMerchantAccountCode()The code of the merchant account.inthashCode()AccountFundsBelowThresholdNotificationContentmerchantAccountCode(String merchantAccountCode)voidsetAccountCode(String accountCode)voidsetBalanceDate(LocalDate balanceDate)voidsetCurrentFunds(Amount currentFunds)voidsetFundThreshold(Amount fundThreshold)voidsetMerchantAccountCode(String merchantAccountCode)StringtoJson()Convert an instance of AccountFundsBelowThresholdNotificationContent 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_BALANCE_DATE
public static final String JSON_PROPERTY_BALANCE_DATE
- See Also:
- Constant Field Values
-
JSON_PROPERTY_CURRENT_FUNDS
public static final String JSON_PROPERTY_CURRENT_FUNDS
- See Also:
- Constant Field Values
-
JSON_PROPERTY_FUND_THRESHOLD
public static final String JSON_PROPERTY_FUND_THRESHOLD
- See Also:
- Constant Field Values
-
JSON_PROPERTY_MERCHANT_ACCOUNT_CODE
public static final String JSON_PROPERTY_MERCHANT_ACCOUNT_CODE
- See Also:
- Constant Field Values
-
-
Method Detail
-
accountCode
public AccountFundsBelowThresholdNotificationContent accountCode(String accountCode)
-
getAccountCode
public String getAccountCode()
The code of the account with funds under threshold- Returns:
- accountCode
-
setAccountCode
public void setAccountCode(String accountCode)
-
balanceDate
public AccountFundsBelowThresholdNotificationContent balanceDate(LocalDate balanceDate)
-
getBalanceDate
public LocalDate getBalanceDate()
Get balanceDate- Returns:
- balanceDate
-
setBalanceDate
public void setBalanceDate(LocalDate balanceDate)
-
currentFunds
public AccountFundsBelowThresholdNotificationContent currentFunds(Amount currentFunds)
-
getCurrentFunds
public Amount getCurrentFunds()
Get currentFunds- Returns:
- currentFunds
-
setCurrentFunds
public void setCurrentFunds(Amount currentFunds)
-
fundThreshold
public AccountFundsBelowThresholdNotificationContent fundThreshold(Amount fundThreshold)
-
getFundThreshold
public Amount getFundThreshold()
Get fundThreshold- Returns:
- fundThreshold
-
setFundThreshold
public void setFundThreshold(Amount fundThreshold)
-
merchantAccountCode
public AccountFundsBelowThresholdNotificationContent merchantAccountCode(String merchantAccountCode)
-
getMerchantAccountCode
public String getMerchantAccountCode()
The code of the merchant account.- Returns:
- merchantAccountCode
-
setMerchantAccountCode
public void setMerchantAccountCode(String merchantAccountCode)
-
equals
public boolean equals(Object o)
Return true if this AccountFundsBelowThresholdNotificationContent object is equal to o.
-
fromJson
public static AccountFundsBelowThresholdNotificationContent fromJson(String jsonString) throws com.fasterxml.jackson.core.JsonProcessingException
Create an instance of AccountFundsBelowThresholdNotificationContent given an JSON string- Parameters:
jsonString- JSON string- Returns:
- An instance of AccountFundsBelowThresholdNotificationContent
- Throws:
com.fasterxml.jackson.core.JsonProcessingException- if the JSON string is invalid with respect to AccountFundsBelowThresholdNotificationContent
-
toJson
public String toJson() throws com.fasterxml.jackson.core.JsonProcessingException
Convert an instance of AccountFundsBelowThresholdNotificationContent to an JSON string- Returns:
- JSON string
- Throws:
com.fasterxml.jackson.core.JsonProcessingException
-
-