PluginProbe
GiveWP – Donation Plugin and Fundraising Platform / 4.18.0
GiveWP – Donation Plugin and Fundraising Platform v4.18.0
4.18.0 4.17.0 4.16.9 4.16.8.1 4.16.8 4.16.7.2 4.16.7.1 4.16.7 4.16.6.1 4.16.6 4.16.5.1 4.16.5 4.16.4 4.16.3 4.16.2 4.16.1 4.16.0 4.15.5 4.15.4 4.15.3 4.15.2 4.15.1 4.15.0 2.3.0 2.3.1 All 257 releases
give / vendor / woocommerce / action-scheduler / classes / ActionScheduler_ActionClaim.php

ActionScheduler_ActionClaim.php in GiveWP – Donation Plugin and Fundraising Platform 4.18.0, at vendor/woocommerce/action-scheduler/classes/ActionScheduler_ActionClaim.php

46 lines 652 B
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 <?php
2
3 /**
4 * Class ActionScheduler_ActionClaim
5 */
6 class ActionScheduler_ActionClaim {
7 /**
8 * Claim ID.
9 *
10 * @var string
11 */
12 private $id = '';
13
14 /**
15 * Claimed action IDs.
16 *
17 * @var int[]
18 */
19 private $action_ids = array();
20
21 /**
22 * Construct.
23 *
24 * @param string $id Claim ID.
25 * @param int[] $action_ids Action IDs.
26 */
27 public function __construct( $id, array $action_ids ) {
28 $this->id = $id;
29 $this->action_ids = $action_ids;
30 }
31
32 /**
33 * Get claim ID.
34 */
35 public function get_id() {
36 return $this->id;
37 }
38
39 /**
40 * Get IDs of claimed actions.
41 */
42 public function get_actions() {
43 return $this->action_ids;
44 }
45 }
46