public class OffersApi extends Object
| Modifier and Type | Method | Description |
|---|---|---|
InlineResponse2019 |
createOffer(String contentType,
String xRequestid,
String vCMerchantId,
String vCCorrelationId,
String vCOrganizationId,
OfferRequest offerRequest) |
Create an Offer
Empower global transactions with transparency and choice.
|
okhttp3.Call |
createOfferAsync(String contentType,
String xRequestid,
String vCMerchantId,
String vCCorrelationId,
String vCOrganizationId,
OfferRequest offerRequest,
ApiCallback<InlineResponse2019> callback) |
Create an Offer (asynchronously)
Empower global transactions with transparency and choice.
|
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<InlineResponse2019> |
createOfferWithHttpInfo(String contentType,
String xRequestid,
String vCMerchantId,
String vCCorrelationId,
String vCOrganizationId,
OfferRequest offerRequest) |
Create an Offer
Empower global transactions with transparency and choice.
|
ApiClient |
getApiClient() |
|
InlineResponse20016 |
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<InlineResponse20016> 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<InlineResponse20016> |
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 InlineResponse2019 createOffer(String contentType, String xRequestid, String vCMerchantId, String vCCorrelationId, String vCOrganizationId, OfferRequest offerRequest) throws ApiException, com.cybersource.authsdk.core.ConfigException
DISCLAIMER : Cybersource may allow Customer to access, use, and/or test a Cybersource product or service that may still be in development or has not been market-tested ("Beta Product") solely for the purpose of evaluating the functionality or marketability of the Beta Product (a "Beta Evaluation"). Notwithstanding any language to the contrary, the following terms shall apply with respect to Customer's participation in any Beta Evaluation (and the Beta Product(s)) accessed thereunder): The Parties will enter into a separate form agreement detailing the scope of the Beta Evaluation, requirements, pricing, the length of the beta evaluation period ("Beta Product Form"). Beta Products are not, and may not become, Transaction Services and have not yet been publicly released and are offered for the sole purpose of internal testing and non-commercial evaluation. Customer's use of the Beta Product shall be solely for the purpose of conducting the Beta Evaluation. Customer accepts all risks arising out of the access and use of the Beta Products. Cybersource may, in its sole discretion, at any time, terminate or discontinue the Beta Evaluation. Customer acknowledges and agrees that any Beta Product may still be in development and that Beta Product is provided "AS IS" and may not perform at the level of a commercially available service, may not operate as expected and may be modified prior to release. CYBERSOURCE SHALL NOT BE RESPONSIBLE OR LIABLE UNDER ANY CONTRACT, TORT (INCLUDING NEGLIGENCE), OR OTHERWISE RELATING TO A BETA PRODUCT OR THE BETA EVALUATION (A) FOR LOSS OR INACCURACY OF DATA OR COST OF PROCUREMENT OF SUBSTITUTE GOODS, SERVICES OR TECHNOLOGY, (B) ANY CLAIM, LOSSES, DAMAGES, OR CAUSE OF ACTION ARISING IN CONNECTION WITH THE BETA PRODUCT; OR (C) FOR ANY INDIRECT, INCIDENTAL OR CONSEQUENTIAL DAMAGES INCLUDING, BUT NOT LIMITED TO, LOSS OF REVENUES AND LOSS OF PROFITS.
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<InlineResponse2019> 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<InlineResponse2019> 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 InlineResponse20016 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<InlineResponse20016> 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<InlineResponse20016> 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.