Feature: Payment resolver, Payment Provider, Completing Stripe Webhooks, Wiring Payments to checkout service
This commit is contained in:
@@ -0,0 +1,20 @@
|
||||
<?php
|
||||
|
||||
namespace Modules\Core\Payment\DTOs;
|
||||
|
||||
use Modules\Core\Payment\Enums\PaymentContinuationType;
|
||||
|
||||
/**
|
||||
* What a caller does next with a Pending PaymentResult, gateway-agnostic —
|
||||
* see PaymentContinuationType for the two shapes. Deliberately minimal:
|
||||
* this is NOT a return to the deleted PaymentInitiation DTO (which also
|
||||
* carried mode/reference/meta) — reference already lives on PaymentResult
|
||||
* itself, and mode is now this DTO's own $type.
|
||||
*/
|
||||
final class PaymentContinuation
|
||||
{
|
||||
public function __construct(
|
||||
public readonly PaymentContinuationType $type,
|
||||
public readonly string $value,
|
||||
) {}
|
||||
}
|
||||
Reference in New Issue
Block a user