com.gu.zuora.soap.actions.Actions

SubscriptionDetailsViaAmend

Related Doc: package Actions

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
Learn more about member selection
Visibility
  1. Public
  2. All

Instance Constructors

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

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

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

    Definition Classes
    Any
  6. val authRequired: Boolean

    Definition Classes
    Action
  7. val body: Elem

    Definition Classes
    SubscriptionDetailsViaAmendAction
  8. def clone(): AnyRef

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

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

    Definition Classes
    AnyRef
  11. def finalize(): Unit

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

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

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

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

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

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

    Definition Classes
    AnyRef
  18. val now: DateTime

  19. val numberOfPeriods: Int

  20. val paymentDate: DateTime

  21. def prettyLogInfo: String

    Definition Classes
    Action
  22. def sanitized: String

    Definition Classes
    Action
  23. val singleTransaction: Boolean

    Definition Classes
    Action
  24. val subscriptionId: String

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

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

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

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

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

    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