Class LoyaltyMembershipResponseExtended
- java.lang.Object
-
- com.inteliqua.rest.customer.payload.loyalty.member.LoyaltyMembershipBasicPayload
-
- com.inteliqua.rest.customer.payload.loyalty.member.response.LoyaltyMembershipResponseSimple
-
- com.inteliqua.rest.customer.payload.loyalty.member.response.LoyaltyMembershipResponseExtended
-
- All Implemented Interfaces:
com.qivos.util.rest.mappers.APIResponseDTO,com.qivos.util.rest.mappers.APIResponseLevelDTO
public class LoyaltyMembershipResponseExtended extends LoyaltyMembershipResponseSimple
Extended response for loyalty membership create/search services. This class extendsLoyaltyMembershipResponseSimpleand includes additional details such as available coupons and affiliates related to the member.- Author:
- nikritikos
-
-
Constructor Summary
Constructors Constructor Description LoyaltyMembershipResponseExtended()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaddAffiliates(MemberAffiliationResponse affiliateResponse)Adds an affiliate response to the list of affiliates.voidaddCouponResponse(CouponResponse response)Adds a coupon response to the available coupons list.List<MemberAffiliationResponse>getAffiliates()Gets the list of affiliates that the member is associated with.List<CouponResponse>getAvailableCoupons()Gets the list of available coupons for the member.-
Methods inherited from class com.inteliqua.rest.customer.payload.loyalty.member.response.LoyaltyMembershipResponseSimple
addClub, addRedemptionLevels, addTag, getAssignedTags, getCardNumber, getClubs, getDetailLevel, getLastModificationDate, getMemberClassification, getMemberCode, getPointBalance, getRedemptionLevelList, getRegistrationDate, getTierCode, getTierReCalculationDate, isActive, setActive, setCardNumber, setLastModificationDate, setMemberClassification, setMemberCode, setPointBalance, setRegistrationDate, setTierCode, setTierReCalculationDate
-
Methods inherited from class com.inteliqua.rest.customer.payload.loyalty.member.LoyaltyMembershipBasicPayload
addAttribute, getAttributes, getCategory, getMemberStatus, getRegistrationCountryCode, getRegistrationSource, getRegistrationStoreCode, getSchemaCode, setCategory, setMemberStatus, setRegistrationCountryCode, setRegistrationSource, setRegistrationStoreCode, setSchemaCode
-
-
-
-
Method Detail
-
getAvailableCoupons
public List<CouponResponse> getAvailableCoupons()
Gets the list of available coupons for the member.- Returns:
- the list of available coupons (not used, not expired)
-
addCouponResponse
public void addCouponResponse(CouponResponse response)
Adds a coupon response to the available coupons list.- Parameters:
response- the coupon response to add
-
getAffiliates
public List<MemberAffiliationResponse> getAffiliates()
Gets the list of affiliates that the member is associated with.- Returns:
- the list of member affiliates
-
addAffiliates
public void addAffiliates(MemberAffiliationResponse affiliateResponse)
Adds an affiliate response to the list of affiliates.- Parameters:
affiliateResponse- the affiliate response to add
-
-