OrderHelper class

From Catglobe Wiki
Jump to: navigation, search

OrderHelper



Order object used while processing orders

Parent class

Inherits from object

Constructors

  • () - Create a new order helper

Methods

  • array ListOfDeliveryTypes(string countryName "Name of country to display delivery types for") - List of delivery types in the system for a given country
  • Empty ProcessPayment(string orderNumber "Stored order number", bool acceptTestPayment "If true, test payments will succeed, otherwise an exception is throw if test cards are used", string merchantName "Merchant name to load the appropriate merchant configuration from the web config", Function callback "Callback function on successful payment") - Load existing order and process it after payment. Calls callback function if payment was successful with order as first and only parameter
  • Empty ProcessPayment(string orderNumber "Stored order number", bool acceptTestPayment "If true, test payments will succeed, otherwise an exception is throw if test cards are used", Function callback "Callback function on successful payment") - Load existing order and process it after payment. Calls callback function if payment was successful with order as first and only parameter
  • (From object) string ToString() - The string representation of the object.

Properties

  • array ListOfCountries { get; } - List of countries in the system
  • array ListOfCurrency { get; } - List of currency supported
  • string ObjectTypeName { get; } - The name of the type of object.
  • (From object) TypeInformation TypeInformation { get; } - Get information about this class.