target.apidocs.com.google.api.services.content.model.PromotionPromotionStatus.html Maven / Gradle / Ivy
PromotionPromotionStatus (Content API for Shopping v2.1-rev20240609-2.0.0)
com.google.api.services.content.model
Class PromotionPromotionStatus
- java.lang.Object
-
- java.util.AbstractMap<String,Object>
-
- com.google.api.client.util.GenericData
-
- com.google.api.client.json.GenericJson
-
- com.google.api.services.content.model.PromotionPromotionStatus
-
public final class PromotionPromotionStatus
extends com.google.api.client.json.GenericJson
The status of the promotion.
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
- Author:
- Google, Inc.
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class com.google.api.client.util.GenericData
com.google.api.client.util.GenericData.Flags
-
Nested classes/interfaces inherited from class java.util.AbstractMap
AbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>
-
Constructor Summary
Constructors
Constructor and Description
PromotionPromotionStatus()
-
Method Summary
All Methods Instance Methods Concrete Methods
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.
-
Methods inherited from class com.google.api.client.json.GenericJson
getFactory, setFactory, toPrettyString, toString
-
Methods inherited from class com.google.api.client.util.GenericData
entrySet, equals, get, getClassInfo, getUnknownKeys, hashCode, put, putAll, remove, setUnknownKeys
-
Methods inherited from class java.util.AbstractMap
clear, containsKey, containsValue, isEmpty, keySet, size, values
-
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface java.util.Map
compute, computeIfAbsent, computeIfPresent, forEach, getOrDefault, merge, putIfAbsent, remove, replace, replace, replaceAll
-
-
Method Detail
-
getCreationDate
public 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"
- Returns:
- value or
null
for none
-
setCreationDate
public 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"
- Parameters:
creationDate
- creationDate or null
for none
-
getDestinationStatuses
public List<PromotionPromotionStatusDestinationStatus> getDestinationStatuses()
The intended destinations for the promotion.
- Returns:
- value or
null
for none
-
setDestinationStatuses
public PromotionPromotionStatus setDestinationStatuses(List<PromotionPromotionStatusDestinationStatus> destinationStatuses)
The intended destinations for the promotion.
- Parameters:
destinationStatuses
- destinationStatuses or null
for none
-
getLastUpdateDate
public 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"
- Returns:
- value or
null
for none
-
setLastUpdateDate
public 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"
- Parameters:
lastUpdateDate
- lastUpdateDate or null
for none
-
getPromotionIssue
public List<PromotionPromotionStatusPromotionIssue> getPromotionIssue()
A list of issues associated with the promotion.
- Returns:
- value or
null
for none
-
setPromotionIssue
public PromotionPromotionStatus setPromotionIssue(List<PromotionPromotionStatusPromotionIssue> promotionIssue)
A list of issues associated with the promotion.
- Parameters:
promotionIssue
- promotionIssue or null
for none
-
set
public PromotionPromotionStatus set(String fieldName,
Object value)
- Overrides:
set
in class com.google.api.client.json.GenericJson
-
clone
public PromotionPromotionStatus clone()
- Overrides:
clone
in class com.google.api.client.json.GenericJson
Copyright © 2011–2024 Google. All rights reserved.
© 2015 - 2025 Weber Informatics LLC | Privacy Policy