-
Notifications
You must be signed in to change notification settings - Fork 0
Product Manager
Jetrin Chokchai edited this page Oct 11, 2018
·
1 revision
Represents an ProductManager. (You most likely shouldn't be accessing this directly, use AcrosureClient#product instead.)
ProductManager(call_api)
Create an product manager.
Parameters:
| Name | Type | Description |
|---|---|---|
| call_api | function | A function which call Acrosure API. |
call_api Function (which should be granted by AcrosureClient#callAPI )
Type:
- function
Get product with the specify id.
Parameters:
| Name | Type | Description |
|---|---|---|
| id | string | Product id. |
Returns:
- Product
Type
- dict
Get policies list with or without query.
Parameters:
| Name | Type | Description |
|---|---|---|
| query | dict | Query object (See Acrosure API document for more detail). |
Returns:
- Products
Type
- list