export default CardTransaction; /** * The CardTransaction model module. * @module model/CardTransaction */ declare class CardTransaction { /** * Initializes the fields of this object. * This method is used by the constructors of any subclasses, in order to implement multiple inheritance (mix-ins). * Only for internal use. */ static initialize(obj: any): void; /** * Constructs a CardTransaction from a plain JavaScript object, optionally creating a new instance. * Copies all relevant properties from data to obj if supplied or a new instance if not. * @param {Partial} data The plain JavaScript object bearing properties of interest. * @param {CardTransaction} [obj] Optional instance to populate. * @returns {CardTransaction} The populated CardTransaction instance. */ static constructFromObject(data: Partial, obj?: CardTransaction): CardTransaction; /** * Validates the JSON data with respect to CardTransaction. * @param {Partial} data The plain JavaScript object bearing properties of interest. * @returns {boolean} to indicate whether the JSON data is valid with respect to CardTransaction. */ static validateJSON(data: Partial): boolean; id: string | undefined; card_id: string | undefined; program_id: string | undefined; member_id: string | undefined; card_definition_id: string | undefined; card_type: (keyof typeof CardTransaction.CardTypeEnum) | undefined; type: (keyof typeof CardTransaction.TypeEnum) | undefined; details: CardTransactionDetails | undefined; status: (keyof typeof CardTransaction.StatusEnum) | undefined; created_at: Date | undefined; updated_at: Date | undefined; object: (keyof typeof CardTransaction.ObjectEnum) | undefined; } declare namespace CardTransaction { namespace CardTypeEnum { let INDIVIDUAL: string; } namespace TypeEnum { let ADMIN_CREDIT: string; let ADMIN_DEBIT: string; let ADMIN_POINTS_EXPIRATION: string; let POINTS_EARNED: string; let POINTS_SPENT_ON_REWARD: string; let POINTS_PURCHASED: string; let POINTS_PURCHASE_REVERSED: string; let POINTS_SPENT_ON_ORDER: string; let POINTS_REFUNDED: string; let POINTS_RETURNED: string; let POINTS_EXPIRED: string; let PENDING_POINTS_ADDED: string; let PENDING_POINTS_ACTIVATED: string; let PENDING_POINTS_CANCELED: string; } namespace StatusEnum { let PENDING: string; let PROCESSING: string; let APPROVED: string; let REJECTED: string; } namespace ObjectEnum { let card_transaction: string; } } import CardTransactionDetails from './CardTransactionDetails';