public class ProductBulkOption extends Object
| Constructor and Description |
|---|
ProductBulkOption() |
| Modifier and Type | Method and Description |
|---|---|
ProductBulkOption |
bulkOrderCount(Integer bulkOrderCount) |
ProductBulkOption |
discount(Double discount) |
boolean |
equals(Object o) |
Integer |
getBulkOrderCount()
The amount to order to be considered a bulk purchase
|
Double |
getDiscount()
The discount for the bulk option
|
Amount |
getPrice()
Get price
|
int |
hashCode() |
ProductBulkOption |
price(Amount price) |
void |
setBulkOrderCount(Integer bulkOrderCount) |
void |
setDiscount(Double discount) |
void |
setPrice(Amount price) |
String |
toString() |
public ProductBulkOption price(Amount price)
public Amount getPrice()
public void setPrice(Amount price)
public ProductBulkOption discount(Double discount)
public Double getDiscount()
public void setDiscount(Double discount)
public ProductBulkOption bulkOrderCount(Integer bulkOrderCount)
public Integer getBulkOrderCount()
public void setBulkOrderCount(Integer bulkOrderCount)
Copyright © 2019. All rights reserved.