io.sphere.sdk.orders.OrderShippingInfoImpl Maven / Gradle / Ivy
package io.sphere.sdk.orders;
import com.fasterxml.jackson.annotation.JsonCreator;
import io.sphere.sdk.carts.CartShippingInfoImpl;
import io.sphere.sdk.models.Reference;
import io.sphere.sdk.shippingmethods.ShippingMethod;
import io.sphere.sdk.shippingmethods.ShippingRate;
import io.sphere.sdk.taxcategories.TaxCategory;
import io.sphere.sdk.taxcategories.TaxRate;
import javax.money.MonetaryAmount;
import java.util.List;
final class OrderShippingInfoImpl extends CartShippingInfoImpl implements OrderShippingInfo {
private final List deliveries;
@JsonCreator
OrderShippingInfoImpl(final String shippingMethodName, final MonetaryAmount price, final ShippingRate shippingRate, final TaxRate taxRate, final Reference taxCategory, final Reference shippingMethod, final List deliveries) {
super(shippingMethodName, price, shippingRate, taxRate, taxCategory, shippingMethod);
this.deliveries = deliveries;
}
@Override
public List getDeliveries() {
return deliveries;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy