Class CreateCreditAccountRequest
java.lang.Object
com.broadleafcommerce.creditaccount.web.endpoint.domain.CreateCreditAccountRequest
- All Implemented Interfaces:
Serializable
A request DTO used to create a
CreditAccount.- Author:
- Dima Myroniuk (dmyroniuk)
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected booleanbooleanDescribes an alternative owning user reference for the credit account, that can be used instead of theowningUserRef.Describes an alternative owning user type of the credit account, that can be used instead of theowningUserType.Additional attributes associated with this credit account.javax.money.MonetaryAmountgetType()inthashCode()voidsetAlternativeOwningUserRef(String alternativeOwningUserRef) Describes an alternative owning user reference for the credit account, that can be used instead of theowningUserRef.voidsetAlternativeOwningUserType(String alternativeOwningUserType) Describes an alternative owning user type of the credit account, that can be used instead of theowningUserType.voidsetAttributes(Map<String, Object> attributes) Additional attributes associated with this credit account.voidsetBalance(javax.money.MonetaryAmount balance) voidsetExpirationDate(Instant expirationDate) voidsetOwningUserRef(String owningUserRef) voidsetOwningUserType(String owningUserType) voidvoidsetReasonDescription(String reasonDescription) voidvoidsetSourceEntityId(String sourceEntityId) voidsetSourceEntityType(String sourceEntityType) voidtoString()
-
Constructor Details
-
CreateCreditAccountRequest
public CreateCreditAccountRequest()
-
-
Method Details
-
getType
- See Also:
-
getOwningUserType
- See Also:
-
getOwningUserRef
- See Also:
-
getAlternativeOwningUserType
Describes an alternative owning user type of the credit account, that can be used instead of theowningUserType.- Returns:
- An alternative owning user type of the credit account.
- See Also:
-
getAlternativeOwningUserRef
Describes an alternative owning user reference for the credit account, that can be used instead of theowningUserRef.- Returns:
- An alternative owning user reference for the credit account.
-
getBalance
public javax.money.MonetaryAmount getBalance()- See Also:
-
getExpirationDate
- See Also:
-
getSource
- See Also:
-
getSourceEntityType
- See Also:
-
getSourceEntityId
- See Also:
-
getReason
- See Also:
-
getReasonDescription
- See Also:
-
getAttributes
Additional attributes associated with this credit account.- Returns:
- Additional attributes associated with this credit account.
-
setType
- See Also:
-
setOwningUserType
- See Also:
-
setOwningUserRef
- See Also:
-
setAlternativeOwningUserType
Describes an alternative owning user type of the credit account, that can be used instead of theowningUserType.- Parameters:
alternativeOwningUserType- an alternative owning user type of the credit account.- See Also:
-
setAlternativeOwningUserRef
Describes an alternative owning user reference for the credit account, that can be used instead of theowningUserRef.- Parameters:
alternativeOwningUserRef- An alternative owning user reference for the credit account.
-
setBalance
public void setBalance(javax.money.MonetaryAmount balance) - See Also:
-
setExpirationDate
- See Also:
-
setSource
- See Also:
-
setSourceEntityType
- See Also:
-
setSourceEntityId
- See Also:
-
setReason
- See Also:
-
setReasonDescription
- See Also:
-
setAttributes
Additional attributes associated with this credit account.- Parameters:
attributes- Additional attributes associated with this credit account.
-
equals
-
canEqual
-
hashCode
public int hashCode() -
toString
-