gel al indirim paratmetresi
This commit is contained in:
@@ -69,7 +69,8 @@ public interface ApiInterface {
|
|||||||
@FormUrlEncoded
|
@FormUrlEncoded
|
||||||
@POST
|
@POST
|
||||||
Call<ResponseObject<CartInfoModel>> getCartProductsForCommission(@Url String url,
|
Call<ResponseObject<CartInfoModel>> getCartProductsForCommission(@Url String url,
|
||||||
@Field("payment_method") String paymentMethodCode);
|
@Field("payment_method") String paymentMethodCode,
|
||||||
|
@Field("shipping_method") String shippingMethodCode);
|
||||||
|
|
||||||
@GET(ApiEndPoints.API_GET_CLEAR_CART)
|
@GET(ApiEndPoints.API_GET_CLEAR_CART)
|
||||||
Call<ResponseObject> clearCart(@Query("token") String token);
|
Call<ResponseObject> clearCart(@Query("token") String token);
|
||||||
|
|||||||
@@ -723,7 +723,8 @@ public class CreateOrderSummaryFragment extends CreateOrderBaseFragment {
|
|||||||
DialogHelper.showLoadingDialog();
|
DialogHelper.showLoadingDialog();
|
||||||
Call<ResponseObject<CartInfoModel>> call = ApiService.apiInterface.getCartProductsForCommission(
|
Call<ResponseObject<CartInfoModel>> call = ApiService.apiInterface.getCartProductsForCommission(
|
||||||
ApiEndPoints.API_GET_CART_PRODUCTS + SessionHelper.getCustomerToken().getToken(),
|
ApiEndPoints.API_GET_CART_PRODUCTS + SessionHelper.getCustomerToken().getToken(),
|
||||||
createOrderActivity.getSelectedPaymentMethod().getCode());
|
createOrderActivity.getSelectedPaymentMethod().getCode(),
|
||||||
|
createOrderActivity.getSelectedShippingMethod().getCode());
|
||||||
call.enqueue(new Callback<ResponseObject<CartInfoModel>>() {
|
call.enqueue(new Callback<ResponseObject<CartInfoModel>>() {
|
||||||
@Override
|
@Override
|
||||||
public void onResponse(Call<ResponseObject<CartInfoModel>> call, Response<ResponseObject<CartInfoModel>> response) {
|
public void onResponse(Call<ResponseObject<CartInfoModel>> call, Response<ResponseObject<CartInfoModel>> response) {
|
||||||
|
|||||||
Reference in New Issue
Block a user