Total Complexity | 3 |
Total Lines | 32 |
Duplicated Lines | 0 % |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
16 | final class RefundRequest |
||
17 | { |
||
18 | use GetPayloadTrait; |
||
19 | use AmountFormatterTrait; |
||
20 | |||
21 | /** |
||
22 | * $amount use only used for partial refunds. |
||
23 | * |
||
24 | * @param TransactionID $transactionId |
||
25 | * @param Money|null $amount |
||
26 | */ |
||
27 | public function __construct(TransactionID $transactionId, Money $amount = null) |
||
35 | } |
||
36 | } |
||
37 | |||
38 | /** |
||
39 | * @param Url $url |
||
40 | * |
||
41 | * @return $this |
||
42 | */ |
||
43 | public function setStatusUrl(Url $url): self |
||
50 |