GitHub Access Token became invalid

It seems like the GitHub access token used for retrieving details about this repository from GitHub became invalid. This might prevent certain types of inspections from being run (in particular, everything related to pull requests).
Please ask an admin of your repository to re-new the access token on this website.

Withdrawal   A
last analyzed

Complexity

Total Complexity 3

Size/Duplication

Total Lines 76
Duplicated Lines 0 %

Importance

Changes 0
Metric Value
eloc 11
dl 0
loc 76
rs 10
c 0
b 0
f 0
wmc 3

3 Methods

Rating   Name   Duplication   Size   Complexity  
A setTimestamp() 0 3 1
A setWithdrawalNumber() 0 3 1
A setAmount() 0 3 1
1
<?php
2
/**
3
 * This file is part of Poloniex PHP SDK.
4
 *
5
 * For the full copyright and license information, please view the LICENSE
6
 * file that was distributed with this source code.
7
 *
8
 * @copyright 2017-2018 Chasovskih Grisha <[email protected]>
9
 * @license https://github.com/signulls/poloniex-php-sdk/blob/master/LICENSE MIT
10
 */
11
12
namespace Poloniex\Response\TradingApi;
13
14
use Poloniex\Response\AbstractResponse;
15
16
/**
17
 * Class Withdrawal
18
 *
19
 * @@author Grisha Chasovskih <[email protected]>
20
 */
21
class Withdrawal extends AbstractResponse
22
{
23
    /**
24
     * Example: 134933
25
     *
26
     * @var int
27
     */
28
    public $withdrawalNumber;
29
30
    /**
31
     * Example: "BTC"
32
     *
33
     * @var string
34
     */
35
    public $currency;
36
37
    /**
38
     * Example: "7N2i5n3DwTGzUq5Vmn7TUL9J3vdr1XBDFg"
39
     *
40
     * @var string
41
     */
42
    public $address;
43
44
    /**
45
     * Example: "5.00010000"
46
     *
47
     * @var float
48
     */
49
    public $amount;
50
51
    /**
52
     * Example: 1399267904
53
     *
54
     * @var int
55
     */
56
    public $timestamp;
57
58
    /**
59
     * Example: COMPLETE: 36e483efa6ayf9fd53t235177534d98451c4eb237c210e86cd2b9a2d4a988f8e
60
     *
61
     * @var string
62
     */
63
    public $status;
64
65
    /**
66
     * Example: "..."
67
     *
68
     * @var string
69
     */
70
    public $ipAddress;
71
72
    /**
73
     * @internal
74
     * @param int $withdrawalNumber
75
     */
76
    public function setWithdrawalNumber(int $withdrawalNumber): void
77
    {
78
        $this->withdrawalNumber = $withdrawalNumber;
79
    }
80
81
    /**
82
     * @internal
83
     * @param float $amount
84
     */
85
    public function setAmount(float $amount): void
86
    {
87
        $this->amount = $amount;
88
    }
89
90
    /**
91
     * @internal
92
     * @param int $timestamp
93
     */
94
    public function setTimestamp(int $timestamp): void
95
    {
96
        $this->timestamp = $timestamp;
97
    }
98
}