ProductApi class
Constructors
- ProductApi([ApiClient? apiClient])
Properties
Methods
-
buyProduct(
String id, {BuyProductRequestBody? buyProductRequestBody}) → Future< SuccessResponse?> - Buys a product
-
buyProductWithHttpInfo(
String id, {BuyProductRequestBody? buyProductRequestBody}) → Future< Response> - Buys a product
-
listProducts(
) → Future< List< Product> ?> - Get all products
-
listProductsWithHttpInfo(
) → Future< Response> - Get all products
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited