oak-pay-business/lib/entities/WpProduct.d.ts

13 lines
452 B
TypeScript

import { EntityDesc } from 'oak-domain/lib/types';
import { Schema as WpAccount } from './WpAccount';
import { Schema as Pay } from './Pay';
import { Schema as AbstractPayProduct } from './AbstractPayProduct';
export interface Schema extends AbstractPayProduct {
wpAccount: WpAccount;
type: 'native' | 'mp' | 'jsapi' | 'h5' | 'app';
pays: Pay[];
}
export declare const entityDesc: EntityDesc<Schema, '', '', {
type: Schema['type'];
}>;