Skip to content

Commit

Permalink
Add subscription keys
Browse files Browse the repository at this point in the history
  • Loading branch information
stevehenty committed Dec 4, 2024
1 parent f0b8728 commit 4d24529
Showing 1 changed file with 9 additions and 2 deletions.
11 changes: 9 additions & 2 deletions src/lib/contracts/CheckoutResponse.ts
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,8 @@ export interface Purchase {
amount_per_cycle?: number;
initial_amount?: number;
renewal_amount?: number;
renewals_discount?: number;
renewals_discount_type?: string;
renewals_discount?: number | null;
renewals_discount_type?: string | null;
billing_cycle?: number;
outstanding_balance?: number;
failed_payments?: number;
Expand Down Expand Up @@ -43,6 +43,13 @@ export interface Purchase {
updated?: string | null;
currency?: string;
license_key?: string;
bound_payment_id?: string | null;
subscription_id?: string | null;
gateway_fee?: number;
gross?: number;
vat?: number;
is_renewal?: boolean;
type?: string;
[key: string]: unknown;
}

Expand Down

0 comments on commit 4d24529

Please sign in to comment.