/*
 * The version of the OpenAPI document: v69
 * 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 Avs {
    /**
    * Indicates whether the shopper is allowed to modify the billing address for the current payment request.
    */
    'addressEditable'?: boolean;
    /**
    * Specifies whether the shopper should enter their billing address during checkout.  Allowed values: * yes — Perform AVS checks for every card payment. * automatic — Perform AVS checks only when required to optimize the conversion rate. * no — Do not perform AVS checks.
    */
    'enabled'?: Avs.EnabledEnum;

    static discriminator: string | undefined = undefined;

    static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [
        {
            "name": "addressEditable",
            "baseName": "addressEditable",
            "type": "boolean"
        },
        {
            "name": "enabled",
            "baseName": "enabled",
            "type": "Avs.EnabledEnum"
        }    ];

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

export namespace Avs {
    export enum EnabledEnum {
        Yes = <any> 'yes',
        No = <any> 'no',
        Automatic = <any> 'automatic'
    }
}
