com.gu.zuora.api

ZuoraService

Related Docs: object ZuoraService | package api

trait ZuoraService extends AnyRef

Linear Supertypes
AnyRef, Any
Known Subclasses
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. ZuoraService
  2. AnyRef
  3. Any
  1. Hide All
  2. Show all
Learn more about member selection
Visibility
  1. Public
  2. All

Abstract Value Members

  1. abstract def cancelPlan(subscription: Subscription, cancelDate: github.nscala_time.time.Imports.DateTime): Future[AmendResult]

  2. abstract def createCreditCardPaymentMethod(accountId: AccountId, stripeCustomer: Customer): Future[UpdateResult]

  3. abstract def createFreeEventUsage(accountId: AccountId, subscriptionNumber: Name, description: String, quantity: Int): Future[CreateResult]

  4. abstract def createSubscription(subscribeAccount: Account, paymentMethod: Option[PaymentMethod], productRatePlanId: ProductRatePlanId, name: FullName, address: Address, paymentDelay: Option[github.nscala_time.time.Imports.Period] = None, ipAddressOpt: Option[String] = None, featureIds: Seq[String] = Seq.empty): Future[SubscribeResult]

  5. abstract def downgradePlan(subscription: Subscription with Paid, futureRatePlanId: ProductRatePlanId, effectiveFrom: github.nscala_time.time.Imports.DateTime): Future[AmendResult]

  6. abstract def getAccount(accountId: AccountId): Future[Account]

  7. abstract def getAccount(subscription: Subscription): Future[Account]

  8. abstract def getAccounts(contactId: ContactId): Future[Seq[Account]]

  9. abstract def getContact(billToId: String): Future[Contact]

  10. abstract def getDefaultPaymentMethod(account: Account): Future[PaymentMethod]

  11. abstract def getFeatures: Future[Seq[Feature]]

  12. abstract def getPaymentMethod(account: Account): Future[Option[PaymentMethod]]

  13. abstract def getPaymentSummary(subscriptionNumber: Name, accountCurrency: Currency): Future[PaymentSummary]

  14. abstract def getProduct(productRatePlanId: ProductRatePlan): Future[Product]

  15. abstract def getProductRatePlan(ratePlan: RatePlan): Future[ProductRatePlan]

  16. abstract def getRatePlan(subscription: Subscription): Future[RatePlan]

  17. abstract def getRatePlans(subscription: Subscription): Future[Seq[RatePlan]]

  18. abstract def getRestSubscription(name: Name): Future[Option[Subscription]]

  19. abstract def getSubscription(id: Id): Future[Subscription]

  20. abstract def getSubscription(name: Name): Future[Subscription]

  21. abstract def getSubscriptionStatus(subscriptionNumber: Name): Future[SubscriptionStatus]

    returns

    the current and the future subscription version of the user if they have a pending amendment (Currently this is the case only of downgrades, as upgrades are effective immediately)

  22. abstract def getSubscriptions(contactId: ContactId): Future[Seq[Subscription]]

  23. abstract def getSubscriptions(accountKeys: Set[AccountId]): Future[Seq[Subscription]]

  24. abstract def getSubscriptions(name: Name): Future[Seq[Subscription]]

  25. abstract def getSubscriptionsByCasId(casId: String): Future[Seq[Subscription]]

  26. abstract def getUsages(subscriptionNumber: Name, unitOfMeasure: String, startDate: github.nscala_time.time.Imports.DateTime): Future[Seq[Usage]]

  27. abstract def lastPingTimeWithin(d: ReadableDuration): Boolean

  28. abstract def previewInvoices(subscriptionId: Id): Future[Seq[PreviewInvoiceItem]]

  29. abstract def recurringRatePlanCharge(subscription: Subscription): Future[RatePlanCharge]

  30. abstract def updateActivationDate(subscriptionId: Id): Future[Unit]

  31. abstract def upgradeSubscription(subscription: Subscription, newRatePlanId: ProductRatePlanId, featureIds: Seq[FeatureId], preview: Boolean): Future[AmendResult]

Concrete Value Members

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

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

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

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

    Definition Classes
    Any
  5. def clone(): AnyRef

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  6. final def eq(arg0: AnyRef): Boolean

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

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

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  9. final def getClass(): Class[_]

    Definition Classes
    AnyRef → Any
  10. def hashCode(): Int

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

    Definition Classes
    Any
  12. final def ne(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  13. final def notify(): Unit

    Definition Classes
    AnyRef
  14. final def notifyAll(): Unit

    Definition Classes
    AnyRef
  15. final def synchronized[T0](arg0: ⇒ T0): T0

    Definition Classes
    AnyRef
  16. def toString(): String

    Definition Classes
    AnyRef → Any
  17. final def wait(): Unit

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

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

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from AnyRef

Inherited from Any

Ungrouped