mirror of
https://github.com/bitwarden/browser
synced 2026-02-25 09:03:28 +00:00
16 lines
493 B
TypeScript
16 lines
493 B
TypeScript
import { BaseResponse } from "../../../models/response/base.response";
|
|
|
|
export class SubscriptionSuspensionResponse extends BaseResponse {
|
|
suspensionDate: string;
|
|
unpaidPeriodEndDate: string;
|
|
gracePeriod: number;
|
|
|
|
constructor(response: any) {
|
|
super(response);
|
|
|
|
this.suspensionDate = this.getResponseProperty("suspensionDate");
|
|
this.unpaidPeriodEndDate = this.getResponseProperty("unpaidPeriodEndDate");
|
|
this.gracePeriod = this.getResponseProperty("gracePeriod");
|
|
}
|
|
}
|