PHP Class YandexMoney\ExternalPayment

Inheritance: extends BaseAPI
Afficher le fichier Open project: yandex-money/yandex-money-sdk-php Class Usage Examples

Méthodes publiques

Méthode 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 méthode

public __construct ( $instance_id )

getInstanceId() public static méthode

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.
Résultat response object

process() public méthode

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
Résultat response object

request() public méthode

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
Résultat response object