API/api
library
Functions
-
createAccountInfo(String personInChargeName, String phoneNumber, String vendorEmail, String isPublished)
→ Future<AccountInfo>
-
-
createBankInformation(String bankName, String accountNumber, String isPublished)
→ Future<BankInformation>
-
-
createBusinessInfo(String contactNumber, String companyDescription, String businessStartTime, String businessFinishTime, String monday, String tuesday, String wednesday, String thursday, String friday, String saturday, String sunday, String isPublished)
→ Future<BusinessInfo>
-
-
createCampaign(String campaignName, String startDate, String endDate, String vendor)
→ Future<Campaign>
-
-
createContact(String selectDepartment, String name, String email, String subject, int contactNumber, String message)
→ Future<Contact>
-
-
createFaq(String question1, String content1, String question2, String content2, String question3, String content3, String question4, String content4, String question5, String content5, String question6, String content6)
→ Future<Faq>
-
-
createOrders(String orderStatus, String vendor, String customer, String startDate, String endDate, String orderTotal)
→ Future<Orders>
-
-
createSample(String sampleName)
→ Future<Sample>
-
-
createService(String serviceName, String serviceDescription, String ssu, String servicePrice, int stock, String serviceSpecialPrice, String specialPriceStart, String specialPriceEnd, String taxType, String isPublished, String vendor)
→ Future<Service>
-
-
createServiceMapping(String mapping, String vendor)
→ Future<ServiceMapping>
-
-
createServiceVariation(String variationName, String vendor, String control)
→ Future<ServiceVariation>
-
-
createSuggest(String vendorName, String ownerName, int hpNumber, int telNumber, String emailAddress, String street, int postalCode, String city, String state, String country)
→ Future<Suggest>
-
-
createTransaction(int amount, String username, String date, String reason, String vendor)
→ Future<Transactions>
-
-
createUserIndividual(String fullName, String emailAddress, String password, String contactNumber)
→ Future<UserIndividual>
-
-
createUserIndividual2(String fullName, String emailAddress, String password, String contactNumber)
→ Future<UserIndividual>
-
-
createUserOrganization(String companyName, int companyRocNumber, String address, String country, String state, String city, int postalCode, String emailAddress, String password, String contactNumber)
→ Future<UserOrganization>
-
-
createUserOrganization2(String companyName, int companyRocNumber, String address, String country, String state, String city, int postalCode, String emailAddress, String password, String contactNumber)
→ Future<UserOrganization>
-
-
createVendorAddress(String vendorAddress, String country, String state, String city, String postCode, String businessLatitude, String businessLongitude, String isPublished)
→ Future<VendorAddress>
-
-
createVendorReg(String businessType, String vendorName, int registerOfCompanyNo, String email, String companyDescription, int introducerCode, String contactNumber, int verificationCode, String mondayCheck, String tuesdayCheck, String wednesdayCheck, String thursdayCheck, String fridayCheck, String saturdayCheck, String sundayCheck, String startBusinessHours, String endBusinessHours, String personInChargeName, String emailAddress, String password, String confirmPassword, String contactNumber2, int verificationCode2, String serviceCategory, String businessCategory, String typeOfBusiness, String countryCategory, String restaurantCategory, String typeOfFood, String address, String country, String state, String city, int postcode, String shopLatitude, String shopLongitude, String flatRate, String forFirst, String everyAdditional, String bankName, int bankAccountNo)
→ Future<VendorReg>
-
-
createVendorReg2(String businessType, String vendorName, int registerOfCompanyNo, String email, String companyDescription, int introducerCode, String contactNumber, int verificationCode, String mondayCheck, String tuesdayCheck, String wednesdayCheck, String thursdayCheck, String fridayCheck, String saturdayCheck, String sundayCheck, String startBusinessHours, String endBusinessHours, String personInChargeName, String emailAddress, String password, String confirmPassword, String contactNumber2, int verificationCode2, String serviceCategory, String businessCategory, String typeOfBusiness, String countryCategory, String restaurantCategory, String typeOfFood, String address, String country, String state, String city, int postcode, String shopLatitude, String shopLongitude, String flatRate, String forFirst, String everyAdditional, String bankName, int bankAccountNo)
→ Future<VendorReg>
-
-
createWallet(int amount, String username, String date, String virtualCardNumber, String reason, String vendor)
→ Future<Wallet>
-
-
deleteService(int? id)
→ Future<Response>
-
-
deleteServiceImage(int? id)
→ Future<Response>
-
-
deleteServiceMapping(int? id)
→ Future<Response>
-
-
deleteServiceVariation(int? id)
→ Future<Response>
-
-
fetchAccountInfo()
→ Future<List<AccountInfo>>
-
-
fetchBalance()
→ Future<List<Balance>>
-
-
fetchBankInformation()
→ Future<List<BankInformation>>
-
-
fetchBusinessInfo()
→ Future<List<BusinessInfo>>
-
-
fetchCards()
→ Future<List<Cards>>
-
-
fetchContactQ()
→ Future<List<ContactQ>>
-
-
fetchFaq()
→ Future<List<Faq>>
-
-
fetchImage()
→ Future<List<Image1>>
-
-
fetchNavbar()
→ Future<List<Navbar>>
-
-
fetchOrders(String? vendor)
→ Future<List<Orders>>
-
-
fetchService(String? vendor)
→ Future<List<Service>>
-
-
-
fetchTransactions()
→ Future<List<Transactions>>
-
-
fetchVendorAddress()
→ Future<List<VendorAddress>>
-
-
signIn(String email, String password)
→ Future<int>
-
-
updateAccountInfo(int? accountInfoId, String personInChargeName, String phoneNumber, String vendorEmail, String isPublished)
→ Future<AccountInfo>
-
-
updateBalance(int? balanceId, int? balance, String vendor)
→ Future<Balance>
-
-
updateBankInformation(int? bankInformationId, String bankName, String accountNumber, String isPublished)
→ Future<BankInformation>
-
-
updateBusinessInfo(int? businessInfoId, String contactNumber, String companyDescription, String businessStartTime, String businessFinishTime, String monday, String tuesday, String wednesday, String thursday, String friday, String saturday, String sunday, String isPublished, String personInChargeName, String phoneNumber, String vendorEmail, String isPublished2, String vendorAddress, String country, String state, String city, String postCode, String businessLatitude, String businessLongitude, String isPublished3, String bankName, String accountNumber, String isPublished4)
→ Future<BusinessInfo>
-
-
updateOrders(int? orderId, String orderStatus, String vendor, String customer, String startDate, String endDate, String orderTotal)
→ Future<Orders>
-
-
updateService(int? serviceId, String serviceName, String serviceDescription, String ssu, String servicePrice, int stock, String serviceSpecialPrice, String specialPriceStart, String specialPriceEnd, String taxType, String isPublished, String vendor)
→ Future<Service>
-
-
updateServiceMapping(int? mappingId, String mapping, String vendor)
→ Future<ServiceMapping>
-
-
updateServiceVariation(int? variationsId, String variationName, String vendor, String control)
→ Future<ServiceVariation>
-
-
updateVendorAddress(int? vendorAddressId, String vendorAddress, String country, String state, String city, String postCode, String businessLatitude, String businessLongitude, String isPublished)
→ Future<VendorAddress>
-