Class OrderItemUpdateProperties


  • public final class OrderItemUpdateProperties
    extends Object
    Order item update properties.
    • Constructor Detail

      • OrderItemUpdateProperties

        public OrderItemUpdateProperties()
    • Method Detail

      • forwardAddress

        public AddressProperties forwardAddress()
        Get the forwardAddress property: Updates forward shipping address and contact details.
        Returns:
        the forwardAddress value.
      • withForwardAddress

        public OrderItemUpdateProperties withForwardAddress​(AddressProperties forwardAddress)
        Set the forwardAddress property: Updates forward shipping address and contact details.
        Parameters:
        forwardAddress - the forwardAddress value to set.
        Returns:
        the OrderItemUpdateProperties object itself.
      • preferences

        public Preferences preferences()
        Get the preferences property: Customer preference.
        Returns:
        the preferences value.
      • withPreferences

        public OrderItemUpdateProperties withPreferences​(Preferences preferences)
        Set the preferences property: Customer preference.
        Parameters:
        preferences - the preferences value to set.
        Returns:
        the OrderItemUpdateProperties object itself.
      • notificationEmailList

        public List<String> notificationEmailList()
        Get the notificationEmailList property: Additional notification email list.
        Returns:
        the notificationEmailList value.
      • withNotificationEmailList

        public OrderItemUpdateProperties withNotificationEmailList​(List<String> notificationEmailList)
        Set the notificationEmailList property: Additional notification email list.
        Parameters:
        notificationEmailList - the notificationEmailList value to set.
        Returns:
        the OrderItemUpdateProperties object itself.
      • validate

        public void validate()
        Validates the instance.
        Throws:
        IllegalArgumentException - thrown if the instance is not valid.