CatalogProductsApi class

Catalog Products interface

Constructors

CatalogProductsApi(PayPalHttpClient payPalHttpClient)

Properties

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(ProductRequest request, {String? payPalRequestId, Prefer? prefer}) Future<Product>
Creates a product.
listProducts({int? pageSize, int? page, bool? totalRequired}) Future<ProductCollection>
Lists products.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
showProductDetails(String productId) Future<Product>
Shows details for a product, by ID.
toString() String
A string representation of this object.
inherited
updateProduct(String productId, List<Patch> patchRequests) Future<void>
Updates a product, by ID. You can patch these attributes and objects:

Operators

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