mirror of
https://github.com/bitwarden/browser
synced 2026-02-18 10:23:52 +00:00
16 lines
508 B
TypeScript
16 lines
508 B
TypeScript
import { BaseResponse } from "../../../models/response/base.response";
|
|
import { PaymentMethodType } from "../../enums";
|
|
|
|
export class PaymentSourceResponse extends BaseResponse {
|
|
type: PaymentMethodType;
|
|
description: string;
|
|
needsVerification: boolean;
|
|
|
|
constructor(response: any) {
|
|
super(response);
|
|
this.type = this.getResponseProperty("Type");
|
|
this.description = this.getResponseProperty("Description");
|
|
this.needsVerification = this.getResponseProperty("NeedsVerification");
|
|
}
|
|
}
|