-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathBankKeys.php
47 lines (44 loc) · 905 Bytes
/
BankKeys.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
<?php
/*
example return file:
{
"publickey":"preston.CloudCoin.Global",
"privatekey":"6e2b96d6204a4212ae57ab84260e747f",
"email":""
}
*/
class BankKeys
{
//Fields
function get_publickey()
{
return $this->publickey;
}
function set_publickey($new_publickey)
{
$this->publickey = $new_publickey;
}
function get_privatekey()
{
return $this->privatekey;
}
function set_privatekey($new_privatekey)
{
$this->privatekey = $new_privatekey;
}
function get_email()
{
return $this->email;
}
function set_email($new_email)
{
$this->email = $new_email;
}
function BankKeys($publickey, $privatekey, $email)
{
$this->publickey = $publickey;
$this->privatekey = $privatekey;
$this->email = $email;
}//end of constructor
}
?>