concardis / PHP_SDK

MIT License
3 stars 10 forks source link

Update AbstractResponseModel.php #8

Closed AndiF closed 5 years ago

AndiF commented 5 years ago

Add received response error to response model to allow handling of concardis error response. Sample Response: {"path":"v1/orders/debit","timestamp":1545230956005,"status":500,"message":"An unhandled error case occurred.","code":2,"globalTrackId":"XXX","errors":[{"code":2,"message":"An unhandled error case occurred."}]}