/*
 * 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 StoredPaymentMethod {
    /**
    * The brand of the card.
    */
    'brand'?: string;
    /**
    * The month the card expires.
    */
    'expiryMonth'?: string;
    /**
    * The last two digits of the year the card expires. For example, **22** for the year 2022.
    */
    'expiryYear'?: string;
    /**
    * The unique payment method code.
    */
    'holderName'?: string;
    /**
    * The IBAN of the bank account.
    */
    'iban'?: string;
    /**
    * A unique identifier of this stored payment method.
    */
    'id'?: string;
    /**
    * The last four digits of the PAN.
    */
    'lastFour'?: string;
    /**
    * The display name of the stored payment method.
    */
    'name'?: string;
    /**
    * Returned in the response if you are not tokenizing with Adyen and are using the Merchant-initiated transactions (MIT) framework from Mastercard or Visa.  This contains either the Mastercard Trace ID or the Visa Transaction ID.
    */
    'networkTxReference'?: string;
    /**
    * The name of the bank account holder.
    */
    'ownerName'?: string;
    /**
    * The shopper’s email address.
    */
    'shopperEmail'?: string;
    /**
    * The supported shopper interactions for this stored payment method.
    */
    'supportedShopperInteractions'?: Array<string>;
    /**
    * The type of payment method.
    */
    'type'?: string;

    static discriminator: string | undefined = undefined;

    static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [
        {
            "name": "brand",
            "baseName": "brand",
            "type": "string"
        },
        {
            "name": "expiryMonth",
            "baseName": "expiryMonth",
            "type": "string"
        },
        {
            "name": "expiryYear",
            "baseName": "expiryYear",
            "type": "string"
        },
        {
            "name": "holderName",
            "baseName": "holderName",
            "type": "string"
        },
        {
            "name": "iban",
            "baseName": "iban",
            "type": "string"
        },
        {
            "name": "id",
            "baseName": "id",
            "type": "string"
        },
        {
            "name": "lastFour",
            "baseName": "lastFour",
            "type": "string"
        },
        {
            "name": "name",
            "baseName": "name",
            "type": "string"
        },
        {
            "name": "networkTxReference",
            "baseName": "networkTxReference",
            "type": "string"
        },
        {
            "name": "ownerName",
            "baseName": "ownerName",
            "type": "string"
        },
        {
            "name": "shopperEmail",
            "baseName": "shopperEmail",
            "type": "string"
        },
        {
            "name": "supportedShopperInteractions",
            "baseName": "supportedShopperInteractions",
            "type": "Array<string>"
        },
        {
            "name": "type",
            "baseName": "type",
            "type": "string"
        }    ];

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

