Proyectos de Subversion LeadersLinked - Antes de SPA

Rev

| Ultima modificación | Ver Log |

Rev Autor Línea Nro. Línea
1 www 1
<?php
2
declare(strict_types=1);
3
 
4
namespace LeadersLinked\Model;
5
 
6
 
7
class Transaction
8
{
9
 
10
    const TYPE_PAYMENT = 'payment';
11
    const TYPE_COUPON = 'coupon';
12
    const TYPE_REVERSE = 'reverse';
13
    const TYPE_TRANSFER = 'transfer';
14
    const TYPE_INVOICE = 'invoice';
15
 
16
    const STATUS_PENDING = 'pending';
17
    const STATUS_PROCESSING = 'processing';
18
    const STATUS_REJECTED = 'rejected';
19
    const STATUS_COMPLETED = 'completed';
20
    const STATUS_CANCELLED = 'cancelled';
21
 
22
    /**
23
     *
24
     * @var int
25
     */
26
    public $id;
27
 
28
    /**
29
     *
30
     * @var int
31
     */
32
    public $user_id;
33
 
34
    /**
35
     *
36
     * @var int
37
     */
38
    public $invoice_id;
39
 
40
    /**
41
     *
42
     * @var string
43
     */
44
    public $provider;
45
 
46
    /**
47
     *
48
     * @var string
49
     */
50
    public $external_id;
51
 
52
    /**
53
     *
54
     * @var string
55
     */
56
    public $external_ref;
57
 
58
    /**
59
     *
60
     * @var string
61
     */
62
    public $internal_id;
63
 
64
    /**
65
     *
66
     * @var string
67
     */
68
    public $internal_ref;
69
 
70
    /**
71
     *
72
     * @var string
73
     */
74
    public $type;
75
 
76
    /**
77
     *
78
     * @var string
79
     */
80
    public $status;
81
 
82
 
83
    /**
84
     *
85
     * @var float
86
     */
87
    public $previous;
88
 
89
    /**
90
     *
91
     * @var float
92
     */
93
    public $amount;
94
 
95
    /**
96
     *
97
     * @var float
98
     */
99
    public $current;
100
 
101
    /**
102
     *
103
     * @var string
104
     */
105
    public $description;
106
 
107
    /**
108
     *
109
     * @var string
110
     */
111
    public $request;
112
 
113
    /**
114
     *
115
     * @var string
116
     */
117
    public $response;
118
 
119
    /**
120
     *
121
     * @var string
122
     */
123
    public $added_on;
124
 
125
    /**
126
     *
127
     * @var string
128
     */
129
    public $updated_on;
130
}