class Google::Apis::ContentV2_1::ReturnPolicyOnlinePolicy

The available policies.

Attributes

days[RW]

The number of days items can be returned after delivery, where one day is defined to be 24 hours after the delivery timestamp. Required for ` numberOfDaysAfterDelivery` returns. Corresponds to the JSON property `days` @return [Fixnum]

type[RW]

Policy type. Corresponds to the JSON property `type` @return [String]

Public Class Methods

new(**args) click to toggle source
# File lib/google/apis/content_v2_1/classes.rb, line 13157
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 13162
def update!(**args)
  @days = args[:days] if args.key?(:days)
  @type = args[:type] if args.key?(:type)
end