Skip to content

Commit

Permalink
Update amount currency option type and ECE available PMs type (#675)
Browse files Browse the repository at this point in the history
  • Loading branch information
jackieosborn-stripe authored Oct 30, 2024
1 parent 4b0d39c commit e316e7f
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
2 changes: 1 addition & 1 deletion types/stripe-js/custom-checkout.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -206,7 +206,7 @@ export type StripeCustomCheckoutTrial = {
};

export type StripeCustomCheckoutCurrencyOption = {
unitAmount: number;
amount: number;
currency: string;
currencyConversion?: {fxRate: number; sourceCurrency: string};
};
Expand Down
3 changes: 3 additions & 0 deletions types/stripe-js/elements/express-checkout.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -374,8 +374,11 @@ export interface StripeExpressCheckoutElementUpdateOptions {
}

export type AvailablePaymentMethods = {
amazonPay: boolean;
applePay: boolean;
googlePay: boolean;
link: boolean;
paypal: boolean;
};

export interface StripeExpressCheckoutElementReadyEvent {
Expand Down

0 comments on commit e316e7f

Please sign in to comment.