customerCompanies top-level property

List<Company> customerCompanies
getter/setter pair

Implementation

List<Company> customerCompanies = [
  Company(
    name: 'customer company1',
    role: Role.customer,
  ),
  Company(
    name: 'customer company2',
    role: Role.customer,
    address: Address(
        address1: 'test street 44',
        address2: 'office 23',
        postalCode: '444444',
        city: 'Trang',
        province: 'Trang',
        country: countries[12].name),
    paymentMethod: PaymentMethod(
        ccDescription: 'Master Card**********3222 4/2029',
        creditCardNumber: '2223003122003222',
        creditCardType: CreditCardType.mc,
        expireMonth: '4',
        expireYear: '2029'),
    email: 'emailXXX@example.org',
    telephoneNr: '12121212121212',
  ),
  Company(
    name: 'customer company3',
    role: Role.customer,
    paymentMethod: PaymentMethod(
        ccDescription: 'Master Card**********4444 11/2032',
        creditCardNumber: '5555555555554444',
        creditCardType: CreditCardType.mc,
        expireMonth: '11',
        expireYear: '2032'),
    address: Address(
        address1: 'soi 5',
        address2: 'suite 23',
        postalCode: '30071',
        city: 'Pucket',
        province: 'California',
        country: countries[3].name),
    email: 'emailXXX@example.org',
    telephoneNr: '111111111111',
  ),
  Company(
    name: 'customer company4',
    role: Role.customer,
    address: Address(
        address1: 'test street 44',
        address2: 'office 23',
        postalCode: '444444',
        city: 'Trang',
        province: 'Trang',
        country: countries[12].name),
    paymentMethod: PaymentMethod(
        ccDescription: 'Master Card**********3222 4/2029',
        creditCardNumber: '2223003122003222',
        creditCardType: CreditCardType.mc,
        expireMonth: '4',
        expireYear: '2029'),
    email: 'emailXXX@example.org',
    telephoneNr: '12121212121212',
  )
];