Class CarrierService
- java.lang.Object
-
- com.aboutyou.cloud.adminapi.service.AbstractService
-
- com.aboutyou.cloud.adminapi.service.CarrierService
-
public class CarrierService extends AbstractService
-
-
Constructor Summary
Constructors Constructor Description CarrierService(HttpClient httpClient)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ApiCollection<Carrier>all()ApiCollection<Carrier>all(ApiOptions options)Carriercreate(Carrier model)Carriercreate(Carrier model, ApiOptions options)Carrierget(Identifier carrierIdentifier)Carrierget(Identifier carrierIdentifier, ApiOptions options)Carrierupdate(Identifier carrierIdentifier, Carrier model)Carrierupdate(Identifier carrierIdentifier, Carrier model, ApiOptions options)-
Methods inherited from class com.aboutyou.cloud.adminapi.service.AbstractService
request, request, requestCollection, requestCollection, resolvePath
-
-
-
-
Constructor Detail
-
CarrierService
public CarrierService(HttpClient httpClient)
-
-
Method Detail
-
all
public ApiCollection<Carrier> all() throws ApiErrorException, ConnectionException
- Throws:
ApiErrorExceptionConnectionException
-
all
public ApiCollection<Carrier> all(ApiOptions options) throws ApiErrorException, ConnectionException
- Throws:
ApiErrorExceptionConnectionException
-
get
public Carrier get(Identifier carrierIdentifier) throws ApiErrorException, ConnectionException
- Throws:
ApiErrorExceptionConnectionException
-
get
public Carrier get(Identifier carrierIdentifier, ApiOptions options) throws ApiErrorException, ConnectionException
- Throws:
ApiErrorExceptionConnectionException
-
create
public Carrier create(Carrier model) throws ApiErrorException, ConnectionException
- Throws:
ApiErrorExceptionConnectionException
-
create
public Carrier create(Carrier model, ApiOptions options) throws ApiErrorException, ConnectionException
- Throws:
ApiErrorExceptionConnectionException
-
update
public Carrier update(Identifier carrierIdentifier, Carrier model) throws ApiErrorException, ConnectionException
- Throws:
ApiErrorExceptionConnectionException
-
update
public Carrier update(Identifier carrierIdentifier, Carrier model, ApiOptions options) throws ApiErrorException, ConnectionException
- Throws:
ApiErrorExceptionConnectionException
-
-