Cheetah
Public Member Functions | Static Public Member Functions | Protected Attributes | List of all members
ChWsbPayments Class Reference

Public Member Functions

 __construct ()
 
 setActiveUri ($sActive)
 
 getActiveUri ()
 
 isActive ()
 
 getPayments ()
 
 getProviders ($iVendorId, $sProvider='')
 
 getOption ($sOption)
 
 getOrdersUrl ()
 
 getCartUrl ()
 
 getCartItems ()
 
 getCartItemCount ($iUserId, $iOldCount=0)
 
 getCartItemDescriptor ($iVendorId, $iModuleId, $iItemId, $iItemCount)
 
 getCartJs ($bWrapped=true)
 
 getAddToCartJs ($iVendorId, $mixedModuleId, $iItemId, $iItemCount, $bNeedRedirect=false, $bWrapped=true)
 
 getAddToCartLink ($iVendorId, $mixedModuleId, $iItemId, $iItemCount, $bNeedRedirect=false)
 
 initializeCheckout ($iVendorId, $sProvider, $aItems=array())
 
 prolongSubscription ($sOrderId)
 

Static Public Member Functions

static getInstance ()
 

Protected Attributes

 $_oDb
 
 $_aObjects
 
 $_sActiveUri
 

Detailed Description

Payments objects.

Definition at line 13 of file ChWsbPayments.php.

Constructor & Destructor Documentation

◆ __construct()

ChWsbPayments::__construct ( )

Constructor

Definition at line 23 of file ChWsbPayments.php.

Member Function Documentation

◆ getActiveUri()

ChWsbPayments::getActiveUri ( )

Definition at line 44 of file ChWsbPayments.php.

◆ getAddToCartJs()

ChWsbPayments::getAddToCartJs (   $iVendorId,
  $mixedModuleId,
  $iItemId,
  $iItemCount,
  $bNeedRedirect = false,
  $bWrapped = true 
)

Definition at line 145 of file ChWsbPayments.php.

◆ getAddToCartLink()

ChWsbPayments::getAddToCartLink (   $iVendorId,
  $mixedModuleId,
  $iItemId,
  $iItemCount,
  $bNeedRedirect = false 
)

Definition at line 154 of file ChWsbPayments.php.

◆ getCartItemCount()

ChWsbPayments::getCartItemCount (   $iUserId,
  $iOldCount = 0 
)

Definition at line 118 of file ChWsbPayments.php.

◆ getCartItemDescriptor()

ChWsbPayments::getCartItemDescriptor (   $iVendorId,
  $iModuleId,
  $iItemId,
  $iItemCount 
)

Definition at line 127 of file ChWsbPayments.php.

◆ getCartItems()

ChWsbPayments::getCartItems ( )

Definition at line 110 of file ChWsbPayments.php.

◆ getCartJs()

ChWsbPayments::getCartJs (   $bWrapped = true)

Definition at line 136 of file ChWsbPayments.php.

◆ getCartUrl()

ChWsbPayments::getCartUrl ( )

Definition at line 102 of file ChWsbPayments.php.

◆ getInstance()

static ChWsbPayments::getInstance ( )
static

Definition at line 31 of file ChWsbPayments.php.

◆ getOption()

ChWsbPayments::getOption (   $sOption)

Definition at line 86 of file ChWsbPayments.php.

◆ getOrdersUrl()

ChWsbPayments::getOrdersUrl ( )

Definition at line 94 of file ChWsbPayments.php.

◆ getPayments()

ChWsbPayments::getPayments ( )

Definition at line 62 of file ChWsbPayments.php.

◆ getProviders()

ChWsbPayments::getProviders (   $iVendorId,
  $sProvider = '' 
)

Definition at line 77 of file ChWsbPayments.php.

◆ initializeCheckout()

ChWsbPayments::initializeCheckout (   $iVendorId,
  $sProvider,
  $aItems = array() 
)

Definition at line 163 of file ChWsbPayments.php.

◆ isActive()

ChWsbPayments::isActive ( )

Definition at line 49 of file ChWsbPayments.php.

◆ prolongSubscription()

ChWsbPayments::prolongSubscription (   $sOrderId)

Definition at line 172 of file ChWsbPayments.php.

◆ setActiveUri()

ChWsbPayments::setActiveUri (   $sActive)

Definition at line 39 of file ChWsbPayments.php.

Member Data Documentation

◆ $_aObjects

ChWsbPayments::$_aObjects
protected

Definition at line 17 of file ChWsbPayments.php.

◆ $_oDb

ChWsbPayments::$_oDb
protected

Definition at line 15 of file ChWsbPayments.php.

◆ $_sActiveUri

ChWsbPayments::$_sActiveUri
protected

Definition at line 18 of file ChWsbPayments.php.


The documentation for this class was generated from the following file: