-
Notifications
You must be signed in to change notification settings - Fork 212
/
Copy pathBalance.php
51 lines (46 loc) · 1.17 KB
/
Balance.php
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
<?php
/**
* Created by PhpStorm.
* @author Robert Jacobson <[email protected]>
* @author Matthew Crigger <[email protected]>
*
* @see https://help.shopify.com/en/api/reference/shopify_payments/balance Shopify API Reference for Shopify Payment Balance
*/
namespace PHPShopify;
/**
* --------------------------------------------------------------------------
* ShopifyPayment -> Child Resources
* --------------------------------------------------------------------------
*
*
*/
class Balance extends ShopifyResource
{
/**
* @inheritDoc
*/
protected $resourceKey = 'balance';
/**
* Get the pluralized version of the resource key
*
* Normally its the same as $resourceKey appended with 's', when it's different, the specific resource class will override this function
*
* @return string
*/
protected function pluralizeKey()
{
return $this->resourceKey;
}
/**
* If the resource is read only. (No POST / PUT / DELETE actions)
*
* @var boolean
*/
public $readOnly = true;
/**
* @inheritDoc
*/
protected $childResource = array(
'Transactions'
);
}