PHP Class Ogone\AbstractRequest

Inheritance: implements ogone\Request
ファイルを表示 Open project: marlon-be/marlon-ogone

Public Properties

Property Type Description
$allowedlanguages Note this is public to allow easy modification, if need be.

Protected Properties

Property Type Description
$ogoneFields
$ogoneUri
$parameters
$shaComposer Ogone\ShaComposer\ShaComposer

Public Methods

Method Description
__call ( $method, $args ) Allows setting ogone parameters that don't have a setter -- usually only the unimportant ones like bgcolor, which you'd call with setBgcolor()
getOgoneUri ( ) : string
getShaSign ( ) : string
setAccepturl ( $accepturl )
setBackurl ( $backurl )
setCancelurl ( $cancelurl )
setCn ( $cn )
setCustomername ( $customername ) Alias for setCn
setDeclineurl ( $declineurl )
setExceptionurl ( $exceptionurl )
setFeedbackParams ( array $feedbackParams ) Alias for setParamplus
setLanguage ( $language ) ISO code eg nl_BE
setOgoneUri ( $ogoneUri ) Ogone uri to send the customer to. Usually PaymentRequest::TEST or PaymentRequest::PRODUCTION
setParamplus ( array $paramplus )
setPspid ( $pspid )
toArray ( )
validate ( )

Protected Methods

Method Description
validateOgoneUri ( $uri )
validateUri ( $uri )

Method Details

__call() public method

Allows setting ogone parameters that don't have a setter -- usually only the unimportant ones like bgcolor, which you'd call with setBgcolor()
public __call ( $method, $args )
$method
$args

getOgoneUri() public method

public getOgoneUri ( ) : string
return string

getShaSign() public method

public getShaSign ( ) : string
return string

setAccepturl() public method

public setAccepturl ( $accepturl )

setBackurl() public method

public setBackurl ( $backurl )

setCancelurl() public method

public setCancelurl ( $cancelurl )

setCn() public method

public setCn ( $cn )

setCustomername() public method

Alias for setCn
public setCustomername ( $customername )

setDeclineurl() public method

public setDeclineurl ( $declineurl )

setExceptionurl() public method

public setExceptionurl ( $exceptionurl )

setFeedbackParams() public method

Alias for setParamplus
public setFeedbackParams ( array $feedbackParams )
$feedbackParams array

setLanguage() public method

ISO code eg nl_BE
public setLanguage ( $language )

setOgoneUri() public method

Ogone uri to send the customer to. Usually PaymentRequest::TEST or PaymentRequest::PRODUCTION
public setOgoneUri ( $ogoneUri )

setParamplus() public method

public setParamplus ( array $paramplus )
$paramplus array

setPspid() public method

public setPspid ( $pspid )

toArray() public method

public toArray ( )

validate() public method

public validate ( )

validateOgoneUri() protected method

protected validateOgoneUri ( $uri )

validateUri() protected method

protected validateUri ( $uri )

Property Details

$allowedlanguages public_oe property

Note this is public to allow easy modification, if need be.
public $allowedlanguages

$ogoneFields protected_oe property

protected $ogoneFields

$ogoneUri protected_oe property

protected $ogoneUri

$parameters protected_oe property

protected $parameters

$shaComposer protected_oe property

protected ShaComposer,Ogone\ShaComposer $shaComposer
return Ogone\ShaComposer\ShaComposer