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

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

There is a newer version: 0.347.0
Show newest version
package com.ecwid.apiclient.v3.impl

import com.ecwid.apiclient.v3.ApiClientHelper
import com.ecwid.apiclient.v3.ApplicationStorageApiClient
import com.ecwid.apiclient.v3.dto.storage.request.*
import com.ecwid.apiclient.v3.dto.storage.result.*

internal class ApplicationStorageApiClientImpl(
	private val apiClientHelper: ApiClientHelper,
) : ApplicationStorageApiClient {

	override fun getStorageData(request: StorageDataRequest) =
		apiClientHelper.makeObjectResultRequest(request)

	override fun getAllStorageData(request: AllStorageDataRequest) =
		apiClientHelper.makeObjectResultRequest(request)

	override fun createStorageData(request: StorageDataCreateRequest) =
		apiClientHelper.makeObjectResultRequest(request)

	override fun updateStorageData(request: StorageDataUpdateRequest) =
		apiClientHelper.makeObjectResultRequest(request)

	override fun deleteStorageData(request: StorageDataDeleteRequest) =
		apiClientHelper.makeObjectResultRequest(request)

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy