mirror of
https://github.com/bitwarden/browser
synced 2026-02-25 09:03:28 +00:00
17 lines
565 B
TypeScript
17 lines
565 B
TypeScript
import { BaseResponse } from "../../../models/response/base.response";
|
|
|
|
export class PreviewInvoiceResponse extends BaseResponse {
|
|
effectiveTaxRate: number;
|
|
taxableBaseAmount: number;
|
|
taxAmount: number;
|
|
totalAmount: number;
|
|
|
|
constructor(response: any) {
|
|
super(response);
|
|
this.effectiveTaxRate = this.getResponseProperty("EffectiveTaxRate");
|
|
this.taxableBaseAmount = this.getResponseProperty("TaxableBaseAmount");
|
|
this.taxAmount = this.getResponseProperty("TaxAmount");
|
|
this.totalAmount = this.getResponseProperty("TotalAmount");
|
|
}
|
|
}
|