/*
 * The version of the OpenAPI document: v2
 * 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 { PaymentInstrument } from './paymentInstrument';

export class PaginatedPaymentInstrumentsResponse {
    /**
    * Indicates whether there are more items on the next page.
    */
    'hasNext': boolean;
    /**
    * Indicates whether there are more items on the previous page.
    */
    'hasPrevious': boolean;
    /**
    * List of payment instruments associated with the balance account.
    */
    'paymentInstruments': Array<PaymentInstrument>;

    static discriminator: string | undefined = undefined;

    static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [
        {
            "name": "hasNext",
            "baseName": "hasNext",
            "type": "boolean"
        },
        {
            "name": "hasPrevious",
            "baseName": "hasPrevious",
            "type": "boolean"
        },
        {
            "name": "paymentInstruments",
            "baseName": "paymentInstruments",
            "type": "Array<PaymentInstrument>"
        }    ];

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

