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

com.ecwid.apiclient.v3.dto.profile.request.ExtrafieldConfigCreateRequest.kt Maven / Gradle / Ivy

package com.ecwid.apiclient.v3.dto.profile.request

import com.ecwid.apiclient.v3.dto.ApiRequest
import com.ecwid.apiclient.v3.httptransport.HttpBody
import com.ecwid.apiclient.v3.impl.RequestInfo

data class ExtrafieldConfigCreateRequest(
	val newConfig: UpdatedExtrafieldConfig = UpdatedExtrafieldConfig()
) : ApiRequest {
	override fun toRequestInfo() = RequestInfo.createPostRequest(
		pathSegments = listOf(
			"profile",
			"extrafields"
		),
		httpBody = HttpBody.JsonBody(
			obj = newConfig
		)
	)
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy