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

Class: Payment_Process2_Type

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

Class Overview


Payment_Process2_Type


Author(s):

Version:

  • @version@

Variables

Methods


Child classes:

Payment_Process2_Type_CreditCard
Payment_Process2_Type_CreditCard
Payment_Process2_Type_eCheck
Payment_Process2_Type_eCheck

Inherited Variables

Inherited Methods


Class Details

[line 56]
Payment_Process2_Type


[ Top ]


Class Variables

$address =

[line 105]

$address

Type:   string


[ Top ]

$city =

[line 112]

$city

Type:   string


[ Top ]

$company =

[line 98]

$company

Type:   string


[ Top ]

$country =

[line 133]

$country
  • Var: Country code of customer (ie. US)

Type:   string


[ Top ]

$email =

[line 154]

$city
  • Var: Email address of customer

Type:   string


[ Top ]

$fax =

[line 147]

$fax
  • Var: Fax number of customer

Type:   string


[ Top ]

$firstName =

[line 84]

$firstName

Type:   string


[ Top ]

$ipAddress =

[line 161]

$ipAddress
  • Var: Remote IP address of customer

Type:   string


[ Top ]

$lastName =

[line 91]

$lastName

Type:   string


[ Top ]

$phone =

[line 140]

$phone
  • Var: Phone number of customer

Type:   string


[ Top ]

$state =

[line 119]

$state
  • Var: State/Province of customer

Type:   string


[ Top ]

$zip =

[line 126]

$zip
  • Var: Zip/Postal code of customer

Type:   string


[ Top ]



Method Detail

factory   [line 174]

Payment_Process2_Type factory( string $type, [ $options = array()])

factory

Creates and returns an instance of a payment type.

  • Throws: Payment_Process2_Exception
  • Access: public

Parameters:

string   $type   — 
   $options   — 

[ Top ]

getType   [line 231]

string getType( )

getType

[ Top ]

validate   [line 209]

bool validate( )

Validate this object
  • Todo: validate() to raise exceptions
  • Throws: Payment_Process2_Exception
  • Access: public

Overridden in child classes as:

Payment_Process2_Type_MockCreditCard::validate()
Validate details of credit card.

[ Top ]


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