Class MembershipClubRequest
- java.lang.Object
-
- com.inteliqua.rest.system.club.payload.ClubPayload
-
- com.inteliqua.rest.customer.payload.club.request.MembershipClubRequest
-
public class MembershipClubRequest extends ClubPayload
Represents a request for a membership club. This class extends the ClubPayload class and overrides the default discount methods to ensure that they are hidden from the API documentation and are not serialized into JSON responses.- Author:
- nikritikos
-
-
Constructor Summary
Constructors Constructor Description MembershipClubRequest()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description BigDecimalgetDefaultDiscountAmount()Hides the default discount amount from the API and does not serialize it in the response.BigDecimalgetDefaultDiscountPercentage()Hides the default discount percentage from the API and does not serialize it in the response.-
Methods inherited from class com.inteliqua.rest.system.club.payload.ClubPayload
addAttribute, getAttributes, getClubCode, getEndDate, getStartDate, setClubCode, setDefaultDiscountAmount, setDefaultDiscountPercentage, setEndDate, setStartDate
-
-
-
-
Method Detail
-
getDefaultDiscountPercentage
public BigDecimal getDefaultDiscountPercentage()
Hides the default discount percentage from the API and does not serialize it in the response. This method calls the superclass method to return the default discount percentage.- Overrides:
getDefaultDiscountPercentagein classClubPayload- Returns:
- The default discount percentage.
-
getDefaultDiscountAmount
public BigDecimal getDefaultDiscountAmount()
Hides the default discount amount from the API and does not serialize it in the response. This method calls the superclass method to return the default discount amount.- Overrides:
getDefaultDiscountAmountin classClubPayload- Returns:
- The default discount amount.
-
-