Class LoyaltyMembershipQCCodeCriteria
- java.lang.Object
-
- com.inteliqua.rest.customer.search.criteria.member.LoyaltyMembershipQCCodeCriteria
-
- All Implemented Interfaces:
SearchCriteria,PersonCriteria,LoyaltyMembershipCriteria
public class LoyaltyMembershipQCCodeCriteria extends Object implements LoyaltyMembershipCriteria
Represents search criteria for locating loyalty customers based on their unique system code.This class implements
LoyaltyMembershipCriteriaand allows searching for loyalty customers using their unique membership code within the Eliqua.CX system.The
codefield is required and validated to ensure it is not null.- Author:
- nikritikos
-
-
Constructor Summary
Constructors Constructor Description LoyaltyMembershipQCCodeCriteria()Default constructor required for JSON deserialization.LoyaltyMembershipQCCodeCriteria(String code)Constructs a new search criteria instance with the given loyalty system code.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetCode()Retrieves the unique loyalty membership code.StringgetCriteriaType()Retrieves the criteria type for this search implementation.voidsetCode(String code)Sets the unique loyalty membership code.StringtoString()Returns a string representation of this object.
-
-
-
Field Detail
-
TYPE
public static final String TYPE
The type identifier for this search criteria.- See Also:
- Constant Field Values
-
-
Constructor Detail
-
LoyaltyMembershipQCCodeCriteria
public LoyaltyMembershipQCCodeCriteria()
Default constructor required for JSON deserialization.
-
LoyaltyMembershipQCCodeCriteria
public LoyaltyMembershipQCCodeCriteria(String code)
Constructs a new search criteria instance with the given loyalty system code.- Parameters:
code- The unique loyalty membership code.
-
-
Method Detail
-
getCode
public String getCode()
Retrieves the unique loyalty membership code.- Returns:
- The loyalty system code.
-
setCode
public void setCode(String code)
Sets the unique loyalty membership code.- Parameters:
code- The loyalty system code to set.
-
getCriteriaType
public String getCriteriaType()
Retrieves the criteria type for this search implementation.- Specified by:
getCriteriaTypein interfaceSearchCriteria- Returns:
- A string representing the type of search criteria.
-
-