Overview

Namespaces

  • Guzzle
    • Batch
      • Exception
    • Cache
    • Common
      • Exception
    • Http
      • Curl
      • Exception
      • Message
        • Header
      • QueryAggregator
    • Inflection
    • Iterator
    • Log
    • Parser
      • Cookie
      • Message
      • UriTemplate
      • Url
    • Plugin
      • Async
      • Backoff
      • Cache
      • Cookie
        • CookieJar
        • Exception
      • CurlAuth
      • ErrorResponse
        • Exception
      • History
      • Log
      • Md5
      • Mock
      • Oauth
    • Service
      • Builder
      • Command
        • Factory
        • LocationVisitor
          • Request
          • Response
      • Description
      • Exception
      • Resource
    • Stream
    • Tests
      • Batch
      • Cache
      • Common
        • Cache
        • Exception
      • Http
        • Curl
        • Exception
        • Message
          • Header
      • Inflection
      • Iterator
      • Log
      • Message
      • Mock
      • Parser
        • Cookie
        • Message
      • Parsers
        • UriTemplate
      • Plugin
        • Async
        • Backoff
        • Cache
        • Cookie
          • CookieJar
        • CurlAuth
        • ErrorResponse
        • History
        • Log
        • Md5
        • Mock
        • Oauth
        • Redirect
      • Service
        • Builder
        • Command
          • LocationVisitor
            • Request
            • Response
        • Description
        • Exception
        • Mock
          • Command
            • Sub
          • Model
        • Resource
      • Stream
  • None
  • Omnipay
    • Common
      • Exception
      • Message
    • Dummy
      • Message
    • VivaPayments
      • Message
  • PHP

Classes

  • AbstractGateway
  • CreditCard
  • Currency
  • GatewayFactory
  • Helper
  • Issuer
  • Item
  • ItemBag
  • PaymentMethod

Interfaces

  • GatewayInterface
  • ItemInterface
  • Overview
  • Namespace
  • Class
  • Tree

Class PaymentMethod

Payment Method

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

Namespace: Omnipay\Common
See: Omnipay\Common\Issuer
Located at Common/PaymentMethod.php
Methods summary
public
# __construct( string $id, string $name )

Create a new PaymentMethod

Create a new PaymentMethod

Parameters

$id
The identifier of this payment method
$name
The name of this payment method
public string
# getId( )

The identifier of this payment method

The identifier of this payment method

Returns

string
public string
# getName( )

The name of this payment method

The name of this payment method

Returns

string
Properties summary
protected string $id

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

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

See

Omnipay\Common\Issuer
#
protected string $name

The full name of the payment method

The full name of the payment method

#
Omnipay Viva Payments Gateway Module API Documentation API documentation generated by ApiGen