Skip to content

Commit

Permalink
fix: transaction fields for subscription preview optional (#32)
Browse files Browse the repository at this point in the history
- `immediate_transaction`
- `next_transaction`
- `recurring_transaction_details`
  • Loading branch information
vifer authored Feb 8, 2024
1 parent 349485e commit 97f8baa
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/Entities/SubscriptionPreview.php
Original file line number Diff line number Diff line change
Expand Up @@ -55,9 +55,9 @@ protected function __construct(
public SubscriptionManagementUrls $managementUrls,
public array $items,
public CustomData|null $customData,
public SubscriptionNextTransaction $immediateTransaction,
public SubscriptionNextTransaction $nextTransaction,
public TransactionDetailsPreview $recurringTransactionDetails,
public SubscriptionNextTransaction|null $immediateTransaction,
public SubscriptionNextTransaction|null $nextTransaction,
public TransactionDetailsPreview|null $recurringTransactionDetails,
public SubscriptionPreviewSubscriptionUpdateSummary|null $updateSummary,
) {
}
Expand Down

0 comments on commit 97f8baa

Please sign in to comment.