PATH:
home
/
letacommog
/
laindinois
/
wp-content
/
plugins
/
dokan-pro
/
vendor
/
moip
/
moip-sdk-php
/
src
/
Resource
<?php namespace Moip\Resource; use stdClass; class BankAccountList extends MoipResource { /** * Path bank accounts API. * * @const string */ const PATH = 'bankaccounts'; /** * Path accounts API. * * @const string */ const PATH_ACCOUNT = 'accounts'; /** * Initialize a new instance. */ public function initialize() { $this->data = new stdClass(); } /** * Get bank accounts. * * @return array */ public function getBankAccounts() { return $this->data->bankAccounts; } /** * Get a bank accounts list. * * @param string Account id. * * @return stdClass */ public function get($account_id) { return $this->getByPath(sprintf('/%s/%s/%s/%s', MoipResource::VERSION, self::PATH_ACCOUNT, $account_id, self::PATH)); } protected function populate(stdClass $response) { $bankAccountsList = clone $this; $bankAccountsList->data = new stdClass(); $bankAccountsList->data->bankAccounts = $response; return $bankAccountsList; } }
[+]
..
[-] Multiorders.php
[edit]
[-] Balances.php
[edit]
[-] CustomerCreditCard.php
[edit]
[-] Escrow.php
[edit]
[-] Webhook.php
[edit]
[-] WebhookList.php
[edit]
[-] MoipResource.php
[edit]
[-] BankAccountList.php
[edit]
[-] BankAccount.php
[edit]
[-] OrdersList.php
[edit]
[-] Transfers.php
[edit]
[-] Event.php
[edit]
[-] Entry.php
[edit]
[-] Holder.php
[edit]
[-] Payment.php
[edit]
[-] Customer.php
[edit]
[-] Refund.php
[edit]
[-] TransfersList.php
[edit]
[-] NotificationPreferences.php
[edit]
[-] Orders.php
[edit]
[-] Account.php
[edit]
[-] Keys.php
[edit]
[-] NotificationPreferencesList.php
[edit]