/**
* apaleo Booking API - not safe for work
* Continuously evolving version - use at your own risk! Resources and methods to manage guest journeys.
*
* OpenAPI spec version: v0-nsfw
*
*
* NOTE: This class is auto generated by the swagger code generator program.
* https://github.com/swagger-api/swagger-codegen.git
* Do not edit the class manually.
*/
import { ActionModelPaymentAccountActionNotAllowedPaymentAccountActionReason } from './actionModelPaymentAccountActionNotAllowedPaymentAccountActionReason';
import { ExternalPaymentAccountReferenceModel } from './externalPaymentAccountReferenceModel';
import { PaymentAccountDetailsModel } from './paymentAccountDetailsModel';
import { PaymentAccountPaymentLinkModel } from './paymentAccountPaymentLinkModel';
import { PaymentAccountTargetModel } from './paymentAccountTargetModel';
import { ClassMetaData } from '@apaleo/angular-api-proxy-common';
export interface PaymentAccountV2Model {
/**
* Payment account id
*/
id: string;
target: PaymentAccountTargetModel;
/**
* Date of creation
A date and time (without fractional second part) in UTC or with UTC offset as defined in ISO8601:2004
*/
created: Date;
/**
* Date of last modification
A date and time (without fractional second part) in UTC or with UTC offset as defined in ISO8601:2004
*/
updated: Date;
externalReference?: ExternalPaymentAccountReferenceModel;
/**
* Status of the payment account
*/
status: PaymentAccountV2Model.StatusEnum;
/**
* Human-readable failure reason
*/
failureReason?: string;
/**
* Payer interaction of the payment account
*/
payerInteraction: PaymentAccountV2Model.PayerInteractionEnum;
paymentLink?: PaymentAccountPaymentLinkModel;
accountDetails?: PaymentAccountDetailsModel;
/**
* Indicates if the payment account is a virtual credit card. If not specified it defaults to 'false'
*/
isVirtual?: boolean;
/**
* The list of actions for payment account
*/
actions?: Array;
}
export declare namespace PaymentAccountV2Model {
type StatusEnum = 'Pending' | 'Success' | 'Failure' | 'Canceled' | 'Expired';
const StatusEnumValues: readonly StatusEnum[];
type PayerInteractionEnum = 'PciToken' | 'Terminal' | 'Authorization' | 'PaymentLink';
const PayerInteractionEnumValues: readonly PayerInteractionEnum[];
}
export declare namespace PaymentAccountV2Model {
const $metaData: ClassMetaData;
}