Overview

Namespaces

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

Classes

  • Ad
  • Ads
  • ArgMap
  • Attribute
  • AttributeValidation
  • Authorization
  • Category
  • CategoryData
  • CategoryList
  • CategoryNode
  • CloudConnector
  • ClusterUriIterator
  • Completion
  • Completions
  • CompressionMode
  • Connector
  • ConnectorSettingsBuilder
  • Correction
  • Corrections
  • Count
  • CssClass
  • CustomerKeyAuthentication
  • DynamicPage
  • EventDataJobResult
  • FacetList
  • FacetRange
  • Facets
  • Filter
  • FilterBuilder
  • ImportData
  • JavaScriptNotifier
  • MessageAuthentication
  • OnPremConnector
  • Order
  • OrderLine
  • Panel
  • PanelContent
  • Path
  • Phrase
  • Phrases
  • Product
  • Products
  • Reporter
  • ResultType
  • Session
  • Status
  • Subpanel
  • Value
  • Values
  • Variant

Interfaces

  • Facet
  • Result

Exceptions

  • BusyClusterException
  • ClusterUnavailableException
  • DuplicateSubpanelException
  • FetchClusterException
  • IOException
  • MalformedJsonException
  • MalformedURLException
  • MissingSubpanelException
  • PanelException
  • ParseException
  • ReportException
  • RequestFailedException
  • ResultTypeException
  • Overview
  • Namespace
  • Class
  • Tree

Class Order

A sale order from a customer session. Use Session.notifyPayment to notify eSales that an order has been paid by a customer in a session.

Namespace: Apptus\ESales\Connector
Located at Connector/Order.php
Methods summary
public Apptus\ESales\Connector\OrderLine
# addProduct( string $productKey )

Adds an order line for the specified product and return the new order line.

Adds an order line for the specified product and return the new order line.

Parameters

$productKey
key of the purchased product.

Returns

Apptus\ESales\Connector\OrderLine
The added order line.

Throws

InvalidArgumentException
if productKey is invalid.
public Apptus\ESales\Connector\OrderLine
# addVariant( )

Adds an order line for the specified variant and return the new order line. If the product key is omitted, the variant will be coupled to a product by looking it up in the product catalog currently loaded in eSales.

Adds an order line for the specified variant and return the new order line. If the product key is omitted, the variant will be coupled to a product by looking it up in the product catalog currently loaded in eSales.

Returns

Apptus\ESales\Connector\OrderLine
The added order line.

Throws

InvalidArgumentException
if the arguments are not valid keys.
public Apptus\ESales\Connector\OrderLine
# addTicket( string $ticket )

Adds an order line for the variant or product specified by a ticket.

Adds an order line for the variant or product specified by a ticket.

Parameters

$ticket
ticket as retrieved from an earlier panel request.

Returns

Apptus\ESales\Connector\OrderLine
The added order line.
Apptus ESales Connector PHP API documentation generated by ApiGen