Files
daily_mobileapp_merchant/lib/Helper/Constants/api_config.dart
2026-05-27 10:35:09 +05:30

44 lines
2.5 KiB
Dart

import 'Apiconstants.dart';
class ApiConfig {
static void setLive() {
ApiConstants.describeUrl = ApiConstants.describeUrlLive;
ApiConstants.login = ApiConstants.loginLive;
ApiConstants.configUrl = ApiConstants.configUrlLive;
ApiConstants.user = ApiConstants.userLive;
ApiConstants.getCustomerByTenantId = ApiConstants.getCustomerByTenantIdLive;
ApiConstants.getDeliveries = ApiConstants.getDeliveriesLive;
ApiConstants.notifyUrl = ApiConstants.notifyUrlLive;
ApiConstants.updateOrderStatus = ApiConstants.updateOrderStatusLive;
ApiConstants.getOrderSummary = ApiConstants.getOrderSummaryLive;
ApiConstants.getTenantInfo = ApiConstants.getTenantInfoLive;
ApiConstants.appLocations = ApiConstants.appLocationsLive;
ApiConstants.getPartnerInfo = ApiConstants.getPartnerInfoLive;
ApiConstants.appCategory = ApiConstants.getAppCategoryLive;
ApiConstants.createTenantUser = ApiConstants.createTenantUserLive;
ApiConstants.createCustomer = ApiConstants.createCustomerLive;
ApiConstants.createDeliveryAddress = ApiConstants.createDeliveryAddressLive;
ApiConstants.getCustomerAddress = ApiConstants.getCustomerAddressLive;
ApiConstants.getTenantLocationById = ApiConstants.getTenantLocationByIdLive;
ApiConstants.getLocationsById = ApiConstants.getLocationsByIdLive;
ApiConstants.adminToken = ApiConstants.adminTokenLive;
ApiConstants.getTenantPricing = ApiConstants.getTenantPricingLive;
ApiConstants.createOrder = ApiConstants.createOrderLive;
ApiConstants.getOrders = ApiConstants.getOrdersLive;
ApiConstants.getLocationById = ApiConstants.getLocationByIdLive;
ApiConstants.updateLocation = ApiConstants.updateLocationLive;
ApiConstants.createLocation = ApiConstants.createLocationLive;
ApiConstants.getStaffs = ApiConstants.getStaffsLive;
ApiConstants.createStaff = ApiConstants.createStaffLive;
ApiConstants.updateStaff = ApiConstants.updateStaffLive;
ApiConstants.userUpdate = ApiConstants.userUpdateLive;
ApiConstants.getCustomerSearchByTenantId =
ApiConstants.getCustomerSearchByTenantIdLive;
ApiConstants.getProducts = ApiConstants.getProductLive;
ApiConstants.updateProduct = ApiConstants.updateProductLive;
ApiConstants.getRiders = ApiConstants.getRidersLive;
ApiConstants.updateDelivery = ApiConstants.updateDeliveryLive;
ApiConstants.notifyRider = ApiConstants.notifyRiderLive;
ApiConstants.createDelivery = ApiConstants.createDeliveryLive;
}
}