Class MasterService
- java.lang.Object
-
- com.aboutyou.cloud.adminapi.service.AbstractService
-
- com.aboutyou.cloud.adminapi.service.MasterService
-
public class MasterService extends AbstractService
-
-
Constructor Summary
Constructors Constructor Description MasterService(HttpClient httpClient)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ApiCollection<Attribute>allAttributes(Identifier productMasterIdentifier)ApiCollection<Attribute>allAttributes(Identifier productMasterIdentifier, ApiOptions options)voiddeleteAttribute(Identifier productMasterIdentifier, java.lang.String attributeGroupName)voiddeleteAttribute(Identifier productMasterIdentifier, java.lang.String attributeGroupName, ApiOptions options)AttributegetAttribute(Identifier productMasterIdentifier, java.lang.String attributeGroupName)AttributegetAttribute(Identifier productMasterIdentifier, java.lang.String attributeGroupName, ApiOptions options)AttributeupdateOrCreateAttribute(Identifier productMasterIdentifier, Attribute model)AttributeupdateOrCreateAttribute(Identifier productMasterIdentifier, Attribute model, ApiOptions options)ProductMasterCategoriesupdateProductMasterMasterCategories(Identifier productMasterIdentifier, ProductMasterCategories model)ProductMasterCategoriesupdateProductMasterMasterCategories(Identifier productMasterIdentifier, ProductMasterCategories model, ApiOptions options)-
Methods inherited from class com.aboutyou.cloud.adminapi.service.AbstractService
request, request, requestCollection, requestCollection, resolvePath
-
-
-
-
Constructor Detail
-
MasterService
public MasterService(HttpClient httpClient)
-
-
Method Detail
-
updateProductMasterMasterCategories
public ProductMasterCategories updateProductMasterMasterCategories(Identifier productMasterIdentifier, ProductMasterCategories model) throws ApiErrorException, ConnectionException
- Throws:
ApiErrorExceptionConnectionException
-
updateProductMasterMasterCategories
public ProductMasterCategories updateProductMasterMasterCategories(Identifier productMasterIdentifier, ProductMasterCategories model, ApiOptions options) throws ApiErrorException, ConnectionException
- Throws:
ApiErrorExceptionConnectionException
-
allAttributes
public ApiCollection<Attribute> allAttributes(Identifier productMasterIdentifier) throws ApiErrorException, ConnectionException
- Throws:
ApiErrorExceptionConnectionException
-
allAttributes
public ApiCollection<Attribute> allAttributes(Identifier productMasterIdentifier, ApiOptions options) throws ApiErrorException, ConnectionException
- Throws:
ApiErrorExceptionConnectionException
-
updateOrCreateAttribute
public Attribute updateOrCreateAttribute(Identifier productMasterIdentifier, Attribute model) throws ApiErrorException, ConnectionException
- Throws:
ApiErrorExceptionConnectionException
-
updateOrCreateAttribute
public Attribute updateOrCreateAttribute(Identifier productMasterIdentifier, Attribute model, ApiOptions options) throws ApiErrorException, ConnectionException
- Throws:
ApiErrorExceptionConnectionException
-
getAttribute
public Attribute getAttribute(Identifier productMasterIdentifier, java.lang.String attributeGroupName) throws ApiErrorException, ConnectionException
- Throws:
ApiErrorExceptionConnectionException
-
getAttribute
public Attribute getAttribute(Identifier productMasterIdentifier, java.lang.String attributeGroupName, ApiOptions options) throws ApiErrorException, ConnectionException
- Throws:
ApiErrorExceptionConnectionException
-
deleteAttribute
public void deleteAttribute(Identifier productMasterIdentifier, java.lang.String attributeGroupName) throws ApiErrorException, ConnectionException
- Throws:
ApiErrorExceptionConnectionException
-
deleteAttribute
public void deleteAttribute(Identifier productMasterIdentifier, java.lang.String attributeGroupName, ApiOptions options) throws ApiErrorException, ConnectionException
- Throws:
ApiErrorExceptionConnectionException
-
-