public final class LineItemInput
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
private java.lang.String |
productId |
private float |
quantity |
Constructor and Description |
---|
LineItemInput() |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getProductId()
Stock keeping unit of the line item
|
float |
getQuantity()
Quantity of the line item.
|
void |
setProductId(java.lang.String productId) |
void |
setQuantity(float quantity) |
private java.lang.String productId
@Min(value=0L) private float quantity
public java.lang.String getProductId()
public void setProductId(java.lang.String productId)
public float getQuantity()
public void setQuantity(float quantity)