/*
 *                       ######
 *                       ######
 * ############    ####( ######  #####. ######  ############   ############
 * #############  #####( ######  #####. ######  #############  #############
 *        ######  #####( ######  #####. ######  #####  ######  #####  ######
 * ###### ######  #####( ######  #####. ######  #####  #####   #####  ######
 * ###### ######  #####( ######  #####. ######  #####          #####  ######
 * #############  #############  #############  #############  #####  ######
 *  ############   ############  #############   ############  #####  ######
 *                                      ######
 *                               #############
 *                               ############
 * Adyen NodeJS API Library
 * Copyright (c) 2021 Adyen B.V.
 * This file is open source and available under the MIT license.
 * See the LICENSE file for more info.
 */
 
/**
 * Adyen Checkout API
 * Adyen Checkout API provides a simple and flexible way to initiate and authorise online payments. You can use the same integration for payments made with cards (including 3D Secure), mobile wallets, and local payment methods (for example, iDEAL and Sofort).  This API reference provides information on available endpoints and how to interact with them. To learn more about the API, visit [Checkout documentation](https://docs.adyen.com/online-payments).  ## Authentication Each request to the Checkout API must be signed with an API key. For this, obtain an API Key from your Customer Area, as described in [How to get the API key](https://docs.adyen.com/development-resources/api-credentials#generate-api-key). Then set this key to the `X-API-Key` header value, for example:  ``` curl -H \"Content-Type: application/json\" \\ -H \"X-API-Key: Your_Checkout_API_key\" \\ ... ``` Note that when going live, you need to generate a new API Key to access the [live endpoints](https://docs.adyen.com/development-resources/live-endpoints).  ## Versioning Checkout API supports versioning of its endpoints through a version suffix in the endpoint URL. This suffix has the following format: \"vXX\", where XX is the version number.  For example: ``` https://checkout-test.adyen.com/v67/payments ```
 *
 * The version of the OpenAPI document: 67
 * 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 the class manually.
 */

export class AdditionalDataRatepay {
    /**
    * Amount the customer has to pay each month.
    */
    'ratepay_installmentAmount'?: string;
    /**
    * Interest rate of this installment.
    */
    'ratepay_interestRate'?: string;
    /**
    * Amount of the last installment.
    */
    'ratepay_lastInstallmentAmount'?: string;
    /**
    * Calendar day of the first payment.
    */
    'ratepay_paymentFirstday'?: string;
    /**
    * Date the merchant delivered the goods to the customer.
    */
    'ratepaydata_deliveryDate'?: string;
    /**
    * Date by which the customer must settle the payment.
    */
    'ratepaydata_dueDate'?: string;
    /**
    * Invoice date, defined by the merchant. If not included, the invoice date is set to the delivery date.
    */
    'ratepaydata_invoiceDate'?: string;
    /**
    * Identification name or number for the invoice, defined by the merchant.
    */
    'ratepaydata_invoiceId'?: string;

    static discriminator: string | undefined = undefined;

    static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [
        {
            "name": "ratepay_installmentAmount",
            "baseName": "ratepay.installmentAmount",
            "type": "string"
        },
        {
            "name": "ratepay_interestRate",
            "baseName": "ratepay.interestRate",
            "type": "string"
        },
        {
            "name": "ratepay_lastInstallmentAmount",
            "baseName": "ratepay.lastInstallmentAmount",
            "type": "string"
        },
        {
            "name": "ratepay_paymentFirstday",
            "baseName": "ratepay.paymentFirstday",
            "type": "string"
        },
        {
            "name": "ratepaydata_deliveryDate",
            "baseName": "ratepaydata.deliveryDate",
            "type": "string"
        },
        {
            "name": "ratepaydata_dueDate",
            "baseName": "ratepaydata.dueDate",
            "type": "string"
        },
        {
            "name": "ratepaydata_invoiceDate",
            "baseName": "ratepaydata.invoiceDate",
            "type": "string"
        },
        {
            "name": "ratepaydata_invoiceId",
            "baseName": "ratepaydata.invoiceId",
            "type": "string"
        }    ];

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

