eZPublish  4.4
eZPaymentObject Class Reference

This is a base class for objects, which uses in redirectional payment gateways. They stores in database information about payment processing. These objects are temporary and will be destroyed after payment approvement. More...

+ Inheritance diagram for eZPaymentObject:
+ Collaboration diagram for eZPaymentObject:

Public Member Functions

 approve ()
 
 approved ()
 
 eZPaymentObject ($row)
 
- Public Member Functions inherited from eZPersistentObject
 attribute ($attr, $noFunction=false)
 
 attributes ()
 
 eZPersistentObject ($row)
 
 fill ($row)
 
 hasAttribute ($attr)
 
 hasDirtyData ()
 
 remove ($conditions=null, $extraConditions=null)
 
 setAttribute ($attr, $val)
 
 setHasDirtyData ($hasDirtyData)
 
 store ($fieldFilters=null)
 
 sync ($fieldFilters=null)
 

Static Public Member Functions

static continueWorkflow ($workflowProcessID)
 
static createNew ($workflowprocessID, $orderID, $paymentType)
 
static definition ()
 
static fetchByID ($transactionID)
 
static fetchByOrderID ($orderID)
 
static fetchByProcessID ($workflowprocessID)
 
- Static Public Member Functions inherited from eZPersistentObject
static conditionText ($conditions)
 
static conditionTextByRow ($conditions, $row)
 
static count ($def, $conds=null, $field=null)
 
static definition ()
 
static escapeArray ($array)
 
static fetchObject ($def, $field_filters, $conds, $asObject=true, $grouping=null, $custom_fields=null)
 
static fetchObjectList ($def, $field_filters=null, $conds=null, $sorts=null, $limit=null, $asObject=true, $grouping=false, $custom_fields=null, $custom_tables=null, $custom_conds=null)
 
static getShortAttributeName ($db, $def, $attrName)
 
static handleRows ($rows, $class_name, $asObject)
 
static newObjectOrder ($def, $orderField, $conditions)
 
static removeObject ($def, $conditions=null, $extraConditions=null)
 
static reorderObject ($def, $orderField, $conditions, $down=true)
 
static swapRow ($table, $keys, $order_id, $rows, $id1, $id2)
 
static updateObjectList ($parameters)
 

Public Attributes

const STATUS_APPROVED = 1
 
const STATUS_NOT_APPROVED = 0
 
- Public Attributes inherited from eZPersistentObject
 $PersistentDataDirty
 Whether the data is dirty, ie needs to be stored, or not. More...
 

Detailed Description

This is a base class for objects, which uses in redirectional payment gateways. They stores in database information about payment processing. These objects are temporary and will be destroyed after payment approvement.

Member Function Documentation

eZPaymentObject::approve ( )

Approves payment.

eZPaymentObject::approved ( )
static eZPaymentObject::continueWorkflow (   $workflowProcessID)
static

Continues workflow after approvement.

Referenced by eZPaymentCallbackChecker\continueWorkflow().

static eZPaymentObject::createNew (   $workflowprocessID,
  $orderID,
  $paymentType 
)
static

Creates new object.

static eZPaymentObject::definition ( )
static
eZPaymentObject::eZPaymentObject (   $row)

Constructor.

Referenced by createNew().

static eZPaymentObject::fetchByID (   $transactionID)
static

Returns eZPaymentObject by 'id'.

static eZPaymentObject::fetchByOrderID (   $orderID)
static
static eZPaymentObject::fetchByProcessID (   $workflowprocessID)
static

Member Data Documentation

const eZPaymentObject::STATUS_APPROVED = 1
const eZPaymentObject::STATUS_NOT_APPROVED = 0

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