Class 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 Detail

      • MultipleAddressUpdateRequest

        public MultipleAddressUpdateRequest()
    • Method Detail

      • getAdditions

        public List<AddressData> getAdditions()
        Gets the list of new addresses to be added.
        Returns:
        A list of AddressData representing 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 of AddressData representing the new addresses to be added.
      • toString

        public String toString()
        Provides a string representation of the multiple address update request, including the modifications and additions.
        Overrides:
        toString in class Object
        Returns:
        A string representation of the request.