java.lang.Object
com.broadleafcommerce.order.client.domain.FeeRefund
All Implemented Interfaces:
Serializable

public class FeeRefund extends Object implements Serializable
Represents an fee which is being refunded in a ReturnAuthorization.
Since:
Order Client 2.0.4, Release Train 2.3.0
See Also:
  • Constructor Details

    • FeeRefund

      public FeeRefund()
  • Method Details

    • getOrderItemId

      public String getOrderItemId()
      The context id of the fee order item being refunded.
      Returns:
      the context ID of the fee order item being refunded
    • getQuantity

      public int getQuantity()
      The quantity of the fee being refunded.
      Returns:
      the quantity of the fee being refunded
    • getNote

      @Nullable public String getNote()
      An optional note containing extra information about the fee being refunded.
      Returns:
      optional note containing extra information about the fee being refunded
    • getEstimatedFeeTotalToRefund

      public javax.money.MonetaryAmount getEstimatedFeeTotalToRefund()
      The estimated fee total which can be refunded.
      Returns:
      the estimated fee total which can be refunded
    • getEstimatedTaxTotalToRefund

      public javax.money.MonetaryAmount getEstimatedTaxTotalToRefund()
      The estimated tax total which can be refunded.
      Returns:
      the estimated tax total which can be refunded
    • getEstimatedTotalToRefund

      public javax.money.MonetaryAmount getEstimatedTotalToRefund()
      The estimated grand total which can be refunded.
      Returns:
      the estimated grand total which can be refunded
    • isRefunded

      public boolean isRefunded()
      Whether or not this fee has been refunded.
    • setOrderItemId

      public void setOrderItemId(String orderItemId)
      The context id of the fee order item being refunded.
      Parameters:
      id - the context ID of the fee order item being refunded
    • setQuantity

      public void setQuantity(int quantity)
      The quantity of the fee being refunded.
      Parameters:
      quantity - the quantity of the fee being refunded
    • setNote

      public void setNote(@Nullable String note)
      An optional note containing extra information about the fee being refunded.
      Parameters:
      note - optional note containing extra information about the fee being refunded
    • setEstimatedFeeTotalToRefund

      public void setEstimatedFeeTotalToRefund(javax.money.MonetaryAmount estimatedFeeTotalToRefund)
      The estimated fee total which can be refunded.
      Parameters:
      estimatedMerchandiseTotalToRefund - the estimated fee total which can be refunded
    • setEstimatedTaxTotalToRefund

      public void setEstimatedTaxTotalToRefund(javax.money.MonetaryAmount estimatedTaxTotalToRefund)
      The estimated tax total which can be refunded.
      Parameters:
      estimatedTaxTotalToRefund - the estimated tax total which can be refunded
    • setEstimatedTotalToRefund

      public void setEstimatedTotalToRefund(javax.money.MonetaryAmount estimatedTotalToRefund)
      The estimated grand total which can be refunded.
      Parameters:
      estimatedTotalToRefund - the estimated grand total which can be refunded
    • setRefunded

      public void setRefunded(boolean refunded)
      Whether or not this fee has been refunded.
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • canEqual

      protected boolean canEqual(Object other)
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object