public class OffersApi extends Object
| Constructor and Description |
|---|
OffersApi() |
OffersApi(ApiClient apiClient) |
| Modifier and Type | Method and Description |
|---|---|
InlineResponse2018 |
createOffer(String contentType,
String xRequestid,
String vCMerchantId,
String vCCorrelationId,
String vCOrganizationId,
OfferRequest offerRequest)
Create an Offer
Creates an offer record on the provider system.
|
okhttp3.Call |
createOfferAsync(String contentType,
String xRequestid,
String vCMerchantId,
String vCCorrelationId,
String vCOrganizationId,
OfferRequest offerRequest,
ApiCallback<InlineResponse2018> callback)
Create an Offer (asynchronously)
Creates an offer record on the provider system.
|
okhttp3.Call |
createOfferCall(String contentType,
String xRequestid,
String vCMerchantId,
String vCCorrelationId,
String vCOrganizationId,
OfferRequest offerRequest,
ProgressResponseBody.ProgressListener progressListener,
ProgressRequestBody.ProgressRequestListener progressRequestListener)
Build call for createOffer
|
ApiResponse<InlineResponse2018> |
createOfferWithHttpInfo(String contentType,
String xRequestid,
String vCMerchantId,
String vCCorrelationId,
String vCOrganizationId,
OfferRequest offerRequest)
Create an Offer
Creates an offer record on the provider system.
|
ApiClient |
getApiClient() |
InlineResponse20015 |
getOffer(String contentType,
String xRequestid,
String vCMerchantId,
String vCCorrelationId,
String vCOrganizationId,
String id)
Retrieve an Offer
Retrieves an offer record from the system.
|
okhttp3.Call |
getOfferAsync(String contentType,
String xRequestid,
String vCMerchantId,
String vCCorrelationId,
String vCOrganizationId,
String id,
ApiCallback<InlineResponse20015> callback)
Retrieve an Offer (asynchronously)
Retrieves an offer record from the system.
|
okhttp3.Call |
getOfferCall(String contentType,
String xRequestid,
String vCMerchantId,
String vCCorrelationId,
String vCOrganizationId,
String id,
ProgressResponseBody.ProgressListener progressListener,
ProgressRequestBody.ProgressRequestListener progressRequestListener)
Build call for getOffer
|
ApiResponse<InlineResponse20015> |
getOfferWithHttpInfo(String contentType,
String xRequestid,
String vCMerchantId,
String vCCorrelationId,
String vCOrganizationId,
String id)
Retrieve an Offer
Retrieves an offer record from the system.
|
void |
setApiClient(ApiClient apiClient) |
public OffersApi()
public OffersApi(ApiClient apiClient)
public ApiClient getApiClient()
public void setApiClient(ApiClient apiClient)
public okhttp3.Call createOfferCall(String contentType, String xRequestid, String vCMerchantId, String vCCorrelationId, String vCOrganizationId, OfferRequest offerRequest, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException, com.cybersource.authsdk.core.ConfigException
contentType - (required)xRequestid - (required)vCMerchantId - (required)vCCorrelationId - (required)vCOrganizationId - (required)offerRequest - (required)progressListener - Progress listenerprogressRequestListener - Progress request listenerApiException - If fail to serialize the request body objectcom.cybersource.authsdk.core.ConfigException - If creation of merchant configuration fails in ApiClientpublic InlineResponse2018 createOffer(String contentType, String xRequestid, String vCMerchantId, String vCCorrelationId, String vCOrganizationId, OfferRequest offerRequest) throws ApiException, com.cybersource.authsdk.core.ConfigException
contentType - (required)xRequestid - (required)vCMerchantId - (required)vCCorrelationId - (required)vCOrganizationId - (required)offerRequest - (required)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodycom.cybersource.authsdk.core.ConfigException - If creation of merchant configuration fails in ApiClientpublic ApiResponse<InlineResponse2018> createOfferWithHttpInfo(String contentType, String xRequestid, String vCMerchantId, String vCCorrelationId, String vCOrganizationId, OfferRequest offerRequest) throws ApiException, com.cybersource.authsdk.core.ConfigException
contentType - (required)xRequestid - (required)vCMerchantId - (required)vCCorrelationId - (required)vCOrganizationId - (required)offerRequest - (required)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodycom.cybersource.authsdk.core.ConfigException - If creation of merchant configuration fails in ApiClientpublic okhttp3.Call createOfferAsync(String contentType, String xRequestid, String vCMerchantId, String vCCorrelationId, String vCOrganizationId, OfferRequest offerRequest, ApiCallback<InlineResponse2018> callback) throws ApiException, com.cybersource.authsdk.core.ConfigException
contentType - (required)xRequestid - (required)vCMerchantId - (required)vCCorrelationId - (required)vCOrganizationId - (required)offerRequest - (required)callback - The callback to be executed when the API call finishesApiException - If fail to process the API call, e.g. serializing the request body objectcom.cybersource.authsdk.core.ConfigException - If creation of merchant configuration fails in ApiClientpublic okhttp3.Call getOfferCall(String contentType, String xRequestid, String vCMerchantId, String vCCorrelationId, String vCOrganizationId, String id, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException, com.cybersource.authsdk.core.ConfigException
contentType - (required)xRequestid - (required)vCMerchantId - (required)vCCorrelationId - (required)vCOrganizationId - (required)id - Request ID generated by Cybersource. This was sent in the header on the request. Echo value from v-c-request-id (required)progressListener - Progress listenerprogressRequestListener - Progress request listenerApiException - If fail to serialize the request body objectcom.cybersource.authsdk.core.ConfigException - If creation of merchant configuration fails in ApiClientpublic InlineResponse20015 getOffer(String contentType, String xRequestid, String vCMerchantId, String vCCorrelationId, String vCOrganizationId, String id) throws ApiException, com.cybersource.authsdk.core.ConfigException
contentType - (required)xRequestid - (required)vCMerchantId - (required)vCCorrelationId - (required)vCOrganizationId - (required)id - Request ID generated by Cybersource. This was sent in the header on the request. Echo value from v-c-request-id (required)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodycom.cybersource.authsdk.core.ConfigException - If creation of merchant configuration fails in ApiClientpublic ApiResponse<InlineResponse20015> getOfferWithHttpInfo(String contentType, String xRequestid, String vCMerchantId, String vCCorrelationId, String vCOrganizationId, String id) throws ApiException, com.cybersource.authsdk.core.ConfigException
contentType - (required)xRequestid - (required)vCMerchantId - (required)vCCorrelationId - (required)vCOrganizationId - (required)id - Request ID generated by Cybersource. This was sent in the header on the request. Echo value from v-c-request-id (required)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodycom.cybersource.authsdk.core.ConfigException - If creation of merchant configuration fails in ApiClientpublic okhttp3.Call getOfferAsync(String contentType, String xRequestid, String vCMerchantId, String vCCorrelationId, String vCOrganizationId, String id, ApiCallback<InlineResponse20015> callback) throws ApiException, com.cybersource.authsdk.core.ConfigException
contentType - (required)xRequestid - (required)vCMerchantId - (required)vCCorrelationId - (required)vCOrganizationId - (required)id - Request ID generated by Cybersource. This was sent in the header on the request. Echo value from v-c-request-id (required)callback - The callback to be executed when the API call finishesApiException - If fail to process the API call, e.g. serializing the request body objectcom.cybersource.authsdk.core.ConfigException - If creation of merchant configuration fails in ApiClientCopyright © 2026. All rights reserved.