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

io.sphere.sdk.carts.queries.CartByCustomerIdGetImpl Maven / Gradle / Ivy

There is a newer version: 2.16.0
Show newest version
package io.sphere.sdk.carts.queries;

import io.sphere.sdk.carts.Cart;
import io.sphere.sdk.carts.CartEndpoint;
import io.sphere.sdk.carts.expansion.CartExpansionModel;
import io.sphere.sdk.http.NameValuePair;
import io.sphere.sdk.queries.MetaModelGetDslBuilder;
import io.sphere.sdk.queries.MetaModelGetDslImpl;

import java.util.Collections;

final class CartByCustomerIdGetImpl extends MetaModelGetDslImpl> implements CartByCustomerIdGet {

    CartByCustomerIdGetImpl(final String customerId) {
        super(CartEndpoint.ENDPOINT, "", CartExpansionModel.of(), CartByCustomerIdGetImpl::new, Collections.singletonList(NameValuePair.of("customerId", customerId)));
    }

    public CartByCustomerIdGetImpl(MetaModelGetDslBuilder> builder) {
        super(builder);
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy