All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.ecwid.apiclient.v3.impl.ProductReviewsApiClientImpl.kt Maven / Gradle / Ivy

The newest version!
package com.ecwid.apiclient.v3.impl

import com.ecwid.apiclient.v3.ApiClientHelper
import com.ecwid.apiclient.v3.ProductReviewsApiClient
import com.ecwid.apiclient.v3.dto.productreview.request.*
import com.ecwid.apiclient.v3.dto.productreview.result.*

class ProductReviewsApiClientImpl(
	private val apiClientHelper: ApiClientHelper,
) : ProductReviewsApiClient {
	override fun searchProductReviews(request: ProductReviewSearchRequest) =
		apiClientHelper.makeObjectResultRequest(request)

	override fun searchProductReviewsAsSequence(request: ProductReviewSearchRequest) =
		apiClientHelper.makeObjectResultRequest>(request)

	override fun getProductReviewDetails(request: ProductReviewDetailsRequest) =
		apiClientHelper.makeObjectResultRequest(request)

	override fun updateProductReviewStatus(request: ProductReviewUpdateStatusRequest) =
		apiClientHelper.makeObjectResultRequest(request)

	override fun deleteProductReview(request: ProductReviewDeleteRequest) =
		apiClientHelper.makeObjectResultRequest(request)

	override fun massUpdateProductReview(request: ProductReviewMassUpdateRequest) =
		apiClientHelper.makeObjectResultRequest(request)

	override fun getProductReviewsFiltersData(request: ProductReviewFiltersDataRequest) =
		apiClientHelper.makeObjectResultRequest(request)

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy