public class CustomerModule.ExtRxJava
extends pl.rspective.voucherify.client.module.AbsModule.Rx
| Constructor and Description |
|---|
ExtRxJava() |
| Modifier and Type | Method and Description |
|---|---|
rx.Observable<Customer> |
createCustomer(Customer customer)
Create a customer.
|
rx.Observable<java.lang.Void> |
deleteCustomer(java.lang.String customerId)
Delete a customer by customerId.
|
rx.Observable<Customer> |
getCustomer(java.lang.String customerId)
Get a single resource with a customerId.
|
rx.Observable<Customer> |
updateCustomer(Customer customer)
Update a customer.
|
public rx.Observable<Customer> getCustomer(java.lang.String customerId)
customerId - resource idpublic rx.Observable<Customer> createCustomer(Customer customer)
customer - customer to be createdpublic rx.Observable<Customer> updateCustomer(Customer customer)
customer - customer to be updatedpublic rx.Observable<java.lang.Void> deleteCustomer(java.lang.String customerId)
customerId - customerId to be deleted