/*
 * 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 KlarnaInfo {
    /**
    * Indicates the status of [Automatic capture](https://docs.adyen.com/online-payments/capture#automatic-capture). Default value: **false**.
    */
    'autoCapture'?: boolean;
    /**
    * The email address for disputes.
    */
    'disputeEmail': string;
    /**
    * The region of operation. For example, **NA**, **EU**, **CH**, **AU**.
    */
    'region': KlarnaInfo.RegionEnum;
    /**
    * The email address of merchant support.
    */
    'supportEmail': string;

    static discriminator: string | undefined = undefined;

    static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [
        {
            "name": "autoCapture",
            "baseName": "autoCapture",
            "type": "boolean"
        },
        {
            "name": "disputeEmail",
            "baseName": "disputeEmail",
            "type": "string"
        },
        {
            "name": "region",
            "baseName": "region",
            "type": "KlarnaInfo.RegionEnum"
        },
        {
            "name": "supportEmail",
            "baseName": "supportEmail",
            "type": "string"
        }    ];

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

export namespace KlarnaInfo {
    export enum RegionEnum {
        Na = <any> 'NA',
        Eu = <any> 'EU',
        Ch = <any> 'CH',
        Au = <any> 'AU'
    }
}
