package platform.ibm.com.customer.api.v0.models; import io.reactivex.Single; import java.lang.String; import java.util.UUID; import retrofit2.http.Body; import retrofit2.http.GET; import retrofit2.http.POST; import retrofit2.http.PUT; import retrofit2.http.Path; import retrofit2.http.Query; /** * Generated by API Builder - https://www.apibuilder.io * Service version: 0.0.1-dev * User agent: apibuilder app.apibuilder.io/platforminitiative/customer-api/0.0.1-dev/android_rx2_client * * WARNING: not all features (notably unions) and data types work with android generator yet. * Android generator is designed to be used in an android application, but should work in any java codebase as long as you import jackson, retrofit2 and RxJava2 libraries. * If you are considering using this library, would like to request/discuss features, or would like to share how you're using it, please contact android-feedback@gilt.com * */ public interface CustomersClient { /** * Search for a specific customer. You must specify at least 1 parameter - either a guid, email or token - and will receive back either 0 or 1 users. */ @GET("customers/customers") Single getCustomersCustomers( @Query("financialAccountNumber") UUID financialAccountNumber, @Query("email") String email, @Query("customerName") String customerName); /** * Returns information about the user with this financialAccountNumber. */ @GET("customers/{customerName}") Single getCustomersCustomerName(@Path("customerName") String customerName); /** * Create a new customer. */ @POST("customers/customers") Single postCustomersCustomers(@Body CustomerCreateForm customerCreateForm); /** * Updates information about the customer with the specified financialAccountNumber. */ @PUT("customers/{customerName}") Single putCustomersCustomerName(@Body CustomerUpdateForm customerUpdateForm, @Path("customerName") String customerName); }