google_api_content v0.29.1 GoogleApi.Content.V21.Model.OrderCustomerMarketingRightsInfo View Source
Attributes
explicitMarketingPreference
(type:String.t
, default:nil
) - 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 selectedgranted
in their most recent order, they can be subscribed to marketing emails. Customers who have chosendenied
must not be subscribed, or must be unsubscribed if already opted-in.Acceptable values are:
- "
denied
" - "
granted
"
- "
lastUpdatedTimestamp
(type:String.t
, default:nil
) - Timestamp when last time marketing preference was updated. Could be empty, if user wasn't offered a selection yet.marketingEmailAddress
(type:String.t
, default:nil
) - Email address that can be used for marketing purposes. The field may be empty even ifexplicitMarketingPreference
is 'granted'. This happens when retrieving an old order from the customer who deleted their account.
Link to this section Summary
Functions
Unwrap a decoded JSON object into its complex fields.
Link to this section Types
Link to this section Functions
Unwrap a decoded JSON object into its complex fields.