com.ecwid.apiclient.v3.impl.SalesChannelsApiClientImpl.kt Maven / Gradle / Ivy
The newest version!
package com.ecwid.apiclient.v3.impl
import com.ecwid.apiclient.v3.ApiClientHelper
import com.ecwid.apiclient.v3.SalesChannelsApiClient
import com.ecwid.apiclient.v3.dto.saleschannels.request.*
import com.ecwid.apiclient.v3.dto.saleschannels.response.*
class SalesChannelsApiClientImpl(
private val apiClientHelper: ApiClientHelper
) : SalesChannelsApiClient {
override fun getGoogleShoppingFeedConfig(request: GoogleShoppingFeedConfigGetRequest) =
apiClientHelper.makeObjectResultRequest(request)
override fun getShopzillaFeedConfig(request: ShopzillaFeedConfigGetRequest) =
apiClientHelper.makeObjectResultRequest(request)
override fun getYahooShoppingFeedConfig(request: YahooShoppingFeedConfigGetRequest) =
apiClientHelper.makeObjectResultRequest(request)
override fun getYandexMarketFeedConfig(request: YandexMarketFeedConfigGetRequest) =
apiClientHelper.makeObjectResultRequest(request)
override fun getYandexMarketDbsFeedConfig(request: YandexMarketDbsFeedConfigGetRequest) =
apiClientHelper.makeObjectResultRequest(request)
}