Class

com.gu.zuora.soap.actions.Actions

SubscriptionDetailsViaAmend

Related Doc: package Actions

Permalink

case class SubscriptionDetailsViaAmend(subscriptionId: String, paymentDate: DateTime, numberOfPeriods: Int = 2) extends Action[AmendResult] with Product with Serializable

A hack to get when a subscription charge dates will be effective. While it's possible to get this data from an Invoice of a subscription that charges the user immediately (e.g. annual partner sign up), it's not possible to get this for data for subscriptions that charge in the future (subs offer that charges 6 months in). To achieve the latter an amend call with preview can be used - this works for the first case too

The dummy amend also sets the subscription to be evergreen - an infinite term length while the real subscriptions have one year terms. This is so we still get invoices for annual subs which have already been billed

Linear Supertypes
Serializable, Serializable, Product, Equals, Action[AmendResult], AnyRef, Any
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. SubscriptionDetailsViaAmend
  2. Serializable
  3. Serializable
  4. Product
  5. Equals
  6. Action
  7. AnyRef
  8. Any
  1. Hide All
  2. Show all
Visibility
  1. Public
  2. All

Instance Constructors

  1. new SubscriptionDetailsViaAmend(subscriptionId: String, paymentDate: DateTime, numberOfPeriods: Int = 2)

    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. def additionalLogInfo: Map[String, String]

    Permalink
    Definition Classes
    SubscriptionDetailsViaAmendAction
  5. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  6. val authRequired: Boolean

    Permalink
    Definition Classes
    Action
  7. val body: Elem

    Permalink
    Definition Classes
    SubscriptionDetailsViaAmendAction
  8. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  9. val date: DateTime

    Permalink
  10. final def eq(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  11. def finalize(): Unit

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

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

    Permalink
    Definition Classes
    Any
  14. def logInfo: Map[String, String]

    Permalink
    Definition Classes
    Action
  15. final def ne(arg0: AnyRef): Boolean

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

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

    Permalink
    Definition Classes
    AnyRef
  18. val now: DateTime

    Permalink
  19. val numberOfPeriods: Int

    Permalink
  20. val paymentDate: DateTime

    Permalink
  21. def prettyLogInfo: String

    Permalink
    Definition Classes
    Action
  22. def sanitized: String

    Permalink
    Definition Classes
    Action
  23. val singleTransaction: Boolean

    Permalink
    Definition Classes
    Action
  24. val subscriptionId: String

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

    Permalink
    Definition Classes
    AnyRef
  26. final def wait(): Unit

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

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

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  29. def xml(authentication: Option[Authentication]): Elem

    Permalink
    Definition Classes
    Action

Inherited from Serializable

Inherited from Serializable

Inherited from Product

Inherited from Equals

Inherited from Action[AmendResult]

Inherited from AnyRef

Inherited from Any

Ungrouped