Payment_Process2
[ class tree: Payment_Process2 ] [ index: Payment_Process2 ] [ all elements ]

Class: Payment_Process2_ANZ

Source Location: /Payment_Process2-0.3.1/Payment/Process2/ANZ.php

Class Overview

Payment_Process2_Common
   |
   --Payment_Process2_ANZ

Driver for the ANZ Bank's eGate Payment Web Service (Merchant-Hosted)


Author(s):

Version:

  • Release: @package_version@

Copyright:

  • 2009 Valuation Exchange Pty Ltd

Variables

Methods


Inherited Variables

Inherited Methods


Class Details

[line 79]
Driver for the ANZ Bank's eGate Payment Web Service (Merchant-Hosted)


[ Top ]


Class Variables

$transactionReference =  ''

[line 82]


Type:   mixed


[ Top ]

$_typeFieldMap = array(
        'CreditCard' => array(
            'cardNumber' => 'vpc_CardNum',
            'cvv' => 'vpc_CardSecurityCode',
            'expDate' => 'vpc_CardExp',
        ),)

[line 110]

$_typeFieldMap
  • Todo: Swap to protected
  • Access: protected

Type:   mixed
Overrides:   Array


[ Top ]



Method Detail

__construct (Constructor)   [line 134]

void __construct( [array $options = array()], [HTTP_Request2 $request = null])

Constructor.
  • See: Payment_Process::setOptions()
  • Access: public

Overrides Payment_Process2_Common::__construct() (__construct)

Parameters:

array   $options   —  Class options to set.
HTTP_Request2   $request   —  Request object to use (optional)

[ Top ]

getStatus   [line 233]

bool getStatus( )

Get driver status
  • Access: public

[ Top ]

prepareRequestData   [line 186]

array prepareRequestData( )

Manipulate the data to be used in the request
  • Access: public

[ Top ]

process   [line 148]

Payment_Process2_Result_ANZ process( )

Process a payment
  • Access: public

[ Top ]

translateAction   [line 218]

string|bool translateAction( string $action)

Translate a Payment_Process2 action into a driver specific action
  • Access: public

Parameters:

string   $action   —  Ie, Payment_Process2::ACTION_NORMAL

[ Top ]

_validateAmount   [line 259]

bool _validateAmount( )

Validate an amount
  • Throws: Payment_Process2_Exception
  • Access: public

[ Top ]

_validateTransactionReference   [line 244]

bool _validateTransactionReference( )

Validate an amount
  • Throws: Payment_Process2_Exception
  • Access: public

[ Top ]


Documentation generated on Mon, 11 Mar 2019 15:40:36 -0400 by phpDocumentor 1.4.4. PEAR Logo Copyright © PHP Group 2004.