-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathReceipt.php
78 lines (75 loc) · 1.41 KB
/
Receipt.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
<?php
date_default_timezone_set("UTC");
require("ReceiptDetail.php");
class Receipt
{
var $receipt_id;
var $time;
var $timezone;
var $bank_server;
var $total_authentic;
var $total_fracked;
var $total_counterfeit;
var $total_lost;
function get_receipt_id()
{
return $this->receipt_id;
}
function set_receipt_id($new_receipt_id)
{
$this->receipt_id = $new_receipt_id;
}
function timestamp()
{
mktime();
}
function timezone()
{
// [h:i:s] possible solution
}
function get_bank_server()
{
return $this->bank_server;
}
function set_bank_server($new_bank_server)
{
$this->bank_server = $new_bank_server;
}
function get_total_authentic()
{
return $this->total_authentic;
}
function set_total_authentic($new_total_authentic)
{
$this->total_authentic = $new_total_authentic;
}
function get_total_fracked()
{
return $this->total_fracked;
}
function set_total_fracked($new_)
{
$this->total_fracked = $new_total_fracked;
}
function get_total_counterfeit()
{
return $this->total_counterfeit;
}
function set_total_counterfeit($new_total_counterfeit)
{
$this->total_counterfeit = $new_total_counterfeit;
}
function get_total_lost()
{
return $this->total_lost;
}
function set_total_lost($new_total_lost)
{
$this->total_lost = $new_total_lost;
}
function get_ReceiptDetail()
{
ReceiptDetail();
}
}
?>