bunq/sdk_php

Missing MonetaryAccountSavings

OGKevin opened this issue · 4 comments

Steps to reproduce:

  1. Have a MonetaryAccountSavings
  2. Make a call to monetary-account endpoint.
  3. make a function call to
    public function getReferencedObject()
    {
    if (!is_null($this->monetaryAccountBank)) {
    return $this->monetaryAccountBank;
    }
    if (!is_null($this->monetaryAccountJoint)) {
    return $this->monetaryAccountJoint;
    }
    if (!is_null($this->monetaryAccountLight)) {
    return $this->monetaryAccountLight;
    }
    throw new BunqException(self::ERROR_NULL_FIELDS);

What should happen:

  1. You get this new type

What happens:

  1. Explosions.

Traceback

SDK version and environment

  • Tested on 1.2.0
  • Sandbox
  • Production

@kojoru @JordyHeemskerk
Any Idea when this will be fixed?

@kojoru @JordyHeemskerk
Any idea when we can expect this fix? An ETA would be helpful rather then having no info to work with.
This is stopping me from using Firefly iii with the Bunq integration.

I'm glad to announce that this issue is finally fixed as of version 1.2.2.

Closing this one as it has been fixed in https://github.com/bunq/sdk_php/releases/tag/1.2.2