/**
 * Accounting API
 * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
 *
 * The version of the OpenAPI document: 2.0.0
 * Contact: api@xero.com
 *
 * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
 * https://openapi-generator.tech
 * Do not edit the class manually.
 */
import { Allocation } from './allocation';
import { Attachment } from './attachment';
import { Contact } from './contact';
import { CurrencyCode } from './currencyCode';
import { LineAmountTypes } from './lineAmountTypes';
import { LineItem } from './lineItem';
export declare class Prepayment {
    /**
    * See Prepayment Types
    */
    'type'?: Prepayment.TypeEnum;
    'contact'?: Contact;
    /**
    * The date the prepayment is created YYYY-MM-DD
    */
    'date'?: string;
    /**
    * See Prepayment Status Codes
    */
    'status'?: Prepayment.StatusEnum;
    'lineAmountTypes'?: LineAmountTypes;
    /**
    * See Prepayment Line Items
    */
    'lineItems'?: Array<LineItem>;
    /**
    * The subtotal of the prepayment excluding taxes
    */
    'subTotal'?: number;
    /**
    * The total tax on the prepayment
    */
    'totalTax'?: number;
    /**
    * The total of the prepayment(subtotal + total tax)
    */
    'total'?: number;
    /**
    * UTC timestamp of last update to the prepayment
    */
    'updatedDateUTC'?: Date;
    'currencyCode'?: CurrencyCode;
    /**
    * Xero generated unique identifier
    */
    'prepaymentID'?: string;
    /**
    * The currency rate for a multicurrency prepayment. If no rate is specified, the XE.com day rate is used
    */
    'currencyRate'?: number;
    /**
    * The remaining credit balance on the prepayment
    */
    'remainingCredit'?: number;
    /**
    * See Allocations
    */
    'allocations'?: Array<Allocation>;
    /**
    * boolean to indicate if a prepayment has an attachment
    */
    'hasAttachments'?: boolean;
    /**
    * See Attachments
    */
    'attachments'?: Array<Attachment>;
    static discriminator: string | undefined;
    static attributeTypeMap: Array<{
        name: string;
        baseName: string;
        type: string;
    }>;
    static getAttributeTypeMap(): {
        name: string;
        baseName: string;
        type: string;
    }[];
}
export declare namespace Prepayment {
    enum TypeEnum {
        RECEIVEPREPAYMENT,
        SPENDPREPAYMENT,
        ARPREPAYMENT,
        APPREPAYMENT
    }
    enum StatusEnum {
        AUTHORISED,
        PAID,
        VOIDED
    }
}
