final case class Item(id: String = "", qty: Int = 0, seq: Int = 0, flr: Double = 0.0, flrcur: String = "", exp: Int = 0, dt: String = "", dlvy: Int = 0, metric: Seq[Metric] = _root_.scala.Seq.empty, deal: Seq[Deal] = _root_.scala.Seq.empty, private: Boolean = false, spec: Option[Any] = _root_.scala.None, ext: Option[Struct] = _root_.scala.None, extProto: Seq[Any] = _root_.scala.Seq.empty) extends GeneratedMessage with Updatable[Item] with Product with Serializable
This object represents a unit of goods being offered for sale either on the open market or in relation to a private marketplace deal. The id attribute is required since there may be multiple items being offered in the same bid request and bids must reference the specific item of interest.
- id
A unique identifier for this item within the context of the offer. @required
- qty
The number of instances (i.e., "quantity") of this item being offered. @default 1
- seq
If multiple items are offered in the same bid request, the sequence number allows for the coordinated delivery.
- flr
Minimum bid price for this item expressed in CPM.
- flrcur
Currency of the “flr” attribute specified using ISO-4217 alpha codes. @default "USD"
- exp
Advisory as to the number of seconds that may elapse between auction and fulfilment.
- dt
Date/time when the item is expected to be fulfilled using the W3C-defined ISO-8601 format.
- dlvy
Item (e.g., an Ad object) delivery method required, where 0 = either method, 1 = the item must be sent as part of the transaction, and 2 = an item previously uploaded to the exchange must be referenced by its ID. @default 0
- metric
An array of “Metric” objects.
- deal
Array of “Deal” objects that convey special terms applicable to this item.
- private
Indicator of auction eligibility to seats named in “Deal” objects, where false = all bids are accepted, true = bids are restricted to the deals specified and the terms thereof. @default false
- spec
Layer-4 domain object structure that provides specifies the item being offered conforming to the specification and version referenced in “openrtb.domainspec” and “openrtb.domainver”. For AdCOM v1.x, the objects allowed here are “Placement” and any objects subordinate to these as specified by AdCOM. @required
- ext
Optional vendor-specific extensions.
- extProto
Legacy proto extensions.
- Annotations
- @SerialVersionUID()
- Alphabetic
- By Inheritance
- Item
- Updatable
- GeneratedMessage
- Serializable
- Product
- Equals
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
Instance Constructors
- new Item(id: String = "", qty: Int = 0, seq: Int = 0, flr: Double = 0.0, flrcur: String = "", exp: Int = 0, dt: String = "", dlvy: Int = 0, metric: Seq[Metric] = _root_.scala.Seq.empty, deal: Seq[Deal] = _root_.scala.Seq.empty, private: Boolean = false, spec: Option[Any] = _root_.scala.None, ext: Option[Struct] = _root_.scala.None, extProto: Seq[Any] = _root_.scala.Seq.empty)
- id
A unique identifier for this item within the context of the offer. @required
- qty
The number of instances (i.e., "quantity") of this item being offered. @default 1
- seq
If multiple items are offered in the same bid request, the sequence number allows for the coordinated delivery.
- flr
Minimum bid price for this item expressed in CPM.
- flrcur
Currency of the “flr” attribute specified using ISO-4217 alpha codes. @default "USD"
- exp
Advisory as to the number of seconds that may elapse between auction and fulfilment.
- dt
Date/time when the item is expected to be fulfilled using the W3C-defined ISO-8601 format.
- dlvy
Item (e.g., an Ad object) delivery method required, where 0 = either method, 1 = the item must be sent as part of the transaction, and 2 = an item previously uploaded to the exchange must be referenced by its ID. @default 0
- metric
An array of “Metric” objects.
- deal
Array of “Deal” objects that convey special terms applicable to this item.
- private
Indicator of auction eligibility to seats named in “Deal” objects, where false = all bids are accepted, true = bids are restricted to the deals specified and the terms thereof. @default false
- spec
Layer-4 domain object structure that provides specifies the item being offered conforming to the specification and version referenced in “openrtb.domainspec” and “openrtb.domainver”. For AdCOM v1.x, the objects allowed here are “Placement” and any objects subordinate to these as specified by AdCOM. @required
- ext
Optional vendor-specific extensions.
- extProto
Legacy proto extensions.
Value Members
- final def !=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def ##: Int
- Definition Classes
- AnyRef → Any
- final def ==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- def addAllDeal(__vs: Iterable[Deal]): Item
- def addAllExtProto(__vs: Iterable[Any]): Item
- def addAllMetric(__vs: Iterable[Metric]): Item
- def addDeal(__vs: Deal*): Item
- def addExtProto(__vs: Any*): Item
- def addMetric(__vs: Metric*): Item
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def clearDeal: Item
- def clearExt: Item
- def clearExtProto: Item
- def clearMetric: Item
- def clearSpec: Item
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @IntrinsicCandidate() @native()
- def companion: Item.type
- Definition Classes
- Item → GeneratedMessage
- val deal: Seq[Deal]
- val dlvy: Int
- val dt: String
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- val exp: Int
- val ext: Option[Struct]
- val extProto: Seq[Any]
- val flr: Double
- val flrcur: String
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @IntrinsicCandidate() @native()
- def getExt: Struct
- def getField(__field: FieldDescriptor): PValue
- Definition Classes
- Item → GeneratedMessage
- def getFieldByNumber(__fieldNumber: Int): Any
- Definition Classes
- Item → GeneratedMessage
- def getSpec: Any
- val id: String
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- val metric: Seq[Metric]
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @IntrinsicCandidate() @native()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @IntrinsicCandidate() @native()
- val private: Boolean
- def productElementNames: Iterator[String]
- Definition Classes
- Product
- val qty: Int
- val seq: Int
- def serializedSize: Int
- Definition Classes
- Item → GeneratedMessage
- val spec: Option[Any]
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- final def toByteArray: Array[Byte]
- Definition Classes
- GeneratedMessage
- final def toByteString: ByteString
- Definition Classes
- GeneratedMessage
- final def toPMessage: PMessage
- Definition Classes
- GeneratedMessage
- def toProtoString: String
- Definition Classes
- Item → GeneratedMessage
- def update(ms: (Lens[Item, Item]) => Mutation[Item]*): Item
- Definition Classes
- Updatable
- final def wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- def withDeal(__v: Seq[Deal]): Item
- def withDlvy(__v: Int): Item
- def withDt(__v: String): Item
- def withExp(__v: Int): Item
- def withExt(__v: Struct): Item
- def withExtProto(__v: Seq[Any]): Item
- def withFlr(__v: Double): Item
- def withFlrcur(__v: String): Item
- def withId(__v: String): Item
- def withMetric(__v: Seq[Metric]): Item
- def withPrivate(__v: Boolean): Item
- def withQty(__v: Int): Item
- def withSeq(__v: Int): Item
- def withSpec(__v: Any): Item
- final def writeDelimitedTo(output: OutputStream): Unit
- Definition Classes
- GeneratedMessage
- def writeTo(_output__: CodedOutputStream): Unit
- Definition Classes
- Item → GeneratedMessage
- final def writeTo(output: OutputStream): Unit
- Definition Classes
- GeneratedMessage
Deprecated Value Members
- def finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable]) @Deprecated
- Deprecated
(Since version 9)