public class CarrierAccount extends APIResource
APIResource.RequestMethodCHARSETPRETTY_PRINT_GSON| Constructor and Description |
|---|
CarrierAccount() |
| Modifier and Type | Method and Description |
|---|---|
static CarrierAccountCollection |
all() |
static CarrierAccountCollection |
all(String apiKey) |
static CarrierAccount |
create(Map<String,Object> params) |
static CarrierAccount |
create(Map<String,Object> params,
String apiKey) |
String |
getAccountId() |
Boolean |
getActive() |
String |
getCarrier() |
String |
getInstanceURL() |
String |
getObjectId() |
Object |
getParameters() |
Boolean |
getTest() |
static CarrierAccount |
retrieve(String id) |
static CarrierAccount |
retrieve(String id,
String apiKey) |
void |
setAccountId(String accountId) |
void |
setActive(Boolean active) |
void |
setCarrier(String carrier) |
void |
setObjectId(String objectId) |
void |
setParameters(Object parameters) |
void |
setTest(Boolean test) |
static CarrierAccount |
update(String id,
Map<String,Object> params) |
static CarrierAccount |
update(String id,
Map<String,Object> params,
String apiKey) |
_request, classURL, classURLWithTrailingSlash, instanceURL, request, singleClassURL, urlEncodetoStringpublic static CarrierAccount create(Map<String,Object> params) throws AuthenticationException, InvalidRequestException, APIConnectionException, APIException
public static CarrierAccount retrieve(String id) throws AuthenticationException, InvalidRequestException, APIConnectionException, APIException
public static CarrierAccount update(String id, Map<String,Object> params) throws AuthenticationException, InvalidRequestException, APIConnectionException, APIException
public static CarrierAccount create(Map<String,Object> params, String apiKey) throws AuthenticationException, InvalidRequestException, APIConnectionException, APIException
public static CarrierAccount update(String id, Map<String,Object> params, String apiKey) throws AuthenticationException, InvalidRequestException, APIConnectionException, APIException
public static CarrierAccount retrieve(String id, String apiKey) throws AuthenticationException, InvalidRequestException, APIConnectionException, APIException
public static CarrierAccountCollection all() throws AuthenticationException, InvalidRequestException, APIConnectionException, APIException
public static CarrierAccountCollection all(String apiKey) throws AuthenticationException, InvalidRequestException, APIConnectionException, APIException
public String getInstanceURL()
public String getObjectId()
public void setObjectId(String objectId)
public String getAccountId()
public void setAccountId(String accountId)
public String getCarrier()
public void setCarrier(String carrier)
public Boolean getTest()
public void setTest(Boolean test)
public Boolean getActive()
public void setActive(Boolean active)
public Object getParameters()
public void setParameters(Object parameters)
Copyright © 2017 Shippo. All rights reserved.