ShippingMethodsByCartGetImpl(final String cartId) { super("?cartId=" + cartId, ShippingMethodEndpoint.ENDPOINT.withTypeReference(new TypeReference<List<ShippingMethod>>() { @Override public String toString() { return "TypeReference<List<ShippingMethod>>"; } }), ShippingMethodExpansionModel.of(), ShippingMethodsByCartGetImpl::new); }
ShippingMethodsByLocationGetImpl(final CountryCode country, @Nullable final String state, @Nullable final CurrencyUnit currency) { super(identifierToSearchFor(requireNonNull(country), state, currency), ShippingMethodEndpoint.ENDPOINT.withTypeReference(new TypeReference<List<ShippingMethod>>() { @Override public String toString() { return "TypeReference<List<ShippingMethod>>"; } }), ShippingMethodExpansionModel.of(), ShippingMethodsByLocationGetImpl::new); }
ShippingMethodsByLocationGetImpl(final CountryCode country, @Nullable final String state, @Nullable final CurrencyUnit currency) { super(ShippingMethodEndpoint.ENDPOINT.withTypeReference(new TypeReference<List<ShippingMethod>>() { @Override public String toString() { return "TypeReference<List<ShippingMethod>>"; } }), "", ShippingMethodExpansionModel.of(), ShippingMethodsByCartGetImpl::new, createQueryParameters(country, state, currency)); }
ShippingMethodsByLocationGetImpl(final CountryCode country, @Nullable final String state, @Nullable final CurrencyUnit currency) { super(ShippingMethodEndpoint.ENDPOINT.withTypeReference(new TypeReference<List<ShippingMethod>>() { @Override public String toString() { return "TypeReference<List<ShippingMethod>>"; } }), "", ShippingMethodExpansionModel.of(), ShippingMethodsByCartGetImpl::new, createQueryParameters(country, state, currency)); }
ShippingMethodsByCartGetImpl(final String cartId) { super(ShippingMethodEndpoint.ENDPOINT.withTypeReference(new TypeReference<List<ShippingMethod>>() { @Override public String toString() { return "TypeReference<List<ShippingMethod>>"; } }), "", ShippingMethodExpansionModel.of(), ShippingMethodsByCartGetImpl::new, createQueryParameters(cartId)); }
ShippingMethodsByCartGetImpl(final String cartId) { super(ShippingMethodEndpoint.ENDPOINT.withTypeReference(new TypeReference<List<ShippingMethod>>() { @Override public String toString() { return "TypeReference<List<ShippingMethod>>"; } }), "", ShippingMethodExpansionModel.of(), ShippingMethodsByCartGetImpl::new, createQueryParameters(cartId)); }