@@ -58,6 +58,14 @@ export class Address {
|
||||
@IsNotEmpty()
|
||||
country: string;
|
||||
|
||||
public reset() {
|
||||
this.address1 = null;
|
||||
this.address2 = null;
|
||||
this.city = null;
|
||||
this.country = null;
|
||||
this.postalcode = null;
|
||||
}
|
||||
|
||||
/**
|
||||
* Checks if this is a valid address
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user