Class LoyaltyMembershipBasicPayload
- java.lang.Object
-
- com.inteliqua.rest.customer.payload.loyalty.member.LoyaltyMembershipBasicPayload
-
- Direct Known Subclasses:
LoyaltyMembershipCreationRequest,LoyaltyMembershipResponseSimple
public class LoyaltyMembershipBasicPayload extends Object
This class represents the basic payload for loyalty membership details. It includes fields for loyalty schema, registration country, member category, and status along with a list of general attributes related to the loyalty membership.This class is used as a foundation for other payloads related to loyalty member data.
- Author:
- nikritikos
-
-
Constructor Summary
Constructors Constructor Description LoyaltyMembershipBasicPayload()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaddAttribute(EntityAttribute entityAttribute)Adds an attribute to the list of general attributes for the loyalty membership.List<EntityAttribute>getAttributes()Gets the list of general attributes of the loyalty membership.StringgetCategory()Gets the member category.StringgetMemberStatus()Gets the member status.StringgetRegistrationCountryCode()Gets the registration country code.StringgetRegistrationSource()Gets the registration source.StringgetRegistrationStoreCode()Gets the registration store code.StringgetSchemaCode()Gets the loyalty schema code for the member.voidsetCategory(String category)Sets the member category.voidsetMemberStatus(String memberStatus)Sets the member status.voidsetRegistrationCountryCode(String registrationCountryCode)Sets the registration country code.voidsetRegistrationSource(String registrationSource)Sets the registration source.voidsetRegistrationStoreCode(String registrationStoreCode)Sets the registration store code.voidsetSchemaCode(String schemaCode)Sets the loyalty schema code for the member.
-
-
-
Method Detail
-
getSchemaCode
public String getSchemaCode()
Gets the loyalty schema code for the member.- Returns:
- the schema code
-
setSchemaCode
public void setSchemaCode(String schemaCode)
Sets the loyalty schema code for the member.- Parameters:
schemaCode- the loyalty schema code
-
getRegistrationCountryCode
public String getRegistrationCountryCode()
Gets the registration country code.- Returns:
- the registration country code
-
setRegistrationCountryCode
public void setRegistrationCountryCode(String registrationCountryCode)
Sets the registration country code.- Parameters:
registrationCountryCode- the country code
-
getCategory
public String getCategory()
Gets the member category.- Returns:
- the category
-
setCategory
public void setCategory(String category)
Sets the member category.- Parameters:
category- the category
-
getRegistrationStoreCode
public String getRegistrationStoreCode()
Gets the registration store code.- Returns:
- the store code
-
setRegistrationStoreCode
public void setRegistrationStoreCode(String registrationStoreCode)
Sets the registration store code.- Parameters:
registrationStoreCode- the store code
-
getAttributes
public List<EntityAttribute> getAttributes()
Gets the list of general attributes of the loyalty membership.- Returns:
- the list of attributes
-
addAttribute
public void addAttribute(EntityAttribute entityAttribute)
Adds an attribute to the list of general attributes for the loyalty membership.- Parameters:
entityAttribute- the attribute to add
-
getRegistrationSource
public String getRegistrationSource()
Gets the registration source.- Returns:
- the registration source
-
setRegistrationSource
public void setRegistrationSource(String registrationSource)
Sets the registration source.- Parameters:
registrationSource- the source code
-
getMemberStatus
public String getMemberStatus()
Gets the member status.- Returns:
- the member status code
-
setMemberStatus
public void setMemberStatus(String memberStatus)
Sets the member status.- Parameters:
memberStatus- the status code
-
-