Skip to content
Permalink
Branch: master
Find file Copy path
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
27 lines (25 sloc) 605 Bytes
package id.belanja.app.data.remote.response
/**
* @author Yuana andhikayuana@gmail.com
* @since Aug, Sat 31 2019 12:24
**/
import com.google.gson.annotations.SerializedName
data class ProductResponse(
@SerializedName("data")
val data: Data,
@SerializedName("code")
val code: Int,
@SerializedName("msg")
val msg: String
) {
data class Data(
@SerializedName("id")
val id: Int,
@SerializedName("image")
val image: String,
@SerializedName("name")
val name: String,
@SerializedName("price")
val price: Int
)
}
You can’t perform that action at this time.