Package travel.wink.sdk.affiliate.api
Class InvoiceApi
java.lang.Object
travel.wink.sdk.affiliate.api.InvoiceApi
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
date="2022-05-27T09:47:12.254493+07:00[Asia/Bangkok]")
public class InvoiceApi
extends Object
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidsetApiClient(ApiClient apiClient) reactor.core.publisher.Mono<InvoiceCollection>showInvoicesForCompanyCustomer(String companyIdentifier, String accept) Show Invoices Retrieve all invoices for a specific companyreactor.core.publisher.Mono<org.springframework.http.ResponseEntity<InvoiceCollection>>showInvoicesForCompanyCustomerWithHttpInfo(String companyIdentifier, String accept) reactor.core.publisher.Mono<Invoice>showUpcomingInvoiceForCompanyCustomer(String companyIdentifier, String accept) Show Upcoming Invoice Retrieve upcoming invoice.reactor.core.publisher.Mono<org.springframework.http.ResponseEntity<Invoice>>showUpcomingInvoiceForCompanyCustomerWithHttpInfo(String companyIdentifier, String accept) reactor.core.publisher.Mono<InvoiceLineItemCollection>showUpcomingInvoiceLineItemsForCompanyCustomer(String companyIdentifier, String accept) Show Upcoming Invoices Retrieve all upcoming invoice for a company.reactor.core.publisher.Mono<org.springframework.http.ResponseEntity<InvoiceLineItemCollection>>showUpcomingInvoiceLineItemsForCompanyCustomerWithHttpInfo(String companyIdentifier, String accept)
-
Constructor Details
-
InvoiceApi
public InvoiceApi() -
InvoiceApi
-
-
Method Details
-
getApiClient
-
setApiClient
-
showInvoicesForCompanyCustomer
public reactor.core.publisher.Mono<InvoiceCollection> showInvoicesForCompanyCustomer(String companyIdentifier, String accept) throws org.springframework.web.reactive.function.client.WebClientResponseException Show Invoices Retrieve all invoices for a specific company503 - Service Unavailable
400 - Bad Request
500 - Internal Server Error
404 - Not Found
405 - Method Not Allowed
415 - Unsupported Media Type
403 - Forbidden
401 - Unauthorized
200 - OK
- Parameters:
companyIdentifier- The companyIdentifier parameteraccept- The accept 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 accept) 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 accept) 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
500 - Internal Server Error
404 - Not Found
405 - Method Not Allowed
415 - Unsupported Media Type
403 - Forbidden
401 - Unauthorized
200 - OK
- Parameters:
companyIdentifier- The companyIdentifier parameteraccept- The accept 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 accept) 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 accept) throws org.springframework.web.reactive.function.client.WebClientResponseException Show Upcoming Invoices Retrieve all upcoming invoice for a company.503 - Service Unavailable
400 - Bad Request
500 - Internal Server Error
404 - Not Found
405 - Method Not Allowed
415 - Unsupported Media Type
403 - Forbidden
401 - Unauthorized
200 - OK
- Parameters:
companyIdentifier- The companyIdentifier parameteraccept- The accept 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 accept) throws org.springframework.web.reactive.function.client.WebClientResponseException - Throws:
org.springframework.web.reactive.function.client.WebClientResponseException
-