diff --git a/src/Api/GeneratePayLinkRequest.php b/src/Api/GeneratePayLinkRequest.php index 6404d1e..6de6dbe 100644 --- a/src/Api/GeneratePayLinkRequest.php +++ b/src/Api/GeneratePayLinkRequest.php @@ -2,6 +2,19 @@ namespace ProtoneMedia\LaravelPaddle\Api; +/** + * Class GeneratePayLinkRequest + * @package ProtoneMedia\LaravelPaddle\Api + * @method productId() + * @method title() + * @method webhookUrl() + * @method prices() + * @method customMessage() + * @method quantity() + * @method recurringAffiliateLimit() + * @method customerEmail() + * @method returnUrl() + */ class GeneratePayLinkRequest extends Request { /** diff --git a/src/Api/Product.php b/src/Api/Product.php index 3b91436..c2676ba 100644 --- a/src/Api/Product.php +++ b/src/Api/Product.php @@ -39,6 +39,7 @@ public function generatePayLink(array $data = []) 'quantity' => 'min:1|max:100', 'recurring_affiliate_limit' => 'min:1', 'customer_email' => 'email', + 'return_url' => 'url', ]); }