class Google::Apis::ContentV2::OrderLineItemReturnInfo

Attributes

days_to_return[RW]

How many days later the item can be returned. Corresponds to the JSON property `daysToReturn` @return [Fixnum]

is_returnable[RW]

Whether the item is returnable. Corresponds to the JSON property `isReturnable` @return [Boolean]

is_returnable?[RW]

Whether the item is returnable. Corresponds to the JSON property `isReturnable` @return [Boolean]

policy_url[RW]

URL of the item return policy. Corresponds to the JSON property `policyUrl` @return [String]

Public Class Methods

new(**args) click to toggle source
# File generated/google/apis/content_v2/classes.rb, line 3070
def initialize(**args)
   update!(**args)
end

Public Instance Methods

update!(**args) click to toggle source

Update properties of this object

# File generated/google/apis/content_v2/classes.rb, line 3075
def update!(**args)
  @days_to_return = args[:days_to_return] if args.key?(:days_to_return)
  @is_returnable = args[:is_returnable] if args.key?(:is_returnable)
  @policy_url = args[:policy_url] if args.key?(:policy_url)
end