public final class PromotionPromotionStatus
extends com.google.api.client.json.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 Content API for Shopping. For a detailed explanation see: https://developers.google.com/api-client-library/java/google-http-java-client/json
com.google.api.client.util.GenericData.Flags
AbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>
Constructor and Description |
---|
PromotionPromotionStatus() |
Modifier and Type | Method and Description |
---|---|
PromotionPromotionStatus |
clone() |
String |
getCreationDate()
Date on which the promotion has been created in [ISO
8601](http://en.wikipedia.org/wiki/ISO_8601) format: Date, time, and offset, for example
"2020-01-02T09:00:00+01:00" or "2020-01-02T09:00:00Z"
|
List<PromotionPromotionStatusDestinationStatus> |
getDestinationStatuses()
The intended destinations for the promotion.
|
String |
getLastUpdateDate()
Date on which the promotion status has been last updated in [ISO
8601](http://en.wikipedia.org/wiki/ISO_8601) format: Date, time, and offset, for example
"2020-01-02T09:00:00+01:00" or "2020-01-02T09:00:00Z"
|
List<PromotionPromotionStatusPromotionIssue> |
getPromotionIssue()
A list of issues associated with the promotion.
|
PromotionPromotionStatus |
set(String fieldName,
Object value) |
PromotionPromotionStatus |
setCreationDate(String creationDate)
Date on which the promotion has been created in [ISO
8601](http://en.wikipedia.org/wiki/ISO_8601) format: Date, time, and offset, for example
"2020-01-02T09:00:00+01:00" or "2020-01-02T09:00:00Z"
|
PromotionPromotionStatus |
setDestinationStatuses(List<PromotionPromotionStatusDestinationStatus> destinationStatuses)
The intended destinations for the promotion.
|
PromotionPromotionStatus |
setLastUpdateDate(String lastUpdateDate)
Date on which the promotion status has been last updated in [ISO
8601](http://en.wikipedia.org/wiki/ISO_8601) format: Date, time, and offset, for example
"2020-01-02T09:00:00+01:00" or "2020-01-02T09:00:00Z"
|
PromotionPromotionStatus |
setPromotionIssue(List<PromotionPromotionStatusPromotionIssue> promotionIssue)
A list of issues associated with the promotion.
|
getFactory, setFactory, toPrettyString, toString
entrySet, equals, get, getClassInfo, getUnknownKeys, hashCode, put, putAll, remove, setUnknownKeys
clear, containsKey, containsValue, isEmpty, keySet, size, values
finalize, getClass, notify, notifyAll, wait, wait, wait
compute, computeIfAbsent, computeIfPresent, forEach, getOrDefault, merge, putIfAbsent, remove, replace, replace, replaceAll
public String getCreationDate()
null
for nonepublic PromotionPromotionStatus setCreationDate(String creationDate)
creationDate
- creationDate or null
for nonepublic List<PromotionPromotionStatusDestinationStatus> getDestinationStatuses()
null
for nonepublic PromotionPromotionStatus setDestinationStatuses(List<PromotionPromotionStatusDestinationStatus> destinationStatuses)
destinationStatuses
- destinationStatuses or null
for nonepublic String getLastUpdateDate()
null
for nonepublic PromotionPromotionStatus setLastUpdateDate(String lastUpdateDate)
lastUpdateDate
- lastUpdateDate or null
for nonepublic List<PromotionPromotionStatusPromotionIssue> getPromotionIssue()
null
for nonepublic PromotionPromotionStatus setPromotionIssue(List<PromotionPromotionStatusPromotionIssue> promotionIssue)
promotionIssue
- promotionIssue or null
for nonepublic PromotionPromotionStatus set(String fieldName, Object value)
set
in class com.google.api.client.json.GenericJson
public PromotionPromotionStatus clone()
clone
in class com.google.api.client.json.GenericJson
Copyright © 2011–2024 Google. All rights reserved.