PHP Interface Bitpay\Client\ClientInterface

Exibir arquivo Open project: bitpay/php-client

Public Methods

Method Description
createInvoice ( Bitpay\InvoiceInterface $invoice ) : Invoice
createPayout ( Bitpay\PayoutInterface $payout ) : Bitpay\PayoutInterface | mixed Create a Payout Request on Bitpay
deletePayout ( Bitpay\PayoutInterface $payout ) : Bitpay\PayoutInterface | mixed
getCurrencies ( ) public function getAccessToken($keyId);
getInvoice ( $invoiceId ) : Bitpay\InvoiceInterface
getPayout ( $payoutId ) : Payout
getPayouts ( null $status = null ) : array
getTokens ( ) : array Get an array of tokens indexed by facade

Method Details

createInvoice() public method

public createInvoice ( Bitpay\InvoiceInterface $invoice ) : Invoice
$invoice Bitpay\InvoiceInterface
return Bitpay\Invoice

createPayout() public method

Create a Payout Request on Bitpay
public createPayout ( Bitpay\PayoutInterface $payout ) : Bitpay\PayoutInterface | mixed
$payout Bitpay\PayoutInterface
return Bitpay\PayoutInterface | mixed

deletePayout() public method

public deletePayout ( Bitpay\PayoutInterface $payout ) : Bitpay\PayoutInterface | mixed
$payout Bitpay\PayoutInterface
return Bitpay\PayoutInterface | mixed

getCurrencies() public method

public function getAccessToken($keyId);
public getCurrencies ( )

getInvoice() public method

public getInvoice ( $invoiceId ) : Bitpay\InvoiceInterface
$invoiceId
return Bitpay\InvoiceInterface

getPayout() public method

public getPayout ( $payoutId ) : Payout
$payoutId
return Bitpay\Payout

getPayouts() public method

public getPayouts ( null $status = null ) : array
$status null
return array

getTokens() public method

Get an array of tokens indexed by facade
public getTokens ( ) : array
return array