apps/recallassess/recallassess-api/src/api/admin/report/reports/subscription/subscription-report.types.ts
Subscription payment report shapes (API). Kept in-repo so webpack dev builds do not depend on a
rebuilt @recallassess/shared-ng dist. Mirrors SubscriptionPaymentRowVm in shared-ng.
Properties |
| amount |
amount:
|
Type : number | null
|
| amount_refunded |
amount_refunded:
|
Type : number | null
|
| company_name |
company_name:
|
Type : string
|
| currency |
currency:
|
Type : string
|
| customer_name_email |
customer_name_email:
|
Type : string
|
| fee |
fee:
|
Type : number | null
|
| net_amount |
net_amount:
|
Type : number | null
|
| payment_date |
payment_date:
|
Type : string
|
| product_service |
product_service:
|
Type : string
|
| vat |
vat:
|
Type : number | null
|
export interface SubscriptionPaymentRow {
payment_date: string;
customer_name_email: string;
company_name: string;
product_service: string;
currency: string;
amount: number | null;
amount_refunded: number | null;
fee: number | null;
vat: number | null;
net_amount: number | null;
}
export interface SubscriptionPaymentReport {
date_from: string;
date_to: string;
rows: SubscriptionPaymentRow[];
}