class Google::Apis::ContentV2_1::ReturnPolicySeasonalOverride
Attributes
end_date[RW]
Required. Last day on which the override applies. In ISO 8601 format. Corresponds to the JSON property `endDate` @return [String]
name[RW]
Required. The name of the seasonal override as shown in Merchant Center. Corresponds to the JSON property `name` @return [String]
policy[RW]
Required. The policy which is in effect during that time. Corresponds to the JSON property `policy` @return [Google::Apis::ContentV2_1::ReturnPolicyPolicy]
start_date[RW]
Required. First day on which the override applies. In ISO 8601 format. Corresponds to the JSON property `startDate` @return [String]
Public Class Methods
new(**args)
click to toggle source
# File lib/google/apis/content_v2_1/classes.rb, line 13321 def initialize(**args) update!(**args) end
Public Instance Methods
update!(**args)
click to toggle source
Update properties of this object
# File lib/google/apis/content_v2_1/classes.rb, line 13326 def update!(**args) @end_date = args[:end_date] if args.key?(:end_date) @name = args[:name] if args.key?(:name) @policy = args[:policy] if args.key?(:policy) @start_date = args[:start_date] if args.key?(:start_date) end