Package software.xdev.brevo.model
Class TransactionHistoryResp
java.lang.Object
software.xdev.brevo.model.TransactionHistoryResp
Response containing transaction history details for a specific balance and contact.
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaddTransactionHistoryItem(TransactionHistory transactionHistoryItem) balanceDefinitionId(String balanceDefinitionId) booleanUnique identifier of the associated balance definition.Unique identifier of the contact related to the transactions.getCount()Total number of transactions in the history.Unique identifier of the associated loyalty program.List of past transactions associated with the balance.inthashCode()loyaltyProgramId(String loyaltyProgramId) voidsetBalanceDefinitionId(String balanceDefinitionId) voidsetContactId(Integer contactId) voidvoidsetLoyaltyProgramId(String loyaltyProgramId) voidsetTransactionHistory(List<TransactionHistory> transactionHistory) toString()Convert the instance into URL query string.toUrlQueryString(String prefix) Convert the instance into URL query string.transactionHistory(List<TransactionHistory> transactionHistory)
-
Field Details
-
JSON_PROPERTY_BALANCE_DEFINITION_ID
- See Also:
-
JSON_PROPERTY_CONTACT_ID
- See Also:
-
JSON_PROPERTY_COUNT
- See Also:
-
JSON_PROPERTY_LOYALTY_PROGRAM_ID
- See Also:
-
JSON_PROPERTY_TRANSACTION_HISTORY
- See Also:
-
-
Constructor Details
-
TransactionHistoryResp
public TransactionHistoryResp()
-
-
Method Details
-
balanceDefinitionId
-
getBalanceDefinitionId
Unique identifier of the associated balance definition.- Returns:
- balanceDefinitionId
-
setBalanceDefinitionId
-
contactId
-
getContactId
Unique identifier of the contact related to the transactions.- Returns:
- contactId
-
setContactId
-
count
-
getCount
Total number of transactions in the history.- Returns:
- count
-
setCount
-
loyaltyProgramId
-
getLoyaltyProgramId
Unique identifier of the associated loyalty program.- Returns:
- loyaltyProgramId
-
setLoyaltyProgramId
-
transactionHistory
public TransactionHistoryResp transactionHistory(@Nullable List<TransactionHistory> transactionHistory) -
addTransactionHistoryItem
-
getTransactionHistory
List of past transactions associated with the balance.- Returns:
- transactionHistory
-
setTransactionHistory
-
equals
-
hashCode
public int hashCode() -
toString
-
toUrlQueryString
Convert the instance into URL query string.- Returns:
- URL query string
-
toUrlQueryString
Convert the instance into URL query string.- Parameters:
prefix- prefix of the query string- Returns:
- URL query string
-