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

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

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

import io.sphere.sdk.commands.UpdateActionImpl;
import io.sphere.sdk.customers.Customer;

import javax.annotation.Nullable;

/**
 * Sets a new vat ID for the customer
 *
 *  {@doc.gen intro}
 *
 *  {@include.example io.sphere.sdk.customers.commands.CustomerUpdateCommandTest#setVatId()}
 *
 *  @see Customer
 */
public class SetVatId extends UpdateActionImpl {
    @Nullable
    private final String vatId;

    private SetVatId(final String vatId) {
        super("setVatId");
        this.vatId = vatId;
    }

    public static SetVatId of(@Nullable final String vatId) {
        return new SetVatId(vatId);
    }

    @Nullable
    public String getVatId() {
        return vatId;
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy