Class CustomLineItemImpl
java.lang.Object
com.commercetools.history.models.common.CustomLineItemImpl
- All Implemented Interfaces:
CustomLineItem,io.vrap.rmf.base.client.ModelBase
public class CustomLineItemImpl
extends Object
implements CustomLineItem, io.vrap.rmf.base.client.ModelBase
CustomLineItem
-
Nested Class Summary
Nested classes/interfaces inherited from interface io.vrap.rmf.base.client.ModelBase
io.vrap.rmf.base.client.ModelBase.FilteredRecursiveToStringStyle -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleangetId()The unique ID of this CustomLineItem.getMoney()getName()The amount of a CustomLineItem in the cart.getSlug()A unique String in the cart to identify this CustomLineItem.inthashCode()voidThe unique ID of this CustomLineItem.voidset moneyvoidsetName(LocalizedString name) set namevoidsetQuantity(Integer quantity) The amount of a CustomLineItem in the cart.voidA unique String in the cart to identify this CustomLineItem.voidsetTaxedPrice(TaxedItemPrice taxedPrice) set taxedPricevoidsetTotalPrice(Money totalPrice) set totalPricetoString()Methods inherited from interface com.commercetools.history.models.common.CustomLineItem
withCustomLineItemMethods inherited from interface io.vrap.rmf.base.client.ModelBase
reflectionString, reflectionString
-
Constructor Details
-
CustomLineItemImpl
public CustomLineItemImpl()create empty instance
-
-
Method Details
-
getId
The unique ID of this CustomLineItem.
- Specified by:
getIdin interfaceCustomLineItem- Returns:
- id
-
getName
- Specified by:
getNamein interfaceCustomLineItem- Returns:
- name
-
getMoney
- Specified by:
getMoneyin interfaceCustomLineItem- Returns:
- money
-
getTaxedPrice
- Specified by:
getTaxedPricein interfaceCustomLineItem- Returns:
- taxedPrice
-
getTotalPrice
- Specified by:
getTotalPricein interfaceCustomLineItem- Returns:
- totalPrice
-
getSlug
A unique String in the cart to identify this CustomLineItem.
- Specified by:
getSlugin interfaceCustomLineItem- Returns:
- slug
-
getQuantity
The amount of a CustomLineItem in the cart. Must be a positive integer.
- Specified by:
getQuantityin interfaceCustomLineItem- Returns:
- quantity
-
setId
Description copied from interface:CustomLineItemThe unique ID of this CustomLineItem.
- Specified by:
setIdin interfaceCustomLineItem- Parameters:
id- value to be set
-
setName
Description copied from interface:CustomLineItemset name- Specified by:
setNamein interfaceCustomLineItem- Parameters:
name- value to be set
-
setMoney
Description copied from interface:CustomLineItemset money- Specified by:
setMoneyin interfaceCustomLineItem- Parameters:
money- value to be set
-
setTaxedPrice
Description copied from interface:CustomLineItemset taxedPrice- Specified by:
setTaxedPricein interfaceCustomLineItem- Parameters:
taxedPrice- value to be set
-
setTotalPrice
Description copied from interface:CustomLineItemset totalPrice- Specified by:
setTotalPricein interfaceCustomLineItem- Parameters:
totalPrice- value to be set
-
setSlug
Description copied from interface:CustomLineItemA unique String in the cart to identify this CustomLineItem.
- Specified by:
setSlugin interfaceCustomLineItem- Parameters:
slug- value to be set
-
setQuantity
Description copied from interface:CustomLineItemThe amount of a CustomLineItem in the cart. Must be a positive integer.
- Specified by:
setQuantityin interfaceCustomLineItem- Parameters:
quantity- value to be set
-
equals
-
hashCode
public int hashCode() -
toString
-