-
Notifications
You must be signed in to change notification settings - Fork 34
/
Copy pathSubscriptionInterface.php
executable file
·81 lines (69 loc) · 1.51 KB
/
SubscriptionInterface.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
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
<?php
/**
* Checkout.com Magento 2 Payment module (https://www.checkout.com)
*
* Copyright (c) 2017 Checkout.com (https://www.checkout.com)
* Author: David Fiaty | [email protected]
*
* License GNU/GPL V3 https://www.gnu.org/licenses/gpl-3.0.en.html
*/
namespace CheckoutCom\Magento2\Api\Data;
interface SubscriptionInterface
{
/**
* Constants for keys of data array.
*/
const ENTITY_ID = 'id';
const STATUS = 'subscription_status';
const CREATED_AT = 'created_at';
const UPDATED_AT = 'updated_at';
const TRACK_ID = 'track_id';
/**
* Get EntityId.
*
* @return int
*/
public function getEntityId();
/**
* Set EntityId.
*/
public function setEntityId($entityId);
/**
* Get TrackId.
*/
public function getTrackId();
/**
* Set TrackId.
*/
public function setTrackId($entityId);
/**
* Get Status.
*
* @return int
*/
public function getStatus();
/**
* Set Status.
*/
public function setStatus($status);
/**
* Get UpdatedAt.
*
* @return timestamp
*/
public function getUpdatedAt();
/**
* Set UpdatedAt.
*/
public function setUpdatedAt($updatedAt);
/**
* Get CreatedAt.
*
* @return varchar
*/
public function getCreatedAt();
/**
* Set CreatedAt.
*/
public function setCreatedAt($createdAt);
}