T - type of real cart item.public interface IItem<T>
| Modifier and Type | Method and Description |
|---|---|
T |
as()
購物車品項的真實類別
|
java.io.Serializable |
getIdentity()
購物車品項識別,例如 產品代號
|
long |
getQuantity()
品項的數量
|
double |
getRegularPrice()
原價
|
double |
getSalePrice()
售價
|
void |
setQuantity(long quantity)
設定品項數量
|
java.io.Serializable getIdentity()
long getQuantity()
void setQuantity(long quantity)
quantity - of itemdouble getSalePrice()
double getRegularPrice()
Copyright © 2019. All rights reserved.