public final class AddLineItemWithSku
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() |
java.lang.Long |
getQuantity() |
java.lang.String |
getSku() |
static io.sphere.sdk.commands.UpdateAction<io.sphere.sdk.shoppinglists.ShoppingList> |
of(io.sphere.sdk.shoppinglists.LineItemDraft lineItemDraft)
Creates an update action "addLineItem" which adds a 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.LineItemDraft lineItemDraft)
lineItemDraft - Line item draft template to map update action's fields.@Nullable public java.lang.String getSku()
@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