Class

com.ticketfly.spreedly

SpreedlyClient

Related Doc: package spreedly

Permalink

class SpreedlyClient extends SpreedlyGatewayProviderActions with SpreedlyGatewayAccountActions with SpreedlyPaymentMethodActions with SpreedlyTransactionActions

Linear Supertypes
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. SpreedlyClient
  2. SpreedlyTransactionActions
  3. SpreedlyPaymentMethodActions
  4. SpreedlyGatewayAccountActions
  5. SpreedlyGatewayProviderActions
  6. AnyRef
  7. Any
  1. Hide All
  2. Show all
Visibility
  1. Public
  2. All

Instance Constructors

  1. new SpreedlyClient(config: SpreedlyConfiguration)(implicit system: ActorSystem)

    Permalink

Value Members

  1. final def !=(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  4. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  5. def authorizeTransaction(request: SpreedlyTransactionRequest): Future[SpreedlyTransactionResponse]

    Permalink

    Contact the payment gateway to verify if funds can be transferred in a transaction.

    Contact the payment gateway to verify if funds can be transferred in a transaction. Once authorized, the transaction can be performed via capture.

    Definition Classes
    SpreedlyClientSpreedlyTransactionActions
  6. def captureTransaction(request: SpreedlyTransactionRequest): Future[SpreedlyTransactionResponse]

    Permalink

    Perform a fund transfer which has already been authorized.

    Perform a fund transfer which has already been authorized.

    Definition Classes
    SpreedlyClientSpreedlyTransactionActions
  7. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  8. def createGatewayAccount(account: SpreedlyGatewayAccount): Future[SpreedlyGatewayAccount]

    Permalink
  9. def createPaymentMethod(creditCard: SpreedlyCreditCard): Future[SpreedlyTransactionResponse]

    Permalink

    **************** Payment Methods ****************

    **************** Payment Methods ****************

    Definition Classes
    SpreedlyClientSpreedlyPaymentMethodActions
  10. final def eq(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  11. def equals(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  12. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  13. def generalCredit(request: SpreedlyTransactionRequest): Future[SpreedlyTransactionResponse]

    Permalink

    Add funds to a payment method.

    Add funds to a payment method. Not allowed by all gateways.

    Definition Classes
    SpreedlyClientSpreedlyTransactionActions
  14. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
  15. def getGatewayAccount(token: String): Future[SpreedlyGatewayAccount]

    Permalink
  16. def getGatewayProvider(name: String): Future[Option[SpreedlyGatewayProvider]]

    Permalink

    **************** Gateway Providers ****************

    **************** Gateway Providers ****************

    Definition Classes
    SpreedlyClientSpreedlyGatewayProviderActions
  17. def getPaymentMethod(paymentMethodToken: String): Future[SpreedlyPaymentMethod]

    Permalink
  18. def getTransaction(token: String): Future[SpreedlyTransactionResponse]

    Permalink
  19. def getTranscript(token: String): Future[String]

    Permalink
  20. def hashCode(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  21. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  22. def listAllTransactions(sinceToken: Option[String] = None, desc: Boolean = false): Future[Seq[SpreedlyTransactionResponse]]

    Permalink
  23. def listGatewayAccounts(sinceToken: Option[String] = None, desc: Boolean = false, retained: Boolean = false): Future[Seq[SpreedlyGatewayAccount]]

    Permalink
  24. def listGatewayProviders: Future[Seq[SpreedlyGatewayProvider]]

    Permalink
  25. def listGatewayTransactions(gatewayToken: String, sinceToken: Option[String] = None, desc: Boolean = false): Future[Seq[SpreedlyTransactionResponse]]

    Permalink
  26. def listPaymentMethodTransactions(paymentMethodToken: String, sinceToken: Option[String] = None, desc: Boolean = false): Future[Seq[SpreedlyTransactionResponse]]

    Permalink
  27. def listPaymentMethods(sinceToken: Option[String] = None, desc: Boolean = false, retained: Boolean = false): Future[Seq[SpreedlyPaymentMethod]]

    Permalink
  28. final def ne(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  29. final def notify(): Unit

    Permalink
    Definition Classes
    AnyRef
  30. final def notifyAll(): Unit

    Permalink
    Definition Classes
    AnyRef
  31. def purchase(gatewayAccountToken: String, paymentMethodToken: String, amountInCents: Int, currencyCode: String = "USD", retain: Boolean = true): Future[SpreedlyTransactionResponse]

    Permalink

    Helper for creating a standard gateway purchase

    Helper for creating a standard gateway purchase

    Definition Classes
    SpreedlyClientSpreedlyGatewayAccountActions
  32. def purchase(request: SpreedlyTransactionRequest): Future[SpreedlyTransactionResponse]

    Permalink

    Purchase using gateway account token, payment method token, amount, and currency code

    Purchase using gateway account token, payment method token, amount, and currency code

    Definition Classes
    SpreedlyClientSpreedlyGatewayAccountActions
  33. def purchaseReference(referenceTransactionToken: String, amountInCents: Integer, currencyCode: String): Future[SpreedlyTransactionResponse]

    Permalink

    Make a reference purchase, for the case where cards are not retained

    Make a reference purchase, for the case where cards are not retained

    Definition Classes
    SpreedlyClientSpreedlyTransactionActions
    See also

    https://docs.spreedly.com/guides/using-payment-methods/#reference-purchases

  34. def recachePaymentMethod(paymentMethod: SpreedlyPaymentMethod): Future[SpreedlyTransactionResponse]

    Permalink
  35. def recachePaymentMethod(paymentMethodToken: String, verificationValue: String): Future[SpreedlyTransactionResponse]

    Permalink
  36. def redactGatewayAccount(account: SpreedlyGatewayAccount): Future[SpreedlyTransactionResponse]

    Permalink
  37. def redactPaymentMethod(paymentMethodToken: String, gatewayAccountToken: Option[String] = None): Future[SpreedlyTransactionResponse]

    Permalink
  38. def refundTransaction(request: SpreedlyTransactionRequest): Future[SpreedlyTransactionResponse]

    Permalink
  39. val rest: SpreedlyRestDispatcher

    Permalink
    Attributes
    protected
  40. def retainGatewayAccount(account: SpreedlyGatewayAccount): Future[SpreedlyTransactionResponse]

    Permalink
  41. def retainPaymentMethod(paymentMethodToken: String): Future[SpreedlyTransactionResponse]

    Permalink
  42. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  43. def toString(): String

    Permalink
    Definition Classes
    AnyRef → Any
  44. def updateGatewayAccount(account: SpreedlyGatewayAccount): Future[SpreedlyGatewayAccount]

    Permalink

    Update credentials for a gateway account

    Update credentials for a gateway account

    Definition Classes
    SpreedlyClientSpreedlyGatewayAccountActions
  45. def updatePaymentMethod(paymentMethod: SpreedlyPaymentMethod): Future[SpreedlyPaymentMethod]

    Permalink
  46. def verifyGatewayAccount(request: SpreedlyTransactionRequest): Future[SpreedlyTransactionResponse]

    Permalink
  47. def voidTransaction(request: SpreedlyTransactionRequest): Future[SpreedlyTransactionResponse]

    Permalink
  48. final def wait(): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  49. final def wait(arg0: Long, arg1: Int): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  50. final def wait(arg0: Long): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from AnyRef

Inherited from Any

Ungrouped