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

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

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)
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy