/*
 * The version of the OpenAPI document: v1
 * Contact: developer-experience@adyen.com
 *
 * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
 * https://openapi-generator.tech
 * Do not edit this class manually.
 */


export class PayPalInfo {
    /**
    * Indicates if direct (immediate) capture for PayPal is enabled. If set to **true**, this setting overrides the [capture](https://docs.adyen.com/online-payments/capture) settings of your merchant account. Default value: **true**.
    */
    'directCapture'?: boolean;
    /**
    * PayPal Merchant ID. Character length and limitations: 13 single-byte alphanumeric characters.
    */
    'payerId': string;
    /**
    * Your business email address.
    */
    'subject': string;

    static discriminator: string | undefined = undefined;

    static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [
        {
            "name": "directCapture",
            "baseName": "directCapture",
            "type": "boolean"
        },
        {
            "name": "payerId",
            "baseName": "payerId",
            "type": "string"
        },
        {
            "name": "subject",
            "baseName": "subject",
            "type": "string"
        }    ];

    static getAttributeTypeMap() {
        return PayPalInfo.attributeTypeMap;
    }
}

