io.sphere.sdk.customers.commands.updateactions.ChangeEmail Maven / Gradle / Ivy
package io.sphere.sdk.customers.commands.updateactions;
import io.sphere.sdk.commands.UpdateAction;
import io.sphere.sdk.customers.Customer;
/**
*
* {@include.example io.sphere.sdk.customers.commands.CustomerUpdateCommandTest#changeEmail()}
*/
public class ChangeEmail extends UpdateAction {
private final String email;
private ChangeEmail(final String email) {
super("changeEmail");
this.email = email;
}
public static ChangeEmail of(final String email) {
return new ChangeEmail(email);
}
public String getEmail() {
return email;
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy