Cart |
Cart VenueNext data class Cart |
CartEntry |
data class CartEntry |
CartEntryAgeMetadata |
CartEntryAgeMetadata VenueNext data class CartEntryAgeMetadata : CartEntryMetadata |
CartEntryDisplayItem |
An object representing a cart entry with values that are ready to be displayed to the user. data class CartEntryDisplayItem |
CartEntryMetadata |
CartEntryMetadata VenueNext abstract class CartEntryMetadata |
CartEntryModifier |
CartEntryModifier VenueNext data class CartEntryModifier |
CartEntrySeatMetadata |
CartEntrySeatMetadata VenueNext data class CartEntrySeatMetadata : CartEntryMetadata |
CartEntryStringMetadata |
CartEntryAgeMetadata VenueNext data class CartEntryStringMetadata : CartEntryMetadata |
ExperienceUserItem |
User VenueNext data class ExperienceUserItem |
GlobalItem |
GlobalItem VenueNext data class GlobalItem |
Image |
data class Image |
Instruction |
Instruction VenueNext data class Instruction |
LineItem |
data class LineItem |
LineItemError |
data class LineItemError |
LineItemModifier |
LineItemModifier VenueNext data class LineItemModifier |
Merchant |
Merchant VenueNext data class Merchant |
Order |
Order VenueNext open class Order |
OrderItem |
OrderItem VenueNext data class OrderItem |
OrderSummary |
OrderSummary VenueNext data class OrderSummary |
Payment |
Payment VenueNext data class Payment |
Promotion |
A Promotion is configured in Canopy. They will be applied to an Order when the user qualifies for the affiliation associated with the Promotion. data class Promotion |
PurchaseAnalyticsOrderChangedListener |
Listener used to track post purchase analytics within the SDK. class PurchaseAnalyticsOrderChangedListener : OrderChangedListener |
TaxRule |
data class TaxRule |
TipSuggestion |
data class TipSuggestion |
Total |
Total VenueNext data class Total |
UserAttribute |
UserAttribute VenueNext data class UserAttribute |
UserItem |
User VenueNext data class UserItem |
SpecialType |
annotation class SpecialType |
analyticsFormat |
fun LineItem.analyticsFormat(currency: String): Bundle
Formats the order details for analytics to allow for consistent analytics reporting. fun Order.analyticsFormat(res: Resources, currency: String, checkoutProgress: Int): Bundle |
experiencePostBody |
fun Cart.experiencePostBody(): Cart |
getCartEntriesWithDiscountsToDisplay |
Used to get a list of entries that include discounts that can be displayed without changing the actual cart entries list. This keeps things safe for when the order is placed and sent to back end. E.g. The discounts should not be sent up as cart entries. fun Cart.getCartEntriesWithDiscountsToDisplay(order: Order): ArrayList<CartEntry> |
getDisplayModifierTotals |
fun CartEntry.getDisplayModifierTotals(eventUUID: String, isExperienceCart: Boolean, isUserSTH: Boolean, isUserPCH: Boolean, completion: (CartEntryDisplayItem) -> Unit): Unit |
getOrderStateDisplayText |
Returns a user facing String that can be used to represent the order state. fun Order.getOrderStateDisplayText(): String |
isFirstItemExpired |
Returns true if the first item in the order has an expiredAt date the is not null and is in the past. fun Order.isFirstItemExpired(inboundPattern: String = "yyyy-MM-dd'T'HH:mm:ss.SSS"): Boolean |
mapAffiliations |
Maps the MemberAffiliations associated with a stand to the Cart based on the status of the current user. fun Cart.mapAffiliations(context: Context, affiliations: MemberAffiliations): Unit |
postBody |
fun Cart.postBody(): Cart |