Package com.xero.models.finance
Class ContactDetail
java.lang.Object
com.xero.models.finance.ContactDetail
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaccountCodes(List<String> accountCodes) A list of account codes involved in transactions.addAccountCodesItem(String accountCodesItem) A list of account codes involved in transactions.ID of the contact associated with the transactions.booleanA list of account codes involved in transactions.ID of the contact associated with the transactions.getName()Name of the contact associated with the transactions.getTotal()Total value for the contactGet totalDetailGet totalOtherinthashCode()Name of the contact associated with the transactions.voidsetAccountCodes(List<String> accountCodes) A list of account codes involved in transactions.voidsetContactId(UUID contactId) ID of the contact associated with the transactions.voidName of the contact associated with the transactions.voidTotal value for the contactvoidsetTotalDetail(ContactTotalDetail totalDetail) totalDetailvoidsetTotalOther(ContactTotalOther totalOther) totalOthertoString()Total value for the contacttotalDetail(ContactTotalDetail totalDetail) totalDetailtotalOther(ContactTotalOther totalOther) totalOther
-
Constructor Details
-
ContactDetail
public ContactDetail()
-
-
Method Details
-
contactId
ID of the contact associated with the transactions. Transactions with no contact will be grouped under the special ID: 86793108-198C-46D8-90A3-43C1D12686CE. Transactions that are receive or spend bank transfers will be grouped under the special ID: 207322B3-6A58-4BE7-80F1-430123914AD6- Parameters:
contactId- UUID- Returns:
- ContactDetail
-
getContactId
ID of the contact associated with the transactions. Transactions with no contact will be grouped under the special ID: 86793108-198C-46D8-90A3-43C1D12686CE. Transactions that are receive or spend bank transfers will be grouped under the special ID: 207322B3-6A58-4BE7-80F1-430123914AD6- Returns:
- contactId
-
setContactId
ID of the contact associated with the transactions. Transactions with no contact will be grouped under the special ID: 86793108-198C-46D8-90A3-43C1D12686CE. Transactions that are receive or spend bank transfers will be grouped under the special ID: 207322B3-6A58-4BE7-80F1-430123914AD6- Parameters:
contactId- UUID
-
name
Name of the contact associated with the transactions. If no contact is associated with the transactions this will appear as “None Provided”, For receive or spend bank transfer transactions, this will appear as “Bank Transfer”.- Parameters:
name- String- Returns:
- ContactDetail
-
getName
Name of the contact associated with the transactions. If no contact is associated with the transactions this will appear as “None Provided”, For receive or spend bank transfer transactions, this will appear as “Bank Transfer”.- Returns:
- name
-
setName
Name of the contact associated with the transactions. If no contact is associated with the transactions this will appear as “None Provided”, For receive or spend bank transfer transactions, this will appear as “Bank Transfer”.- Parameters:
name- String
-
total
Total value for the contact- Parameters:
total- Double- Returns:
- ContactDetail
-
getTotal
-
setTotal
-
totalDetail
totalDetail- Parameters:
totalDetail- ContactTotalDetail- Returns:
- ContactDetail
-
getTotalDetail
-
setTotalDetail
totalDetail- Parameters:
totalDetail- ContactTotalDetail
-
totalOther
totalOther- Parameters:
totalOther- ContactTotalOther- Returns:
- ContactDetail
-
getTotalOther
-
setTotalOther
totalOther- Parameters:
totalOther- ContactTotalOther
-
accountCodes
A list of account codes involved in transactions.- Parameters:
accountCodes- List<>- Returns:
- ContactDetail
-
addAccountCodesItem
A list of account codes involved in transactions.- Parameters:
accountCodesItem- String- Returns:
- ContactDetail
-
getAccountCodes
-
setAccountCodes
-
equals
-
hashCode
-
toString
-