public interface JetConfig
Modifier and Type | Method and Description |
---|---|
void |
clearAuthenticationData()
Reset any of the stored authentication tokens
|
String |
getAcceptHeaderValue()
Retrieve the request accept header value
|
String |
getAcceptLanguageHeaderValue()
Retrieve the request accept language header value
|
String |
getAddProductImageUrl(String sku)
Retrieve the URL for adding a product image url
|
String |
getAddProductInventoryUrl(String sku)
Retrieve the URL for adding a product inventory
|
String |
getAddProductPriceUrl(String sku)
Retrieve the URL for adding a product price
|
String |
getAddProductShipExceptionUrl(String sku)
Retrieve the URL for adding a product ship exception
|
String |
getAddProductURL(String sku)
Retrieve the URL for adding a product.
|
String |
getAddProductVariationUrl(String sku)
Retrieve the url for adding a product variation group
|
boolean |
getAllowUntrustedSSL()
Retrieve if self signed certificates are allowed
|
String |
getArchiveSkuURL(String sku)
Retrieve the url for archiving a sku
|
String |
getAuthenticationURL()
Retrieve the URL used for authenticating a username/password
|
String |
getAuthorizationHeaderValue()
Retrieve the authorization header value to send with each request.
|
String |
getAuthTestURL()
Retrieve the URL used for testing an authentication token
|
String |
getGetBulkJetFileIdUrl(String fileId) |
String |
getGetBulkUploadTokenUrl() |
String |
getGetOrderDetailUrl(String jetDefinedOrderId)
This endpoint will provide you with requisite fulfillment information for
the order denoted by the Jet Defined Order ID.
|
String |
getGetOrderDirectCancelUrl()
This provides a list of order url's that can be used to retrieve order
details I think.
|
String |
getGetOrdersUrl(String status)
URL for the endpoint for accessing the first 1000 orders in a certain status.
|
String |
getGetProductInventoryURL(String sku)
Retrieve the url for retrieving product inventory
|
String |
getGetProductPriceURL(String sku)
Retrieve the URL for retrieving a product price
|
String |
getGetProductURL(String sku)
Retrieve the URL for retrieving a product.
|
String |
getGetProductVariationURL(String sku)
Retrieve the url for retrieving product variations
|
String |
getGetRefundByStatusUrl(String status)
Poll for active refunds
|
String |
getGetRefundDetailUrl(String refundAuthId)
Get url to get refund details
|
String |
getGetReturnDetailUrl(String jetDefinedReturnId)
To check for a specific return you will the utilize the Get Returns Info
method.
|
String |
getGetReturnsExceptionURL(String sku)
Retrieve the url for retrieving product returns exceptions
|
String |
getGetReturnsUrl(String status)
To check for returns you will the utilize the Get Returns method.
|
String |
getGetSettlementDaysUrl(int days)
URL for retrieving a list of settlement id's by number of days from today.
|
String |
getGetSettlementReportUrl(String id)
URL for retrieving a settlement report
|
String |
getGetShippingExceptionURL(String sku)
Retrieve the url for retrieving product shipping exceptions
|
String |
getGetTaxonomyAttrUrl(String jetNodeId)
Get the url for querying for an attribute node detail
|
String |
getGetTaxonomyDetailUrl(String nodeId)
Get the url for querying node detail
|
String |
getGetTaxonomyNodesUrl(String version,
int offset,
int limit)
Retrieve the url to retrieve a list of node uri's to query.
|
String |
getHost()
Retrieve the Jet API host name
|
long |
getMaxDownloadSize()
Retrieve the max download size
|
String |
getMerchantId()
Retrieve the Jet API merchant id
|
String |
getPassword()
Retrieve the Jet.com API password
|
String |
getPostBulkUploadedFilesUrl() |
String |
getPostRefundUrl(String orderId,
String altRefundId)
Create a new refund
|
String |
getProductReturnsExceptionUrl(String sku)
Retrieve the URL for adding a returns exception to a product sku.
|
String |
getPutCompleteReturnUrl(String jetDefinedReturnId)
Get put complete return url
|
String |
getPutOrderAcknowledgeUrl(String jetDefinedOrderId)
The order acknowledge call is utilized to allow a retailer to accept or
reject an order.
|
String |
getPutOrderShipNotificationUrl(String jetDefinedOrderId)
The order shipped call is utilized to provide Jet with the SKUs that have
been shipped or cancelled in an order, the tracking information, carrier
information and any additional returns information for the order.
|
long |
getReadTimeout()
Retrieve the read timeout in milliseconds
|
String |
getSalesDataBySkuURL(String sku)
Retrieve the url for retrieving product sales data
|
String |
getSkuListURL(int start,
int limit)
Retrieve the url for retrieving product inventory
|
String |
getToken()
Retrieve the authentication token previously retrieved via the Jet.com API
if any.
|
Date |
getTokenExpires()
Return the date/time when the auth token expires
|
String |
getTokenType()
Retrieve the token type
|
String |
getUsername()
Retrieve the configured Jet.com API username
|
boolean |
isAuthenticated()
Detect if the authentication token has been specified within this object.
|
boolean |
isLockHost()
get lock host flag
|
void |
setAuthenticationData(String token,
String tokenType,
String expires)
Set the authentication data retrieved from Jet
|
void |
setToken(String token)
Set the authentication token after a successful login.
|
void |
testConfigurationData()
Throws a JetAuthException with a unique message based on different
configuration states.
|
long getMaxDownloadSize()
boolean isLockHost()
long getReadTimeout()
String getAcceptHeaderValue()
String getAcceptLanguageHeaderValue()
boolean getAllowUntrustedSSL()
String getMerchantId()
String getHost()
String getUsername()
String getPassword()
String getArchiveSkuURL(String sku)
sku
- sku to archiveString getAddProductURL(String sku)
sku
- Unique product SKUString getAddProductImageUrl(String sku)
sku
- Unique product SKUString getAddProductPriceUrl(String sku)
sku
- Unique product SKUString getAddProductInventoryUrl(String sku)
sku
- Unique product SKUString getAddProductShipExceptionUrl(String sku)
sku
- Unique product SKUString getProductReturnsExceptionUrl(String sku)
sku
- Sku to modifyString getAddProductVariationUrl(String sku)
sku
- Parent sku for the groupString getGetProductURL(String sku)
sku
- Unique product SKUString getGetProductPriceURL(String sku)
sku
- Unique product SKUString getGetProductInventoryURL(String sku)
sku
- product skuString getGetProductVariationURL(String sku)
sku
- product skuString getGetShippingExceptionURL(String sku)
sku
- product skuString getGetReturnsExceptionURL(String sku)
sku
- product skuString getSkuListURL(int start, int limit)
start
- The start product numberlimit
- the number of products per page (i think)String getSalesDataBySkuURL(String sku)
sku
- product skuString getGetBulkJetFileIdUrl(String fileId)
fileId
- The jet file idString getGetBulkUploadTokenUrl()
String getPostBulkUploadedFilesUrl()
String getAuthenticationURL()
String getAuthTestURL()
void setToken(String token)
token
- TokenString getToken()
String getTokenType()
Date getTokenExpires()
void setAuthenticationData(String token, String tokenType, String expires) throws IllegalArgumentException
token
- Auth token (id_token)tokenType
- Token type (token_type)expires
- Token expiration (expires_on)IllegalArgumentException
- If anything is empty or
expires cannot be convertedvoid clearAuthenticationData()
String getAuthorizationHeaderValue()
boolean isAuthenticated()
JetConfigImpl#setToken(java.lang.String)
void testConfigurationData() throws JetAuthException
JetAuthException
- based on above descriptionString getGetOrdersUrl(String status)
status
- The order statusString getGetOrderDirectCancelUrl()
String getGetOrderDetailUrl(String jetDefinedOrderId)
jetDefinedOrderId
- The jet order id defined by jet.comString getPutOrderAcknowledgeUrl(String jetDefinedOrderId)
jetDefinedOrderId
- The jet order idString getPutOrderShipNotificationUrl(String jetDefinedOrderId)
jetDefinedOrderId
- order id from jetString getGetReturnsUrl(String status)
status
- statusString getGetReturnDetailUrl(String jetDefinedReturnId)
jetDefinedReturnId
- return idString getPutCompleteReturnUrl(String jetDefinedReturnId)
jetDefinedReturnId
- return idString getGetRefundDetailUrl(String refundAuthId)
refundAuthId
- refund authorization idString getGetRefundByStatusUrl(String status)
status
- Refund status to pollString getPostRefundUrl(String orderId, String altRefundId)
orderId
- The order id the refund is foraltRefundId
- Alt order id for the refund if it was specified in
the past.String getGetTaxonomyNodesUrl(String version, int offset, int limit)
version
- the jet taxonomy version to queryoffset
- startlimit
- limitString getGetTaxonomyDetailUrl(String nodeId)
nodeId
- node idString getGetTaxonomyAttrUrl(String jetNodeId)
jetNodeId
- node idString getGetSettlementDaysUrl(int days)
days
- The number of days from today that you'd like to retrieve
settlement reportsCopyright © 2017. All rights reserved.