package Ġcom . merc ad op ago . android . px . internal . util Ċ Ċ import Ġcom . merc ad ol ib re . android . card form . internal . Card Form With Fragment . Builder . Companion . with AccessToken Ċ import Ġcom . merc ad op ago . android . px . internal . core . Flow Id Provider Ċ import Ġcom . merc ad op ago . android . px . internal . core . SessionId Provider Ċ import Ġcom . merc ad op ago . android . px . internal . repository . Payment Setting Repository Ċ import Ġjava . util .* Ċ Ċ class ĠCard Form With Fragment Wrapper ( ĊĠĠĠ Ġsetting Repository : ĠPayment Setting Repository , ĊĠĠĠ ĠsessionId Provider : ĠSession Id Provider , ĊĠĠĠ Ġflow Id Provider : ĠFlow Id Provider ) Ġ{ ĊĊĠĠĠ Ġprivate Ġval Ġflow Id Ġ= Ġflow Id Provider . flow Id ĊĠĠĠ Ġprivate Ġval ĠprivateKey Ġ= Ġsetting Repository . privateKey !! ĊĠĠĠ Ġprivate Ġval Ġsite Id Ġ= Ġsetting Repository . site . id ĊĠĠĠ Ġprivate Ġval ĠsessionId Ġ= ĠsessionId Provider . sessionId ĊĠĠĠ Ġprivate Ġval Ġexcluded Payment Types Ġ= Ġsetting Repository . checkout Preference ?. excluded Payment Types ĊĠĠĠĠĠĠĠ Ġ?: ĠCollections . emptyList () ĊĊĠĠĠ Ġfun Ġget Card Form With Fragment () Ġ= Ġwith AccessToken ( privateKey , Ġsite Id , Ġflow Id ) ĊĠĠĠĠĠĠĠ Ġ. set SessionId ( sessionId ) ĊĠĠĠĠĠĠĠ Ġ. set Excluded Types ( excluded Payment Types ). build () Ċ }