public final class AddTextLineItemWithAddedAt
extends io.sphere.sdk.commands.UpdateActionImpl<io.sphere.sdk.shoppinglists.ShoppingList>
implements io.sphere.sdk.types.CustomDraft
| Modifier and Type | Method and Description |
|---|---|
java.time.ZonedDateTime |
getAddedAt() |
io.sphere.sdk.types.CustomFieldsDraft |
getCustom() |
io.sphere.sdk.models.LocalizedString |
getDescription() |
io.sphere.sdk.models.LocalizedString |
getName() |
java.lang.Long |
getQuantity() |
static io.sphere.sdk.commands.UpdateAction<io.sphere.sdk.shoppinglists.ShoppingList> |
of(io.sphere.sdk.shoppinglists.TextLineItemDraft textLineItemDraft)
Creates an update action "addTextLineItem" which adds a text line item to a shopping list.
|
@Nonnull
public static io.sphere.sdk.commands.UpdateAction<io.sphere.sdk.shoppinglists.ShoppingList> of(@Nonnull
io.sphere.sdk.shoppinglists.TextLineItemDraft textLineItemDraft)
textLineItemDraft - text line item draft template to map update action's fields.@Nonnull public io.sphere.sdk.models.LocalizedString getName()
@Nullable public io.sphere.sdk.models.LocalizedString getDescription()
@Nullable public java.lang.Long getQuantity()
@Nullable public java.time.ZonedDateTime getAddedAt()
@Nullable public io.sphere.sdk.types.CustomFieldsDraft getCustom()
getCustom in interface io.sphere.sdk.types.CustomDraft