Class OrderItemUpdateParameter


  • public final class OrderItemUpdateParameter
    extends Object
    Updates order item parameters.
    • Constructor Detail

      • OrderItemUpdateParameter

        public OrderItemUpdateParameter()
    • Method Detail

      • tags

        public Map<String,​String> tags()
        Get the tags property: The list of key value pairs that describe the resource. These tags can be used in viewing and grouping this resource (across resource groups).
        Returns:
        the tags value.
      • withTags

        public OrderItemUpdateParameter withTags​(Map<String,​String> tags)
        Set the tags property: The list of key value pairs that describe the resource. These tags can be used in viewing and grouping this resource (across resource groups).
        Parameters:
        tags - the tags value to set.
        Returns:
        the OrderItemUpdateParameter object itself.
      • forwardAddress

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

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

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

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

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

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

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