-
Notifications
You must be signed in to change notification settings - Fork 16
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #381 from SourcePointUSA/v7
V7
- Loading branch information
Showing
183 changed files
with
94,952 additions
and
10,831 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
21 changes: 21 additions & 0 deletions
21
ConsentViewController/Classes/Consents/ConsentStatus.swift
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
// | ||
// ConsentStatus.swift | ||
// Pods | ||
// | ||
// Created by Andre Herculano on 31.08.22. | ||
// | ||
|
||
import Foundation | ||
|
||
public struct ConsentStatus: Codable, Equatable { | ||
struct GranularStatus: Codable, Equatable { | ||
var vendorConsent, vendorLegInt, purposeConsent, purposeLegInt: String? | ||
var previousOptInAll, defaultConsent: Bool? | ||
} | ||
|
||
var granularStatus: GranularStatus? = GranularStatus() | ||
var rejectedAny, rejectedLI, consentedAll, consentedToAny, rejectedAll, vendorListAdditions, legalBasisChanges: Bool? | ||
var hasConsentData: Bool? = false | ||
var rejectedVendors: [String?]? = [] | ||
var rejectedCategories: [String?]? = [] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.