Class Wallet
java.lang.Object
com.broadleafcommerce.billing.job.domain.Wallet
This is a basic wallet representation of a given user's payment accounts. It keeps an updated
list of
PaymentAccount ids that can be billed for a given user.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected booleanbooleanList of active payment account idsThe identifier of the default payment account for this user, according to the external system that provided payment accountsReference to the user for whom this wallet is usedinthashCode()voidsetActivePaymentAccountIds(List<@Size(max=255) String> activePaymentAccountIds) List of active payment account idsvoidsetDefaultAccountId(String defaultAccountId) The identifier of the default payment account for this user, according to the external system that provided payment accountsvoidReference to the user for whom this wallet is usedtoString()
-
Constructor Details
-
Wallet
public Wallet() -
Wallet
-
-
Method Details
-
getUserId
Reference to the user for whom this wallet is used -
getDefaultAccountId
The identifier of the default payment account for this user, according to the external system that provided payment accounts -
getActivePaymentAccountIds
List of active payment account ids -
setUserId
Reference to the user for whom this wallet is used -
setDefaultAccountId
The identifier of the default payment account for this user, according to the external system that provided payment accounts -
setActivePaymentAccountIds
List of active payment account ids -
equals
-
canEqual
-
hashCode
public int hashCode() -
toString
-