Subversion Repositories SmartDukaan

Rev

Rev 23823 | Rev 24087 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 23823 Rev 23891
Line 1... Line 1...
1
package com.spice.profitmandi.service.order;
1
package com.spice.profitmandi.service.order;
2
 
2
 
-
 
3
import java.time.LocalDateTime;
3
import java.util.List;
4
import java.util.List;
4
import java.util.Map;
5
import java.util.Map;
5
 
6
 
6
import org.springframework.stereotype.Service;
7
import org.springframework.stereotype.Service;
7
 
8
 
Line 24... Line 25...
24
	public PdfModel getInvoicePdfModel(int fofoId, int orderId) throws ProfitMandiBusinessException;
25
	public PdfModel getInvoicePdfModel(int fofoId, int orderId) throws ProfitMandiBusinessException;
25
	public PdfModel getInvoicePdfModel(int orderId) throws ProfitMandiBusinessException;
26
	public PdfModel getInvoicePdfModel(int orderId) throws ProfitMandiBusinessException;
26
	public String getBillingAddress(CustomerAddress customerAddress);
27
	public String getBillingAddress(CustomerAddress customerAddress);
27
	public List<CartFofo> cartCheckout(String cartJson) throws ProfitMandiBusinessException;
28
	public List<CartFofo> cartCheckout(String cartJson) throws ProfitMandiBusinessException;
28
	public List<FofoOrderItem> getByOrderId(int orderId)throws ProfitMandiBusinessException;
29
	public List<FofoOrderItem> getByOrderId(int orderId)throws ProfitMandiBusinessException;
29
	public Map<String, Object> getSaleHistory(int fofoId, SearchType searchType, String searchValue, String startTimeString, String endTimeString, int offset, int limit) throws ProfitMandiBusinessException;
30
	public Map<String, Object> getSaleHistory(int fofoId, SearchType searchType, String searchValue, LocalDateTime startDate, LocalDateTime endDate, int offset, int limit) throws ProfitMandiBusinessException;
30
	public Map<String, Object> getSaleHistoryPaginated(int fofoId, SearchType searchType, String searchValue, String startTimeString, String endTimeString, int offset, int limit) throws ProfitMandiBusinessException;
31
	public Map<String, Object> getSaleHistoryPaginated(int fofoId, SearchType searchType, String searchValue, LocalDateTime startDate, LocalDateTime endDate, int offset, int limit) throws ProfitMandiBusinessException;
31
	public int generatePrebookingOrdersOtp(String customerEmailId, String customerMobileNumber, Map<Integer, Float> itemIdAdvanceAmount) throws ProfitMandiBusinessException;
32
	public int generatePrebookingOrdersOtp(String customerEmailId, String customerMobileNumber, Map<Integer, Float> itemIdAdvanceAmount) throws ProfitMandiBusinessException;
32
	public String validateOtp(String customerEmailId, String customerMobileNumber, int otpId, String otp) throws ProfitMandiBusinessException;
33
	public String validateOtp(String customerEmailId, String customerMobileNumber, int otpId, String otp) throws ProfitMandiBusinessException;
33
	public CustomerCreditNote badReturn(int fofoId, FoiBadReturnRequest foiBadReturnRequest) throws ProfitMandiBusinessException;
34
	public CustomerCreditNote badReturn(int fofoId, FoiBadReturnRequest foiBadReturnRequest) throws ProfitMandiBusinessException;
34
	public CreditNotePdfModel getCreditNotePdfModel(int customerCreditNoteId) throws ProfitMandiBusinessException;
35
	public CreditNotePdfModel getCreditNotePdfModel(int customerCreditNoteId) throws ProfitMandiBusinessException;
35
}
36
}