Class PackageGroupService
- java.lang.Object
-
- com.aboutyou.cloud.adminapi.service.AbstractService
-
- com.aboutyou.cloud.adminapi.service.PackageGroupService
-
public class PackageGroupService extends AbstractService
-
-
Constructor Summary
Constructors Constructor Description PackageGroupService(HttpClient httpClient)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ApiCollection<PackageGroup>all(java.lang.String shopKey, java.lang.String countryCode)ApiCollection<PackageGroup>all(java.lang.String shopKey, java.lang.String countryCode, ApiOptions options)voidassignPackageGroupToWarehouses(java.lang.String shopKey, java.lang.String countryCode, java.lang.Integer packageGroupId, java.util.List<PackageGroupWarehouse> model)voidassignPackageGroupToWarehouses(java.lang.String shopKey, java.lang.String countryCode, java.lang.Integer packageGroupId, java.util.List<PackageGroupWarehouse> model, ApiOptions options)voiddelete(java.lang.String shopKey, java.lang.String countryCode, java.lang.Integer packageGroupId)voiddelete(java.lang.String shopKey, java.lang.String countryCode, java.lang.Integer packageGroupId, ApiOptions options)voidreplacePackageGroupForWarehouses(java.lang.String shopKey, java.lang.String countryCode, java.lang.Integer packageGroupId, java.util.List<PackageGroupWarehouse> model)voidreplacePackageGroupForWarehouses(java.lang.String shopKey, java.lang.String countryCode, java.lang.Integer packageGroupId, java.util.List<PackageGroupWarehouse> model, ApiOptions options)-
Methods inherited from class com.aboutyou.cloud.adminapi.service.AbstractService
request, request, requestCollection, requestCollection, resolvePath
-
-
-
-
Constructor Detail
-
PackageGroupService
public PackageGroupService(HttpClient httpClient)
-
-
Method Detail
-
all
public ApiCollection<PackageGroup> all(java.lang.String shopKey, java.lang.String countryCode) throws ApiErrorException, ConnectionException
- Throws:
ApiErrorExceptionConnectionException
-
all
public ApiCollection<PackageGroup> all(java.lang.String shopKey, java.lang.String countryCode, ApiOptions options) throws ApiErrorException, ConnectionException
- Throws:
ApiErrorExceptionConnectionException
-
assignPackageGroupToWarehouses
public void assignPackageGroupToWarehouses(java.lang.String shopKey, java.lang.String countryCode, java.lang.Integer packageGroupId, java.util.List<PackageGroupWarehouse> model) throws ApiErrorException, ConnectionException- Throws:
ApiErrorExceptionConnectionException
-
assignPackageGroupToWarehouses
public void assignPackageGroupToWarehouses(java.lang.String shopKey, java.lang.String countryCode, java.lang.Integer packageGroupId, java.util.List<PackageGroupWarehouse> model, ApiOptions options) throws ApiErrorException, ConnectionException- Throws:
ApiErrorExceptionConnectionException
-
replacePackageGroupForWarehouses
public void replacePackageGroupForWarehouses(java.lang.String shopKey, java.lang.String countryCode, java.lang.Integer packageGroupId, java.util.List<PackageGroupWarehouse> model) throws ApiErrorException, ConnectionException- Throws:
ApiErrorExceptionConnectionException
-
replacePackageGroupForWarehouses
public void replacePackageGroupForWarehouses(java.lang.String shopKey, java.lang.String countryCode, java.lang.Integer packageGroupId, java.util.List<PackageGroupWarehouse> model, ApiOptions options) throws ApiErrorException, ConnectionException- Throws:
ApiErrorExceptionConnectionException
-
delete
public void delete(java.lang.String shopKey, java.lang.String countryCode, java.lang.Integer packageGroupId) throws ApiErrorException, ConnectionException- Throws:
ApiErrorExceptionConnectionException
-
delete
public void delete(java.lang.String shopKey, java.lang.String countryCode, java.lang.Integer packageGroupId, ApiOptions options) throws ApiErrorException, ConnectionException- Throws:
ApiErrorExceptionConnectionException
-
-