com
.
gu
.
membership
MembershipCatalog
Related Docs:
object MembershipCatalog
|
package membership
case class
MembershipCatalog
(
friend:
FreeMembershipPlan
[
Current
,
Friend
]
,
staff:
FreeMembershipPlan
[
Current
,
Staff
]
,
supporter:
PaidMembershipPlans
[
Current
,
Supporter
]
,
partner:
PaidMembershipPlans
[
Current
,
Partner
]
,
patron:
PaidMembershipPlans
[
Current
,
Patron
]
,
planMap:
Map
[
ProductRatePlanId
,
MembershipPlan
[
Status
,
Tier
]]
)
extends
PlanCatalog
with
Product
with
Serializable
Linear Supertypes
Serializable
,
Serializable
,
Product
,
Equals
,
PlanCatalog
,
AnyRef
,
Any
Ordering
Alphabetic
By inheritance
Inherited
MembershipCatalog
Serializable
Serializable
Product
Equals
PlanCatalog
AnyRef
Any
Hide All
Show all
Visibility
Public
All
Instance Constructors
new
MembershipCatalog
(
friend:
FreeMembershipPlan
[
Current
,
Friend
]
,
staff:
FreeMembershipPlan
[
Current
,
Staff
]
,
supporter:
PaidMembershipPlans
[
Current
,
Supporter
]
,
partner:
PaidMembershipPlans
[
Current
,
Partner
]
,
patron:
PaidMembershipPlans
[
Current
,
Patron
]
,
planMap:
Map
[
ProductRatePlanId
,
MembershipPlan
[
Status
,
Tier
]]
)
Type Members
type
Free
=
FreeMembershipPlan
[
Status
,
FreeTier
]
Definition Classes
MembershipCatalog
→
PlanCatalog
type
Paid
=
PaidMembershipPlan
[
Status
,
PaidTier
,
BillingPeriod
]
Definition Classes
MembershipCatalog
→
PlanCatalog
type
Plan
=
MembershipPlan
[
Status
,
Tier
]
Definition Classes
MembershipCatalog
→
PlanCatalog
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
final
def
asInstanceOf
[
T0
]
:
T0
Definition Classes
Any
def
clone
()
:
AnyRef
Attributes
protected[
java.lang
]
Definition Classes
AnyRef
Annotations
@throws
(
...
)
final
def
eq
(
arg0:
AnyRef
)
:
Boolean
Definition Classes
AnyRef
def
finalize
()
:
Unit
Attributes
protected[
java.lang
]
Definition Classes
AnyRef
Annotations
@throws
(
classOf[java.lang.Throwable]
)
def
find
(
ratePlanId:
ProductRatePlanId
)
:
Option
[
MembershipPlan
[
Status
,
Tier
]]
Definition Classes
MembershipCatalog
→
PlanCatalog
def
findFree
[
T <:
FreeTier
]
(
freeTier:
T
)
:
FreeMembershipPlan
[
Current
,
FreeTier
]
def
findFree
(
prpId:
ProductRatePlanId
)
:
Option
[
Free
]
Definition Classes
MembershipCatalog
→
PlanCatalog
def
findPaid
(
paidTier:
PaidTier
)
:
PaidMembershipPlans
[
Current
,
PaidTier
]
def
findPaid
(
prpId:
ProductRatePlanId
)
:
Option
[
Paid
]
Definition Classes
MembershipCatalog
→
PlanCatalog
val
friend
:
FreeMembershipPlan
[
Current
,
Friend
]
final
def
getClass
()
:
Class
[_]
Definition Classes
AnyRef → Any
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
partner
:
PaidMembershipPlans
[
Current
,
Partner
]
val
patron
:
PaidMembershipPlans
[
Current
,
Patron
]
val
planMap
:
Map
[
ProductRatePlanId
,
MembershipPlan
[
Status
,
Tier
]]
val
staff
:
FreeMembershipPlan
[
Current
,
Staff
]
val
supporter
:
PaidMembershipPlans
[
Current
,
Supporter
]
final
def
synchronized
[
T0
]
(
arg0: ⇒
T0
)
:
T0
Definition Classes
AnyRef
def
unsafeFind
(
prpId:
ProductRatePlanId
)
:
Plan
Definition Classes
MembershipCatalog
→
PlanCatalog
def
unsafeFindFree
(
prpId:
ProductRatePlanId
)
:
FreeMembershipPlan
[
Status
,
FreeTier
]
Definition Classes
MembershipCatalog
→
PlanCatalog
def
unsafeFindPaid
(
prpId:
ProductRatePlanId
)
:
Paid
Definition Classes
MembershipCatalog
→
PlanCatalog
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
(
...
)
Inherited from
Serializable
Inherited from
Serializable
Inherited from
Product
Inherited from
Equals
Inherited from
PlanCatalog
Inherited from
AnyRef
Inherited from
Any
Ungrouped