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