Open Journal Systems  3.3.0
Omnipay\Common\PaymentMethod Class Reference

Public Member Functions

 __construct ($id, $name)
 
 __construct ($id, $name)
 
 getId ()
 
 getId ()
 
 getName ()
 
 getName ()
 

Protected Attributes

 $id
 
 $name
 

Detailed Description

Payment Method

This class defines a payment method to be used in the Omnipay system.

See also
Issuer

Payment Method

This class defines a payment method to be used in the Omnipay system.

Definition at line 15 of file lib/vendor/omnipay/common/src/Omnipay/Common/PaymentMethod.php.

Constructor & Destructor Documentation

◆ __construct() [1/2]

Omnipay\Common\PaymentMethod::__construct (   $id,
  $name 
)

Create a new PaymentMethod

Parameters
string$idThe identifier of this payment method
string$nameThe name of this payment method

Definition at line 47 of file lib/vendor/omnipay/common/src/Omnipay/Common/PaymentMethod.php.

References Omnipay\Common\PaymentMethod\$id, and Omnipay\Common\PaymentMethod\$name.

◆ __construct() [2/2]

Omnipay\Common\PaymentMethod::__construct (   $id,
  $name 
)

Create a new PaymentMethod

Parameters
string$idThe identifier of this payment method
string$nameThe name of this payment method

Definition at line 44 of file vendor/omnipay/common/src/Common/PaymentMethod.php.

References Omnipay\Common\PaymentMethod\$id, and Omnipay\Common\PaymentMethod\$name.

Member Function Documentation

◆ getId() [1/2]

Omnipay\Common\PaymentMethod::getId ( )

The identifier of this payment method

Returns
string

Definition at line 55 of file vendor/omnipay/common/src/Common/PaymentMethod.php.

References Omnipay\Common\PaymentMethod\$id.

◆ getId() [2/2]

Omnipay\Common\PaymentMethod::getId ( )

The identifier of this payment method

Returns
string

Definition at line 58 of file lib/vendor/omnipay/common/src/Omnipay/Common/PaymentMethod.php.

References Omnipay\Common\PaymentMethod\$id.

◆ getName() [1/2]

Omnipay\Common\PaymentMethod::getName ( )

The name of this payment method

Returns
string

Definition at line 65 of file vendor/omnipay/common/src/Common/PaymentMethod.php.

References Omnipay\Common\PaymentMethod\$name.

◆ getName() [2/2]

Omnipay\Common\PaymentMethod::getName ( )

The name of this payment method

Returns
string

Definition at line 68 of file lib/vendor/omnipay/common/src/Omnipay/Common/PaymentMethod.php.

References Omnipay\Common\PaymentMethod\$name.

Field Documentation

◆ $id

string Omnipay\Common\PaymentMethod::$id
protected

The ID of the payment method. Used as the payment method ID in the Issuer class.

See also
Issuer

The ID of the payment method. Used as the payment method ID in the Issuer class.

Definition at line 29 of file lib/vendor/omnipay/common/src/Omnipay/Common/PaymentMethod.php.

Referenced by Omnipay\Common\PaymentMethod\__construct(), and Omnipay\Common\PaymentMethod\getId().

◆ $name

string Omnipay\Common\PaymentMethod::$name
protected

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