mirror of
https://github.com/zhigang1992/DefinitelyTyped.git
synced 2026-06-02 06:29:40 +08:00
Set optional parameters for paypal.tokenize (#15999)
As described in https://braintree.github.io/braintree-web/current/PayPal.html#tokenize
This commit is contained in:
committed by
Sheetal Nandi
parent
141f50ad45
commit
ef5ec2e273
2
types/braintree-web/index.d.ts
vendored
2
types/braintree-web/index.d.ts
vendored
@@ -1087,7 +1087,7 @@ declare namespace braintree {
|
||||
* });
|
||||
* @returns {PayPal~tokenizeReturn} A handle to close the PayPal checkout frame.
|
||||
*/
|
||||
tokenize(options: { flow: string, intent: string, offerCredit: boolean, useraction: string, amount: (string | number), currency: string, displayName: string, locale: string, enableShippingAddress: boolean, shippingAddressOverride: PayPalShippingAddress, shippingAddressEditable: boolean, billingAgreementDescription: string }, callback: callback): PayPalTokenizeReturn;
|
||||
tokenize(options: { flow: string, intent?: string, offerCredit?: boolean, useraction?: string, amount?: (string | number), currency?: string, displayName?: string, locale?: string, enableShippingAddress?: boolean, shippingAddressOverride?: PayPalShippingAddress, shippingAddressEditable?: boolean, billingAgreementDescription?: string }, callback: callback): PayPalTokenizeReturn;
|
||||
|
||||
/**
|
||||
* Cleanly tear down anything set up by {@link module:braintree-web/paypal.create|create}.
|
||||
|
||||
Reference in New Issue
Block a user