export default VoucherTransaction;
/**
* The VoucherTransaction model module.
* @module model/VoucherTransaction
*/
declare class VoucherTransaction {
/**
* 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 VoucherTransaction 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 {VoucherTransaction} [obj] Optional instance to populate.
* @returns {VoucherTransaction} The populated VoucherTransaction instance.
*/
static constructFromObject(data: Partial, obj?: VoucherTransaction): VoucherTransaction;
/**
* Validates the JSON data with respect to VoucherTransaction.
* @param {Partial} data The plain JavaScript object bearing properties of interest.
* @returns {boolean} to indicate whether the JSON data is valid with respect to VoucherTransaction.
*/
static validateJSON(data: Partial): boolean;
id: string | undefined;
source_id: string | undefined;
voucher_id: string | undefined;
campaign_id: string | undefined;
source: string | undefined;
reason: string | undefined;
related_transaction_id: string | undefined;
created_at: Date | undefined;
details: VoucherTransactionDetails | undefined;
type: (keyof typeof VoucherTransaction.TypeEnum) | undefined;
}
declare namespace VoucherTransaction {
namespace TypeEnum {
let CREDITS_REDEMPTION: string;
let CREDITS_REFUND: string;
let CREDITS_ADDITION: string;
let CREDITS_REMOVAL: string;
let PENDING_POINTS_ACTIVATION: string;
let POINTS_ACCRUAL: string;
let POINTS_REDEMPTION: string;
let POINTS_REFUND: string;
let POINTS_ADDITION: string;
let POINTS_REMOVAL: string;
let POINTS_EXPIRATION: string;
let POINTS_TRANSFER_IN: string;
let POINTS_TRANSFER_OUT: string;
}
}
import VoucherTransactionDetails from './VoucherTransactionDetails';