AN
Size: a a a
AN
Ⓢ
AN
AN
И
SM
VS
N
N
Ⓢ
Ⓢ
AN
Ⓢ
F
Ⓢ
SB
N
MB
data class CategoryAvailableRequest(
@JsonProperty("groupId")
val groupId: Int? = null,
@JsonProperty("partnerInfo")
val partnerInfo: PartnerInfo? = null
): MonoRequest
fun CategoryAvailableRequest.toResponse(partnerCode: String, id: String, groupId: Int): CategoryAvailableRequest =
CategoryAvailableRequest(
partnerInfo = PartnerInfo().toRequest(partnerCode, id),
groupId = groupId
)
// Так вызывается этот код
CategoryAvailableRequest().toResponse("some code", 100500, 300)
Ⓢ
Ⓢ