Subversion Repositories SmartDukaan

Rev

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

Rev 4875 Rev 4905
Line 178... Line 178...
178
    transactionDateTo = Field(DateTime)
178
    transactionDateTo = Field(DateTime)
179
    amount = Field(Float)
179
    amount = Field(Float)
180
    detailsUploaded = Field(Boolean)
180
    detailsUploaded = Field(Boolean)
181
    using_options(shortnames=True)
181
    using_options(shortnames=True)
182
    using_table_options(mysql_engine="InnoDB")
182
    using_table_options(mysql_engine="InnoDB")
183
    
183
 
184
class PaymentSettlement(Entity):
184
class PaymentSettlement(Entity):
185
    gatewayTxnId = Field(String(50))
185
    referenceId = Field(Integer)    #PaymentID in case of prepaid & Order Id in case of COD
186
    paymentGatewayId = Field(Integer)
186
    paymentGatewayId = Field(Integer)
187
    paymentId = Field(Integer)
-
 
188
    settlementDate = Field(DateTime)
187
    settlementDate = Field(DateTime)
189
    serviceTax = Field(Float)
188
    serviceTax = Field(Float)
190
    otherCharges = Field(Float)
189
    otherCharges = Field(Float)
191
    netCollection = Field(Float)
190
    netCollection = Field(Float)
192
    using_options(shortnames=True)
191
    using_options(shortnames=True)
193
    using_table_options(mysql_engine="InnoDB")
-
 
194
 
-
 
195
class CODPaymentSettlement(Entity):
-
 
196
    orderId = Field(Integer, primary_key = True)
-
 
197
    settlementDate = Field(DateTime)
-
 
198
    collection = Field(Float)
-
 
199
    using_options(shortnames = True)
-
 
200
    using_table_options(mysql_engine = "InnoDB")
-
 
201
192
    using_table_options(mysql_engine="InnoDB")
-
 
193
202
194