Class OrderCustomerMarketingRightsInfo
Implements
Inherited Members
Namespace: Google.Apis.ShoppingContent.v2_1.Data
Assembly: Google.Apis.ShoppingContent.v2_1.dll
Syntax
public class OrderCustomerMarketingRightsInfo : IDirectResponseSchema
Properties
ETag
The ETag of the item.
Declaration
public virtual string ETag { get; set; }
Property Value
Type | Description |
---|---|
string |
ExplicitMarketingPreference
Last known customer selection regarding marketing preferences. In certain cases this selection might not be
known, so this field would be empty. If a customer selected granted
in their most recent order, they can
be subscribed to marketing emails. Customers who have chosen denied
must not be subscribed, or must be
unsubscribed if already opted-in. Acceptable values are: - "denied
" - "granted
"
Declaration
[JsonProperty("explicitMarketingPreference")]
public virtual string ExplicitMarketingPreference { get; set; }
Property Value
Type | Description |
---|---|
string |
LastUpdatedTimestamp
Timestamp when last time marketing preference was updated. Could be empty, if user wasn't offered a selection yet.
Declaration
[JsonProperty("lastUpdatedTimestamp")]
public virtual string LastUpdatedTimestamp { get; set; }
Property Value
Type | Description |
---|---|
string |
MarketingEmailAddress
Email address that can be used for marketing purposes. The field may be empty even if
explicitMarketingPreference
is 'granted'. This happens when retrieving an old order from the customer who
deleted their account.
Declaration
[JsonProperty("marketingEmailAddress")]
public virtual string MarketingEmailAddress { get; set; }
Property Value
Type | Description |
---|---|
string |