UNPKG

@adyen/api-library

Version:

The Adyen API Library for NodeJS enables you to work with Adyen APIs.

63 lines (62 loc) 1.51 kB
export declare class PayPalDetails { /** * The checkout attempt identifier. */ 'checkoutAttemptId'?: string; /** * The unique ID associated with the order. */ 'orderID'?: string; /** * IMMEDIATE_PAYMENT_REQUIRED or UNRESTRICTED */ 'payeePreferred'?: string; /** * The unique ID associated with the payer. */ 'payerID'?: string; /** * PAYPAL or PAYPAL_CREDIT */ 'payerSelected'?: string; /** * This is the `recurringDetailReference` returned in the response when you created the token. * * @deprecated since Adyen Checkout API v49 * Use `storedPaymentMethodId` instead. */ 'recurringDetailReference'?: string; /** * This is the `recurringDetailReference` returned in the response when you created the token. */ 'storedPaymentMethodId'?: string; /** * The type of flow to initiate. */ 'subtype'?: PayPalDetails.SubtypeEnum; /** * **paypal** */ 'type': PayPalDetails.TypeEnum; static discriminator: string | undefined; static attributeTypeMap: Array<{ name: string; baseName: string; type: string; }>; static getAttributeTypeMap(): { name: string; baseName: string; type: string; }[]; } export declare namespace PayPalDetails { enum SubtypeEnum { Express = "express", Redirect = "redirect", Sdk = "sdk" } enum TypeEnum { Paypal = "paypal" } }