@Generated(value="io.sphere.sdk.annotations.processors.generators.UpdateActionGenerator", comments="Generated from: io.sphere.sdk.carts.Cart") public final class SetAnonymousId extends UpdateActionImpl<Cart>
anonymousId
property of a Cart
.Cart.getAnonymousId()
Modifier and Type | Method and Description |
---|---|
String |
getAnonymousId() |
static SetAnonymousId |
of(String anonymousId)
Creates a new object initialized with the given values.
|
static SetAnonymousId |
ofUnset()
Creates a new object initialized with the given values.
|
getAction
public static SetAnonymousId of(@Nullable String anonymousId)
anonymousId
- initial value for the Cart.getAnonymousId()
propertypublic static SetAnonymousId ofUnset()