Class ConfirmReturnItemRequest
- java.lang.Object
-
- com.broadleafcommerce.orderoperation.web.endpoint.domain.ConfirmReturnItemRequest
-
- All Implemented Interfaces:
Serializable
public class ConfirmReturnItemRequest extends Object implements Serializable
A request to confirm that aReturnAuthorizationItem
has been received.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description ConfirmReturnItemRequest()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected boolean
canEqual(Object other)
boolean
equals(Object o)
String
getCondition()
The actual condition of the returned item received.String
getNote()
An optional note containing extra information about the item being returned.String
getOrderFulfillmentItemId()
The context ID of theOrderFulfillmentItem
returned.javax.money.MonetaryAmount
getOverrideTotalToRefund()
The overridden grand total to refund.int
getQuantity()
The quantity of the item returned.int
hashCode()
boolean
isRefundFulfillmentCharge()
Whether the fulfillment charge should be refunded.void
setCondition(String condition)
The actual condition of the returned item received.void
setNote(String note)
An optional note containing extra information about the item being returned.void
setOrderFulfillmentItemId(String orderFulfillmentItemId)
The context ID of theOrderFulfillmentItem
returned.void
setOverrideTotalToRefund(javax.money.MonetaryAmount overrideTotalToRefund)
The overridden grand total to refund.void
setQuantity(int quantity)
The quantity of the item returned.void
setRefundFulfillmentCharge(boolean refundFulfillmentCharge)
Whether the fulfillment charge should be refunded.String
toString()
-
-
-
Method Detail
-
getOrderFulfillmentItemId
public String getOrderFulfillmentItemId()
The context ID of theOrderFulfillmentItem
returned.This provides an association with the
ReturnAuthorizationItem
returned, viaReturnAuthorizationItem.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 theOrderFulfillmentItem
returned.This provides an association with the
ReturnAuthorizationItem
returned, viaReturnAuthorizationItem.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)
-
-