Sonsino, Ofir (os0695) | ff76b5e | 2018-07-10 15:57:37 +0300 | [diff] [blame] | 1 | export class Subscriber { |
2 | id: string; | ||||
3 | name: string; | ||||
4 | isPermitted: boolean; | ||||
5 | |||||
6 | constructor(subscriberResponse){ | ||||
7 | this.id = subscriberResponse['global-customer-id']; | ||||
8 | this.name = subscriberResponse['subscriber-name']; | ||||
9 | this.isPermitted = subscriberResponse['is-permitted']; | ||||
10 | } | ||||
11 | } |