com.ning.billing.payment.dao.RefundSqlDao.sql.stg Maven / Gradle / Ivy
group RefundSqlDao: EntitySqlDao;
tableName() ::= "refunds"
historyTableName() ::= "refund_history"
tableFields(prefix) ::= <<
account_id
, payment_id
, amount
, currency
, is_adjusted
, refund_status
, created_by
, created_date
, updated_by
, updated_date
>>
tableValues() ::= <<
:accountId
, :paymentId
, :amount
, :currency
, :isAdjusted
, :refundStatus
, :createdBy
, :createdDate
, :updatedBy
, :updatedDate
>>
updateStatus(refundStatus) ::= <<
update
set refund_status = :refundStatus
where id = :id
;
>>
getRefundsForPayment(paymentId) ::= <<
select
from
where payment_id = :paymentId
;
>>
getRefundsForAccount(accountId) ::= <<
select
from
where account_id = :accountId
;
>>
© 2015 - 2025 Weber Informatics LLC | Privacy Policy