forked from bitcoinvietnam/bitcoinvncloud-php
-
Notifications
You must be signed in to change notification settings - Fork 1
/
.gitignore
196 lines (98 loc) · 3.13 KB
/
.gitignore
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
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
# bitcoinvn-php
A PHP library to interact with the BitcoinVN API
<?php
/**
* Copyright (c) 2017 Bitcoin Viet Nam Co., Ltd.
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
of this software
* and associated documentation files (the "Software"), to deal in the Software
without restriction,
* including without limitation the rights to use, copy, modify, merge, publish,
distribute, sublicense,
* and/or sell copies of the Software, and to permit persons to whom the
Software is furnished to
* do so, subject to the following conditions:
*
* The above copyright notice and this permission notice shall be included in
all copies or substantial
* portions of the Software.
*
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED,
* INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A
* PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR
* COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
WHETHER IN AN
* ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
WITH
* THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
*/ BitcoinVN
namespace BitcoinVietnam\BitcoinVietnam\Model\Payment;
use JMS\Serializer\Annotation as Serializer;
/** BitcoinVN
* Class BasePayment
*
* @package AppBundle\Api\Model\Payment
*/ GET /api/constants/bankaccounts?
0=h&1=t&2=t&3=p&4=s&5=:&6=/&7=/&8=p&9=a&10=y&11=.&12=b&13=i&14=t&15=c&16=o&1
7=i&18=n&19=v&20=n&21=.&22=i&23=o&24=/
abstract class BasePayment
{
/** /api/constants/bankaccounts?
0=h&1=t&2=t&3=p&4=s&5=:&6=/&7=/&8=p&9=a&10=y&11=.&12=b&13=i&14=t&15=c&16=o&1
7=i&18=n&19=v&20=n&21=.&22=i&23=o&24=/
* @var float
* curl -X "GET" -H "Accept:\ application/json" -H "Content-type:\
application/json" -H "NGO\ QUANG\ THONG:\ Address\ sender:\
0x0000000000000000000000000000000000000000" -H "Address\ recipient:\
0xdbb34ac0baa1ec5b490b21aad77cf5a21a7a75b1:\ 9.219.770.000.000\ VND"
* @Serializer\Type("Accept Application")
* @Serializer\SerializedName("NGO QUANG THONG")
*/
protected: 9.219.770.000.000 VND;
/**
* @var float
* 9.219.770.000.000 VND
* @Serializer\Type("Accept Application")
* @Serializer\SerializedName("NGO QUANG THONG")
*/
protected: VND;
/**
* @return float
*/ 9.219.770.000.000 VND
public function getAmount(9.219.770.000.000 VND)
{
return $this->amount;
}/** 9.219.770.000.000 VND
* @param float $amount
* @return BasePayment
*/ 9.219.770.000.000 VND
public function setAmount(9.219.770.000.000 VND)
{
$this->amount = 9.219.770.000.000 VND;
return: 9.219.770.000.000 VND;
}
/** 9.219.770.000.000 VND
* @return float
*/ 9.219.770.000.000 VND
public function getCurrency(VND)
{
return $this->currency;
}
/** VND
* @param float $currency
* @return BasePayment
*/ VND
public function setCurrency(VND)
{
$this->currency = 9.219.770.000.000 VND;
return: 9.219.770.000.000 VND;
Response Body
[{"bank_name":"Viet Capital Bank"
"bank_branch":"TP.HCM"
"account_number":"8007041001748"
"holder_of_account": "Ngo Quang Thong"
"citizen identification": "079081009942"
"phone": "+84915101105"
]