public class OfferV2 extends Offer
| Constructor and Description |
|---|
OfferV2(int offerThroughput)
Initialize an new instance of the OfferV2 object.
|
OfferV2(Offer otherOffer)
Initialize an new instance of the OfferV2 object, copy the base
properties from another Offer object and set the throughput value.
|
| Modifier and Type | Method and Description |
|---|---|
int |
getOfferThroughput()
Gets the offer throughput for this offer.
|
void |
setOfferThroughput(int throughput)
Sets the offer throughput for this offer.
|
getContent, getOfferResourceId, getOfferType, getOfferVersion, getResourceLink, setContent, setOfferType, setOfferVersiongetETag, getId, getResourceId, getSelfLink, getTimestamp, setId, setResourceIdget, getBoolean, getCollection, getCollection, getDouble, getHashMap, getInt, getLogger, getLong, getMapper, getObject, getObject, getObjectByPath, getString, has, remove, set, toJson, toJson, toObject, toStringpublic OfferV2(int offerThroughput)
offerThroughput - the throughput value for this offer.public OfferV2(Offer otherOffer)
otherOffer - the Offer object whose base properties are to be copied.public int getOfferThroughput()
public void setOfferThroughput(int throughput)
throughput - the throughput of this offer.Copyright © 2018. All rights reserved.