@Generated(value="io.sphere.sdk.annotations.processors.generators.ResourceDraftValueGenerator", comments="Generated from: io.sphere.sdk.orderedits.OrderEditDraft") public final class OrderEditDraftDsl extends Base implements OrderEditDraft
OrderEditDraft.@Nullable public String getComment()
getComment in interface OrderEditDraft@Nullable public CustomFieldsDraft getCustom()
getCustom in interface OrderEditDraftgetCustom in interface CustomDraft@Nullable public Boolean isDryRun()
isDryRun in interface OrderEditDraft@Nullable public String getKey()
getKey in interface WithKeygetKey in interface OrderEditDraftpublic Reference<Order> getResource()
getResource in interface OrderEditDraftpublic List<StagedUpdateAction<OrderEdit>> getStagedActions()
getStagedActions in interface OrderEditDraftpublic OrderEditDraftBuilder newBuilder()
public OrderEditDraftDsl withComment(@Nullable String comment)
public OrderEditDraftDsl withCustom(@Nullable CustomFieldsDraft custom)
public OrderEditDraftDsl withDryRun(@Nullable Boolean dryRun)
public OrderEditDraftDsl withKey(@Nullable String key)
public OrderEditDraftDsl withResource(Referenceable<Order> resource)
public OrderEditDraftDsl withStagedActions(List<StagedUpdateAction<OrderEdit>> stagedActions)
public static OrderEditDraftDsl of(@Nullable String key, Reference<Order> resource, List<StagedUpdateAction<OrderEdit>> stagedActions, @Nullable CustomFieldsDraft custom, @Nullable String comment, @Nullable Boolean dryRun)
key - initial value for the OrderEditDraft.getKey() propertyresource - initial value for the OrderEditDraft.getResource() propertystagedActions - initial value for the OrderEditDraft.getStagedActions() propertycustom - initial value for the OrderEditDraft.getCustom() propertycomment - initial value for the OrderEditDraft.getComment() propertydryRun - initial value for the OrderEditDraft.isDryRun() propertypublic static OrderEditDraftDsl of(Reference<Order> resource, List<StagedUpdateAction<OrderEdit>> stagedActions)
resource - initial value for the OrderEditDraft.getResource() propertystagedActions - initial value for the OrderEditDraft.getStagedActions() propertypublic static OrderEditDraftDsl of(OrderEditDraft template)
template - the template