Overview

Namespaces

  • Apptus
    • ESales
      • Connector
        • Report
        • Time
    • Util
      • Cache
  • PHP
  • Overview
  • Namespace
  • Class
  • Tree
 1:  2:  3:  4:  5:  6:  7:  8:  9: 10: 11: 12: 13: 14: 15: 16: 17: 18: 19: 20: 21: 22: 23: 24: 25: 26: 27: 28: 29: 30: 31: 32: 33: 34: 35: 36: 37: 38: 39: 40: 41: 42: 43: 44: 45: 46: 47: 48: 49: 50: 51: 
<?php
namespace Apptus\ESales\Connector\Report;

/**
 * Sub class for AdOrderValueReport.
 *
 * Contains information about an ad together with timelines for click through rate and average order value.
 */
class AdOrderValueReportSection {
    private $ad;
    private $ctrs;
    private $aovs;

    /**
     * @param Ad
     *            Information about this ad. Can not be null.
     * @param Timeline
     *            Click through rate data. Can not be null.
     * @param Timeline
     *            Average order value data. Can not be null.
     */
    public function __construct(Ad $ad, Timeline $ctrs, Timeline $aovs) {
        $this->ad = $ad;
        $this->ctrs = $ctrs;
        $this->aovs = $aovs;
    }

    /**
     * @return Ad
     *            The ad information.
     */
    public function ad() {
        return $this->ad;
    }

    /**
     * @return Timeline
     *            A timeline of click through rates for visits that has seen this ad.
     */
    public function ctrs() {
        return $this->ctrs;
    }

    /**
     * @return Timeline
     *            A timeline of average order values for visits that has seen this ad.
     */
    public function aovs() {
        return $this->aovs;
    }
}
Apptus ESales Connector PHP API documentation generated by ApiGen