Class ReturnOrderItemDetails


  • public final class ReturnOrderItemDetails
    extends Object
    Return order item request body.
    • Constructor Detail

      • ReturnOrderItemDetails

        public ReturnOrderItemDetails()
    • Method Detail

      • returnAddress

        public AddressProperties returnAddress()
        Get the returnAddress property: customer return address.
        Returns:
        the returnAddress value.
      • withReturnAddress

        public ReturnOrderItemDetails withReturnAddress​(AddressProperties returnAddress)
        Set the returnAddress property: customer return address.
        Parameters:
        returnAddress - the returnAddress value to set.
        Returns:
        the ReturnOrderItemDetails object itself.
      • returnReason

        public String returnReason()
        Get the returnReason property: Return Reason.
        Returns:
        the returnReason value.
      • withReturnReason

        public ReturnOrderItemDetails withReturnReason​(String returnReason)
        Set the returnReason property: Return Reason.
        Parameters:
        returnReason - the returnReason value to set.
        Returns:
        the ReturnOrderItemDetails object itself.
      • serviceTag

        public String serviceTag()
        Get the serviceTag property: Service tag (located on the bottom-right corner of the device).
        Returns:
        the serviceTag value.
      • withServiceTag

        public ReturnOrderItemDetails withServiceTag​(String serviceTag)
        Set the serviceTag property: Service tag (located on the bottom-right corner of the device).
        Parameters:
        serviceTag - the serviceTag value to set.
        Returns:
        the ReturnOrderItemDetails object itself.
      • shippingBoxRequired

        public Boolean shippingBoxRequired()
        Get the shippingBoxRequired property: Shipping Box required.
        Returns:
        the shippingBoxRequired value.
      • withShippingBoxRequired

        public ReturnOrderItemDetails withShippingBoxRequired​(Boolean shippingBoxRequired)
        Set the shippingBoxRequired property: Shipping Box required.
        Parameters:
        shippingBoxRequired - the shippingBoxRequired value to set.
        Returns:
        the ReturnOrderItemDetails object itself.
      • validate

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