\Linusx\Empyr\ControllersEmpyrPayment

Class EmpyrPayment.

Summary

Methods
Properties
Constants
__construct()
payment()
add()
addDirect()
No public properties found
No constants found
No protected methods found
No protected properties found
N/A
No private methods found
No private properties found
N/A

Methods

__construct()

__construct(array  $data = array()) 

Empyr Payment Methods.

Parameters

array $data

Data to set field with.

Throws

\GuzzleHttp\Exception\GuzzleException
\Linusx\Empyr\Exceptions\EmpyrMissingRequiredFields

payment()

payment(array  $options = array()) : boolean|mixed

Retrieves a payment.

Parameters

array $options

Throws

\GuzzleHttp\Exception\GuzzleException
\Linusx\Empyr\Exceptions\EmpyrMissingRequiredFields

Returns

boolean|mixed

add()

add(array  $options = array()) : boolean|mixed

Creates a payable on the given card as a refund.

Parameters

array $options

Throws

\GuzzleHttp\Exception\GuzzleException
\Linusx\Empyr\Exceptions\EmpyrMissingRequiredFields

Returns

boolean|mixed

addDirect()

addDirect(array  $options = array()) : boolean|mixed

Creates a payable on given a PAN and expiration date.

Parameters

array $options

Throws

\GuzzleHttp\Exception\GuzzleException
\Linusx\Empyr\Exceptions\EmpyrMissingRequiredFields

Returns

boolean|mixed