Skip to content

Commit 132271d

Browse files
committed
Add feature flag for the POS refunds project
1 parent 3c78cc7 commit 132271d

File tree

2 files changed

+6
-0
lines changed

2 files changed

+6
-0
lines changed

Modules/Sources/Experiments/DefaultFeatureFlagService.swift

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -102,6 +102,8 @@ public struct DefaultFeatureFlagService: FeatureFlagService {
102102
return true
103103
case .pointOfSaleCatalogAPI:
104104
return false
105+
case .pointOfSaleRefundsi1:
106+
return buildConfig == .localDeveloper || buildConfig == .alpha
105107
default:
106108
return true
107109
}

Modules/Sources/Experiments/FeatureFlag.swift

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -211,4 +211,8 @@ public enum FeatureFlag: Int {
211211
/// Enables using the catalog API endpoint for Point of Sale catalog full sync
212212
///
213213
case pointOfSaleCatalogAPI
214+
215+
/// Enables the refunds functionality within POS
216+
///
217+
case pointOfSaleRefundsi1
214218
}

0 commit comments

Comments
 (0)