add to cart dialog

This commit is contained in:
2017-10-14 22:03:11 +03:00
parent da8c8dbc20
commit 98292254b4
10 changed files with 268 additions and 122 deletions

View File

@@ -1,5 +1,6 @@
package ch.pizzalink.android.api;
import java.util.ArrayList;
import java.util.HashMap;
import ch.pizzalink.android.model.AddProductToBasketResponseModel;
@@ -14,6 +15,7 @@ import retrofit2.http.Field;
import retrofit2.http.FieldMap;
import retrofit2.http.FormUrlEncoded;
import retrofit2.http.GET;
import retrofit2.http.Header;
import retrofit2.http.POST;
import retrofit2.http.Query;
@@ -76,6 +78,28 @@ public interface ApiInterface {
*/
/*
{
"product_id": "56",
"quantity": "1",
"token": "wXTVshBk2TU4XJmb23wa320zOBRodw4K",
"options": [
{
"optionId" : "232",
"optionValue" : "34"
},
{
"optionId" : "232",
"optionValue" : "33"
},
{
"optionId" : "231",
"optionValue" : "31"
}
]
}
*/