Class OrderItem
java.lang.Object
io.awspring.spring.data.examples.model.OrderItem
@Table(tableName="Commerce")
@SortKeyTemplate("ORDER#{orderId}#ITEM#{productId}")
public class OrderItem
extends Object
- Since:
- 1.0.0
- Author:
- Matej Nedic
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetPk()getPrice()intstatic OrderItemof(String customerId, String orderId, String productId, String productName, int quantity, BigDecimal price) voidsetCustomerId(String customerId) voidvoidvoidvoidvoidsetOrderId(String orderId) voidvoidsetPrice(BigDecimal price) voidsetProductId(String productId) voidsetProductName(String productName) voidsetQuantity(int quantity)
-
Constructor Details
-
OrderItem
public OrderItem()
-
-
Method Details
-
of
-
getPk
-
setPk
-
getCustomerId
-
setCustomerId
-
getOrderId
-
setOrderId
-
getProductId
-
setProductId
-
getProductName
-
setProductName
-
getQuantity
public int getQuantity() -
setQuantity
public void setQuantity(int quantity) -
getPrice
-
setPrice
-
getGsi1pk
-
setGsi1pk
-
getGsi1sk
-
setGsi1sk
-
getGsi2pk
-
setGsi2pk
-
getGsi2sk
-
setGsi2sk
-