Package com.appsamurai.storyly.data.managers.product

Types

STRCart
Link copied to clipboard
data class STRCart(items: List<STRCartItem>, totalPrice: Float, oldTotalPrice: Float?, currency: String)

This class represent Cart of Storyly

STRCartEventResult
Link copied to clipboard
data class STRCartEventResult(message: String)

Data class that represents the result of an event. It contains the following properties

STRCartItem
Link copied to clipboard
data class STRCartItem(item: STRProductItem, quantity: Int, totalPrice: Float?, oldTotalPrice: Float?)

This class represents an individual item in the shopping cart

STRProductInformation
Link copied to clipboard
data class STRProductInformation(productId: String?, productGroupId: String?)

Data class that represents the storyly product information

STRProductItem
Link copied to clipboard
data class STRProductItem(productId: String, productGroupId: String, title: String, url: String, desc: String?, price: Float, salesPrice: Float?, currency: String, imageUrls: List<String>?, variants: List<STRProductVariant>, ctaText: String?)

Data class that represents the storyly product

STRProductVariant
Link copied to clipboard
data class STRProductVariant(name: String, value: String, key: String)

Data class that represents the variant of the storyly product