Class EmailModificationRequest
- java.lang.Object
-
- com.inteliqua.rest.customer.payload.email.request.EmailDataUpdateRequest
-
- com.inteliqua.rest.customer.payload.email.request.EmailModificationRequest
-
- All Implemented Interfaces:
ModificationRequest,Serializable
public class EmailModificationRequest extends EmailDataUpdateRequest implements ModificationRequest, Serializable
Represents a request to modify an email in the system. This class supports actions like updating or deleting an email based on the system's requirements.- Author:
- nikritikos
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description EmailModificationRequest()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ModificationTypegetAction()Gets the action to be performed (either UPDATE or DELETE).StringgetSystemCode()Gets the system code (QCCode) of the email.voidsetAction(ModificationType action)voidsetSystemCode(String systemCode)StringtoString()Provides a string representation of the email modification request.-
Methods inherited from class com.inteliqua.rest.customer.payload.email.request.EmailDataUpdateRequest
checkEmailAddressFormat, getAttributes, getEmailAddress, getIsPrimary, setEmailAddress, setIsPrimary
-
-
-
-
Method Detail
-
getSystemCode
public String getSystemCode()
Gets the system code (QCCode) of the email.- Specified by:
getSystemCodein interfaceModificationRequest- Returns:
- The system code of the email.
-
setSystemCode
public void setSystemCode(String systemCode)
-
getAction
public ModificationType getAction()
Gets the action to be performed (either UPDATE or DELETE).- Specified by:
getActionin interfaceModificationRequest- Returns:
- The action to perform.
-
setAction
public void setAction(ModificationType action)
-
toString
public String toString()
Provides a string representation of the email modification request.- Overrides:
toStringin classEmailDataUpdateRequest- Returns:
- A string representation of the object.
-
-