PHP Class Markette\Gopay\Service\AbstractPaymentService

Inheritance: extends AbstractService
Mostra file Open project: markette/gopay Class Usage Examples

Protected Properties

Property Type Description
$gopay Markette\Gopay\Gopay

Public Methods

Method Description
__construct ( Markette\Gopay\Gopay $gopay )
createPayment ( array $values ) : BasePayment Create Payment
restorePayment ( array $values, array $valuesToBeVerified ) : ReturnedPayment Returns payment after visiting Payment Gate

Protected Methods

Method Description
createSignature ( integer $paymentSessionId ) : string Creates encrypted signature for given given payment session id
getPaymentChannels ( string $channel ) : array

Method Details

__construct() public method

public __construct ( Markette\Gopay\Gopay $gopay )
$gopay Markette\Gopay\Gopay

createPayment() abstract public method

Create Payment
abstract public createPayment ( array $values ) : BasePayment
$values array
return Markette\Gopay\Entity\BasePayment

createSignature() protected method

Creates encrypted signature for given given payment session id
protected createSignature ( integer $paymentSessionId ) : string
$paymentSessionId integer
return string

getPaymentChannels() protected method

protected getPaymentChannels ( string $channel ) : array
$channel string
return array

restorePayment() public method

Returns payment after visiting Payment Gate
public restorePayment ( array $values, array $valuesToBeVerified ) : ReturnedPayment
$values array
$valuesToBeVerified array
return Markette\Gopay\Entity\ReturnedPayment

Property Details

$gopay protected_oe property

protected Gopay,Markette\Gopay $gopay
return Markette\Gopay\Gopay