Class JpaReturnAuthorizationItem
- java.lang.Object
-
- com.broadleafcommerce.order.provider.jpa.domain.JpaReturnAuthorizationItem
-
- All Implemented Interfaces:
com.broadleafcommerce.data.tracking.core.mapping.BusinessTypeAware
,Serializable
@Entity public class JpaReturnAuthorizationItem extends Object implements Serializable, com.broadleafcommerce.data.tracking.core.mapping.BusinessTypeAware
JPA-specific persisted-domain counterpart ofReturnAuthorizationItem
.This is managed through
JpaReturnAuthorization.getItems()
.See
JpaReturnAuthorization
'sModelMapperMappable
implementation for mappings between the JPA and business-domain of this entity.- Author:
- Samarth Dhruva (samarthd)
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description JpaReturnAuthorizationItem()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected boolean
canEqual(Object other)
boolean
equals(Object o)
String
get_id()
The JPA primary key.Class<?>
getBusinessDomainType()
List<JpaReturnConfirmation>
getConfirmations()
javax.money.CurrencyUnit
getCurrency()
The currency that is used to convert between aMonetaryAmount
and aBigDecimal
value.javax.money.MonetaryAmount
getEstimatedFulfillmentTotalToRefund()
javax.money.MonetaryAmount
getEstimatedMerchandiseTotalToRefund()
javax.money.MonetaryAmount
getEstimatedTaxTotalToRefund()
javax.money.MonetaryAmount
getEstimatedTotalToRefund()
String
getExpectedCondition()
String
getNote()
String
getOrderFulfillmentItemId()
String
getPrimaryReturnReason()
int
getQuantity()
JpaReturnAuthorization
getReturnAuthorization()
A reference to the return authorization this item belongs to.String
getReturnType()
String
getSecondaryReturnReason()
int
hashCode()
void
set_id(String _id)
The JPA primary key.void
setConfirmations(List<JpaReturnConfirmation> confirmations)
void
setCurrency(javax.money.CurrencyUnit currency)
The currency that is used to convert between aMonetaryAmount
and aBigDecimal
value.void
setEstimatedFulfillmentTotalToRefund(javax.money.MonetaryAmount estimatedFulfillmentTotalToRefund)
void
setEstimatedMerchandiseTotalToRefund(javax.money.MonetaryAmount estimatedMerchandiseTotalToRefund)
void
setEstimatedTaxTotalToRefund(javax.money.MonetaryAmount estimatedTaxTotalToRefund)
void
setEstimatedTotalToRefund(javax.money.MonetaryAmount estimatedTotalToRefund)
void
setExpectedCondition(String expectedCondition)
void
setNote(String note)
void
setOrderFulfillmentItemId(String orderFulfillmentItemId)
void
setPrimaryReturnReason(String primaryReturnReason)
void
setQuantity(int quantity)
void
setReturnAuthorization(JpaReturnAuthorization returnAuthorization)
A reference to the return authorization this item belongs to.void
setReturnType(String returnType)
void
setSecondaryReturnReason(String secondaryReturnReason)
String
toString()
-
-
-
Method Detail
-
getBusinessDomainType
public Class<?> getBusinessDomainType()
- Specified by:
getBusinessDomainType
in interfacecom.broadleafcommerce.data.tracking.core.mapping.BusinessTypeAware
-
setEstimatedMerchandiseTotalToRefund
public void setEstimatedMerchandiseTotalToRefund(javax.money.MonetaryAmount estimatedMerchandiseTotalToRefund)
-
getEstimatedMerchandiseTotalToRefund
public javax.money.MonetaryAmount getEstimatedMerchandiseTotalToRefund()
-
setEstimatedFulfillmentTotalToRefund
public void setEstimatedFulfillmentTotalToRefund(javax.money.MonetaryAmount estimatedFulfillmentTotalToRefund)
-
getEstimatedFulfillmentTotalToRefund
public javax.money.MonetaryAmount getEstimatedFulfillmentTotalToRefund()
-
setEstimatedTaxTotalToRefund
public void setEstimatedTaxTotalToRefund(javax.money.MonetaryAmount estimatedTaxTotalToRefund)
-
getEstimatedTaxTotalToRefund
public javax.money.MonetaryAmount getEstimatedTaxTotalToRefund()
-
setEstimatedTotalToRefund
public void setEstimatedTotalToRefund(javax.money.MonetaryAmount estimatedTotalToRefund)
-
getEstimatedTotalToRefund
public javax.money.MonetaryAmount getEstimatedTotalToRefund()
-
get_id
public String get_id()
The JPA primary key.- Returns:
- the jpa primary key
-
getReturnAuthorization
public JpaReturnAuthorization getReturnAuthorization()
A reference to the return authorization this item belongs to.
-
getOrderFulfillmentItemId
public String getOrderFulfillmentItemId()
- See Also:
ReturnAuthorizationItem.getOrderFulfillmentItemId()
-
getQuantity
public int getQuantity()
- See Also:
ReturnAuthorizationItem.getQuantity()
-
getPrimaryReturnReason
public String getPrimaryReturnReason()
- See Also:
ReturnAuthorizationItem.getPrimaryReturnReason()
-
getSecondaryReturnReason
public String getSecondaryReturnReason()
- See Also:
ReturnAuthorizationItem.getSecondaryReturnReason()
-
getExpectedCondition
public String getExpectedCondition()
- See Also:
ReturnAuthorizationItem.getExpectedCondition()
-
getReturnType
public String getReturnType()
- See Also:
ReturnAuthorizationItem.getReturnType()
-
getNote
@Nullable public String getNote()
- See Also:
ReturnAuthorizationItem.getNote()
-
getCurrency
public javax.money.CurrencyUnit getCurrency()
The currency that is used to convert between aMonetaryAmount
and aBigDecimal
value.The parent object will initialize this transient field prior to mapping between the business and persisted domains.
-
getConfirmations
public List<JpaReturnConfirmation> getConfirmations()
- See Also:
ReturnAuthorizationItem.getConfirmations()
-
set_id
public void set_id(String _id)
The JPA primary key.- Parameters:
_id
- the jpa primary key
-
setReturnAuthorization
public void setReturnAuthorization(JpaReturnAuthorization returnAuthorization)
A reference to the return authorization this item belongs to.
-
setOrderFulfillmentItemId
public void setOrderFulfillmentItemId(String orderFulfillmentItemId)
- See Also:
ReturnAuthorizationItem.getOrderFulfillmentItemId()
-
setQuantity
public void setQuantity(int quantity)
- See Also:
ReturnAuthorizationItem.getQuantity()
-
setPrimaryReturnReason
public void setPrimaryReturnReason(String primaryReturnReason)
- See Also:
ReturnAuthorizationItem.getPrimaryReturnReason()
-
setSecondaryReturnReason
public void setSecondaryReturnReason(String secondaryReturnReason)
- See Also:
ReturnAuthorizationItem.getSecondaryReturnReason()
-
setExpectedCondition
public void setExpectedCondition(String expectedCondition)
- See Also:
ReturnAuthorizationItem.getExpectedCondition()
-
setReturnType
public void setReturnType(String returnType)
- See Also:
ReturnAuthorizationItem.getReturnType()
-
setNote
public void setNote(@Nullable String note)
- See Also:
ReturnAuthorizationItem.getNote()
-
setCurrency
public void setCurrency(javax.money.CurrencyUnit currency)
The currency that is used to convert between aMonetaryAmount
and aBigDecimal
value.The parent object will initialize this transient field prior to mapping between the business and persisted domains.
-
setConfirmations
public void setConfirmations(List<JpaReturnConfirmation> confirmations)
- See Also:
ReturnAuthorizationItem.getConfirmations()
-
canEqual
protected boolean canEqual(Object other)
-
-