Package

com.gu.zuora

rest

Permalink

package rest

Linear Supertypes
AnyRef, Any
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. rest
  2. AnyRef
  3. Any
  1. Hide All
  2. Show all
Visibility
  1. Public
  2. All

Type Members

  1. class Client extends LazyLogging

    Permalink
  2. case class Error(code: Int, message: String) extends scala.Product with Serializable

    Permalink
  3. case class Failure(processId: String, reasons: Seq[Error]) extends scala.Product with Serializable

    Permalink
  4. case class Feature(id: String, featureCode: String) extends scala.Product with Serializable

    Permalink
  5. case class Product(id: String, name: String, ProductType__c: Option[String], Tier__c: Option[String], productRatePlans: Seq[ProductRatePlan]) extends scala.Product with Serializable

    Permalink
  6. case class ProductCatalog(products: Seq[Product]) extends scala.Product with Serializable

    Permalink
  7. case class ProductRatePlan(id: String, name: String, description: Option[String], Saving__c: Option[String], status: String, productRatePlanCharges: Seq[ProductRatePlanCharge]) extends scala.Product with Serializable

    Permalink
  8. case class ProductRatePlanCharge(id: String, name: String, model: String, ProductType__c: Option[String], billingPeriod: Option[String], pricingSummary: List[String]) extends scala.Product with Serializable

    Permalink
  9. case class RatePlan(id: String, productId: String, productRatePlanId: String, productName: String, subscriptionProductFeatures: List[Feature], ratePlanCharges: List[RatePlanCharge]) extends scala.Product with Serializable

    Permalink
  10. case class RatePlanCharge(name: String, id: String, billingPeriod: Option[String], pricingSummary: String, effectiveStartDate: github.nscala_time.time.Imports.LocalDate, effectiveEndDate: github.nscala_time.time.Imports.LocalDate, chargedThroughDate: Option[github.nscala_time.time.Imports.LocalDate], model: String) extends scala.Product with Serializable

    Permalink
  11. type Response[T] = \/[Failure, T]

    Permalink
  12. case class SimpleClient[M[_]](config: ZuoraRestConfig, run: (Request) ⇒ M[squareup.okhttp.Response])(implicit evidence$1: Functor[M]) extends scala.Product with Serializable

    Permalink

    This is the smallest client required to talk to Zuora over REST It just authenticates calls, adds the right URL and lets you send JSON via a particular request method

  13. case class Subscription(id: String, subscriptionNumber: String, accountId: String, termStartDate: github.nscala_time.time.Imports.LocalDate, termEndDate: github.nscala_time.time.Imports.LocalDate, contractEffectiveDate: github.nscala_time.time.Imports.LocalDate, customerAcceptanceDate: github.nscala_time.time.Imports.LocalDate, PromotionCode__c: Option[String], ratePlans: Seq[RatePlan], status: SubscriptionStatus, ActivationDate__c: Option[DateTime]) extends scala.Product with Serializable

    Permalink
  14. sealed trait SubscriptionStatus extends AnyRef

    Permalink
  15. case class ZuoraPaymentMethod(defaultPaymentMethod: String, tokenId: String, secondTokenId: String) extends scala.Product with Serializable

    Permalink
  16. case class ZuoraResponse(success: Boolean) extends scala.Product with Serializable

    Permalink

Value Members

  1. object Active extends SubscriptionStatus with scala.Product with Serializable

    Permalink
  2. object Cancelled extends SubscriptionStatus with scala.Product with Serializable

    Permalink
  3. object Draft extends SubscriptionStatus with scala.Product with Serializable

    Permalink
  4. object Expired extends SubscriptionStatus with scala.Product with Serializable

    Permalink
  5. object PendingAcceptance extends SubscriptionStatus with scala.Product with Serializable

    Permalink
  6. object PendingActivation extends SubscriptionStatus with scala.Product with Serializable

    Permalink
  7. object Readers

    Permalink
  8. object RequestRunners extends LazyLogging

    Permalink

    These are functions from an OkHttpRequest to an M[Response] which are passed into SimpleClient to determine how it processes HTTP requests

  9. object SubscriptionReads

    Permalink

Inherited from AnyRef

Inherited from Any

Ungrouped