Closed OGKevin closed 6 years ago
There is a typo in the bunq\Model\Generated\Endpoint\SchedulePayment class. It has the constant const OBJECT_TYPE = 'SchedulePayment'; while the API returns an object of type ScheduledPayment. When I change the constant to this, it works fine.
bunq\Model\Generated\Endpoint\SchedulePayment
const OBJECT_TYPE = 'SchedulePayment';
ScheduledPayment
PHP Notice: Undefined index: SchedulePayment in /Users/mathijs/Code/bunqapibouwsel/vendor/bunq/sdk_php/src/Model/Core/BunqModel.php on line 115
There is a typo in the
bunq\Model\Generated\Endpoint\SchedulePayment
class. It has the constantconst OBJECT_TYPE = 'SchedulePayment';
while the API returns an object of typeScheduledPayment
. When I change the constant to this, it works fine.Steps to reproduce:
What should happen:
What happens:
PHP Notice: Undefined index: SchedulePayment in /Users/mathijs/Code/bunqapibouwsel/vendor/bunq/sdk_php/src/Model/Core/BunqModel.php on line 115
Extra info:
Reference