Exemplo n.º 1
0
 private static CcpaConsent UnwrapCcpaConsent(CcpaConsentWrapper wrapped)
 {
     return(new CcpaConsent(uuid: wrapped.uuid,
                            status: wrapped.status,
                            uspstring: wrapped.uspstring,
                            rejectedVendors: wrapped.rejectedVendors,
                            rejectedCategories: wrapped.rejectedCategories));
 }
Exemplo n.º 2
0
        private static SpCcpaConsent UnwrapSpCcpaConsentAndroid(CcpaConsentWrapper wrappedCcpa)
        {
            CcpaConsent unwrapped = new CcpaConsent(uuid: wrappedCcpa.uuid,
                                                    status: wrappedCcpa.status,
                                                    uspstring: wrappedCcpa.uspstring,
                                                    rejectedVendors: wrappedCcpa.rejectedVendors,
                                                    rejectedCategories: wrappedCcpa.rejectedCategories);

            return(new SpCcpaConsent(unwrapped));
        }