Class FeeRefund
java.lang.Object
com.broadleafcommerce.order.client.domain.FeeRefund
- All Implemented Interfaces:
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 Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected booleanbooleanjavax.money.MonetaryAmountThe estimated fee total which can be refunded.javax.money.MonetaryAmountThe estimated tax total which can be refunded.javax.money.MonetaryAmountThe estimated grand total which can be refunded.getNote()An optional note containing extra information about the fee being refunded.The context id of thefee order itembeing refunded.intThe quantity of the fee being refunded.inthashCode()booleanWhether or not this fee has been refunded.voidsetEstimatedFeeTotalToRefund(javax.money.MonetaryAmount estimatedFeeTotalToRefund) The estimated fee total which can be refunded.voidsetEstimatedTaxTotalToRefund(javax.money.MonetaryAmount estimatedTaxTotalToRefund) The estimated tax total which can be refunded.voidsetEstimatedTotalToRefund(javax.money.MonetaryAmount estimatedTotalToRefund) The estimated grand total which can be refunded.voidAn optional note containing extra information about the fee being refunded.voidsetOrderItemId(String orderItemId) The context id of thefee order itembeing refunded.voidsetQuantity(int quantity) The quantity of the fee being refunded.voidsetRefunded(boolean refunded) Whether or not this fee has been refunded.toString()
-
Constructor Details
-
FeeRefund
public FeeRefund()
-
-
Method Details
-
getOrderItemId
The context id of thefee order itembeing 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
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
The context id of thefee order itembeing 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
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
-
canEqual
-
hashCode
public int hashCode() -
toString
-