Class OrderCustomerMarketingRightsInfo
Inheritance
System.Object
OrderCustomerMarketingRightsInfo
Implements
Google.Apis.Requests.IDirectResponseSchema
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Google.Apis.ShoppingContent.v2.Data
Assembly: Google.Apis.ShoppingContent.v2.dll
Syntax
public class OrderCustomerMarketingRightsInfo : IDirectResponseSchema
Properties
ETag
The ETag of the item.
Declaration
public virtual string ETag { get; set; }
Property Value
Type | Description |
---|---|
System.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 |
---|---|
System.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 |
---|---|
System.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 |
---|---|
System.String |
Implements
Google.Apis.Requests.IDirectResponseSchema