aboutsummaryrefslogtreecommitdiffstats
path: root/vid-webpack-master/src/app/shared/models/subscriber.ts
blob: 55fc8379231b87990c715ebe4a4b7f55d74ff5b0 (plain)
1
2
3
4
5
6
7
8
9
10
11
export class Subscriber {
  id: string;
  name: string;
  isPermitted: boolean;

  constructor(subscriberResponse){
    this.id = subscriberResponse['global-customer-id'];
    this.name = subscriberResponse['subscriber-name'];
    this.isPermitted = subscriberResponse['is-permitted'];
  }
}