WT 1.1.11+5 bug fixes customer change
This commit is contained in:
@@ -101,27 +101,27 @@ class CustomerRepository with Logging {
|
||||
}
|
||||
|
||||
setName(String name) {
|
||||
if (this.customer == null) return;
|
||||
if (this.customer == null) throw Exception("Initialize the customer object");
|
||||
this.customer!.name = name;
|
||||
}
|
||||
|
||||
setFirstName(String firstName) {
|
||||
if (this.customer == null) return;
|
||||
if (this.customer == null) throw Exception("Initialize the customer object");
|
||||
this.customer!.firstname = firstName;
|
||||
}
|
||||
|
||||
setPassword(String password) {
|
||||
if (this.customer == null) return;
|
||||
if (this.customer == null) throw Exception("Initialize the customer object");
|
||||
this.customer!.password = password;
|
||||
}
|
||||
|
||||
setEmail(String email) {
|
||||
if (this.customer == null) return;
|
||||
if (this.customer == null) throw Exception("Initialize the customer object");
|
||||
this.customer!.email = email;
|
||||
}
|
||||
|
||||
setSex(String sex) {
|
||||
if (this.customer == null) return;
|
||||
if (this.customer == null) throw Exception("Initialize the customer object");
|
||||
this.customer!.sex = sex;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user