src/FondOfSpryker/Zed/AvailabilityAlert/Communication/Controller/GatewayController.php
public function subscribeAction(AvailabilityAlertSubscriptionRequestTransfer $availabilityAlertSubscriptionRequestTransfer)
    {
        $availabilityAlertSubscriptionTransfer = $this->getFactory()
            ->createAvailabilityAlertSubscriptionSubmitMapper()
            ->mapRequestTransfer($availabilityAlertSubscriptionRequestTransfer);

        return $this->getFacade()->subscribe($availabilityAlertSubscriptionTransfer);
    }
public function subscribeAction(AvailabilityAlertSubscriptionRequestTransfer $availabilityAlertSubscriptionRequestTransfer)
    {
        $availabilityAlertSubscriptionTransfer = $this->getFactory()
            ->createAvailabilityAlertSubscriptionSubmitMapper()
            ->mapRequestTransfer($availabilityAlertSubscriptionRequestTransfer);

        return $this->getFacade()->subscribe($availabilityAlertSubscriptionTransfer);
    }
@param \Generated\Shared\Transfer\AvailabilityAlertSubscriptionRequestTransfer $availabilityAlertSubscriptionRequestTransfer

@return \Generated\Shared\Transfer\AvailabilityAlertSubscriptionResponseTransfer