| OVERVIEW | PACKAGE | CONSTR | FIELDS | METHODS | FRAMES NO FRAMES | INHERITED |
trait PaypalIPN
extends
BasePaypalTrait
// in Whatever.scala
object MyPayPalHandler extends PayPal {
import PaypalTransactionStatus._
def actions = {
case (ClearedPayment, info, _) => // write the payment to the database
case (RefundedPayment, info, _) => // process refund
}
}
// in Boot.scala
LiftRules.statelessDispatchTable = MyPayPalHandler orElse
LiftRules.statelessDispatchTable
In this way you then get all the DispatchPF processing stuff for free.
| IPNPath.. |
lazy val IPNPath
|
String | |
| MaxRetry.. |
val MaxRetry
How many times do we try to verify the request
|
Int | |
| PingMe.. |
protected case object PingMe
|
|
|
| RootPath.. |
lazy val RootPath
|
String | BasePaypalTrait |
| connection.. |
def connection
|
PaypalConnection | BasePaypalTrait |
| dispatch.. |
override def dispatch
|
List[PartialFunction] | |
| functionName.. |
def functionName
|
String | BasePaypalTrait |
| ipnPath.. |
def ipnPath
|
String | |
| mode.. |
lazy val mode
|
PaypalMode | BasePaypalTrait |
| requestQueue.. |
protected object requestQueue
|
|
|
| rootPath.. |
def rootPath
|
String | BasePaypalTrait |
| !=.. |
final def !=(arg0 : Any)
|
Boolean | Any |
| !=.. |
final def !=(arg0 : Object)
|
Boolean | AnyRef |
| ==.. |
final def ==(arg0 : Object)
|
Boolean | AnyRef |
| ==.. |
final def ==(arg0 : Any)
|
Boolean | Any |
| actions.. |
abstract def actions
|
PartialFunction[(Box[Value], PayPalInfo, Req), Unit] | |
| andThen.. |
override def andThen[C](arg0 : (B) => C)
|
PartialFunction[A, C] | PartialFunction |
| apply.. |
def apply(r : Req)
|
() => Box[LiftResponse] | BasePaypalTrait |
| asInstanceOf.. |
final def asInstanceOf[T0]
|
T0 | Any |
| buildInfo.. |
protected def buildInfo(resp : PaypalResponse, req : Req)
|
Box[PayPalInfo] | |
| clone.. |
protected def clone
|
Object | AnyRef |
| compose.. |
def compose[A](arg0 : (A) => T1)
|
(A) => R | Function1 |
| defaultResponse.. |
def defaultResponse
|
Box[LiftResponse] | |
| eq.. |
final def eq(arg0 : Object)
|
Boolean | AnyRef |
| equals.. |
def equals(arg0 : Any)
|
Boolean | AnyRef |
| finalize.. |
protected def finalize
|
Unit | AnyRef |
| getClass.. |
final def getClass
|
Class[Any] | AnyRef |
| hashCode.. |
def hashCode
|
Int | AnyRef |
| isDefinedAt.. |
def isDefinedAt(r : Req)
|
Boolean | BasePaypalTrait |
| isInstanceOf.. |
final def isInstanceOf[T0]
|
Boolean | Any |
| ne.. |
final def ne(arg0 : Object)
|
Boolean | AnyRef |
| notify.. |
final def notify
|
Unit | AnyRef |
| notifyAll.. |
final def notifyAll
|
Unit | AnyRef |
| orElse.. |
def orElse[A1 <: A, B1 >: B](arg0 : PartialFunction[A1, B1])
|
PartialFunction[A1, B1] | PartialFunction |
| synchronized.. |
final def synchronized[T0](arg0 : T0)
|
T0 | AnyRef |
| toString.. |
override def toString
|
String | Function1 |
| wait.. |
final def wait(arg0 : Long)
|
Unit | AnyRef |
| wait.. |
final def wait
|
Unit | AnyRef |
| wait.. |
final def wait(arg0 : Long, arg1 : Int)
|
Unit | AnyRef |
| OVERVIEW | PACKAGE | CONSTR | FIELDS | METHODS | FRAMES NO FRAMES | INHERITED |