File tree Expand file tree Collapse file tree 1 file changed +11
-0
lines changed
packages/paypal-js/types/v6/components Expand file tree Collapse file tree 1 file changed +11
-0
lines changed Original file line number Diff line number Diff line change @@ -5,6 +5,10 @@ import {
55 PayPalWarning ,
66 PresentationModeOptionsForAuto ,
77} from "./base-component" ;
8+ import {
9+ OnShippingAddressChangeData ,
10+ OnShippingOptionsChangeData ,
11+ } from "./paypal-payments" ;
812
913export type PayPalGuestOneTimePaymentSessionOptions =
1014 BasePaymentSessionOptions & {
@@ -16,6 +20,13 @@ export type PayPalGuestOneTimePaymentSessionOptions =
1620export type PayPalGuestPresentationModeOptions =
1721 PresentationModeOptionsForAuto & {
1822 targetElement ?: string | EventTarget ;
23+ buyerCountry ?: string ;
24+ onShippingAddressChange ?: (
25+ data : OnShippingAddressChangeData ,
26+ ) => Promise < void > ;
27+ onShippingOptionsChange ?: (
28+ data : OnShippingOptionsChangeData ,
29+ ) => Promise < void > ;
1930 } ;
2031
2132export type PayPalGuestOneTimePaymentSessionPromise = Promise < {
You can’t perform that action at this time.
0 commit comments