/** * Creates a new update action to unset the {@code key} property. * @return the {@code SetKey} update action. */ public static SetKey ofUnset() { return new SetKey(null); } }
/** * Creates a new update action from the given parameters. * * @param key the {@code key} property {@link ShippingMethod#getKey()}. * @return the {@code SetKey} update action. */ public static SetKey of(@Nullable final String key) { return new SetKey(key); }