Class FilteredAccounts
java.lang.Object
com.broadleafcommerce.subscriptionoperation.domain.FilteredAccounts
Filtered, valid accounts based on a list of candidate accounts narrowed by inclusion and
exclusion customer segments.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected booleanbooleanThe filtered set of accounts that are valid based on the inclusion and exclusion segments.The set of requested candidate accounts that were filtered.The set of accounts that were excluded from the final result.The set of accounts that were included in the final result.inthashCode()voidsetAccounts(Set<String> accounts) The filtered set of accounts that are valid based on the inclusion and exclusion segments.voidsetAdditionalFields(Map<String, Object> additionalFields) voidsetCandidateAccounts(Set<String> candidateAccounts) The set of requested candidate accounts that were filtered.voidsetExcludeSegmentIds(Set<String> excludeSegmentIds) The set of accounts that were excluded from the final result.voidsetIncludeSegmentIds(Set<String> includeSegmentIds) The set of accounts that were included in the final result.toString()
-
Constructor Details
-
FilteredAccounts
public FilteredAccounts(Set<String> candidateAccounts, Set<String> includeSegmentIds, Set<String> excludeSegmentIds, Set<String> accounts, Map<String, Object> additionalFields) Creates a newFilteredAccountsinstance.- Parameters:
candidateAccounts- The set of requested candidate accounts that were filtered.includeSegmentIds- The set of accounts that were included in the final result. Optional. If null, then all candidates are considered included.excludeSegmentIds- The set of accounts that were excluded from the final result. Optional. If null, then no candidates are considered excluded.accounts- The filtered set of accounts that are valid based on the inclusion and exclusion segments.additionalFields-
-
FilteredAccounts
public FilteredAccounts()
-
-
Method Details
-
getCandidateAccounts
The set of requested candidate accounts that were filtered. -
getIncludeSegmentIds
The set of accounts that were included in the final result. Optional. If null, then all candidates are considered included. -
getExcludeSegmentIds
The set of accounts that were excluded from the final result. Optional. If null, then no candidates are considered excluded. -
getAccounts
The filtered set of accounts that are valid based on the inclusion and exclusion segments. -
getAdditionalFields
-
setCandidateAccounts
The set of requested candidate accounts that were filtered. -
setIncludeSegmentIds
The set of accounts that were included in the final result. Optional. If null, then all candidates are considered included. -
setExcludeSegmentIds
The set of accounts that were excluded from the final result. Optional. If null, then no candidates are considered excluded. -
setAccounts
The filtered set of accounts that are valid based on the inclusion and exclusion segments. -
setAdditionalFields
-
equals
-
canEqual
-
hashCode
public int hashCode() -
toString
-