Class WoocommerceProductsService
Hierarchy
-
WoocommerceProductsService
Constructors
constructor
-
Parameters
Properties
Private httpClient
httpClient: HttpClient
Private wooHelper
Methods
createProduct
-
Parameters
Returns Observable<Product>
deleteProduct
- deleteProduct(id: number): Observable<Product>
-
Parameters
Returns Observable<Product>
retrieveProduct
- retrieveProduct(id: number): Observable<Product>
-
Parameters
Returns Observable<Product>
retrieveProductReview
- retrieveProductReview(productId: number, reviewId: number): Observable<ProductReview>
-
Parameters
-
productId: number
-
reviewId: number
retrieveProductReviews
-
Parameters
retrieveProducts
-
Parameters
updateProduct
-
Parameters
Returns Observable<Product>
Create a Product