generated/google/apis/content_v2sandbox/representations.rb in google-api-client-0.20.1 vs generated/google/apis/content_v2sandbox/representations.rb in google-api-client-0.21.0
- old
+ new
@@ -56,10 +56,16 @@
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
+ class OrderCustomerMarketingRightsInfo
+ class Representation < Google::Apis::Core::JsonRepresentation; end
+
+ include Google::Apis::Core::JsonObjectSupport
+ end
+
class OrderDeliveryDetails
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
@@ -452,10 +458,16 @@
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
+ class TestOrderCustomerMarketingRightsInfo
+ class Representation < Google::Apis::Core::JsonRepresentation; end
+
+ include Google::Apis::Core::JsonObjectSupport
+ end
+
class TestOrderLineItem
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
@@ -556,13 +568,24 @@
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :email, as: 'email'
property :explicit_marketing_preference, as: 'explicitMarketingPreference'
property :full_name, as: 'fullName'
+ property :marketing_rights_info, as: 'marketingRightsInfo', class: Google::Apis::ContentV2sandbox::OrderCustomerMarketingRightsInfo, decorator: Google::Apis::ContentV2sandbox::OrderCustomerMarketingRightsInfo::Representation
+
end
end
+ class OrderCustomerMarketingRightsInfo
+ # @private
+ class Representation < Google::Apis::Core::JsonRepresentation
+ property :explicit_marketing_preference, as: 'explicitMarketingPreference'
+ property :last_updated_timestamp, as: 'lastUpdatedTimestamp'
+ property :marketing_email_address, as: 'marketingEmailAddress'
+ end
+ end
+
class OrderDeliveryDetails
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :address, as: 'address', class: Google::Apis::ContentV2sandbox::OrderAddress, decorator: Google::Apis::ContentV2sandbox::OrderAddress::Representation
@@ -1310,9 +1333,19 @@
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :email, as: 'email'
property :explicit_marketing_preference, as: 'explicitMarketingPreference'
property :full_name, as: 'fullName'
+ property :marketing_rights_info, as: 'marketingRightsInfo', class: Google::Apis::ContentV2sandbox::TestOrderCustomerMarketingRightsInfo, decorator: Google::Apis::ContentV2sandbox::TestOrderCustomerMarketingRightsInfo::Representation
+
+ end
+ end
+
+ class TestOrderCustomerMarketingRightsInfo
+ # @private
+ class Representation < Google::Apis::Core::JsonRepresentation
+ property :explicit_marketing_preference, as: 'explicitMarketingPreference'
+ property :last_updated_timestamp, as: 'lastUpdatedTimestamp'
end
end
class TestOrderLineItem
# @private