Class InvoiceApi

java.lang.Object
travel.wink.sdk.affiliate.api.InvoiceApi

@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen", date="2022-11-08T09:35:16.430198433+07:00[Asia/Bangkok]") public class InvoiceApi extends Object
  • Constructor Details

    • InvoiceApi

      public InvoiceApi()
    • InvoiceApi

      @Autowired public InvoiceApi(ApiClient apiClient)
  • Method Details

    • getApiClient

      public ApiClient getApiClient()
    • setApiClient

      public void setApiClient(ApiClient apiClient)
    • showInvoicesForCompanyCustomer

      public reactor.core.publisher.Mono<InvoiceCollection> showInvoicesForCompanyCustomer(String companyIdentifier, String winkVersion) throws org.springframework.web.reactive.function.client.WebClientResponseException
      Show Invoices Retrieve all invoices for a specific company

      503 - Service Unavailable

      400 - Bad Request

      405 - Method Not Allowed

      415 - Unsupported Media Type

      500 - Internal Server Error

      404 - Not Found

      403 - Forbidden

      401 - Unauthorized

      200 - OK

      Parameters:
      companyIdentifier - The companyIdentifier parameter
      winkVersion - The winkVersion parameter
      Returns:
      InvoiceCollection
      Throws:
      org.springframework.web.reactive.function.client.WebClientResponseException - if an error occurs while attempting to invoke the API
    • showInvoicesForCompanyCustomerWithHttpInfo

      public reactor.core.publisher.Mono<org.springframework.http.ResponseEntity<InvoiceCollection>> showInvoicesForCompanyCustomerWithHttpInfo(String companyIdentifier, String winkVersion) throws org.springframework.web.reactive.function.client.WebClientResponseException
      Throws:
      org.springframework.web.reactive.function.client.WebClientResponseException
    • showUpcomingInvoiceForCompanyCustomer

      public reactor.core.publisher.Mono<Invoice> showUpcomingInvoiceForCompanyCustomer(String companyIdentifier, String winkVersion) throws org.springframework.web.reactive.function.client.WebClientResponseException
      Show Upcoming Invoice Retrieve upcoming invoice. A company might want to know how many API calls have been done for the current month.

      503 - Service Unavailable

      400 - Bad Request

      405 - Method Not Allowed

      415 - Unsupported Media Type

      500 - Internal Server Error

      404 - Not Found

      403 - Forbidden

      401 - Unauthorized

      200 - OK

      Parameters:
      companyIdentifier - The companyIdentifier parameter
      winkVersion - The winkVersion parameter
      Returns:
      Invoice
      Throws:
      org.springframework.web.reactive.function.client.WebClientResponseException - if an error occurs while attempting to invoke the API
    • showUpcomingInvoiceForCompanyCustomerWithHttpInfo

      public reactor.core.publisher.Mono<org.springframework.http.ResponseEntity<Invoice>> showUpcomingInvoiceForCompanyCustomerWithHttpInfo(String companyIdentifier, String winkVersion) throws org.springframework.web.reactive.function.client.WebClientResponseException
      Throws:
      org.springframework.web.reactive.function.client.WebClientResponseException
    • showUpcomingInvoiceLineItemsForCompanyCustomer

      public reactor.core.publisher.Mono<InvoiceLineItemCollection> showUpcomingInvoiceLineItemsForCompanyCustomer(String companyIdentifier, String winkVersion) throws org.springframework.web.reactive.function.client.WebClientResponseException
      Show Upcoming Invoices Retrieve all upcoming invoice for a company.

      503 - Service Unavailable

      400 - Bad Request

      405 - Method Not Allowed

      415 - Unsupported Media Type

      500 - Internal Server Error

      404 - Not Found

      403 - Forbidden

      401 - Unauthorized

      200 - OK

      Parameters:
      companyIdentifier - The companyIdentifier parameter
      winkVersion - The winkVersion parameter
      Returns:
      InvoiceLineItemCollection
      Throws:
      org.springframework.web.reactive.function.client.WebClientResponseException - if an error occurs while attempting to invoke the API
    • showUpcomingInvoiceLineItemsForCompanyCustomerWithHttpInfo

      public reactor.core.publisher.Mono<org.springframework.http.ResponseEntity<InvoiceLineItemCollection>> showUpcomingInvoiceLineItemsForCompanyCustomerWithHttpInfo(String companyIdentifier, String winkVersion) throws org.springframework.web.reactive.function.client.WebClientResponseException
      Throws:
      org.springframework.web.reactive.function.client.WebClientResponseException