Module jonix.onix3

Class PromotionCampaign

java.lang.Object
com.tectonica.jonix.onix3.PromotionCampaign
All Implemented Interfaces:
OnixElement<String>, OnixTag, Serializable

public class PromotionCampaign extends Object implements OnixElement<String>, Serializable

Promotion campaign information

Free text describing the promotion and adverting campaign for the product. Optional, and repeatable if parallel text is provided in multiple languages. The language attribute is optional for a single instance of <PromotionCampaign>, but must be included in each instance if <PromotionCampaign> is repeated.

Format Variable length text, suggested maximum length 2,000 characters. XHTML is enabled in this element - see Using XHTML, HTML, XML, JSON within ONIX text fields
Reference name <PromotionCampaign>
Short tag <k165>
Cardinality 0…n
Attributes language, textformat

This tag may be included in the following composites:

Possible placements within ONIX message:

See Also:
  • Field Details

    • refname

      public static final String refname
      See Also:
    • shortname

      public static final String shortname
      See Also:
    • datestamp

      public String datestamp
      (type: dt.DateOrDateTime)
    • sourcename

      public String sourcename
      (type: dt.NonEmptyString)
    • sourcetype

      public RecordSourceTypes sourcetype
    • language

      public Languages language
    • textformat

      public TextFormats textformat
    • value

      public String value
      This is the raw content of PromotionCampaign. Could be null if exists() == false. Use OnixElement.value() instead if you want to get this as an Optional.

      Raw Format: Variable length text, suggested maximum length 2,000 characters. XHTML is enabled in this element - see Using XHTML, HTML, XML, JSON within ONIX text fields

      (type: XHTML)

    • EMPTY

      public static final PromotionCampaign EMPTY
  • Constructor Details

    • PromotionCampaign

      public PromotionCampaign()
    • PromotionCampaign

      public PromotionCampaign(Element element)
  • Method Details