Class MultipleAddressUpdateRequest
- java.lang.Object
-
- com.inteliqua.rest.customer.payload.address.request.MultipleAddressUpdateRequest
-
- All Implemented Interfaces:
Serializable
public class MultipleAddressUpdateRequest extends Object implements Serializable
Represents a request to update multiple address entries for a customer.This class allows for both modification of existing addresses and the addition of new addresses. It includes two lists: one for modifications and another for new address additions.
- Author:
- nikritikos
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description MultipleAddressUpdateRequest()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description List<AddressData>getAdditions()Gets the list of new addresses to be added.List<AddressDataModificationRequest>getModifications()Gets the list of address modifications.voidsetAdditions(List<AddressData> additions)Sets the list of new addresses to be added.voidsetModifications(List<AddressDataModificationRequest> modifications)Sets the list of address modifications.StringtoString()Provides a string representation of the multiple address update request, including the modifications and additions.
-
-
-
Method Detail
-
getModifications
public List<AddressDataModificationRequest> getModifications()
Gets the list of address modifications.- Returns:
- A list of
AddressDataModificationRequestrepresenting the address modifications.
-
setModifications
public void setModifications(List<AddressDataModificationRequest> modifications)
Sets the list of address modifications.- Parameters:
modifications- A list ofAddressDataModificationRequestrepresenting the address modifications.
-
getAdditions
public List<AddressData> getAdditions()
Gets the list of new addresses to be added.- Returns:
- A list of
AddressDatarepresenting the new addresses to be added.
-
setAdditions
public void setAdditions(List<AddressData> additions)
Sets the list of new addresses to be added.- Parameters:
additions- A list ofAddressDatarepresenting the new addresses to be added.
-
-