Class JpaIncludedFee
java.lang.Object
com.broadleafcommerce.order.provider.jpa.domain.JpaIncludedFee
- All Implemented Interfaces:
Serializable
Represents a fee that is included in actions against an
OrderFulfillment. These are
recorded on the OrderFulfillment at the time a relevant action is taken such as capturing
payment or cancelling items when the caller specifies that fees should be captured or canceled
(reversed/refunded) at the same time.- Since:
- Order Services 2.2.0, Release Train 2.3.0
- Author:
- Nathan Moore (nathandmoore)
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected booleanbooleangetName()From theOrderItem.getName().getNote()An optional note containing extra information about the fee being included.The context id of thefee order itembeing included.javax.money.MonetaryAmountFrom theOrderItem.getRefundAmount().javax.money.MonetaryAmountgetTotal()From theOrderItem.getTotal().inthashCode()voidFrom theOrderItem.getName().voidAn optional note containing extra information about the fee being included.voidsetOrderItemId(String orderItemId) The context id of thefee order itembeing included.voidsetRefundableAmount(javax.money.MonetaryAmount refundableAmount) From theOrderItem.getRefundAmount().voidsetTotal(javax.money.MonetaryAmount total) From theOrderItem.getTotal().toString()
-
Constructor Details
-
JpaIncludedFee
public JpaIncludedFee()
-
-
Method Details
-
getOrderItemId
The context id of thefee order itembeing included.- Returns:
- the context ID of the fee order item being included
-
getName
From theOrderItem.getName(). -
getNote
An optional note containing extra information about the fee being included.- Returns:
- optional note containing extra information about the fee being included
-
getRefundableAmount
public javax.money.MonetaryAmount getRefundableAmount()From theOrderItem.getRefundAmount(). -
getTotal
public javax.money.MonetaryAmount getTotal()From theOrderItem.getTotal(). -
setOrderItemId
The context id of thefee order itembeing included.- Parameters:
id- the context ID of the fee order item being included
-
setName
From theOrderItem.getName(). -
setNote
An optional note containing extra information about the fee being included.- Parameters:
note- optional note containing extra information about the fee being included
-
setRefundableAmount
public void setRefundableAmount(javax.money.MonetaryAmount refundableAmount) From theOrderItem.getRefundAmount(). -
setTotal
public void setTotal(javax.money.MonetaryAmount total) From theOrderItem.getTotal(). -
equals
-
canEqual
-
hashCode
public int hashCode() -
toString
-