import { AbstractTimeBasedBaseEntity, AbstractTimeBasedNameEntity } from '../base'; import { JsonArray } from '../common/decorators'; import { PaymentMethodType } from './payment.enum-values'; import type { PaymentOrder } from './payment.order.entities'; declare const PaymentMethod_base: { new (...args: any[]): { isPublished: boolean; hasId(): boolean; save(options?: import("typeorm").SaveOptions): Promise; remove(options?: import("typeorm").RemoveOptions): Promise; softRemove(options?: import("typeorm").SaveOptions): Promise; recover(options?: import("typeorm").SaveOptions): Promise; reload(): Promise; }; } & typeof AbstractTimeBasedNameEntity; /** * 支付方式配置 */ export declare class PaymentMethod extends PaymentMethod_base { constructor(); displayName: string; endpoint: string; merchant: string; apiKey: string; privateKey: string; extra: Record; signTmpl: string; bodyTmpl: string; type: PaymentMethodType; transactions: PaymentTransaction[]; } declare const PaymentItem_base: { new (...args: any[]): { isPublished: boolean; hasId(): boolean; save(options?: import("typeorm").SaveOptions): Promise; remove(options?: import("typeorm").RemoveOptions): Promise; softRemove(options?: import("typeorm").SaveOptions): Promise; recover(options?: import("typeorm").SaveOptions): Promise; reload(): Promise; }; } & typeof AbstractTimeBasedNameEntity; /** * 支付实体信息 */ export declare class PaymentItem extends PaymentItem_base { constructor(); key: string; summary: string; price: number; cover: string; images: JsonArray; orders: PaymentOrder[]; } declare const PaymentTransaction_base: { new (...args: any[]): { profileId?: string; profile?: import("../core/auth").UserProfile; hasId(): boolean; save(options?: import("typeorm").SaveOptions): Promise; remove(options?: import("typeorm").RemoveOptions): Promise; softRemove(options?: import("typeorm").SaveOptions): Promise; recover(options?: import("typeorm").SaveOptions): Promise; reload(): Promise; }; } & typeof AbstractTimeBasedBaseEntity; export declare class PaymentTransaction extends PaymentTransaction_base { constructor(); status: string; sign: string; paymentInfo: Record; extra: Record; data: Record; method: PaymentMethod; order: PaymentOrder; } export {};