1 | <?php namespace Arcanedev\Stripe; |
||
11 | class AttachedObject extends StripeObject implements AttachedObjectContract |
||
12 | { |
||
13 | /* ----------------------------------------------------------------- |
||
14 | | Properties |
||
15 | | ----------------------------------------------------------------- |
||
16 | */ |
||
17 | |||
18 | /** @var bool */ |
||
19 | protected $checkUnsavedAttributes = false; |
||
20 | |||
21 | /* ----------------------------------------------------------------- |
||
22 | | Main Functions |
||
23 | | ----------------------------------------------------------------- |
||
24 | */ |
||
25 | |||
26 | /** |
||
27 | * Updates this object. |
||
28 | * |
||
29 | * @param array $properties - A mapping of properties to update on this object. |
||
30 | */ |
||
31 | 15 | public function replaceWith($properties) |
|
44 | |||
45 | /** |
||
46 | * Counts the number of elements. |
||
47 | * |
||
48 | * @return int |
||
49 | */ |
||
50 | 12 | public function count() |
|
54 | } |
||
55 |