TransactionServiceInterface
interface TransactionServiceInterface
Interface to be called for DI for TransactionServiceInterface related services
Methods
add($orderId, $credits, $description, $user)
Adds Transaction + User's credits
create($orderId = null)
Creates Transaction
mixed
getAll($user)
Gets all the Transaction for the user
Details
at line 26
Transaction
add($orderId, $credits, $description, $user)
Adds Transaction + User's credits
at line 32
Transaction
addPayment(Payment $payment, $credits, $user)
Adds a Pyment in Transaction
at line 38
Transaction
create($orderId = null)
Creates Transaction
at line 44
mixed
getAll($user)
Gets all the Transaction for the user
at line 49
persist(Transaction $transaction, $user)
Persists Transaction + User's data