Class AccountRelationship
java.lang.Object
de.hybris.platform.tuawebservicesresources.v2.dto.AccountRelationship
Significant connection between accounts. For instance an aggregating account for a list of shop branches each having its own billing account.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaccount(AccountRef account) atBaseType(String atBaseType) atSchemaLocation(String atSchemaLocation) boolean@Valid AccountRefGet accountWhen 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 name@NotNull StringType of relationship@NotNull @Valid TimePeriodGet validForinthashCode()relationshipType(String relationshipType) voidsetAccount(AccountRef account) voidsetAtBaseType(String atBaseType) voidsetAtSchemaLocation(String atSchemaLocation) voidvoidsetRelationshipType(String relationshipType) voidsetValidFor(TimePeriod validFor) toString()validFor(TimePeriod validFor)
-
Constructor Details
-
AccountRelationship
public AccountRelationship()
-
-
Method Details
-
relationshipType
-
getRelationshipType
Type of relationship- Returns:
- relationshipType
-
setRelationshipType
-
account
-
getAccount
Get account- Returns:
- account
-
setAccount
-
validFor
-
getValidFor
Get validFor- Returns:
- validFor
-
setValidFor
-
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
-