io.sphere.sdk.orders.DeliveryImpl Maven / Gradle / Ivy
package io.sphere.sdk.orders;
import com.fasterxml.jackson.annotation.JsonCreator;
import io.sphere.sdk.models.Base;
import java.time.ZonedDateTime;
import java.util.List;
final class DeliveryImpl extends Base implements Delivery {
private final String id;
private final ZonedDateTime createdAt;
private final List items;
private final List parcels;
@JsonCreator
DeliveryImpl(final String id, final ZonedDateTime createdAt, final List items, final List parcels) {
this.id = id;
this.createdAt = createdAt;
this.items = items;
this.parcels = parcels;
}
@Override
public String getId() {
return id;
}
@Override
public ZonedDateTime getCreatedAt() {
return createdAt;
}
@Override
public List getItems() {
return items;
}
@Override
public List getParcels() {
return parcels;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy