PricePerBuyer class

Used to specify pricing rules for buyers. Each PricePerBuyer in a product can become 0,1 deals. To check if there is a PricePerBuyer for a particular buyer we look for the most specific matching rule - we first look for a rule matching the buyer and otherwise look for a matching rule where no buyer is set.

Constructors

PricePerBuyer()
PricePerBuyer.fromJson(Map _json)

Properties

auctionTier ↔ String
Optional access type for this buyer.
read / write
billedBuyer Buyer
Reference to the buyer that will get billed.
read / write
buyer Buyer
The buyer who will pay this price. If unset, all buyers can pay this price (if the advertisers match, and there's no more specific rule matching the buyer).
read / write
price Price
The specified price
read / write
hashCode → int
The hash code for this object.
read-only, inherited
runtimeType → Type
A representation of the runtime type of the object.
read-only, inherited

Methods

toJson() → Map<String, Object>
noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed.
inherited
toString() → String
Returns a string representation of this object.
inherited

Operators

operator ==(dynamic other) → bool
The equality operator.
inherited