class Google::Apis::AdexchangebuyerV1_4::Price
Attributes
amount_micros[RW]
The price value in micros. Corresponds to the JSON property `amountMicros` @return [Float]
currency_code[RW]
The currency code for the price. Corresponds to the JSON property `currencyCode` @return [String]
expected_cpm_micros[RW]
In case of CPD deals, the expected CPM in micros. Corresponds to the JSON property `expectedCpmMicros` @return [Float]
pricing_type[RW]
The pricing type for the deal/product. Corresponds to the JSON property `pricingType` @return [String]
Public Class Methods
new(**args)
click to toggle source
# File lib/google/apis/adexchangebuyer_v1_4/classes.rb, line 2810 def initialize(**args) update!(**args) end
Public Instance Methods
update!(**args)
click to toggle source
Update properties of this object
# File lib/google/apis/adexchangebuyer_v1_4/classes.rb, line 2815 def update!(**args) @amount_micros = args[:amount_micros] if args.key?(:amount_micros) @currency_code = args[:currency_code] if args.key?(:currency_code) @expected_cpm_micros = args[:expected_cpm_micros] if args.key?(:expected_cpm_micros) @pricing_type = args[:pricing_type] if args.key?(:pricing_type) end