Class PartyRole
java.lang.Object
de.hybris.platform.tuawebservicesresources.v2.dto.PartyRole
The part played by a party in a given context.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaccount(List<AccountRef> account) addAccountItem(AccountRef accountItem) addAgreementItem(AgreementRef agreementItem) addCharacteristicItem(Characteristic characteristicItem) addContactMediumItem(ContactMedium contactMediumItem) addCreditProfileItem(CreditProfile creditProfileItem) addPaymentMethodItem(PaymentMethodRef paymentMethodItem) addRelatedPartyItem(RelatedParty relatedPartyItem) agreement(List<AgreementRef> agreement) atBaseType(String atBaseType) atSchemaLocation(String atSchemaLocation) characteristic(List<Characteristic> characteristic) contactMedium(List<ContactMedium> contactMedium) creditProfile(List<CreditProfile> creditProfile) engagedParty(RelatedParty engagedParty) boolean@Valid List<AccountRef>Get account@Valid List<AgreementRef>Get agreementWhen 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@Valid List<Characteristic>Describes the characteristic of a party role.@Valid List<ContactMedium>Get contactMedium@Valid List<CreditProfile>Get creditProfile@Valid RelatedPartyGet engagedPartygetHref()Url used to reference the party role.getId()Unique identifier for PartyRolesgetName()A word, term, or phrase by which the PartyRole is known and distinguished from other PartyRoles.@Valid List<PaymentMethodRef>Get paymentMethod@Valid List<RelatedParty>Get relatedPartyUsed to track the lifecycle status of the party role.A string providing an explanation on the value of the status lifecycle.@Valid TimePeriodGet validForinthashCode()paymentMethod(List<PaymentMethodRef> paymentMethod) relatedParty(List<RelatedParty> relatedParty) voidsetAccount(List<AccountRef> account) voidsetAgreement(List<AgreementRef> agreement) voidsetAtBaseType(String atBaseType) voidsetAtSchemaLocation(String atSchemaLocation) voidvoidsetCharacteristic(List<Characteristic> characteristic) voidsetContactMedium(List<ContactMedium> contactMedium) voidsetCreditProfile(List<CreditProfile> creditProfile) voidsetEngagedParty(RelatedParty engagedParty) voidvoidvoidvoidsetPaymentMethod(List<PaymentMethodRef> paymentMethod) voidsetRelatedParty(List<RelatedParty> relatedParty) voidvoidsetStatusReason(String statusReason) voidsetValidFor(TimePeriod validFor) statusReason(String statusReason) toString()validFor(TimePeriod validFor)
-
Constructor Details
-
PartyRole
public PartyRole()
-
-
Method Details
-
id
-
getId
Unique identifier for PartyRoles- Returns:
- id
-
setId
-
href
-
getHref
Url used to reference the party role.- Returns:
- href
-
setHref
-
name
-
getName
A word, term, or phrase by which the PartyRole is known and distinguished from other PartyRoles.- Returns:
- name
-
setName
-
status
-
getStatus
Used to track the lifecycle status of the party role.- Returns:
- status
-
setStatus
-
statusReason
-
getStatusReason
A string providing an explanation on the value of the status lifecycle. For instance if the status is Rejected, statusReason will provide the reason for rejection.- Returns:
- statusReason
-
setStatusReason
-
account
-
addAccountItem
-
getAccount
Get account- Returns:
- account
-
setAccount
-
agreement
-
addAgreementItem
-
getAgreement
Get agreement- Returns:
- agreement
-
setAgreement
-
characteristic
-
addCharacteristicItem
-
getCharacteristic
Describes the characteristic of a party role.- Returns:
- characteristic
-
setCharacteristic
-
contactMedium
-
addContactMediumItem
-
getContactMedium
Get contactMedium- Returns:
- contactMedium
-
setContactMedium
-
creditProfile
-
addCreditProfileItem
-
getCreditProfile
Get creditProfile- Returns:
- creditProfile
-
setCreditProfile
-
engagedParty
-
getEngagedParty
Get engagedParty- Returns:
- engagedParty
-
setEngagedParty
-
paymentMethod
-
addPaymentMethodItem
-
getPaymentMethod
Get paymentMethod- Returns:
- paymentMethod
-
setPaymentMethod
-
addRelatedPartyItem
-
getRelatedParty
Get relatedParty- Returns:
- relatedParty
-
setRelatedParty
-
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
-