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.



2949
2950
2951
# File 'generated/google/apis/adexchangebuyer2_v2beta1/classes.rb', line 2949

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



2947
2948
2949
# File 'generated/google/apis/adexchangebuyer2_v2beta1/classes.rb', line 2947

def fixed_prices
  @fixed_prices
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



2954
2955
2956
# File 'generated/google/apis/adexchangebuyer2_v2beta1/classes.rb', line 2954

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