Package io.sendon.api

Class SdoPayment


  • public class SdoPayment
    extends Object
    • Constructor Detail

      • SdoPayment

        public SdoPayment()
      • SdoPayment

        public SdoPayment​(ApiClient apiClient)
    • Method Detail

      • getApiClient

        public ApiClient getApiClient()
      • setApiClient

        public void setApiClient​(ApiClient apiClient)
      • getHostIndex

        public int getHostIndex()
      • setHostIndex

        public void setHostIndex​(int hostIndex)
      • getCustomBaseUrl

        public String getCustomBaseUrl()
      • setCustomBaseUrl

        public void setCustomBaseUrl​(String customBaseUrl)
      • getPaymentHistoriesCall

        public okhttp3.Call getPaymentHistoriesCall​(BigDecimal page,
                                                    BigDecimal limit,
                                                    OffsetDateTime startDate,
                                                    OffsetDateTime endDate,
                                                    ApiCallback _callback)
                                             throws ApiException
        Build call for getPaymentHistories
        Parameters:
        page - 페이지 번호 (optional, default to 1)
        limit - 페이지당 항목 수 (optional, default to 10)
        startDate - 조회 시작일(미지정시 최근 30일) (optional)
        endDate - 조회 종료일(미지정시 현재) (optional)
        _callback - Callback for upload/download progress
        Returns:
        Call to execute
        Throws:
        ApiException - If fail to serialize the request body object
        Http Response Details:
        Status Code Description Response Headers
        200 200 -
      • getPaymentHistories

        public GetPaymentHistoriesResponse getPaymentHistories​(BigDecimal page,
                                                               BigDecimal limit,
                                                               OffsetDateTime startDate,
                                                               OffsetDateTime endDate)
                                                        throws ApiException
        결제 히스토리 목록 조회
        Parameters:
        page - 페이지 번호 (optional, default to 1)
        limit - 페이지당 항목 수 (optional, default to 10)
        startDate - 조회 시작일(미지정시 최근 30일) (optional)
        endDate - 조회 종료일(미지정시 현재) (optional)
        Returns:
        GetPaymentHistoriesResponse
        Throws:
        ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
        Http Response Details:
        Status Code Description Response Headers
        200 200 -
      • getPaymentHistoriesWithHttpInfo

        public ApiResponse<GetPaymentHistoriesResponse> getPaymentHistoriesWithHttpInfo​(BigDecimal page,
                                                                                        BigDecimal limit,
                                                                                        OffsetDateTime startDate,
                                                                                        OffsetDateTime endDate)
                                                                                 throws ApiException
        결제 히스토리 목록 조회
        Parameters:
        page - 페이지 번호 (optional, default to 1)
        limit - 페이지당 항목 수 (optional, default to 10)
        startDate - 조회 시작일(미지정시 최근 30일) (optional)
        endDate - 조회 종료일(미지정시 현재) (optional)
        Returns:
        ApiResponse<GetPaymentHistoriesResponse>
        Throws:
        ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
        Http Response Details:
        Status Code Description Response Headers
        200 200 -
      • getPaymentHistoriesAsync

        public okhttp3.Call getPaymentHistoriesAsync​(BigDecimal page,
                                                     BigDecimal limit,
                                                     OffsetDateTime startDate,
                                                     OffsetDateTime endDate,
                                                     ApiCallback<GetPaymentHistoriesResponse> _callback)
                                              throws ApiException
        결제 히스토리 목록 조회 (asynchronously)
        Parameters:
        page - 페이지 번호 (optional, default to 1)
        limit - 페이지당 항목 수 (optional, default to 10)
        startDate - 조회 시작일(미지정시 최근 30일) (optional)
        endDate - 조회 종료일(미지정시 현재) (optional)
        _callback - The callback to be executed when the API call finishes
        Returns:
        The request call
        Throws:
        ApiException - If fail to process the API call, e.g. serializing the request body object
        Http Response Details:
        Status Code Description Response Headers
        200 200 -
      • getPaymentHistoryCall

        public okhttp3.Call getPaymentHistoryCall​(BigDecimal historyId,
                                                  ApiCallback _callback)
                                           throws ApiException
        Build call for getPaymentHistory
        Parameters:
        historyId - (required)
        _callback - Callback for upload/download progress
        Returns:
        Call to execute
        Throws:
        ApiException - If fail to serialize the request body object
        Http Response Details:
        Status Code Description Response Headers
        200 200 -
      • getPaymentHistory

        public GetPaymentHistoryResponse getPaymentHistory​(BigDecimal historyId)
                                                    throws ApiException
        결제 히스토리 상세 조회
        Parameters:
        historyId - (required)
        Returns:
        GetPaymentHistoryResponse
        Throws:
        ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
        Http Response Details:
        Status Code Description Response Headers
        200 200 -
      • getPaymentHistoryWithHttpInfo

        public ApiResponse<GetPaymentHistoryResponse> getPaymentHistoryWithHttpInfo​(BigDecimal historyId)
                                                                             throws ApiException
        결제 히스토리 상세 조회
        Parameters:
        historyId - (required)
        Returns:
        ApiResponse<GetPaymentHistoryResponse>
        Throws:
        ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
        Http Response Details:
        Status Code Description Response Headers
        200 200 -
      • getPaymentHistoryAsync

        public okhttp3.Call getPaymentHistoryAsync​(BigDecimal historyId,
                                                   ApiCallback<GetPaymentHistoryResponse> _callback)
                                            throws ApiException
        결제 히스토리 상세 조회 (asynchronously)
        Parameters:
        historyId - (required)
        _callback - The callback to be executed when the API call finishes
        Returns:
        The request call
        Throws:
        ApiException - If fail to process the API call, e.g. serializing the request body object
        Http Response Details:
        Status Code Description Response Headers
        200 200 -