StripeApiClientV1Products class
Methods
-
create({required ProductCreateOptions options})
→ Future<Product>
-
Creates a new product object.
-
delete({required String id})
→ Future<DeletedProduct>
-
Delete a product. Deleting a product is only possible if it has no prices associated with it. Additionally, deleting a product with
type=good
is only possible if it has no SKUs associated with it.
-
list({bool? active, AccountsCreated? created, String? endingBefore, List<String>? expand, List<String>? ids, int? limit, bool? shippable, String? startingAfter, ProductType? type, String? url})
→ Future<GetProductsResponse>
-
Returns a list of your products. The products are returned sorted by creation date, with the most recently created products appearing first.
-
noSuchMethod(Invocation invocation)
→ dynamic
-
Invoked when a nonexistent method or property is accessed.
inherited
-
retrieve({required String id, List<String>? expand})
→ Future<Product>
-
Retrieves the details of an existing product. Supply the unique product ID from either a product creation request or the product list, and Stripe will return the corresponding product information.
-
toString()
→ String
-
A string representation of this object.
inherited
-
update({required String id, ProductUpdateOptions? options})
→ Future<Product>
-
Updates the specific product by setting the values of the parameters passed. Any parameters not provided will be left unchanged.