Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- class DiscountSplitTest: SplitTestProtocol {
- typealias ValueType = DisountStrategy
- static var identifier: String = "iap_discount_type"
- var value: DisountStrategy
- required init(group: String) {
- if group == "offer" {
- value = DefaultDiscountStrategy()
- }
- value = NoDiscountStrategy()
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement