public MockAccountBuilder(final AccountData data) { this.id = UUID.randomUUID(); this.address1(data.getAddress1()); this.address2(data.getAddress2()); this.billingCycleDayLocal(data.getBillCycleDayLocal()); this.city(data.getCity()); this.companyName(data.getCompanyName()); this.country(data.getCountry()); this.currency(data.getCurrency()); this.email(data.getEmail()); this.externalKey(data.getExternalKey()); this.firstNameLength(data.getFirstNameLength()); this.isNotifiedForInvoices(data.isNotifiedForInvoices()); this.locale(data.getLocale()); this.migrated(data.isMigrated()); this.name(data.getName()); this.paymentMethodId(data.getPaymentMethodId()); this.phone(data.getPhone()); this.postalCode(data.getPostalCode()); this.stateOrProvince(data.getStateOrProvince()); this.timeZone(data.getTimeZone()); }