this method `Invnum` (as the others) reflacts paypal api doc, and this how it is named there 

would it be easy if I use array access:

```php
<?php
$paymentDetails['INVNUM'] = $order->getNumber();
```