ProductsApi class

Constructors

ProductsApi([ApiClient? apiClient])

Properties

apiClient ApiClient
final
hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

createProduct(String account, CreateProductRequest createProductRequest) Future<CreateProductResponse?>
Create a product
createProductWithHttpInfo(String account, CreateProductRequest createProductRequest) Future<Response>
Create a product
deleteProduct(String account, String product) Future<void>
Delete a product
deleteProductWithHttpInfo(String account, String product) Future<Response>
Delete a product
generateProductToken(String account, String product, {GenerateProductTokenRequest? generateProductTokenRequest}) Future<GenerateProductTokenResponse?>
Generate a product token
generateProductTokenWithHttpInfo(String account, String product, {GenerateProductTokenRequest? generateProductTokenRequest}) Future<Response>
Generate a product token
listProducts(String account, {Object? page, int? limit}) Future<ListProductsResponse?>
List all products
listProductsWithHttpInfo(String account, {Object? page, int? limit}) Future<Response>
List all products
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
retrieveProduct(String account, String product) Future<RetrieveProductResponse?>
Retrieve a product
retrieveProductWithHttpInfo(String account, String product) Future<Response>
Retrieve a product
toString() String
A string representation of this object.
inherited
updateProduct(String account, String product, {UpdateProductRequest? updateProductRequest}) Future<UpdateProductResponse?>
Update a product
updateProductWithHttpInfo(String account, String product, {UpdateProductRequest? updateProductRequest}) Future<Response>
Update a product

Operators

operator ==(Object other) bool
The equality operator.
inherited