-
Notifications
You must be signed in to change notification settings - Fork 212
/
Copy pathShopifyPayment.php
53 lines (47 loc) · 1.18 KB
/
ShopifyPayment.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
52
53
<?php
/**
* Created by PhpStorm.
* @author Victor Kislichenko <v.kislichenko@gmail.com>
* Created at 01/06/2020 16:45 AM UTC+03:00
*
* @see https://shopify.dev/docs/admin-api/rest/reference/shopify_payments Shopify API Reference for ShopifyPayment
*/
namespace PHPShopify;
/**
* --------------------------------------------------------------------------
* ShopifyPayment -> Child Resources
* --------------------------------------------------------------------------
* @property-read ShopifyResource $Dispute
*
* @method ShopifyResource Dispute(integer $id = null)
*
* @property-read ShopifyResource $Balance
*
* @method ShopifyResource Balance(integer $id = null)
*
* @property-read ShopifyResource $Payouts
*
* @method ShopifyResource Payouts(integer $id = null)
*
*/
class ShopifyPayment extends ShopifyResource
{
/**
* @inheritDoc
*/
public $resourceKey = 'shopify_payment';
/**
* If the resource is read only. (No POST / PUT / DELETE actions)
*
* @var boolean
*/
public $readOnly = true;
/**
* @inheritDoc
*/
protected $childResource = array(
'Balance',
'Dispute',
'Payouts',
);
}