trait
ZuoraService extends AnyRef
Abstract Value Members
-
abstract
def
cancelPlan(subscription: Subscription, cancelDate: github.nscala_time.time.Imports.DateTime): Future[AmendResult]
-
abstract
def
createCreditCardPaymentMethod(accountId: AccountId, stripeCustomer: Customer): Future[UpdateResult]
-
abstract
def
createFreeEventUsage(accountId: AccountId, subscriptionNumber: Name, description: String, quantity: Int): Future[CreateResult]
-
abstract
def
createSubscription(subscribeAccount: Account, paymentMethod: Option[PaymentMethod], productRatePlanId: ProductRatePlanId, name: FullName, address: Address, promoCode: Option[PromoCode] = None, paymentDelay: Option[github.nscala_time.time.Imports.Period] = None, ipAddressOpt: Option[String] = None, featureIds: Seq[Id] = Seq.empty): Future[SubscribeResult]
-
abstract
def
downgradePlan(subscription: Subscription with Paid, futureRatePlanId: ProductRatePlanId, effectiveFrom: github.nscala_time.time.Imports.DateTime): Future[AmendResult]
-
abstract
def
getAccount(accountId: AccountId): Future[Account]
-
abstract
def
getAccount(subscription: Subscription): Future[Account]
-
abstract
def
getAccounts(contactId: ContactId): Future[Seq[Account]]
-
abstract
def
getContact(billToId: String): Future[Contact]
-
abstract
def
getDefaultPaymentMethod(account: Account): Future[PaymentMethod]
-
abstract
def
getFeatures: Future[Seq[Feature]]
-
abstract
def
getPaymentMethod(account: Account): Future[Option[PaymentMethod]]
-
abstract
def
getPaymentSummary(subscriptionNumber: Name, accountCurrency: Currency): Future[PaymentSummary]
-
abstract
def
getProduct(productRatePlanId: ProductRatePlan): Future[Product]
-
abstract
def
getProductRatePlan(ratePlan: RatePlan): Future[ProductRatePlan]
-
abstract
def
getRatePlan(subscription: Subscription): Future[RatePlan]
-
abstract
def
getRatePlans(subscription: Subscription): Future[Seq[RatePlan]]
-
abstract
def
getRestSubscription(name: Name): Future[Option[Subscription]]
-
abstract
def
getSubscription(id: Id): Future[Subscription]
-
abstract
def
getSubscription(name: Name): Future[Subscription]
-
abstract
def
getSubscriptionStatus(subscriptionNumber: Name): Future[SubscriptionStatus]
-
abstract
def
getSubscriptions(contactId: ContactId): Future[Seq[Subscription]]
-
abstract
def
getSubscriptions(accountKeys: Set[AccountId]): Future[Seq[Subscription]]
-
abstract
def
getSubscriptions(name: Name): Future[Seq[Subscription]]
-
abstract
def
getSubscriptionsByCasId(casId: String): Future[Seq[Subscription]]
-
abstract
def
getUsages(subscriptionNumber: Name, unitOfMeasure: String, startDate: github.nscala_time.time.Imports.DateTime): Future[Seq[Usage]]
-
abstract
def
lastPingTimeWithin(d: ReadableDuration): Boolean
-
abstract
def
previewInvoices(subscriptionId: Id): Future[Seq[PreviewInvoiceItem]]
-
abstract
def
recurringRatePlanCharge(subscription: Subscription): Future[RatePlanCharge]
-
abstract
def
updateActivationDate(subscriptionId: Id): Future[Unit]
-
abstract
def
upgradeSubscription(subscription: Subscription, newRatePlanId: ProductRatePlanId, featureIds: Seq[Id], preview: Boolean): Future[AmendResult]
Concrete Value Members
-
final
def
!=(arg0: Any): Boolean
-
final
def
##(): Int
-
final
def
==(arg0: Any): Boolean
-
final
def
asInstanceOf[T0]: T0
-
def
clone(): AnyRef
-
final
def
eq(arg0: AnyRef): Boolean
-
def
equals(arg0: Any): Boolean
-
def
finalize(): Unit
-
final
def
getClass(): Class[_]
-
def
hashCode(): Int
-
final
def
isInstanceOf[T0]: Boolean
-
final
def
ne(arg0: AnyRef): Boolean
-
final
def
notify(): Unit
-
final
def
notifyAll(): Unit
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
-
def
toString(): String
-
final
def
wait(): Unit
-
final
def
wait(arg0: Long, arg1: Int): Unit
-
final
def
wait(arg0: Long): Unit
Inherited from AnyRef
Inherited from Any