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

Class: Payment_Process_Type

Source Location: /Payment_Process-0.6.4/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 42]
Payment_Process_Type


[ Top ]


Class Variables

$address =

[line 78]

$address

Type:   string


[ Top ]

$city =

[line 85]

$city

Type:   string


[ Top ]

$company =

[line 71]

$company

Type:   string


[ Top ]

$country =

[line 106]

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

Type:   string


[ Top ]

$email =

[line 127]

$city
  • Var: Email address of customer

Type:   string


[ Top ]

$fax =

[line 120]

$fax
  • Var: Fax number of customer

Type:   string


[ Top ]

$firstName =

[line 57]

$firstName

Type:   string


[ Top ]

$ipAddress =

[line 134]

$ipAddress
  • Var: Remote IP address of customer

Type:   string


[ Top ]

$lastName =

[line 64]

$lastName

Type:   string


[ Top ]

$phone =

[line 113]

$phone
  • Var: Phone number of customer

Type:   string


[ Top ]

$state =

[line 92]

$state
  • Var: State/Province of customer

Type:   string


[ Top ]

$zip =

[line 99]

$zip
  • Var: Zip/Postal code of customer

Type:   string


[ Top ]



Method Detail

Payment_Process_Type (Constructor)   [line 143]

Payment_Process_Type Payment_Process_Type( )


[ Top ]

__construct (Constructor)   [line 137]

Payment_Process_Type __construct( )


Overridden in child classes as:

Payment_Process_Type_CreditCard::__construct()

[ Top ]

factory   [line 159]

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 211]

string getType( )

getType

[ Top ]

isValid   [line 183]

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 14:00:21 -0400 by phpDocumentor 1.4.4. PEAR Logo Copyright © PHP Group 2004.