Closed duncanmcclean closed 6 months ago
This pull request refactors the gateway methods on orders.
Previously, orders had two gateway methods:
gateway
currentGateway
This PR helps to tidy that up a little and makes it "friendlier" to work with by introducing a simple DTO.
Released as part of v6.0.0.
This pull request refactors the gateway methods on orders.
Previously, orders had two gateway methods:
gateway
which would just return an array of gateway data.currentGateway
which would give you an instance of a gateway.This PR helps to tidy that up a little and makes it "friendlier" to work with by introducing a simple DTO.