| Total Complexity | 3 |
| Total Lines | 76 |
| Duplicated Lines | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 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 |
||
| 97 | } |
||
| 98 | } |