PHP Class YandexMoney\ExternalPayment

Inheritance: extends BaseAPI
Datei anzeigen Open project: yandex-money/yandex-money-sdk-php Class Usage Examples

Public Methods

Method Description
__construct ( $instance_id )
getInstanceId ( string $client_id ) : response Registers an instance of an application
process ( array[] $payment_options ) : response Requests an external payment.
request ( array[] $payment_options ) : response Requests an external payment.

Method Details

__construct() public method

public __construct ( $instance_id )

getInstanceId() public static method

Registers an instance of an application
See also: http://api.yandex.com/money/doc/dg/reference/instance-id.xml
See also: https://tech.yandex.ru/money/doc/dg/reference/instance-id-docpage/
public static getInstanceId ( string $client_id ) : response
$client_id string The client_id that was assigned to the application.
return response object

process() public method

Requests an external payment.
See also: http://api.yandex.com/money/doc/dg/reference/request-external-payment.xml
See also: https://tech.yandex.ru/money/doc/dg/reference/request-external-payment-docpage/
public process ( array[] $payment_options ) : response
$payment_options array[] Key-value parameters collection
return response object

request() public method

Requests an external payment.
See also: http://api.yandex.com/money/doc/dg/reference/request-external-payment.xml
See also: https://tech.yandex.ru/money/doc/dg/reference/request-external-payment-docpage/
public request ( array[] $payment_options ) : response
$payment_options array[] Key-value parameters collection
return response object