\Yansongda\Pay\ContractsGatewayApplicationInterface

Summary

Methods
Constants
pay()
find()
refund()
cancel()
close()
verify()
success()
No constants found
No protected methods found
N/A
No private methods found
N/A

Methods

pay()

pay(string  $gateway, array  $params) : \Yansongda\Supports\Collection|\Symfony\Component\HttpFoundation\Response

To pay.

Parameters

string $gateway
array $params

Returns

\Yansongda\Supports\Collection|\Symfony\Component\HttpFoundation\Response —

find()

find(string|array  $order, string  $type) : \Yansongda\Supports\Collection

Query an order.

Parameters

string|array $order
string $type

Returns

\Yansongda\Supports\Collection —

refund()

refund(array  $order) : \Yansongda\Supports\Collection

Refund an order.

Parameters

array $order

Returns

\Yansongda\Supports\Collection —

cancel()

cancel(string|array  $order) : \Yansongda\Supports\Collection

Cancel an order.

Parameters

string|array $order

Returns

\Yansongda\Supports\Collection —

close()

close(string|array  $order) : \Yansongda\Supports\Collection

Close an order.

Parameters

string|array $order

Returns

\Yansongda\Supports\Collection —

verify()

verify(string|array|null  $content, bool  $refund) : \Yansongda\Supports\Collection

Verify a request.

Parameters

string|array|null $content
bool $refund

Returns

\Yansongda\Supports\Collection —

success()

success() : \Symfony\Component\HttpFoundation\Response

Echo success to server.

Returns

\Symfony\Component\HttpFoundation\Response —