PHP 클래스 Pop\Payment\Adapter\TrustCommerce

저자: Nick Sagona, III ([email protected])
상속: extends AbstractAdapter
파일 보기 프로젝트 열기: nicksagona/PopPHP

보호된 프로퍼티들

프로퍼티 타입 설명
$custId string Customer ID
$fields array Transaction fields for normalization purposes
$password string Password
$requiredFields array Required fields
$transaction array Transaction data
$url string URL

공개 메소드들

메소드 설명
__construct ( string $custId, string $password, boolean $test = false ) : TrustCommerce Constructor
send ( boolean $verifyPeer = true ) : void Send transaction

보호된 메소드들

메소드 설명
buildPostString ( ) : string Build the POST string
parseResponseCodes ( ) : array Parse the response codes

메소드 상세

__construct() 공개 메소드

Method to instantiate an TrustCommerce payment adapter object
public __construct ( string $custId, string $password, boolean $test = false ) : TrustCommerce
$custId string
$password string
$test boolean
리턴 TrustCommerce

buildPostString() 보호된 메소드

Build the POST string
protected buildPostString ( ) : string
리턴 string

parseResponseCodes() 보호된 메소드

Parse the response codes
protected parseResponseCodes ( ) : array
리턴 array

send() 공개 메소드

Send transaction
public send ( boolean $verifyPeer = true ) : void
$verifyPeer boolean
리턴 void

프로퍼티 상세

$custId 보호되어 있는 프로퍼티

Customer ID
protected string $custId
리턴 string

$fields 보호되어 있는 프로퍼티

Transaction fields for normalization purposes
protected array $fields
리턴 array

$password 보호되어 있는 프로퍼티

Password
protected string $password
리턴 string

$requiredFields 보호되어 있는 프로퍼티

Required fields
protected array $requiredFields
리턴 array

$transaction 보호되어 있는 프로퍼티

Transaction data
protected array $transaction
리턴 array

$url 보호되어 있는 프로퍼티

URL
protected string $url
리턴 string