/*
 *                       ######
 *                       ######
 * ############    ####( ######  #####. ######  ############   ############
 * #############  #####( ######  #####. ######  #############  #############
 *        ######  #####( ######  #####. ######  #####  ######  #####  ######
 * ###### ######  #####( ######  #####. ######  #####  #####   #####  ######
 * ###### ######  #####( ######  #####. ######  #####          #####  ######
 * #############  #############  #############  #############  #####  ######
 *  ############   ############  #############   ############  #####  ######
 *                                      ######
 *                               #############
 *                               ############
 * 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 ResponseAdditionalDataCard {
    /**
    * The Bank Identification Number of a credit card, which is the first six digits of a card number.  Example: 521234
    */
    'cardBin'?: string;
    /**
    * The cardholder name passed in the payment request.
    */
    'cardHolderName'?: string;
    /**
    * The bank or the financial institution granting lines of credit through card association branded payment cards. This information can be included when available.
    */
    'cardIssuingBank'?: string;
    /**
    * The country where the card was issued.  Example: US
    */
    'cardIssuingCountry'?: string;
    /**
    * The currency in which the card is issued, if this information is available. Provided as the currency code or currency number from the ISO-4217 standard.   Example: USD
    */
    'cardIssuingCurrency'?: string;
    /**
    * The card payment method used for the transaction.  Example: amex
    */
    'cardPaymentMethod'?: string;
    /**
    * The last four digits of a card number.  > Returned only in case of a card payment.
    */
    'cardSummary'?: string;

    static discriminator: string | undefined = undefined;

    static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [
        {
            "name": "cardBin",
            "baseName": "cardBin",
            "type": "string"
        },
        {
            "name": "cardHolderName",
            "baseName": "cardHolderName",
            "type": "string"
        },
        {
            "name": "cardIssuingBank",
            "baseName": "cardIssuingBank",
            "type": "string"
        },
        {
            "name": "cardIssuingCountry",
            "baseName": "cardIssuingCountry",
            "type": "string"
        },
        {
            "name": "cardIssuingCurrency",
            "baseName": "cardIssuingCurrency",
            "type": "string"
        },
        {
            "name": "cardPaymentMethod",
            "baseName": "cardPaymentMethod",
            "type": "string"
        },
        {
            "name": "cardSummary",
            "baseName": "cardSummary",
            "type": "string"
        }    ];

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

