/*
 * 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.
 */

import { Configuration } from './configuration';

export class Surcharge {
    /**
    * Show the surcharge details on the terminal, so the shopper can confirm.
    */
    'askConfirmation'?: boolean;
    /**
    * Surcharge fees or percentages for specific payment methods, funding sources (credit or debit), and currencies.
    */
    'configurations'?: Array<Configuration>;

    static discriminator: string | undefined = undefined;

    static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [
        {
            "name": "askConfirmation",
            "baseName": "askConfirmation",
            "type": "boolean"
        },
        {
            "name": "configurations",
            "baseName": "configurations",
            "type": "Array<Configuration>"
        }    ];

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

