All files / src/types CustomerData.ts

100% Statements 23/23
100% Branches 2/2
100% Functions 2/2
100% Lines 23/23

Press n or j to go to the next uncovered block, b, p or k for the previous block.

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 301x 57x   57x   57x   57x   57x   57x   57x 57x 57x 57x 57x 57x 57x 57x 57x 57x 57x 57x 57x 57x 57x 57x  
export class CustomerData {
  firstName: string;
 
  lastName: string;
 
  mailAddress: string;
 
  telephoneNumber?: string;
 
  customTextfield?: string;
 
  customTextfield2?: string;
 
  constructor(
    firstName: string,
    lastName: string,
    mailAddress: string,
    telephoneNumber: string | undefined,
    customTextfield: string | undefined,
    customTextfield2: string | undefined
  ) {
    this.firstName = firstName;
    this.lastName = lastName;
    this.mailAddress = mailAddress;
    this.telephoneNumber = telephoneNumber;
    this.customTextfield = customTextfield;
    this.customTextfield2 = customTextfield2;
  }
}