second commit
This commit is contained in:
44
lib/Helper/Constants/api_config.dart
Normal file
44
lib/Helper/Constants/api_config.dart
Normal file
@@ -0,0 +1,44 @@
|
||||
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;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user