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

Class: Payment_Process_Type

Source Location: /Payment_Process-0.6.8/Process/Type.php

Class Overview


Payment_Process_Type


Author(s):

Version:

  • @version@

Variables

Methods


Child classes:

Payment_Process_Type_CreditCard
Payment_Process_Type_CreditCard
Payment_Process_Type_eCheck
Payment_Process_Type_eCheck

Inherited Variables

Inherited Methods


Class Details

[line 64]
Payment_Process_Type


[ Top ]


Class Variables

$address =

[line 100]

$address

Type:   string


[ Top ]

$city =

[line 107]

$city

Type:   string


[ Top ]

$company =

[line 93]

$company

Type:   string


[ Top ]

$country =

[line 128]

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

Type:   string


[ Top ]

$email =

[line 149]

$city
  • Var: Email address of customer

Type:   string


[ Top ]

$fax =

[line 142]

$fax
  • Var: Fax number of customer

Type:   string


[ Top ]

$firstName =

[line 79]

$firstName

Type:   string


[ Top ]

$ipAddress =

[line 156]

$ipAddress
  • Var: Remote IP address of customer

Type:   string


[ Top ]

$lastName =

[line 86]

$lastName

Type:   string


[ Top ]

$phone =

[line 135]

$phone
  • Var: Phone number of customer

Type:   string


[ Top ]

$state =

[line 114]

$state
  • Var: State/Province of customer

Type:   string


[ Top ]

$zip =

[line 121]

$zip
  • Var: Zip/Postal code of customer

Type:   string


[ Top ]



Method Detail

Payment_Process_Type (Constructor)   [line 165]

Payment_Process_Type Payment_Process_Type( )


[ Top ]

__construct (Constructor)   [line 159]

Payment_Process_Type __construct( )


Overridden in child classes as:

Payment_Process_Type_CreditCard::__construct()
Class constructor

[ Top ]

factory   [line 181]

mixed &factory( string $type)

factory

Creates and returns an instance of a payment type. If an error occurs a PEAR_Error is returned.


Parameters:

string   $type   — 

[ Top ]

getType   [line 235]

string getType( )

getType

[ Top ]

isValid   [line 207]

mixed isValid( mixed $obj)

isValid

Validate a payment type object

  • Return: true on success, PEAR_Error on failure
  • Author: Joe Stump <joe@joestump.net>
  • Access: public

Parameters:

mixed   $obj   —  Type object to validate

[ Top ]


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