diff --git a/src/OffSiteGateway/DataTransferObjects/OffSiteGatewayPayment.php b/src/OffSiteGateway/DataTransferObjects/OffSiteGatewayPayment.php index 88baa09..cbbac0b 100644 --- a/src/OffSiteGateway/DataTransferObjects/OffSiteGatewayPayment.php +++ b/src/OffSiteGateway/DataTransferObjects/OffSiteGatewayPayment.php @@ -3,6 +3,11 @@ namespace GiveAddon\OffSiteGateway\DataTransferObjects; /** + * This Data Transfer Object class converts the gateway API response (when creating a new payment) to a local + * object where we know what properties can be accessed. The fromArray() method is where the conversion from + * the gateway API response to an object of this class is made. You should edit this method according to the + * gateway you are integrating since the API response probably should differ. + * * @unreleased */ class OffSiteGatewayPayment diff --git a/src/OffSiteGateway/DataTransferObjects/OffSiteGatewayWebhookNotification.php b/src/OffSiteGateway/DataTransferObjects/OffSiteGatewayWebhookNotification.php index 4410f61..c9ff1df 100644 --- a/src/OffSiteGateway/DataTransferObjects/OffSiteGatewayWebhookNotification.php +++ b/src/OffSiteGateway/DataTransferObjects/OffSiteGatewayWebhookNotification.php @@ -3,6 +3,11 @@ namespace GiveAddon\OffSiteGateway\DataTransferObjects; /** + * This Data Transfer Object class converts the gateway webhook notification to a local object where we know + * what properties can be accessed. The fromRequest() method is where the conversion from the gateway webhook + * notification to an object of this class is made. You should edit this method according to the gateway you + * are integrating since the webhook notification attributes probably should differ. + * * @unreleased */ class OffSiteGatewayWebhookNotification