CustomersApi class
Methods
-
createCustomer(NewCustomerModel newCustomer, {Object? authorization})
→ Future<CustomerModel?>
-
Parameters:
-
getAllCustomers({Object? authorization, bool? excludeImages})
→ Future<List<CustomerModel>>
-
Parameters:
-
getAllCustomersWithHttpInfo({Object? authorization, bool? excludeImages})
→ Future<Response>
-
Performs an HTTP 'GET /api/v1/Customers/all' operation and returns the
Response
.
Parameters:
-
getCustomer(int customerId, {Object? authorization})
→ Future<CustomerModel>
-
Parameters:
-
getCustomers({Object? authorization, bool? excludeImages})
→ Future<List<CustomerModel>>
-
Parameters:
-
getCustomersWithHttpInfo({Object? authorization, bool? excludeImages})
→ Future<Response>
-
Performs an HTTP 'GET /api/v1/Customers' operation and returns the
Response
.
Parameters:
-
getCustomerWithHttpInfo(int customerId, {Object? authorization})
→ Future<Response>
-
Performs an HTTP 'GET /api/v1/Customers/{customerId}' operation and returns the
Response
.
Parameters:
-
getImages({Object? authorization, List<int>? customersIds})
→ Future<List<CustomerImageModel>>
-
Parameters:
-
getImagesWithHttpInfo({Object? authorization, List<int>? customersIds})
→ Future<Response>
-
Performs an HTTP 'GET /api/v1/Customers/images' operation and returns the
Response
.
Parameters:
-
noSuchMethod(Invocation invocation)
→ dynamic
-
Invoked when a nonexistent method or property is accessed.
inherited
-
toString()
→ String
-
A string representation of this object.
inherited
-
updateCustomer(CustomerModel customer, {required Object authorization})
→ Future<void>
-
Parameters: