PHP 클래스 Pop\Payment\Adapter\PayPal

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

보호된 프로퍼티들

프로퍼티 타입 설명
$apiPassword string API password
$apiUsername string API username
$fields array Transaction fields for normalization purposes
$liveUrl string Live URL
$requiredFields array Required fields
$signature string API signature
$testUrl string Test URL
$transaction array Transaction data

공개 메소드들

메소드 설명
__construct ( string $apiUser, string $apiPass, string $sign, boolean $test = false ) : PayPal Constructor
send ( boolean $verifyPeer = true ) : void Send transaction

보호된 메소드들

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

메소드 상세

__construct() 공개 메소드

Method to instantiate an PayPal payment adapter object
public __construct ( string $apiUser, string $apiPass, string $sign, boolean $test = false ) : PayPal
$apiUser string
$apiPass string
$sign string
$test boolean
리턴 PayPal

buildPostString() 보호된 메소드

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

parseResponseCodes() 보호된 메소드

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

send() 공개 메소드

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

프로퍼티 상세

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

API password
protected string $apiPassword
리턴 string

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

API username
protected string $apiUsername
리턴 string

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

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

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

Live URL
protected string $liveUrl
리턴 string

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

Required fields
protected array $requiredFields
리턴 array

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

API signature
protected string $signature
리턴 string

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

Test URL
protected string $testUrl
리턴 string

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

Transaction data
protected array $transaction
리턴 array