Package ru.moysklad.remap_1_2.clients
Class PriceTypeClient
- java.lang.Object
-
- ru.moysklad.remap_1_2.clients.EntityClientBase
-
- ru.moysklad.remap_1_2.clients.PriceTypeClient
-
- All Implemented Interfaces:
Endpoint,GetByIdEndpoint<PriceType>,GetPlainListEndpoint<PriceType>
public final class PriceTypeClient extends EntityClientBase implements GetByIdEndpoint<PriceType>, GetPlainListEndpoint<PriceType>
-
-
Field Summary
-
Fields inherited from class ru.moysklad.remap_1_2.clients.EntityClientBase
api, path
-
-
Constructor Summary
Constructors Constructor Description PriceTypeClient(ApiClient api, String path)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Class<? extends MetaEntity>entityClass()PriceTypegetDefault()List<PriceType>updatePriceTypes(List<PriceType> priceTypes)-
Methods inherited from class ru.moysklad.remap_1_2.clients.EntityClientBase
api, metaEntityClass, path, positionEntityClass
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface ru.moysklad.remap_1_2.clients.endpoints.Endpoint
api, metaEntityClass, path, positionEntityClass
-
Methods inherited from interface ru.moysklad.remap_1_2.clients.endpoints.GetByIdEndpoint
get, get
-
Methods inherited from interface ru.moysklad.remap_1_2.clients.endpoints.GetPlainListEndpoint
get
-
-
-
-
Method Detail
-
getDefault
public PriceType getDefault() throws IOException, ApiClientException
- Throws:
IOExceptionApiClientException
-
updatePriceTypes
public List<PriceType> updatePriceTypes(List<PriceType> priceTypes) throws IOException, ApiClientException
- Throws:
IOExceptionApiClientException
-
entityClass
public Class<? extends MetaEntity> entityClass()
- Specified by:
entityClassin interfaceEndpoint- Overrides:
entityClassin classEntityClientBase
-
-