All Downloads are FREE. Search and download functionalities are using the official Maven repository.

io.sphere.sdk.orders.DeliveryItemImpl Maven / Gradle / Ivy

The newest version!
package io.sphere.sdk.orders;

import com.fasterxml.jackson.annotation.JsonCreator;
import io.sphere.sdk.models.Base;

final class DeliveryItemImpl extends Base implements DeliveryItem {
    private final String id;
    private final Long quantity;

    @JsonCreator
    DeliveryItemImpl(final String id, final Long quantity) {
        this.id = id;
        this.quantity = quantity;
    }

    @Override
    public String getId() {
        return id;
    }

    @Override
    public Long getQuantity() {
        return quantity;
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy