Proposal class

Represents a proposal in the marketplace. A proposal is the unit of negotiation between a seller and a buyer and contains deals which are served. Each field in a proposal can have one of the following setting:

(readonly) - It is an error to try and set this field. (buyer-readonly) - Only the seller can set this field. (seller-readonly) - Only the buyer can set this field. (updatable) - The field is updatable at all times by either buyer or the seller.

Constructors

Proposal()
Proposal.fromJson(Map _json)

Properties

billedBuyer Buyer
Reference to the buyer that will get billed for this proposal. (readonly)
read / write
buyer Buyer
Reference to the buyer on the proposal. (readonly, except on create)
read / write
buyerContacts List<ContactInformation>
Optional contact information of the buyer. (seller-readonly)
read / write
buyerPrivateData PrivateData
Private data for buyer. (hidden from seller).
read / write
dbmAdvertiserIds List<String>
IDs of DBM advertisers permission to this proposal.
read / write
hasBuyerSignedOff bool
When an proposal is in an accepted state, indicates whether the buyer has signed off. Once both sides have signed off on a deal, the proposal can be finalized by the seller. (seller-readonly)
read / write
hashCode int
The hash code for this object. [...]
read-only, inherited
hasSellerSignedOff bool
When an proposal is in an accepted state, indicates whether the buyer has signed off Once both sides have signed off on a deal, the proposal can be finalized by the seller. (buyer-readonly)
read / write
inventorySource String
What exchange will provide this inventory (readonly, except on create).
read / write
isRenegotiating bool
True if the proposal is being renegotiated (readonly).
read / write
isSetupComplete bool
True, if the buyside inventory setup is complete for this proposal. (readonly, except via OrderSetupCompleted action) Deprecated in favor of deal level setup complete flag.
read / write
kind String
Identifies what kind of resource this is. Value: the fixed string "adexchangebuyer#proposal".
read / write
labels List<MarketplaceLabel>
List of labels associated with the proposal. (readonly)
read / write
lastUpdaterOrCommentorRole String
The role of the last user that either updated the proposal or left a comment. (readonly)
read / write
name String
The name for the proposal (updatable)
read / write
negotiationId String
Optional negotiation id if this proposal is a preferred deal proposal.
read / write
originatorRole String
Indicates whether the buyer/seller created the proposal.(readonly)
read / write
privateAuctionId String
Optional private auction id if this proposal is a private auction proposal.
read / write
proposalId String
The unique id of the proposal. (readonly).
read / write
proposalState String
The current state of the proposal. (readonly)
read / write
revisionNumber String
The revision number for the proposal (readonly).
read / write
revisionTimeMs String
The time (ms since epoch) when the proposal was last revised (readonly).
read / write
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited
seller Seller
Reference to the seller on the proposal. (readonly, except on create)
read / write
sellerContacts List<ContactInformation>
Optional contact information of the seller (buyer-readonly).
read / write

Methods

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

Operators

operator ==(Object other) bool
The equality operator. [...]
inherited