Class: Google::Apis::AuthorizedbuyersmarketplaceV1::PreferredDealTerms

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

Overview

Pricing terms for Preferred Deals.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ PreferredDealTerms

Returns a new instance of PreferredDealTerms.



1481
1482
1483
# File 'lib/google/apis/authorizedbuyersmarketplace_v1/classes.rb', line 1481

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

Instance Attribute Details

#fixed_priceGoogle::Apis::AuthorizedbuyersmarketplaceV1::Price

Represents a price and a pricing type for a deal. Corresponds to the JSON property fixedPrice



1479
1480
1481
# File 'lib/google/apis/authorizedbuyersmarketplace_v1/classes.rb', line 1479

def fixed_price
  @fixed_price
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1486
1487
1488
# File 'lib/google/apis/authorizedbuyersmarketplace_v1/classes.rb', line 1486

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