All Downloads are FREE. Search and download functionalities are using the official Maven repository.

io.sphere.sdk.customers.commands.updateactions.AddAddress Maven / Gradle / Ivy

There is a newer version: 1.0.0-M12
Show newest version
package io.sphere.sdk.customers.commands.updateactions;

import io.sphere.sdk.commands.UpdateAction;
import io.sphere.sdk.customers.Customer;
import io.sphere.sdk.models.Address;

public class AddAddress extends UpdateAction {
    private final Address address;

    private AddAddress(final Address address) {
        super("addAddress");
        this.address = address;
    }

    public static AddAddress of(final Address address) {
        return new AddAddress(address);
    }

    public Address getAddress() {
        return address;
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy