Class ConfirmReturnItemRequest

    • Constructor Detail

      • ConfirmReturnItemRequest

        public ConfirmReturnItemRequest()
    • Method Detail

      • getOrderFulfillmentItemId

        public String getOrderFulfillmentItemId()
        The context ID of the OrderFulfillmentItem returned.

        This provides an association with the ReturnAuthorizationItem returned, via ReturnAuthorizationItem.getOrderFulfillmentItemId().

        Returns:
        the context ID of the order fulfillment item returned
      • getQuantity

        public int getQuantity()
        The quantity of the item returned.
        Returns:
        the quantity of the item returned
      • getCondition

        public String getCondition()
        The actual condition of the returned item received.

        This is usually populated from an enum.

        Returns:
        the actual condition of the returned item received
      • getNote

        @Nullable
        public String getNote()
        An optional note containing extra information about the item being returned.
        Returns:
        optional note containing extra information about the item being returned
      • isRefundFulfillmentCharge

        public boolean isRefundFulfillmentCharge()
        Whether the fulfillment charge should be refunded.
        Returns:
        whether the fulfillment charge can be refunded
      • getOverrideTotalToRefund

        @Nullable
        public javax.money.MonetaryAmount getOverrideTotalToRefund()
        The overridden grand total to refund.
        Returns:
        the overridden grand total to refund
      • setOrderFulfillmentItemId

        public void setOrderFulfillmentItemId​(String orderFulfillmentItemId)
        The context ID of the OrderFulfillmentItem returned.

        This provides an association with the ReturnAuthorizationItem returned, via ReturnAuthorizationItem.getOrderFulfillmentItemId().

        Parameters:
        orderFulfillmentItemId - the context ID of the order fulfillment item returned
      • setQuantity

        public void setQuantity​(int quantity)
        The quantity of the item returned.
        Parameters:
        quantity - the quantity of the item returned
      • setCondition

        public void setCondition​(String condition)
        The actual condition of the returned item received.

        This is usually populated from an enum.

        Parameters:
        condition - the actual condition of the returned item received
      • setNote

        public void setNote​(@Nullable
                            String note)
        An optional note containing extra information about the item being returned.
        Parameters:
        note - optional note containing extra information about the item being returned
      • setRefundFulfillmentCharge

        public void setRefundFulfillmentCharge​(boolean refundFulfillmentCharge)
        Whether the fulfillment charge should be refunded.
        Parameters:
        refundFulfillmentCharge - whether the fulfillment charge can be refunded
      • setOverrideTotalToRefund

        public void setOverrideTotalToRefund​(@Nullable
                                             javax.money.MonetaryAmount overrideTotalToRefund)
        The overridden grand total to refund.
        Parameters:
        overrideTotalToRefund - the overridden grand total to refund
      • canEqual

        protected boolean canEqual​(Object other)
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object