academe / authorizenet-objects

Value objects for construction Authorize.Net messages
7 stars 6 forks source link

Remove resultCode from Messages #4

Closed judgej closed 6 years ago

judgej commented 6 years ago

The Authorize.Net response put the overall result, resultCode, into the messages entity. I've simply followed that same structure in Academe\AuthorizeNet\Response\Collections\Messages.

Instead, the list of top level messages should be unbound from the resultCode so the user does not have to handle the messages at all in order to look at the result.

judgej commented 6 years ago

Done.

Except, no tests yet.