Class ClubPayloadExtended
- java.lang.Object
-
- com.inteliqua.rest.system.club.payload.ClubPayload
-
- com.inteliqua.rest.system.club.payload.ClubPayloadExtended
-
public class ClubPayloadExtended extends ClubPayload
Extended payload for club data, adding additional fields for club name, deletion flag, and member club updates.This class extends
ClubPayloadand includes extra properties for managing a club’s information, including the club name, a delete flag, and a flag to update member clubs. The club name is mandatory, enforced by validation annotations.- See Also:
Author: nikritikos
-
-
Constructor Summary
Constructors Constructor Description ClubPayloadExtended()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetClubName()Gets the name of the club.StringgetDeleteFlag()Gets the delete flag for the club.booleanisUpdateMemberClubs()Gets whether the member clubs should be updated.voidsetClubName(String clubName)Sets the name of the club.voidsetDeleteFlag(String deleteFlag)Sets the delete flag for the club.voidsetUpdateMemberClubs(boolean updateMemberClubs)Sets whether to update member clubs.-
Methods inherited from class com.inteliqua.rest.system.club.payload.ClubPayload
addAttribute, getAttributes, getClubCode, getDefaultDiscountAmount, getDefaultDiscountPercentage, getEndDate, getStartDate, setClubCode, setDefaultDiscountAmount, setDefaultDiscountPercentage, setEndDate, setStartDate
-
-
-
-
Method Detail
-
getClubName
public String getClubName()
Gets the name of the club.- Returns:
- the name of the club
-
setClubName
public void setClubName(String clubName)
Sets the name of the club.- Parameters:
clubName- the name of the club to set
-
isUpdateMemberClubs
public boolean isUpdateMemberClubs()
Gets whether the member clubs should be updated.- Returns:
- true if member clubs should be updated, false otherwise
-
setUpdateMemberClubs
public void setUpdateMemberClubs(boolean updateMemberClubs)
Sets whether to update member clubs.- Parameters:
updateMemberClubs- the flag to set for updating member clubs
-
getDeleteFlag
public String getDeleteFlag()
Gets the delete flag for the club.- Returns:
- the delete flag
-
setDeleteFlag
public void setDeleteFlag(String deleteFlag)
Sets the delete flag for the club.- Parameters:
deleteFlag- the delete flag to set
-
-