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

io.sphere.sdk.carts.expansion.ShippingInfoExpansionModel Maven / Gradle / Ivy

There is a newer version: 1.0.0-M26
Show newest version
package io.sphere.sdk.carts.expansion;

import io.sphere.sdk.expansion.ExpansionModel;
import io.sphere.sdk.expansion.ExpansionPath;
import io.sphere.sdk.shippingmethods.expansion.ShippingMethodExpansionModel;

import javax.annotation.Nullable;

public class ShippingInfoExpansionModel extends ExpansionModel {
    public ShippingInfoExpansionModel(@Nullable final String parentPath, @Nullable final String path) {
        super(parentPath, path);
    }

    public ExpansionPath taxCategory() {
        return expansionPath("taxCategory");
    }

    public ShippingMethodExpansionModel shippingMethod() {
        return new ShippingMethodExpansionModel<>(buildPathExpression(), "shippingMethod");
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy