* @experimental This is an experimental payment struct to make generic subscription informations available without relying as an payment handler to a specific subscription extensions
10
*/
11
#[Package('checkout')]
12
class RecurringDataStruct extends Struct
13
{
14
/**
15
* @internal
16
*/
17
public function __construct(
18
protected string $subscriptionId,
19
protected \DateTimeInterface $nextSchedule,
20
) {
21
}
22
23
public function getSubscriptionId(): string
24
{
25
return $this->subscriptionId;
26
}
27
28
public function getNextSchedule(): \DateTimeInterface