Overview

Namespaces

  • Apptus
    • ESales
      • Connector
        • Report
        • Time
    • Util
      • Cache
  • PHP

Classes

  • Ad
  • AdConversionReport
  • AdConversionReportSection
  • AdList
  • AdListSection
  • AdOrderValueReport
  • AdOrderValueReportSection
  • AdPlacementReport
  • AdPlacementReportSection
  • Attribute
  • PanelConversionReport
  • PanelConversionReportSection
  • Placement
  • ProductSalesByAttributeReport
  • ProductSalesByAttributeReportSection
  • ProductSalesByTimeReport
  • ProductTopSellersReport
  • ProductTopSellersReportSection
  • Rate
  • Report
  • SearchConversion
  • SearchCount
  • SearchStatisticsReport
  • SessionStatistics
  • SessionStatisticsReport
  • SessionSummaryReport
  • Summary
  • Timeline
  • TimelineType
  • TimeSlot
  • TopSellingSearchesReport
  • TopSellingSearchesReportSection

Exceptions

  • FormatException
  • Overview
  • Namespace
  • Class
  • Tree

Class ProductTopSellersReportSection

Sub class for Apptus\ESales\Connector\Report\ProductTopSellersReport Contains sales data for one product (or variant).

Namespace: Apptus\ESales\Connector\Report
Located at Connector/Report/ProductTopSellersReportSection.php
Methods summary
public
# __construct( integer $rank, string $productKey, string $variantKey, float $discount, integer $purchasedUnits, integer $abandonedUnits, float $revenue, float $margin )

Parameters

$rank
rank of this product (or variant).
$productKey
product key of this product.
$variantKey
variant key if this is a variant, otherwise null.
$discount
total discount for this product (or variant).
$purchasedUnits
total number of purchased units of this product (or variant).
$abandonedUnits
total number of abandoned units of this product (or variant).
$revenue
total revenue for this product (or variant).
$margin
total margin for this product (or variant).
public integer
# rank( )

Returns

integer
The rank of this product (or variant).
public string
# productKey( )

Returns

string
The product_key of this product.
public string|null
# variantKey( )

Returns

string|null
The variant_key if this is a variant, otherwise null.
public float
# discount( )

Returns

float
The total discount for this product (or variant).
public integer
# purchasedUnits( )

Returns

integer
The total number of purchased units of this product (or variant).
public integer
# abandonedUnits( )

Returns

integer
The total number of abandoned units of this product (or variant).
public float
# revenue( )

Returns

float
The total revenue for this product (or variant).
public float
# margin( )

Returns

float
The total margin for this product (or variant).
Apptus ESales Connector PHP API documentation generated by ApiGen