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 boolean
boolean
Describes 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.MonetaryAmount
getType()
int
hashCode()
void
setAlternativeOwningUserRef
(String alternativeOwningUserRef) Describes an alternative owning user reference for the credit account, that can be used instead of theowningUserRef
.void
setAlternativeOwningUserType
(String alternativeOwningUserType) Describes an alternative owning user type of the credit account, that can be used instead of theowningUserType
.void
setAttributes
(Map<String, Object> attributes) Additional attributes associated with this credit account.void
setBalance
(javax.money.MonetaryAmount balance) void
setExpirationDate
(Instant expirationDate) void
setOwningUserRef
(String owningUserRef) void
setOwningUserType
(String owningUserType) void
void
setReasonDescription
(String reasonDescription) void
void
setSourceEntityId
(String sourceEntityId) void
setSourceEntityType
(String sourceEntityType) void
toString()
-
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
-