public class OrderItem extends Object
| Constructor and Description |
|---|
OrderItem() |
| Modifier and Type | Method and Description |
|---|---|
Long |
getAmount() |
Long |
getCount() |
String |
getEan() |
ItemType |
getItemType() |
String |
getName() |
String |
getProductURL() |
Integer |
getVatRate() |
static OrderItem |
of(String name,
Long amount,
Long count) |
static OrderItem |
of(String name,
Long amount,
Long count,
Integer vatRate,
ItemType type,
String ean,
String url) |
void |
setAmount(Long amount) |
void |
setCount(Long count) |
void |
setEan(String ean) |
void |
setItemType(ItemType itemType) |
void |
setName(String name) |
void |
setProductURL(String productURL) |
void |
setVatRate(Integer vatRate) |
String |
toString() |
public String getName()
public void setName(String name)
public Long getAmount()
public void setAmount(Long amount)
public Long getCount()
public void setCount(Long count)
public Integer getVatRate()
public void setVatRate(Integer vatRate)
public ItemType getItemType()
public void setItemType(ItemType itemType)
public String getProductURL()
public void setProductURL(String productURL)
public String getEan()
public void setEan(String ean)
Copyright © 2017. All rights reserved.