|
|
@@ -4,6 +4,7 @@ namespace Webkul\BagistoApi\Dto;
|
|
|
|
|
|
use ApiPlatform\Metadata\ApiProperty;
|
|
|
use Symfony\Component\Serializer\Annotation\Groups;
|
|
|
+use Symfony\Component\Serializer\Annotation\SerializedName;
|
|
|
|
|
|
class SubscribeToNewsletterInput
|
|
|
{
|
|
|
@@ -15,5 +16,6 @@ class SubscribeToNewsletterInput
|
|
|
public ?string $id = null;
|
|
|
|
|
|
#[Groups(['mutation'])]
|
|
|
+ #[SerializedName('customerEmail')]
|
|
|
public ?string $customerEmail = null;
|
|
|
}
|