io.sphere.sdk.carts.expansion.CartExpansionModel Maven / Gradle / Ivy
package io.sphere.sdk.carts.expansion;
import io.sphere.sdk.carts.Cart;
import io.sphere.sdk.expansion.ExpansionPathContainer;
/**
* Model to explore reference fields in a cart that can be expanded.
*
* @param the context type
*/
public class CartExpansionModel extends CartLikeExpansionModel {
private CartExpansionModel() {
super();
}
public static CartExpansionModel of() {
return new CartExpansionModel<>();
}
protected CartExpansionModel(final String parentPath, final String path) {
super(parentPath, path);
}
@Override
public ExpansionPathContainer customerGroup() {
return super.customerGroup();
}
@Override
public DiscountCodeInfoExpansionModel discountCodes() {
return super.discountCodes();
}
@Override
public DiscountCodeInfoExpansionModel discountCodes(final int index) {
return super.discountCodes(index);
}
@Override
public LineItemExpansionModel lineItems() {
return super.lineItems();
}
@Override
public LineItemExpansionModel lineItems(final int index) {
return super.lineItems(index);
}
@Override
public PaymentInfoExpansionModel paymentInfo() {
return super.paymentInfo();
}
@Override
public ShippingInfoExpansionModel shippingInfo() {
return super.shippingInfo();
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy