export default OrderPaymentTransaction;
/**
* The OrderPaymentTransaction model module.
* @module model/OrderPaymentTransaction
*/
declare class OrderPaymentTransaction {
/**
* 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 OrderPaymentTransaction 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 {OrderPaymentTransaction} [obj] Optional instance to populate.
* @returns {OrderPaymentTransaction} The populated OrderPaymentTransaction instance.
*/
static constructFromObject(data: Partial, obj?: OrderPaymentTransaction): OrderPaymentTransaction;
/**
* Validates the JSON data with respect to OrderPaymentTransaction.
* @param {Partial} data The plain JavaScript object bearing properties of interest.
* @returns {boolean} to indicate whether the JSON data is valid with respect to OrderPaymentTransaction.
*/
static validateJSON(data: Partial): boolean;
program_id: string | undefined;
member_id: string | undefined;
created_at: Date | undefined;
updated_at: Date | undefined;
card_id: string | undefined;
id: string | undefined;
card_definition_id: string | undefined;
card_transaction_id: string | undefined;
order_id: string | undefined;
status: (keyof typeof OrderPaymentTransaction.StatusEnum) | undefined;
type: (keyof typeof OrderPaymentTransaction.TypeEnum) | undefined;
details: OrderPaymentTransactionDetails | undefined;
object: (keyof typeof OrderPaymentTransaction.ObjectEnum) | undefined;
}
declare namespace OrderPaymentTransaction {
namespace StatusEnum {
let PENDING: string;
let PROCESSING: string;
let APPROVED: string;
let REJECTED: string;
let SIMULATED: string;
}
namespace TypeEnum {
let PAY_WITH_POINTS: string;
}
namespace ObjectEnum {
let order_transaction: string;
}
}
import OrderPaymentTransactionDetails from './OrderPaymentTransactionDetails';