vnorder / com.venuenext.vnorder.orders.model / mapAffiliations

mapAffiliations

fun Cart.mapAffiliations(context: Context, affiliations: MemberAffiliations): Unit

Maps the MemberAffiliations associated with a stand to the Cart based on the status of the current user.

Parameters

context - The Context that will be used to retrieve the user's status from SharedPreferences.

affiliations - The MemberAffiliations associated with the Stand used to build this Cart.