| 12345678910111213141516171819202122232425262728293031323334353637 |
- <?php
- namespace Webkul\BagistoApi\Dto;
- use ApiPlatform\Metadata\ApiProperty;
- use Symfony\Component\Serializer\Annotation\Groups;
- use Symfony\Component\Serializer\Annotation\SerializedName;
- /**
- * GraphQL input for paymentReplayCreate.
- *
- * Used to issue a fresh gateway order id for an order that is still
- * pending payment (the customer cancelled / abandoned the original
- * gateway flow but the Bagisto order is intact).
- */
- class PaymentReplayInput
- {
- #[Groups(['mutation'])]
- #[ApiProperty(description: 'Bagisto order id to replay payment for')]
- #[SerializedName('orderId')]
- public ?int $orderId = null;
- #[Groups(['mutation'])]
- #[ApiProperty(description: 'Optional override of payment success URL')]
- #[SerializedName('paymentSuccessUrl')]
- public ?string $paymentSuccessUrl = null;
- #[Groups(['mutation'])]
- #[ApiProperty(description: 'Optional override of payment failure URL')]
- #[SerializedName('paymentFailureUrl')]
- public ?string $paymentFailureUrl = null;
- #[Groups(['mutation'])]
- #[ApiProperty(description: 'Optional override of payment cancel URL')]
- #[SerializedName('paymentCancelUrl')]
- public ?string $paymentCancelUrl = null;
- }
|