public final class Product extends GenericJson
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 Ad Exchange Buyer API II. For a detailed explanation see: https://developers.google.com/api-client-library/java/google-http-java-client/json
GenericData.FlagsAbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>| Constructor and Description |
|---|
Product() |
| Modifier and Type | Method and Description |
|---|---|
Product |
clone() |
String |
getAvailableEndTime()
The proposed end time for the deal.
|
String |
getAvailableStartTime()
Inventory availability dates.
|
String |
getCreateTime()
Creation time.
|
List<ContactInformation> |
getCreatorContacts()
Optional contact information for the creator of this product.
|
String |
getDisplayName()
The display name for this product as set by the seller.
|
Boolean |
getHasCreatorSignedOff()
If the creator has already signed off on the product, then the buyer can finalize the deal by
accepting the product as is.
|
String |
getProductId()
The unique ID for the product.
|
Long |
getProductRevision()
The revision number of the product (auto-assigned by Marketplace).
|
String |
getPublisherProfileId()
An ID which can be used by the Publisher Profile API to get more information about the seller
that created this product.
|
Seller |
getSeller()
Information about the seller that created this product.
|
String |
getSyndicationProduct()
The syndication product associated with the deal.
|
List<TargetingCriteria> |
getTargetingCriterion()
Targeting that is shared between the buyer and the seller.
|
DealTerms |
getTerms()
The negotiable terms of the deal.
|
String |
getUpdateTime()
Time of last update.
|
String |
getWebPropertyCode()
The web-property code for the seller.
|
Product |
set(String fieldName,
Object value) |
Product |
setAvailableEndTime(String availableEndTime)
The proposed end time for the deal.
|
Product |
setAvailableStartTime(String availableStartTime)
Inventory availability dates.
|
Product |
setCreateTime(String createTime)
Creation time.
|
Product |
setCreatorContacts(List<ContactInformation> creatorContacts)
Optional contact information for the creator of this product.
|
Product |
setDisplayName(String displayName)
The display name for this product as set by the seller.
|
Product |
setHasCreatorSignedOff(Boolean hasCreatorSignedOff)
If the creator has already signed off on the product, then the buyer can finalize the deal by
accepting the product as is.
|
Product |
setProductId(String productId)
The unique ID for the product.
|
Product |
setProductRevision(Long productRevision)
The revision number of the product (auto-assigned by Marketplace).
|
Product |
setPublisherProfileId(String publisherProfileId)
An ID which can be used by the Publisher Profile API to get more information about the seller
that created this product.
|
Product |
setSeller(Seller seller)
Information about the seller that created this product.
|
Product |
setSyndicationProduct(String syndicationProduct)
The syndication product associated with the deal.
|
Product |
setTargetingCriterion(List<TargetingCriteria> targetingCriterion)
Targeting that is shared between the buyer and the seller.
|
Product |
setTerms(DealTerms terms)
The negotiable terms of the deal.
|
Product |
setUpdateTime(String updateTime)
Time of last update.
|
Product |
setWebPropertyCode(String webPropertyCode)
The web-property code for the seller.
|
getFactory, setFactory, toPrettyString, toStringentrySet, equals, get, getClassInfo, getUnknownKeys, hashCode, put, putAll, remove, setUnknownKeysclear, containsKey, containsValue, isEmpty, keySet, size, valuesfinalize, getClass, notify, notifyAll, wait, wait, waitcompute, computeIfAbsent, computeIfPresent, forEach, getOrDefault, merge, putIfAbsent, remove, replace, replace, replaceAllpublic String getAvailableEndTime()
null for nonepublic Product setAvailableEndTime(String availableEndTime)
availableEndTime - availableEndTime or null for nonepublic String getAvailableStartTime()
null for nonepublic Product setAvailableStartTime(String availableStartTime)
availableStartTime - availableStartTime or null for nonepublic String getCreateTime()
null for nonepublic Product setCreateTime(String createTime)
createTime - createTime or null for nonepublic List<ContactInformation> getCreatorContacts()
null for nonepublic Product setCreatorContacts(List<ContactInformation> creatorContacts)
creatorContacts - creatorContacts or null for nonepublic String getDisplayName()
null for nonepublic Product setDisplayName(String displayName)
displayName - displayName or null for nonepublic Boolean getHasCreatorSignedOff()
null for nonepublic Product setHasCreatorSignedOff(Boolean hasCreatorSignedOff)
hasCreatorSignedOff - hasCreatorSignedOff or null for nonepublic String getProductId()
null for nonepublic Product setProductId(String productId)
productId - productId or null for nonepublic Long getProductRevision()
null for nonepublic Product setProductRevision(Long productRevision)
productRevision - productRevision or null for nonepublic String getPublisherProfileId()
null for nonepublic Product setPublisherProfileId(String publisherProfileId)
publisherProfileId - publisherProfileId or null for nonepublic Seller getSeller()
null for nonepublic Product setSeller(Seller seller)
seller - seller or null for nonepublic String getSyndicationProduct()
null for nonepublic Product setSyndicationProduct(String syndicationProduct)
syndicationProduct - syndicationProduct or null for nonepublic List<TargetingCriteria> getTargetingCriterion()
null for nonepublic Product setTargetingCriterion(List<TargetingCriteria> targetingCriterion)
targetingCriterion - targetingCriterion or null for nonepublic DealTerms getTerms()
null for nonepublic Product setTerms(DealTerms terms)
terms - terms or null for nonepublic String getUpdateTime()
null for nonepublic Product setUpdateTime(String updateTime)
updateTime - updateTime or null for nonepublic String getWebPropertyCode()
null for nonepublic Product setWebPropertyCode(String webPropertyCode)
webPropertyCode - webPropertyCode or null for nonepublic Product set(String fieldName, Object value)
set in class GenericJsonpublic Product clone()
clone in class GenericJsonCopyright © 2011–2021 Google. All rights reserved.