public interface ShippingMethodService
Modifier and Type | Method and Description |
---|---|
QueryRequest<ShippingMethod> |
all()
Deprecated.
since 0.49.0. Use
query() instead. |
FetchRequest<ShippingMethod> |
byId(java.lang.String id)
Finds a shipping method by id.
|
FetchRequest<java.util.List<ShippingMethod>> |
forCart(java.lang.String cartId)
Fetches all shipping methods for a cart in the current project.
|
FetchRequest<java.util.List<ShippingMethod>> |
forLocation(Location location,
java.util.Currency currency)
Fetches all shipping methods for a specific location.
|
QueryRequest<ShippingMethod> |
query()
Queries shipping methods in current project.
|
FetchRequest<ShippingMethod> byId(java.lang.String id)
@Deprecated QueryRequest<ShippingMethod> all()
query()
instead.QueryRequest<ShippingMethod> query()
FetchRequest<java.util.List<ShippingMethod>> forLocation(Location location, java.util.Currency currency)
FetchRequest<java.util.List<ShippingMethod>> forCart(java.lang.String cartId)