public interface BasketIf
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getCustom1() |
java.lang.String |
getCustom10() |
java.lang.String |
getCustom11() |
java.lang.String |
getCustom2() |
java.lang.String |
getCustom3() |
java.lang.String |
getCustom4() |
java.lang.String |
getCustom5() |
java.lang.String |
getCustom6() |
java.lang.String |
getCustom7() |
java.lang.String |
getCustom8() |
java.lang.String |
getCustom9() |
int |
getCustomerId() |
java.util.Calendar |
getDateAdded() |
java.util.Calendar |
getDateAvailable()
The date when the product will become available
|
java.lang.String |
getEncodedProduct()
The encodedProduct is in the form 1{3}5{4}1 where the first number is the product id.
|
java.math.BigDecimal |
getFinalPriceExTax()
This is the price without including tax.
|
java.math.BigDecimal |
getFinalPriceIncTax()
This is the price including tax.
|
int |
getId() |
OptionIf[] |
getOpts()
An array of Option objects that further defines the product.
|
ProductIf |
getProduct() |
int |
getProductId() |
int |
getQtyResrvdForResId()
When a reservation id is present, this attribute defines the number of products that have
been reserved connected with this reservationId.
|
int |
getQuantity() |
int |
getQuantityInStock() |
int |
getQuantityReserved()
This attribute defines the total number of products that are currently reserved.
|
java.util.Calendar |
getReservationExpiryDate()
The time when the stock reservation defined by the reservationId, expires.
|
int |
getReservationId()
Used when products are reserved during checkout to allow a customer to checkout without
risking the product going out of stock.
|
java.util.Calendar |
getReservationStartDate()
The start time for the stock reservation defined by the reservationId.
|
java.lang.String |
getSku()
The SKU of the product
|
int |
getWishListId()
Set to the id of the wish list (gift registry) to keep track that it has been added from a
gift registry.
|
int |
getWishListItemId()
Set to the id of the wish list item (gift registry item) to keep track that it has been added
from a gift registry and which item it corresponds to.
|
boolean |
isUseBasketPrice()
When set, the price of the basket object is used rather than getting the price from the
product object.
|
void |
setCustom1(java.lang.String custom1) |
void |
setCustom10(java.lang.String custom10) |
void |
setCustom11(java.lang.String custom11) |
void |
setCustom2(java.lang.String custom2) |
void |
setCustom3(java.lang.String custom3) |
void |
setCustom4(java.lang.String custom4) |
void |
setCustom5(java.lang.String custom5) |
void |
setCustom6(java.lang.String custom6) |
void |
setCustom7(java.lang.String custom7) |
void |
setCustom8(java.lang.String custom8) |
void |
setCustom9(java.lang.String custom9) |
void |
setCustomerId(int customerId) |
void |
setDateAdded(java.util.Calendar dateAdded) |
void |
setDateAvailable(java.util.Calendar dateAvailable)
The date when the product will become available
|
void |
setEncodedProduct(java.lang.String encodedProduct)
The encodedProduct is in the form 1{3}5{4}1 where the first number is the product id.
|
void |
setFinalPriceExTax(java.math.BigDecimal finalPriceExTax)
This is the price without including tax.
|
void |
setFinalPriceIncTax(java.math.BigDecimal finalPriceIncTax)
This is the price including tax.
|
void |
setId(int id) |
void |
setOpts(OptionIf[] opts)
An array of Option objects that further defines the product.
|
void |
setProduct(ProductIf product) |
void |
setProductId(int productId) |
void |
setQtyResrvdForResId(int qtyResrvdForResId)
When a reservation id is present, this attribute defines the number of products that have
been reserved connected with this reservationId.
|
void |
setQuantity(int quantity) |
void |
setQuantityInStock(int quantityInStock) |
void |
setQuantityReserved(int quantityReserved)
This attribute defines the total number of products that are currently reserved.
|
void |
setReservationExpiryDate(java.util.Calendar reservationExpiryDate)
The time when the stock reservation defined by the reservationId, expires.
|
void |
setReservationId(int reservationId)
Used when products are reserved during checkout to allow a customer to checkout without
risking the product going out of stock.
|
void |
setReservationStartDate(java.util.Calendar reservationStartDate)
The start time for the stock reservation defined by the reservationId.
|
void |
setSku(java.lang.String sku)
The SKU of the product
|
void |
setUseBasketPrice(boolean useBasketPrice)
When set, the price of the basket object is used rather than getting the price from the
product object.
|
void |
setWishListId(int wishListId)
Set to the id of the wish list (gift registry) to keep track that it has been added from a
gift registry.
|
void |
setWishListItemId(int wishListItemId)
Set to the id of the wish list item (gift registry item) to keep track that it has been added
from a gift registry and which item it corresponds to.
|
java.util.Calendar getDateAdded()
void setDateAdded(java.util.Calendar dateAdded)
dateAdded
- The dateAdded to set.java.lang.String getEncodedProduct()
void setEncodedProduct(java.lang.String encodedProduct)
encodedProduct
- The encodedProduct to set.int getId()
void setId(int id)
id
- The id to set.OptionIf[] getOpts()
void setOpts(OptionIf[] opts)
opts
- The opts to set.ProductIf getProduct()
void setProduct(ProductIf product)
product
- The product to set.int getProductId()
void setProductId(int productId)
productId
- The productId to set.int getQuantity()
void setQuantity(int quantity)
quantity
- The quantity to set.java.math.BigDecimal getFinalPriceExTax()
void setFinalPriceExTax(java.math.BigDecimal finalPriceExTax)
finalPriceExTax
- The finalPriceExTax to set.java.math.BigDecimal getFinalPriceIncTax()
void setFinalPriceIncTax(java.math.BigDecimal finalPriceIncTax)
finalPriceIncTax
- The finalPriceIncTax to set.int getQuantityInStock()
void setQuantityInStock(int quantityInStock)
quantityInStock
- The quantityInStock to set.java.util.Calendar getDateAvailable()
void setDateAvailable(java.util.Calendar dateAvailable)
dateAvailable
- the dateAvailable to setjava.lang.String getCustom1()
void setCustom1(java.lang.String custom1)
custom1
- The custom1 to set.java.lang.String getCustom2()
void setCustom2(java.lang.String custom2)
custom2
- The custom2 to set.java.lang.String getCustom3()
void setCustom3(java.lang.String custom3)
custom3
- The custom3 to set.java.lang.String getCustom4()
void setCustom4(java.lang.String custom4)
custom4
- The custom4 to set.java.lang.String getCustom5()
void setCustom5(java.lang.String custom5)
custom5
- The custom5 to set.java.lang.String getCustom6()
void setCustom6(java.lang.String custom6)
custom6
- the custom6 to setjava.lang.String getCustom7()
void setCustom7(java.lang.String custom7)
custom7
- the custom7 to setjava.lang.String getCustom8()
void setCustom8(java.lang.String custom8)
custom8
- the custom8 to setjava.lang.String getCustom9()
void setCustom9(java.lang.String custom9)
custom9
- the custom9 to setjava.lang.String getCustom10()
void setCustom10(java.lang.String custom10)
custom10
- the custom10 to setjava.lang.String getCustom11()
void setCustom11(java.lang.String custom11)
custom11
- the custom11 to setjava.lang.String getSku()
void setSku(java.lang.String sku)
sku
- the sku to setint getWishListId()
void setWishListId(int wishListId)
wishListId
- the wishListId to setint getWishListItemId()
void setWishListItemId(int wishListItemId)
wishListItemId
- the wishListItemId to setboolean isUseBasketPrice()
void setUseBasketPrice(boolean useBasketPrice)
useBasketPrice
- the useBasketPrice to setint getReservationId()
void setReservationId(int reservationId)
reservationId
- the reservationId to setint getQtyResrvdForResId()
void setQtyResrvdForResId(int qtyResrvdForResId)
qtyResrvdForResId
- the qtyResrvdForResId to setint getQuantityReserved()
void setQuantityReserved(int quantityReserved)
quantityReserved
- the quantityReserved to setjava.util.Calendar getReservationExpiryDate()
void setReservationExpiryDate(java.util.Calendar reservationExpiryDate)
reservationExpiryDate
- the reservationExpiryDate to setjava.util.Calendar getReservationStartDate()
void setReservationStartDate(java.util.Calendar reservationStartDate)
reservationStartDate
- the reservationStartDate to setint getCustomerId()
void setCustomerId(int customerId)
customerId
- the customerId to setCopyright © 2018 DS Data Systems UK Ltd.