Skip to content

Commit 2078b34

Browse files
committed
Add new actions for coupon management feature switch in AppSettingsAction
1 parent f26503a commit 2078b34

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

Yosemite/Yosemite/Actions/AppSettingsAction.swift

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -152,6 +152,14 @@ public enum AppSettingsAction: Action {
152152
///
153153
case loadProductSKUInputScannerFeatureSwitchState(onCompletion: (Result<Bool, Error>) -> Void)
154154

155+
/// Sets the state for the Coupon Management beta feature switch.
156+
///
157+
case setCouponManagementFeatureSwitchState(isEnabled: Bool, onCompletion: (Result<Void, Error>) -> Void)
158+
159+
/// Loads the most recent state for the Coupon Management beta feature switch
160+
///
161+
case loadCouponManagementFeatureSwitchState(onCompletion: (Result<Bool, Error>) -> Void)
162+
155163
/// Remember the given card reader (to support automatic reconnection)
156164
/// where `cardReaderID` is a String e.g. "CHB204909005931"
157165
///

0 commit comments

Comments
 (0)