Package com.maxmind.minfraud.request
Class ShoppingCartItem
- java.lang.Object
-
- com.maxmind.minfraud.AbstractModel
-
- com.maxmind.minfraud.request.ShoppingCartItem
-
public final class ShoppingCartItem extends AbstractModel
An item in the shopping cart.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
ShoppingCartItem.Builder
Builder
creates instances ofShippingCartItem
from values set by the builder's methods.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getCategory()
String
getItemId()
BigDecimal
getPrice()
Integer
getQuantity()
-
Methods inherited from class com.maxmind.minfraud.AbstractModel
toJson, toString
-
-
-
-
Method Detail
-
getCategory
public String getCategory()
- Returns:
- The category of the item.
-
getItemId
public String getItemId()
- Returns:
- The ID of the item.
-
getQuantity
public Integer getQuantity()
- Returns:
- The quantity of the item.
-
getPrice
public BigDecimal getPrice()
- Returns:
- The price of the item.
-
-