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.



1473
1474
1475
# File 'lib/google/apis/authorizedbuyersmarketplace_v1/classes.rb', line 1473

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



1471
1472
1473
# File 'lib/google/apis/authorizedbuyersmarketplace_v1/classes.rb', line 1471

def fixed_price
  @fixed_price
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



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

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