PHP 인터페이스 Omnipay\Common\GatewayInterface

This interface class defines the standard functions that any Omnipay gateway needs to define.
또한 보기: AbstractGateway
파일 보기 프로젝트 열기: omnipay/common 0 사용 예제들

공개 메소드들

메소드 설명
getDefaultParameters ( ) Define gateway parameters, in the following format:
getName ( ) Get gateway display name
getParameters ( ) : array Get all gateway parameters
getShortName ( ) Get gateway short name
initialize ( array $parameters = [] ) Initialize gateway with parameters

메소드 상세

getDefaultParameters() 공개 메소드

array( 'username' => '', // string variable 'testMode' => false, // boolean variable 'landingPage' => array('billing', 'login'), // enum variable, first item is default );

getName() 공개 메소드

This can be used by carts to get the display name for each gateway.
public getName ( )

getParameters() 공개 메소드

Get all gateway parameters
public getParameters ( ) : array
리턴 array

getShortName() 공개 메소드

This name can be used with GatewayFactory as an alias of the gateway class, to create new instances of this gateway.
public getShortName ( )

initialize() 공개 메소드

Initialize gateway with parameters
public initialize ( array $parameters = [] )
$parameters array