Package com.docusign.click.api
Class AccountsApi
- java.lang.Object
-
- com.docusign.click.api.AccountsApi
-
public class AccountsApi extends Object
AccountsApi class.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description classAccountsApi.DeleteClickwrapOptionsDeleteClickwrapOptions Class.classAccountsApi.DeleteClickwrapsOptionsDeleteClickwrapsOptions Class.classAccountsApi.DeleteClickwrapVersionsOptionsDeleteClickwrapVersionsOptions Class.classAccountsApi.GetAgreementPdfOptionsGetAgreementPdfOptions Class.classAccountsApi.GetClickwrapAgreementsOptionsGetClickwrapAgreementsOptions Class.classAccountsApi.GetClickwrapsOptionsGetClickwrapsOptions Class.classAccountsApi.GetClickwrapVersionAgreementsOptionsGetClickwrapVersionAgreementsOptions Class.
-
Constructor Summary
Constructors Constructor Description AccountsApi()AccountsApi.AccountsApi(ApiClient apiClient)AccountsApi.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ClickwrapVersionSummaryResponsecreateClickwrap(String accountId, ClickwrapRequest clickwrapRequest)Creates a Clickwrap for the specified accountId.ClickwrapVersionSummaryResponsecreateClickwrapVersion(String accountId, String clickwrapId, ClickwrapRequest clickwrapRequest)Creates the clickwrap version.ApiResponse<ClickwrapVersionSummaryResponse>createClickwrapVersionWithHttpInfo(String accountId, String clickwrapId, ClickwrapRequest clickwrapRequest)Creates the clickwrap versionApiResponse<ClickwrapVersionSummaryResponse>createClickwrapWithHttpInfo(String accountId, ClickwrapRequest clickwrapRequest)Creates a Clickwrap for the specified accountIdUserAgreementResponsecreateHasAgreed(String accountId, String clickwrapId, UserAgreementRequest userAgreementRequest)Checks if a user has agreed to a clickwrap and returns a response with the agreement url.ApiResponse<UserAgreementResponse>createHasAgreedWithHttpInfo(String accountId, String clickwrapId, UserAgreementRequest userAgreementRequest)Checks if a user has agreed to a clickwrap and returns a response with the agreement url.ClickwrapVersionsDeleteResponsedeleteClickwrap(String accountId, String clickwrapId)Deletes the clickwrap and all its version specified by clickwrapId.ClickwrapVersionsDeleteResponsedeleteClickwrap(String accountId, String clickwrapId, AccountsApi.DeleteClickwrapOptions options)Deletes the clickwrap and all its version specified by clickwrapId.ClickwrapsDeleteResponsedeleteClickwraps(String accountId)Deletes all the clickwraps for an account or the ones passed in query parameter clickwrapIds.ClickwrapsDeleteResponsedeleteClickwraps(String accountId, AccountsApi.DeleteClickwrapsOptions options)Deletes all the clickwraps for an account or the ones passed in query parameter clickwrapIds.ApiResponse<ClickwrapsDeleteResponse>deleteClickwrapsWithHttpInfo(String accountId, AccountsApi.DeleteClickwrapsOptions options)Deletes all the clickwraps for an account or the ones passed in query parameter clickwrapIds.ClickwrapVersionDeleteResponsedeleteClickwrapVersion(String accountId, String clickwrapId, String versionId)Delete a Clickwrap version specified by versionId.ClickwrapVersionsDeleteResponsedeleteClickwrapVersions(String accountId, String clickwrapId)Deletes the versions specified by query parameter clickwrapVersionIds for a clickwrap, or all versions if no query parameter is specified.ClickwrapVersionsDeleteResponsedeleteClickwrapVersions(String accountId, String clickwrapId, AccountsApi.DeleteClickwrapVersionsOptions options)Deletes the versions specified by query parameter clickwrapVersionIds for a clickwrap, or all versions if no query parameter is specified.ApiResponse<ClickwrapVersionsDeleteResponse>deleteClickwrapVersionsWithHttpInfo(String accountId, String clickwrapId, AccountsApi.DeleteClickwrapVersionsOptions options)Deletes the versions specified by query parameter clickwrapVersionIds for a clickwrap, or all versions if no query parameter is specified.ApiResponse<ClickwrapVersionDeleteResponse>deleteClickwrapVersionWithHttpInfo(String accountId, String clickwrapId, String versionId)Delete a Clickwrap version specified by versionIdApiResponse<ClickwrapVersionsDeleteResponse>deleteClickwrapWithHttpInfo(String accountId, String clickwrapId, AccountsApi.DeleteClickwrapOptions options)Deletes the clickwrap and all its version specified by clickwrapId.UserAgreementResponsegetAgreement(String accountId, String clickwrapId, String agreementId)Gets the agreement by a provided agreement ID.DocumentgetAgreementDocument(String accountId, String clickwrapId, String versionId, String orderOrDisclosure)Downloads a document at an order within the agreement..ApiResponse<Document>getAgreementDocumentWithHttpInfo(String accountId, String clickwrapId, String versionId, String orderOrDisclosure)Downloads a document at an order within the agreement.byte[]getAgreementPdf(String accountId, String clickwrapId, String agreementId)Downloads the agreement PDF and optionally certificate of completion..byte[]getAgreementPdf(String accountId, String clickwrapId, String agreementId, AccountsApi.GetAgreementPdfOptions options)Downloads the agreement PDF and optionally certificate of completion..ApiResponse<byte[]>getAgreementPdfWithHttpInfo(String accountId, String clickwrapId, String agreementId, AccountsApi.GetAgreementPdfOptions options)Downloads the agreement PDF and optionally certificate of completion.ApiResponse<UserAgreementResponse>getAgreementWithHttpInfo(String accountId, String clickwrapId, String agreementId)Gets the agreement by a provided agreement IDApiClientgetApiClient()getApiClient Method.ClickwrapVersionResponsegetClickwrap(String accountId, String clickwrapId)Gets the clickwrap for an account specified by clickwrapId.ClickwrapAgreementsResponsegetClickwrapAgreements(String accountId, String clickwrapId)Gets the agreement responses for a clickwrap.ClickwrapAgreementsResponsegetClickwrapAgreements(String accountId, String clickwrapId, AccountsApi.GetClickwrapAgreementsOptions options)Gets the agreement responses for a clickwrap.ApiResponse<ClickwrapAgreementsResponse>getClickwrapAgreementsWithHttpInfo(String accountId, String clickwrapId, AccountsApi.GetClickwrapAgreementsOptions options)Gets the agreement responses for a clickwrapClickwrapVersionsResponsegetClickwraps(String accountId)Gets the Clickwraps for an account.ClickwrapVersionsResponsegetClickwraps(String accountId, AccountsApi.GetClickwrapsOptions options)Gets the Clickwraps for an account.ApiResponse<ClickwrapVersionsResponse>getClickwrapsWithHttpInfo(String accountId, AccountsApi.GetClickwrapsOptions options)Gets the Clickwraps for an accountClickwrapVersionResponsegetClickwrapVersion(String accountId, String clickwrapId, String versionId)Gets the Clickwrap version by clickwrapId and versionId for an account.ClickwrapAgreementsResponsegetClickwrapVersionAgreements(String accountId, String clickwrapId, String versionId)Gets the agreement responses for a clickwrap version.ClickwrapAgreementsResponsegetClickwrapVersionAgreements(String accountId, String clickwrapId, String versionId, AccountsApi.GetClickwrapVersionAgreementsOptions options)Gets the agreement responses for a clickwrap version.ApiResponse<ClickwrapAgreementsResponse>getClickwrapVersionAgreementsWithHttpInfo(String accountId, String clickwrapId, String versionId, AccountsApi.GetClickwrapVersionAgreementsOptions options)Gets the agreement responses for a clickwrap versionClickwrapVersionsPagedResponsegetClickwrapVersions(String accountId, String clickwrapId)Gets all the versions of a clickwrap for an account.ApiResponse<ClickwrapVersionsPagedResponse>getClickwrapVersionsWithHttpInfo(String accountId, String clickwrapId)Gets all the versions of a clickwrap for an accountApiResponse<ClickwrapVersionResponse>getClickwrapVersionWithHttpInfo(String accountId, String clickwrapId, String versionId)Gets the Clickwrap version by clickwrapId and versionId for an accountApiResponse<ClickwrapVersionResponse>getClickwrapWithHttpInfo(String accountId, String clickwrapId)Gets the clickwrap for an account specified by clickwrapIdServiceInformationgetServiceInformation()Provides base service and version access information..ApiResponse<ServiceInformation>getServiceInformationWithHttpInfo()Provides base service and version access information.voidsetApiClient(ApiClient apiClient)setApiClient Method.ClickwrapVersionSummaryResponseupdateClickwrap(String accountId, String clickwrapId, ClickwrapTransferRequest clickwrapTransferRequest)Updates the clickwrap specified by clickwrapId.ClickwrapVersionSummaryResponseupdateClickwrapVersion(String accountId, String clickwrapId, String versionId, ClickwrapRequest clickwrapRequest)Updates the clickwrap version specified by versionId.ApiResponse<ClickwrapVersionSummaryResponse>updateClickwrapVersionWithHttpInfo(String accountId, String clickwrapId, String versionId, ClickwrapRequest clickwrapRequest)Updates the clickwrap version specified by versionIdApiResponse<ClickwrapVersionSummaryResponse>updateClickwrapWithHttpInfo(String accountId, String clickwrapId, ClickwrapTransferRequest clickwrapTransferRequest)Updates the clickwrap specified by clickwrapId
-
-
-
Constructor Detail
-
AccountsApi
public AccountsApi()
AccountsApi.
-
AccountsApi
public AccountsApi(ApiClient apiClient)
AccountsApi.
-
-
Method Detail
-
getApiClient
public ApiClient getApiClient()
getApiClient Method.- Returns:
- ApiClient
-
setApiClient
public void setApiClient(ApiClient apiClient)
setApiClient Method.
-
createClickwrap
public ClickwrapVersionSummaryResponse createClickwrap(String accountId, ClickwrapRequest clickwrapRequest) throws ApiException
Creates a Clickwrap for the specified accountId.- Parameters:
accountId- (required)clickwrapRequest- (optional)- Returns:
- ClickwrapVersionSummaryResponse
- Throws:
ApiException- if fails to make API call
-
createClickwrapWithHttpInfo
public ApiResponse<ClickwrapVersionSummaryResponse> createClickwrapWithHttpInfo(String accountId, ClickwrapRequest clickwrapRequest) throws ApiException
Creates a Clickwrap for the specified accountId- Parameters:
accountId- (required)clickwrapRequest- (optional)- Returns:
- ClickwrapVersionSummaryResponse
- Throws:
ApiException- if fails to make API call
-
createClickwrapVersion
public ClickwrapVersionSummaryResponse createClickwrapVersion(String accountId, String clickwrapId, ClickwrapRequest clickwrapRequest) throws ApiException
Creates the clickwrap version.- Parameters:
accountId- (required)clickwrapId- (required)clickwrapRequest- (optional)- Returns:
- ClickwrapVersionSummaryResponse
- Throws:
ApiException- if fails to make API call
-
createClickwrapVersionWithHttpInfo
public ApiResponse<ClickwrapVersionSummaryResponse> createClickwrapVersionWithHttpInfo(String accountId, String clickwrapId, ClickwrapRequest clickwrapRequest) throws ApiException
Creates the clickwrap version- Parameters:
accountId- (required)clickwrapId- (required)clickwrapRequest- (optional)- Returns:
- ClickwrapVersionSummaryResponse
- Throws:
ApiException- if fails to make API call
-
createHasAgreed
public UserAgreementResponse createHasAgreed(String accountId, String clickwrapId, UserAgreementRequest userAgreementRequest) throws ApiException
Checks if a user has agreed to a clickwrap and returns a response with the agreement url. Returns HttpStatusCode.OK if user has no pending agreement..- Parameters:
accountId- (required)clickwrapId- (required)userAgreementRequest- (optional)- Returns:
- UserAgreementResponse
- Throws:
ApiException- if fails to make API call
-
createHasAgreedWithHttpInfo
public ApiResponse<UserAgreementResponse> createHasAgreedWithHttpInfo(String accountId, String clickwrapId, UserAgreementRequest userAgreementRequest) throws ApiException
Checks if a user has agreed to a clickwrap and returns a response with the agreement url. Returns HttpStatusCode.OK if user has no pending agreement.- Parameters:
accountId- (required)clickwrapId- (required)userAgreementRequest- (optional)- Returns:
- UserAgreementResponse
- Throws:
ApiException- if fails to make API call
-
deleteClickwrap
public ClickwrapVersionsDeleteResponse deleteClickwrap(String accountId, String clickwrapId) throws ApiException
Deletes the clickwrap and all its version specified by clickwrapId. Active clickwrap will not get deleted.- Parameters:
accountId- (required)clickwrapId- (required)- Returns:
- ClickwrapVersionsDeleteResponse
- Throws:
ApiException
-
deleteClickwrap
public ClickwrapVersionsDeleteResponse deleteClickwrap(String accountId, String clickwrapId, AccountsApi.DeleteClickwrapOptions options) throws ApiException
Deletes the clickwrap and all its version specified by clickwrapId. Active clickwrap will not get deleted.- Parameters:
accountId- (required)clickwrapId- (required)options- for modifying the method behavior.- Returns:
- ClickwrapVersionsDeleteResponse
- Throws:
ApiException- if fails to make API call
-
deleteClickwrapWithHttpInfo
public ApiResponse<ClickwrapVersionsDeleteResponse> deleteClickwrapWithHttpInfo(String accountId, String clickwrapId, AccountsApi.DeleteClickwrapOptions options) throws ApiException
Deletes the clickwrap and all its version specified by clickwrapId. Active clickwrap will not get deleted- Parameters:
accountId- (required)clickwrapId- (required)options- for modifying the method behavior.- Returns:
- ClickwrapVersionsDeleteResponse
- Throws:
ApiException- if fails to make API call
-
deleteClickwrapVersion
public ClickwrapVersionDeleteResponse deleteClickwrapVersion(String accountId, String clickwrapId, String versionId) throws ApiException
Delete a Clickwrap version specified by versionId.- Parameters:
accountId- (required)clickwrapId- (required)versionId- (required)- Returns:
- ClickwrapVersionDeleteResponse
- Throws:
ApiException- if fails to make API call
-
deleteClickwrapVersionWithHttpInfo
public ApiResponse<ClickwrapVersionDeleteResponse> deleteClickwrapVersionWithHttpInfo(String accountId, String clickwrapId, String versionId) throws ApiException
Delete a Clickwrap version specified by versionId- Parameters:
accountId- (required)clickwrapId- (required)versionId- (required)- Returns:
- ClickwrapVersionDeleteResponse
- Throws:
ApiException- if fails to make API call
-
deleteClickwrapVersions
public ClickwrapVersionsDeleteResponse deleteClickwrapVersions(String accountId, String clickwrapId) throws ApiException
Deletes the versions specified by query parameter clickwrapVersionIds for a clickwrap, or all versions if no query parameter is specified. It will not delete if a version is active..- Parameters:
accountId- (required)clickwrapId- (required)- Returns:
- ClickwrapVersionsDeleteResponse
- Throws:
ApiException
-
deleteClickwrapVersions
public ClickwrapVersionsDeleteResponse deleteClickwrapVersions(String accountId, String clickwrapId, AccountsApi.DeleteClickwrapVersionsOptions options) throws ApiException
Deletes the versions specified by query parameter clickwrapVersionIds for a clickwrap, or all versions if no query parameter is specified. It will not delete if a version is active..- Parameters:
accountId- (required)clickwrapId- (required)options- for modifying the method behavior.- Returns:
- ClickwrapVersionsDeleteResponse
- Throws:
ApiException- if fails to make API call
-
deleteClickwrapVersionsWithHttpInfo
public ApiResponse<ClickwrapVersionsDeleteResponse> deleteClickwrapVersionsWithHttpInfo(String accountId, String clickwrapId, AccountsApi.DeleteClickwrapVersionsOptions options) throws ApiException
Deletes the versions specified by query parameter clickwrapVersionIds for a clickwrap, or all versions if no query parameter is specified. It will not delete if a version is active.- Parameters:
accountId- (required)clickwrapId- (required)options- for modifying the method behavior.- Returns:
- ClickwrapVersionsDeleteResponse
- Throws:
ApiException- if fails to make API call
-
deleteClickwraps
public ClickwrapsDeleteResponse deleteClickwraps(String accountId) throws ApiException
Deletes all the clickwraps for an account or the ones passed in query parameter clickwrapIds. It will not delete active clickwraps..- Parameters:
accountId- (required)- Returns:
- ClickwrapsDeleteResponse
- Throws:
ApiException
-
deleteClickwraps
public ClickwrapsDeleteResponse deleteClickwraps(String accountId, AccountsApi.DeleteClickwrapsOptions options) throws ApiException
Deletes all the clickwraps for an account or the ones passed in query parameter clickwrapIds. It will not delete active clickwraps..- Parameters:
accountId- (required)options- for modifying the method behavior.- Returns:
- ClickwrapsDeleteResponse
- Throws:
ApiException- if fails to make API call
-
deleteClickwrapsWithHttpInfo
public ApiResponse<ClickwrapsDeleteResponse> deleteClickwrapsWithHttpInfo(String accountId, AccountsApi.DeleteClickwrapsOptions options) throws ApiException
Deletes all the clickwraps for an account or the ones passed in query parameter clickwrapIds. It will not delete active clickwraps.- Parameters:
accountId- (required)options- for modifying the method behavior.- Returns:
- ClickwrapsDeleteResponse
- Throws:
ApiException- if fails to make API call
-
getAgreement
public UserAgreementResponse getAgreement(String accountId, String clickwrapId, String agreementId) throws ApiException
Gets the agreement by a provided agreement ID.- Parameters:
accountId- (required)clickwrapId- (required)agreementId- (required)- Returns:
- UserAgreementResponse
- Throws:
ApiException- if fails to make API call
-
getAgreementWithHttpInfo
public ApiResponse<UserAgreementResponse> getAgreementWithHttpInfo(String accountId, String clickwrapId, String agreementId) throws ApiException
Gets the agreement by a provided agreement ID- Parameters:
accountId- (required)clickwrapId- (required)agreementId- (required)- Returns:
- UserAgreementResponse
- Throws:
ApiException- if fails to make API call
-
getAgreementDocument
public Document getAgreementDocument(String accountId, String clickwrapId, String versionId, String orderOrDisclosure) throws ApiException
Downloads a document at an order within the agreement..- Parameters:
accountId- (required)clickwrapId- (required)versionId- (required)orderOrDisclosure- (required)- Returns:
- Document
- Throws:
ApiException- if fails to make API call
-
getAgreementDocumentWithHttpInfo
public ApiResponse<Document> getAgreementDocumentWithHttpInfo(String accountId, String clickwrapId, String versionId, String orderOrDisclosure) throws ApiException
Downloads a document at an order within the agreement.- Parameters:
accountId- (required)clickwrapId- (required)versionId- (required)orderOrDisclosure- (required)- Returns:
- Document
- Throws:
ApiException- if fails to make API call
-
getAgreementPdf
public byte[] getAgreementPdf(String accountId, String clickwrapId, String agreementId) throws ApiException
Downloads the agreement PDF and optionally certificate of completion..- Parameters:
accountId- (required)clickwrapId- (required)agreementId- (required)- Returns:
- byte[]
- Throws:
ApiException
-
getAgreementPdf
public byte[] getAgreementPdf(String accountId, String clickwrapId, String agreementId, AccountsApi.GetAgreementPdfOptions options) throws ApiException
Downloads the agreement PDF and optionally certificate of completion..- Parameters:
accountId- (required)clickwrapId- (required)agreementId- (required)options- for modifying the method behavior.- Returns:
- byte[]
- Throws:
ApiException- if fails to make API call
-
getAgreementPdfWithHttpInfo
public ApiResponse<byte[]> getAgreementPdfWithHttpInfo(String accountId, String clickwrapId, String agreementId, AccountsApi.GetAgreementPdfOptions options) throws ApiException
Downloads the agreement PDF and optionally certificate of completion.- Parameters:
accountId- (required)clickwrapId- (required)agreementId- (required)options- for modifying the method behavior.- Returns:
- byte[]
- Throws:
ApiException- if fails to make API call
-
getClickwrap
public ClickwrapVersionResponse getClickwrap(String accountId, String clickwrapId) throws ApiException
Gets the clickwrap for an account specified by clickwrapId.- Parameters:
accountId- (required)clickwrapId- (required)- Returns:
- ClickwrapVersionResponse
- Throws:
ApiException- if fails to make API call
-
getClickwrapWithHttpInfo
public ApiResponse<ClickwrapVersionResponse> getClickwrapWithHttpInfo(String accountId, String clickwrapId) throws ApiException
Gets the clickwrap for an account specified by clickwrapId- Parameters:
accountId- (required)clickwrapId- (required)- Returns:
- ClickwrapVersionResponse
- Throws:
ApiException- if fails to make API call
-
getClickwrapAgreements
public ClickwrapAgreementsResponse getClickwrapAgreements(String accountId, String clickwrapId) throws ApiException
Gets the agreement responses for a clickwrap.- Parameters:
accountId- (required)clickwrapId- (required)- Returns:
- ClickwrapAgreementsResponse
- Throws:
ApiException
-
getClickwrapAgreements
public ClickwrapAgreementsResponse getClickwrapAgreements(String accountId, String clickwrapId, AccountsApi.GetClickwrapAgreementsOptions options) throws ApiException
Gets the agreement responses for a clickwrap.- Parameters:
accountId- (required)clickwrapId- (required)options- for modifying the method behavior.- Returns:
- ClickwrapAgreementsResponse
- Throws:
ApiException- if fails to make API call
-
getClickwrapAgreementsWithHttpInfo
public ApiResponse<ClickwrapAgreementsResponse> getClickwrapAgreementsWithHttpInfo(String accountId, String clickwrapId, AccountsApi.GetClickwrapAgreementsOptions options) throws ApiException
Gets the agreement responses for a clickwrap- Parameters:
accountId- (required)clickwrapId- (required)options- for modifying the method behavior.- Returns:
- ClickwrapAgreementsResponse
- Throws:
ApiException- if fails to make API call
-
getClickwrapVersion
public ClickwrapVersionResponse getClickwrapVersion(String accountId, String clickwrapId, String versionId) throws ApiException
Gets the Clickwrap version by clickwrapId and versionId for an account.- Parameters:
accountId- (required)clickwrapId- (required)versionId- (required)- Returns:
- ClickwrapVersionResponse
- Throws:
ApiException- if fails to make API call
-
getClickwrapVersionWithHttpInfo
public ApiResponse<ClickwrapVersionResponse> getClickwrapVersionWithHttpInfo(String accountId, String clickwrapId, String versionId) throws ApiException
Gets the Clickwrap version by clickwrapId and versionId for an account- Parameters:
accountId- (required)clickwrapId- (required)versionId- (required)- Returns:
- ClickwrapVersionResponse
- Throws:
ApiException- if fails to make API call
-
getClickwrapVersionAgreements
public ClickwrapAgreementsResponse getClickwrapVersionAgreements(String accountId, String clickwrapId, String versionId) throws ApiException
Gets the agreement responses for a clickwrap version.- Parameters:
accountId- (required)clickwrapId- (required)versionId- (required)- Returns:
- ClickwrapAgreementsResponse
- Throws:
ApiException
-
getClickwrapVersionAgreements
public ClickwrapAgreementsResponse getClickwrapVersionAgreements(String accountId, String clickwrapId, String versionId, AccountsApi.GetClickwrapVersionAgreementsOptions options) throws ApiException
Gets the agreement responses for a clickwrap version.- Parameters:
accountId- (required)clickwrapId- (required)versionId- (required)options- for modifying the method behavior.- Returns:
- ClickwrapAgreementsResponse
- Throws:
ApiException- if fails to make API call
-
getClickwrapVersionAgreementsWithHttpInfo
public ApiResponse<ClickwrapAgreementsResponse> getClickwrapVersionAgreementsWithHttpInfo(String accountId, String clickwrapId, String versionId, AccountsApi.GetClickwrapVersionAgreementsOptions options) throws ApiException
Gets the agreement responses for a clickwrap version- Parameters:
accountId- (required)clickwrapId- (required)versionId- (required)options- for modifying the method behavior.- Returns:
- ClickwrapAgreementsResponse
- Throws:
ApiException- if fails to make API call
-
getClickwrapVersions
public ClickwrapVersionsPagedResponse getClickwrapVersions(String accountId, String clickwrapId) throws ApiException
Gets all the versions of a clickwrap for an account.- Parameters:
accountId- (required)clickwrapId- (required)- Returns:
- ClickwrapVersionsPagedResponse
- Throws:
ApiException- if fails to make API call
-
getClickwrapVersionsWithHttpInfo
public ApiResponse<ClickwrapVersionsPagedResponse> getClickwrapVersionsWithHttpInfo(String accountId, String clickwrapId) throws ApiException
Gets all the versions of a clickwrap for an account- Parameters:
accountId- (required)clickwrapId- (required)- Returns:
- ClickwrapVersionsPagedResponse
- Throws:
ApiException- if fails to make API call
-
getClickwraps
public ClickwrapVersionsResponse getClickwraps(String accountId) throws ApiException
Gets the Clickwraps for an account.- Parameters:
accountId- (required)- Returns:
- ClickwrapVersionsResponse
- Throws:
ApiException
-
getClickwraps
public ClickwrapVersionsResponse getClickwraps(String accountId, AccountsApi.GetClickwrapsOptions options) throws ApiException
Gets the Clickwraps for an account.- Parameters:
accountId- (required)options- for modifying the method behavior.- Returns:
- ClickwrapVersionsResponse
- Throws:
ApiException- if fails to make API call
-
getClickwrapsWithHttpInfo
public ApiResponse<ClickwrapVersionsResponse> getClickwrapsWithHttpInfo(String accountId, AccountsApi.GetClickwrapsOptions options) throws ApiException
Gets the Clickwraps for an account- Parameters:
accountId- (required)options- for modifying the method behavior.- Returns:
- ClickwrapVersionsResponse
- Throws:
ApiException- if fails to make API call
-
getServiceInformation
public ServiceInformation getServiceInformation() throws ApiException
Provides base service and version access information..- Returns:
- ServiceInformation
- Throws:
ApiException- if fails to make API call
-
getServiceInformationWithHttpInfo
public ApiResponse<ServiceInformation> getServiceInformationWithHttpInfo() throws ApiException
Provides base service and version access information.- Returns:
- ServiceInformation
- Throws:
ApiException- if fails to make API call
-
updateClickwrap
public ClickwrapVersionSummaryResponse updateClickwrap(String accountId, String clickwrapId, ClickwrapTransferRequest clickwrapTransferRequest) throws ApiException
Updates the clickwrap specified by clickwrapId.- Parameters:
accountId- (required)clickwrapId- (required)clickwrapTransferRequest- (optional)- Returns:
- ClickwrapVersionSummaryResponse
- Throws:
ApiException- if fails to make API call
-
updateClickwrapWithHttpInfo
public ApiResponse<ClickwrapVersionSummaryResponse> updateClickwrapWithHttpInfo(String accountId, String clickwrapId, ClickwrapTransferRequest clickwrapTransferRequest) throws ApiException
Updates the clickwrap specified by clickwrapId- Parameters:
accountId- (required)clickwrapId- (required)clickwrapTransferRequest- (optional)- Returns:
- ClickwrapVersionSummaryResponse
- Throws:
ApiException- if fails to make API call
-
updateClickwrapVersion
public ClickwrapVersionSummaryResponse updateClickwrapVersion(String accountId, String clickwrapId, String versionId, ClickwrapRequest clickwrapRequest) throws ApiException
Updates the clickwrap version specified by versionId.- Parameters:
accountId- (required)clickwrapId- (required)versionId- (required)clickwrapRequest- (optional)- Returns:
- ClickwrapVersionSummaryResponse
- Throws:
ApiException- if fails to make API call
-
updateClickwrapVersionWithHttpInfo
public ApiResponse<ClickwrapVersionSummaryResponse> updateClickwrapVersionWithHttpInfo(String accountId, String clickwrapId, String versionId, ClickwrapRequest clickwrapRequest) throws ApiException
Updates the clickwrap version specified by versionId- Parameters:
accountId- (required)clickwrapId- (required)versionId- (required)clickwrapRequest- (optional)- Returns:
- ClickwrapVersionSummaryResponse
- Throws:
ApiException- if fails to make API call
-
-