public class OrderItem extends Object implements Serializable, EDIWritable
Constructor and Description |
---|
OrderItem() |
Modifier and Type | Method and Description |
---|---|
Integer |
getPosition() |
BigDecimal |
getPrice() |
String |
getProductId() |
Long |
getQuantity() |
String |
getTitle() |
OrderItem |
setPosition(Integer position) |
OrderItem |
setPrice(BigDecimal price) |
OrderItem |
setProductId(String productId) |
OrderItem |
setQuantity(Long quantity) |
OrderItem |
setTitle(String title) |
void |
write(Writer writer,
Delimiters delimiters)
Write the bean to the specified
Writer instance. |
public void write(Writer writer, Delimiters delimiters) throws IOException
EDIWritable
Writer
instance.write
in interface EDIWritable
writer
- The target writer.delimiters
- The delimiters.IOException
- Error writing bean.public Integer getPosition()
public Long getQuantity()
public String getProductId()
public String getTitle()
public BigDecimal getPrice()
public OrderItem setPrice(BigDecimal price)
Copyright © 2020. All rights reserved.