class Google::Apis::ContentV2_1::OrderLineItemProductVariantAttribute

Attributes

dimension[RW]

The dimension of the variant. Corresponds to the JSON property `dimension` @return [String]

value[RW]

The value for the dimension. Corresponds to the JSON property `value` @return [String]

Public Class Methods

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