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

io.sphere.sdk.customers.queries.CustomerByTokenGetImpl Maven / Gradle / Ivy

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

import io.sphere.sdk.customers.Customer;
import io.sphere.sdk.customers.expansion.CustomerExpansionModel;
import io.sphere.sdk.http.NameValuePair;
import io.sphere.sdk.queries.MetaModelGetDslBuilder;
import io.sphere.sdk.queries.MetaModelGetDslImpl;

import java.util.Collections;

final class CustomerByTokenGetImpl extends MetaModelGetDslImpl> implements CustomerByTokenGet {

    CustomerByTokenGetImpl(final String token) {
        super(CustomerEndpoint.ENDPOINT, "", CustomerExpansionModel.of(), CustomerByTokenGetImpl::new, Collections.singletonList(NameValuePair.of("token", token)));
    }

    public CustomerByTokenGetImpl(final MetaModelGetDslBuilder> builder) {
        super(builder);
    }
}





© 2015 - 2025 Weber Informatics LLC | Privacy Policy