Class Account
java.lang.Object
de.hybris.platform.tuawebservicesresources.v2.dto.Account
Generic Account structure used to define commonalities between sub concepts of PartyAccount and Financial Account.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaccountBalance(List<AccountBalance> accountBalance) accountRelationship(List<AccountRelationship> accountRelationship) accountType(String accountType) addAccountBalanceItem(AccountBalance accountBalanceItem) addAccountRelationshipItem(AccountRelationship accountRelationshipItem) addContactItem(Contact contactItem) addRelatedPartyItem(RelatedParty relatedPartyItem) addTaxExemptionItem(AccountTaxExemption taxExemptionItem) atBaseType(String atBaseType) atSchemaLocation(String atSchemaLocation) creditLimit(Money creditLimit) description(String description) boolean@Valid List<AccountBalance>Get accountBalance@Valid List<AccountRelationship>Get accountRelationshipA categorization of an account, such as individual, joint, and so forth, whose instances share some of the same characteristics.When sub-classing, this defines the super-classA URI to a JSON-Schema file that defines additional attributes and relationshipsWhen sub-classing, this defines the sub-class entity nameGet contact@Valid MoneyGet creditLimitDetailed description of the party accountgetHref()Unique reference of the accountgetId()Unique identifier of the account@Valid DateDate of last modification of the account@NotNull StringgetName()Name of the account@Valid List<RelatedParty>Get relatedPartygetState()Contains the lifecycle state such as: Active, Closed, Suspended and so on.@Valid List<AccountTaxExemption>Get taxExemptioninthashCode()lastModified(Date lastModified) relatedParty(List<RelatedParty> relatedParty) voidsetAccountBalance(List<AccountBalance> accountBalance) voidsetAccountRelationship(List<AccountRelationship> accountRelationship) voidsetAccountType(String accountType) voidsetAtBaseType(String atBaseType) voidsetAtSchemaLocation(String atSchemaLocation) voidvoidsetContact(List<Contact> contact) voidsetCreditLimit(Money creditLimit) voidsetDescription(String description) voidvoidvoidsetLastModified(Date lastModified) voidvoidsetRelatedParty(List<RelatedParty> relatedParty) voidvoidsetTaxExemption(List<AccountTaxExemption> taxExemption) taxExemption(List<AccountTaxExemption> taxExemption) toString()
-
Constructor Details
-
Account
public Account()
-
-
Method Details
-
id
-
getId
Unique identifier of the account- Returns:
- id
-
setId
-
href
-
getHref
Unique reference of the account- Returns:
- href
-
setHref
-
accountType
-
getAccountType
A categorization of an account, such as individual, joint, and so forth, whose instances share some of the same characteristics. Note: for flexibility we use a String here but an implementation may use an enumeration with a limited list of valid values.- Returns:
- accountType
-
setAccountType
-
description
-
getDescription
Detailed description of the party account- Returns:
- description
-
setDescription
-
lastModified
-
getLastModified
Date of last modification of the account- Returns:
- lastModified
-
setLastModified
-
name
-
getName
Name of the account- Returns:
- name
-
setName
-
state
-
getState
Contains the lifecycle state such as: Active, Closed, Suspended and so on.- Returns:
- state
-
setState
-
accountBalance
-
addAccountBalanceItem
-
getAccountBalance
Get accountBalance- Returns:
- accountBalance
-
setAccountBalance
-
accountRelationship
-
addAccountRelationshipItem
-
getAccountRelationship
Get accountRelationship- Returns:
- accountRelationship
-
setAccountRelationship
-
contact
-
addContactItem
-
getContact
Get contact- Returns:
- contact
-
setContact
-
creditLimit
-
getCreditLimit
Get creditLimit- Returns:
- creditLimit
-
setCreditLimit
-
addRelatedPartyItem
-
getRelatedParty
Get relatedParty- Returns:
- relatedParty
-
setRelatedParty
-
taxExemption
-
addTaxExemptionItem
-
getTaxExemption
Get taxExemption- Returns:
- taxExemption
-
setTaxExemption
-
atBaseType
-
getAtBaseType
When sub-classing, this defines the super-class- Returns:
- atBaseType
-
setAtBaseType
-
atSchemaLocation
-
getAtSchemaLocation
A URI to a JSON-Schema file that defines additional attributes and relationships- Returns:
- atSchemaLocation
-
setAtSchemaLocation
-
atType
-
getAtType
When sub-classing, this defines the sub-class entity name- Returns:
- atType
-
setAtType
-
equals
-
hashCode
public int hashCode() -
toString
-