io.sphere.sdk.orderedits.OrderEditImpl Maven / Gradle / Ivy
package io.sphere.sdk.orderedits;
import com.fasterxml.jackson.annotation.JsonCreator;
import io.sphere.sdk.models.Base;
import io.sphere.sdk.models.Reference;
import io.sphere.sdk.orderedits.commands.stagedactions.OrderEditStagedUpdateAction;
import io.sphere.sdk.orders.Order;
import io.sphere.sdk.types.CustomFields;
import java.lang.Long;
import java.lang.String;
import java.time.ZonedDateTime;
import java.util.List;
import javax.annotation.Generated;
import javax.annotation.Nullable;
@Generated(
value = "io.sphere.sdk.annotations.processors.generators.ResourceValueImplGenerator",
comments = "Generated from: io.sphere.sdk.orderedits.OrderEdit"
)
final class OrderEditImpl extends Base implements OrderEdit {
@Nullable
private String comment;
private ZonedDateTime createdAt;
@Nullable
private CustomFields custom;
private String id;
@Nullable
private String key;
private ZonedDateTime lastModifiedAt;
private Reference resource;
private OrderEditResult result;
private List stagedActions;
private Long version;
@JsonCreator
OrderEditImpl(@Nullable final String comment, final ZonedDateTime createdAt,
@Nullable final CustomFields custom, final String id, @Nullable final String key,
final ZonedDateTime lastModifiedAt, final Reference resource,
final OrderEditResult result, final List stagedActions,
final Long version) {
this.comment = comment;
this.createdAt = createdAt;
this.custom = custom;
this.id = id;
this.key = key;
this.lastModifiedAt = lastModifiedAt;
this.resource = resource;
this.result = result;
this.stagedActions = stagedActions;
this.version = version;
}
@Nullable
public String getComment() {
return comment;
}
public ZonedDateTime getCreatedAt() {
return createdAt;
}
@Nullable
public CustomFields getCustom() {
return custom;
}
public String getId() {
return id;
}
@Nullable
public String getKey() {
return key;
}
public ZonedDateTime getLastModifiedAt() {
return lastModifiedAt;
}
public Reference getResource() {
return resource;
}
public OrderEditResult getResult() {
return result;
}
public List getStagedActions() {
return stagedActions;
}
public Long getVersion() {
return version;
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy