Subversion Repositories SmartDukaan

Rev

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

Rev 1731 Rev 1856
Line 49... Line 49...
49
    """
49
    """
50
    pass
50
    pass
51
 
51
 
52
  def getPayments(self, fromTime, toTime, status, gatewayId):
52
  def getPayments(self, fromTime, toTime, status, gatewayId):
53
    """
53
    """
54
    * Returns all payments based on following filters.
54
    get all payments for user. Gateway is mandatory.
55
    status
-
 
56
    fromTime: if 0 then not considered else filters on initTimestamp >= fromTime
-
 
57
    toTime: if -1 then not considered else filters on successTimestamp or errorTimestamp <= toTime
-
 
58
    *
55
    
59
    
56
    
60
    Parameters:
57
    Parameters:
61
     - fromTime
58
     - fromTime
62
     - toTime
59
     - toTime
63
     - status
60
     - status
Line 241... Line 238...
241
      raise result.pe
238
      raise result.pe
242
    raise TApplicationException(TApplicationException.MISSING_RESULT, "getPaymentsForUser failed: unknown result");
239
    raise TApplicationException(TApplicationException.MISSING_RESULT, "getPaymentsForUser failed: unknown result");
243
 
240
 
244
  def getPayments(self, fromTime, toTime, status, gatewayId):
241
  def getPayments(self, fromTime, toTime, status, gatewayId):
245
    """
242
    """
246
    * Returns all payments based on following filters.
243
    get all payments for user. Gateway is mandatory.
247
    status
-
 
248
    fromTime: if 0 then not considered else filters on initTimestamp >= fromTime
-
 
249
    toTime: if -1 then not considered else filters on successTimestamp or errorTimestamp <= toTime
-
 
250
    *
244
    
251
    
245
    
252
    Parameters:
246
    Parameters:
253
     - fromTime
247
     - fromTime
254
     - toTime
248
     - toTime
255
     - status
249
     - status