Skip to content

Commit

Permalink
list resource
Browse files Browse the repository at this point in the history
  • Loading branch information
faiberrec committed Jan 30, 2024
1 parent f786afc commit 144dd19
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 0 deletions.
13 changes: 13 additions & 0 deletions lib/recurly/general_ledger_account_list.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
<?php

class Recurly_GeneralLedgerAccountList extends Recurly_Pager
{
public static function get($params = null, $client = null) {
$uri = self::_uriWithParams(Recurly_Client::PATH_GENERAL_LEDGER_ACCOUNTS, $params);
return new self($uri, $client);
}

protected function getNodeName() {
return 'general_ledger_accounts';
}
}
2 changes: 2 additions & 0 deletions lib/recurly/util/xml_tools.php
Original file line number Diff line number Diff line change
Expand Up @@ -70,6 +70,8 @@ class XmlTools
'external_subscriptions' => 'Recurly_ExternalSubscriptionList',
'fraud' => 'Recurly_FraudInfo',
'gateway_attributes' => 'Recurly_GatewayAttributes',
'general_ledger_account' => 'Recurly_GeneralLedgerAccount',
'general_ledger_accounts' => 'Recurly_GeneralLedgerAccountList',
'gift_card' => 'Recurly_GiftCard',
'gift_cards' => 'Recurly_GiftCardList',
'gifter_account' => 'Recurly_Account',
Expand Down

0 comments on commit 144dd19

Please sign in to comment.