Class: Google::Apis::AuthorizedbuyersmarketplaceV1::PrivateAuctionTerms
- Inherits:
-
Object
- Object
- Google::Apis::AuthorizedbuyersmarketplaceV1::PrivateAuctionTerms
- 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 Private Auctions.
Instance Attribute Summary collapse
-
#floor_price ⇒ Google::Apis::AuthorizedbuyersmarketplaceV1::Price
Represents a price and a pricing type for a deal.
-
#open_auction_allowed ⇒ Boolean
(also: #open_auction_allowed?)
Output only.
Instance Method Summary collapse
-
#initialize(**args) ⇒ PrivateAuctionTerms
constructor
A new instance of PrivateAuctionTerms.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ PrivateAuctionTerms
Returns a new instance of PrivateAuctionTerms.
1524 1525 1526 |
# File 'lib/google/apis/authorizedbuyersmarketplace_v1/classes.rb', line 1524 def initialize(**args) update!(**args) end |
Instance Attribute Details
#floor_price ⇒ Google::Apis::AuthorizedbuyersmarketplaceV1::Price
Represents a price and a pricing type for a deal.
Corresponds to the JSON property floorPrice
1515 1516 1517 |
# File 'lib/google/apis/authorizedbuyersmarketplace_v1/classes.rb', line 1515 def floor_price @floor_price end |
#open_auction_allowed ⇒ Boolean Also known as: open_auction_allowed?
Output only. True if open auction buyers are allowed to compete with invited
buyers in this private auction.
Corresponds to the JSON property openAuctionAllowed
1521 1522 1523 |
# File 'lib/google/apis/authorizedbuyersmarketplace_v1/classes.rb', line 1521 def open_auction_allowed @open_auction_allowed end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1529 1530 1531 1532 |
# File 'lib/google/apis/authorizedbuyersmarketplace_v1/classes.rb', line 1529 def update!(**args) @floor_price = args[:floor_price] if args.key?(:floor_price) @open_auction_allowed = args[:open_auction_allowed] if args.key?(:open_auction_allowed) end |