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

import { Amount } from './amount';

export class ForexQuote {
    /**
    * The account name.
    */
    'account'?: string;
    /**
    * The account type.
    */
    'accountType'?: string;
    'baseAmount'?: Amount;
    /**
    * The base points.
    */
    'basePoints': number;
    'buy'?: Amount;
    'interbank'?: Amount;
    /**
    * The reference assigned to the forex quote request.
    */
    'reference'?: string;
    'sell'?: Amount;
    /**
    * The signature to validate the integrity.
    */
    'signature'?: string;
    /**
    * The source of the forex quote.
    */
    'source'?: string;
    /**
    * The type of forex.
    */
    'type'?: string;
    /**
    * The date until which the forex quote is valid.
    */
    'validTill': Date;

    static discriminator: string | undefined = undefined;

    static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [
        {
            "name": "account",
            "baseName": "account",
            "type": "string"
        },
        {
            "name": "accountType",
            "baseName": "accountType",
            "type": "string"
        },
        {
            "name": "baseAmount",
            "baseName": "baseAmount",
            "type": "Amount"
        },
        {
            "name": "basePoints",
            "baseName": "basePoints",
            "type": "number"
        },
        {
            "name": "buy",
            "baseName": "buy",
            "type": "Amount"
        },
        {
            "name": "interbank",
            "baseName": "interbank",
            "type": "Amount"
        },
        {
            "name": "reference",
            "baseName": "reference",
            "type": "string"
        },
        {
            "name": "sell",
            "baseName": "sell",
            "type": "Amount"
        },
        {
            "name": "signature",
            "baseName": "signature",
            "type": "string"
        },
        {
            "name": "source",
            "baseName": "source",
            "type": "string"
        },
        {
            "name": "type",
            "baseName": "type",
            "type": "string"
        },
        {
            "name": "validTill",
            "baseName": "validTill",
            "type": "Date"
        }    ];

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

