Class: Google::Apis::Adexchangebuyer2V2beta1::NonGuaranteedFixedPriceTerms

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
generated/google/apis/adexchangebuyer2_v2beta1/classes.rb,
generated/google/apis/adexchangebuyer2_v2beta1/representations.rb,
generated/google/apis/adexchangebuyer2_v2beta1/representations.rb

Overview

Terms for Preferred Deals. Note that Preferred Deals cannot be created via the API at this time, but can be returned in a get or list request.

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods included from Core::JsonObjectSupport

#to_json

Methods included from Core::Hashable

process_value, #to_h

Constructor Details

#initialize(**args) ⇒ NonGuaranteedFixedPriceTerms

Returns a new instance of NonGuaranteedFixedPriceTerms.


2870
2871
2872
# File 'generated/google/apis/adexchangebuyer2_v2beta1/classes.rb', line 2870

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#fixed_pricesArray<Google::Apis::Adexchangebuyer2V2beta1::PricePerBuyer>

Fixed price for the specified buyer. Corresponds to the JSON property fixedPrices


2868
2869
2870
# File 'generated/google/apis/adexchangebuyer2_v2beta1/classes.rb', line 2868

def fixed_prices
  @fixed_prices
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object


2875
2876
2877
# File 'generated/google/apis/adexchangebuyer2_v2beta1/classes.rb', line 2875

def update!(**args)
  @fixed_prices = args[:fixed_prices] if args.key?(:fixed_prices)
end