| Line 567... |
Line 567... |
| 567 |
t_CreditHistory.credit_type = CreditTxnType._NAMES_TO_VALUES[creditHistory.credit_type]
|
567 |
t_CreditHistory.credit_type = CreditTxnType._NAMES_TO_VALUES[creditHistory.credit_type]
|
| 568 |
t_CreditHistory.shipping_id = creditHistory.shipping_id
|
568 |
t_CreditHistory.shipping_id = creditHistory.shipping_id
|
| 569 |
t_CreditHistory.created = to_java_date(creditHistory.created)
|
569 |
t_CreditHistory.created = to_java_date(creditHistory.created)
|
| 570 |
return t_CreditHistory
|
570 |
return t_CreditHistory
|
| 571 |
|
571 |
|
| 572 |
def to_t_UserSanction(userSanction):
|
572 |
def to_t_UserSanction(userSanction, ticketSize):
|
| 573 |
t_UserSanction = TUserSanction()
|
573 |
t_UserSanction = TUserSanction()
|
| 574 |
t_UserSanction.user_id = userSanction.user_id
|
574 |
t_UserSanction.user_id = userSanction.user_id
|
| 575 |
t_UserSanction.creditor_id = userSanction.creditor_id
|
575 |
t_UserSanction.creditor_id = userSanction.creditor_id
|
| 576 |
t_UserSanction.user_ref_id = userSanction.user_ref_id
|
576 |
t_UserSanction.user_ref_id = userSanction.user_ref_id
|
| 577 |
t_UserSanction.credit_limit = userSanction.credit_limit
|
577 |
t_UserSanction.credit_limit = userSanction.credit_limit
|
| Line 579... |
Line 579... |
| 579 |
t_UserSanction.loan = userSanction.loan
|
579 |
t_UserSanction.loan = userSanction.loan
|
| 580 |
t_UserSanction.active = userSanction.active
|
580 |
t_UserSanction.active = userSanction.active
|
| 581 |
t_UserSanction.created = to_java_date(userSanction.created)
|
581 |
t_UserSanction.created = to_java_date(userSanction.created)
|
| 582 |
if userSanction.updated:
|
582 |
if userSanction.updated:
|
| 583 |
t_UserSanction.updated = to_java_date(userSanction.updated)
|
583 |
t_UserSanction.updated = to_java_date(userSanction.updated)
|
| - |
|
584 |
t_UserSanction.ticket_size = ticketSize
|
| 584 |
|
585 |
|
| 585 |
return t_UserSanction
|
586 |
return t_UserSanction
|
| 586 |
|
587 |
|
| 587 |
def to_t_LoanHistory(loanHistory):
|
588 |
def to_t_LoanHistory(loanHistory):
|
| 588 |
t_LoanHistory = TLoanHistory()
|
589 |
t_LoanHistory = TLoanHistory()
|