com
.
gu
.
memsub
.
promo
Promotion
Related Docs:
object Promotion
|
package promo
case class
Promotion
[
+T <:
PromotionType
]
(
appliesTo:
AppliesTo
,
campaignName:
String
,
codes:
PromoCodeSet
,
description:
String
,
starts:
github.nscala_time.time.Imports.DateTime
,
expires:
github.nscala_time.time.Imports.DateTime
,
imageUrl:
Option
[
String
]
,
promotionType:
T
,
roundelHtml:
String
,
title:
String
)
extends
Product
with
Serializable
Linear Supertypes
Serializable
,
Serializable
,
Product
,
Equals
,
AnyRef
,
Any
Ordering
Alphabetic
By inheritance
Inherited
Promotion
Serializable
Serializable
Product
Equals
AnyRef
Any
Hide All
Show all
Visibility
Public
All
Instance Constructors
new
Promotion
(
appliesTo:
AppliesTo
,
campaignName:
String
,
codes:
PromoCodeSet
,
description:
String
,
starts:
github.nscala_time.time.Imports.DateTime
,
expires:
github.nscala_time.time.Imports.DateTime
,
imageUrl:
Option
[
String
]
,
promotionType:
T
,
roundelHtml:
String
,
title:
String
)
Value Members
final
def
!=
(
arg0:
Any
)
:
Boolean
Definition Classes
AnyRef → Any
final
def
##
()
:
Int
Definition Classes
AnyRef → Any
final
def
==
(
arg0:
Any
)
:
Boolean
Definition Classes
AnyRef → Any
val
appliesTo
:
AppliesTo
def
applyDiscountToPrice
(
price:
Price
)
:
Price
final
def
asInstanceOf
[
T0
]
:
T0
Definition Classes
Any
val
campaignName
:
String
def
clone
()
:
AnyRef
Attributes
protected[
java.lang
]
Definition Classes
AnyRef
Annotations
@throws
(
...
)
val
codes
:
PromoCodeSet
val
description
:
String
final
def
eq
(
arg0:
AnyRef
)
:
Boolean
Definition Classes
AnyRef
val
expires
:
github.nscala_time.time.Imports.DateTime
def
finalize
()
:
Unit
Attributes
protected[
java.lang
]
Definition Classes
AnyRef
Annotations
@throws
(
classOf[java.lang.Throwable]
)
final
def
getClass
()
:
Class
[_]
Definition Classes
AnyRef → Any
val
imageUrl
:
Option
[
String
]
final
def
isInstanceOf
[
T0
]
:
Boolean
Definition Classes
Any
final
def
ne
(
arg0:
AnyRef
)
:
Boolean
Definition Classes
AnyRef
final
def
notify
()
:
Unit
Definition Classes
AnyRef
final
def
notifyAll
()
:
Unit
Definition Classes
AnyRef
val
promotionType
:
T
val
roundelHtml
:
String
val
starts
:
github.nscala_time.time.Imports.DateTime
final
def
synchronized
[
T0
]
(
arg0: ⇒
T0
)
:
T0
Definition Classes
AnyRef
val
title
:
String
def
validateFor
(
prpId:
ProductRatePlanId
,
country:
Country
,
now:
github.nscala_time.time.Imports.DateTime
=
DateTime.now()
)
:
\/
[
PromoError
,
Unit
]
final
def
wait
()
:
Unit
Definition Classes
AnyRef
Annotations
@throws
(
...
)
final
def
wait
(
arg0:
Long
,
arg1:
Int
)
:
Unit
Definition Classes
AnyRef
Annotations
@throws
(
...
)
final
def
wait
(
arg0:
Long
)
:
Unit
Definition Classes
AnyRef
Annotations
@throws
(
...
)
def
whenFreeTrial
:
Option
[
Promotion
[
FreeTrial
]]
def
whenIncentive
:
Option
[
Promotion
[
Incentive
]]
def
whenPercentDiscount
:
Option
[
Promotion
[
PercentDiscount
]]
def
whenTracking
:
Option
[
Promotion
[
Tracking
.type]]
Inherited from
Serializable
Inherited from
Serializable
Inherited from
Product
Inherited from
Equals
Inherited from
AnyRef
Inherited from
Any
Ungrouped