Product class
A product is a segment of inventory that a seller wants to sell.
It is associated with certain terms and targeting information which helps the buyer know more about the inventory.
Constructors
-
Product({String? availableEndTime, String? availableStartTime, String? createTime, List<
ContactInformation> ? creatorContacts, String? displayName, bool? hasCreatorSignedOff, String? productId, String? productRevision, String? publisherProfileId, Seller? seller, String? syndicationProduct, List<TargetingCriteria> ? targetingCriterion, DealTerms? terms, String? updateTime, String? webPropertyCode}) - Product.fromJson(Map json_)
Properties
- availableEndTime ↔ String?
-
The proposed end time for the deal.
getter/setter pair
- availableStartTime ↔ String?
-
Inventory availability dates.
getter/setter pair
- createTime ↔ String?
-
Creation time.
getter/setter pair
-
creatorContacts
↔ List<
ContactInformation> ? -
Optional contact information for the creator of this product.
getter/setter pair
- displayName ↔ String?
-
The display name for this product as set by the seller.
getter/setter pair
- hasCreatorSignedOff ↔ bool?
-
If the creator has already signed off on the product, then the buyer can
finalize the deal by accepting the product as is.
getter/setter pair
- hashCode → int
-
The hash code for this object.
no setterinherited
- productId ↔ String?
-
The unique ID for the product.
getter/setter pair
- productRevision ↔ String?
-
The revision number of the product (auto-assigned by Marketplace).
getter/setter pair
- publisherProfileId ↔ String?
-
An ID which can be used by the Publisher Profile API to get more
information about the seller that created this product.
getter/setter pair
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- seller ↔ Seller?
-
Information about the seller that created this product.
getter/setter pair
-
The syndication product associated with the deal.
Possible string values are:
getter/setter pair
-
targetingCriterion
↔ List<
TargetingCriteria> ? -
Targeting that is shared between the buyer and the seller.
getter/setter pair
- terms ↔ DealTerms?
-
The negotiable terms of the deal.
getter/setter pair
- updateTime ↔ String?
-
Time of last update.
getter/setter pair
- webPropertyCode ↔ String?
-
The web-property code for the seller.
getter/setter pair
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → Map< String, dynamic> -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited