public final class ProductDiscount extends Object
This is the Java data model class that specifies how to parse/serialize into the JSON that is transmitted over HTTP when working with the TurnOnline.biz Product Billing. For a detailed explanation see: https://developers.google.com/api-client-library/java/google-http-java-client/json
| Constructor and Description |
|---|
ProductDiscount() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object o) |
List<String> |
getCodes() |
Boolean |
getEnabled() |
Double |
getOff() |
String |
getRule() |
String |
getUnit() |
int |
hashCode() |
ProductDiscount |
setCodes(List<String> codes) |
ProductDiscount |
setEnabled(Boolean enabled) |
ProductDiscount |
setOff(Double off) |
ProductDiscount |
setRule(String rule) |
ProductDiscount |
setUnit(String unit) |
public ProductDiscount setCodes(List<String> codes)
codes - codes or null for nonepublic Boolean getEnabled()
null for nonepublic ProductDiscount setEnabled(Boolean enabled)
enabled - enabled or null for nonepublic Double getOff()
null for nonepublic ProductDiscount setOff(Double off)
off - off or null for nonepublic String getRule()
null for nonepublic ProductDiscount setRule(String rule)
rule - rule or null for nonepublic String getUnit()
null for nonepublic ProductDiscount setUnit(String unit)
unit - unit or null for noneCopyright © 2020. All rights reserved.