Order

class Order(appAuthId: String, id: Int, type: String?, createdAt: Instant, arrivedAt: Instant?, updatedAt: Instant, redeemedAt: Instant?, customerState: String, state: String, etaAt: Instant?, displayName: String?, displayDetail: String?, partnerIdentifier: String?, partnerIdentifierForCustomer: String?, partnerIdentifierForCrew: String?, redemptionCode: String?, customerId: String?, pickupWindow: PickupWindow?, pickupType: String?, site: Site, customer: CustomerInfo, customerRatingValue: Int?, customerRatingComments: String?, pushToken: String?, alwaysShowVehicleInfoFields: Boolean, customerNameEditingEnabled: Boolean, pickupTypeSelectionEnabled: Boolean, requireVehicleInfoIfVisible: Boolean, curbsideLocalizedString: String?, pickupLocalizedString: String?, locationTrackingEnabled: Boolean, projectAccentColor: String?, projectAccentTextColor: String?, spotIdentifier: String?, spotIdentifierEntryEnabled: Boolean, spotIdentifierInputType: InputType, wrongSiteDetectionEnabled: Boolean, distanceFilteringDisabled: Boolean, wrongSiteSearchRadius: Double = WRONG_SITE_SEARCH_RADIUS, wrongSiteId: Int?, handoffVehicleLocation: String?, estimatedReadyAt: Instant?, orderFiredAt: Instant?, loyaltyProvider: String?, loyaltyIdentifier: String?, orderStatusLiveActivityEnabled: Boolean, transportMode: String, customerRatingCategories: List<String>?, estimatedReadyWindow: PickupWindow?)

Data model for orders.

Constructors

Link copied to clipboard
constructor(appAuthId: String, id: Int, type: String?, createdAt: Instant, arrivedAt: Instant?, updatedAt: Instant, redeemedAt: Instant?, customerState: String, state: String, etaAt: Instant?, displayName: String?, displayDetail: String?, partnerIdentifier: String?, partnerIdentifierForCustomer: String?, partnerIdentifierForCrew: String?, redemptionCode: String?, customerId: String?, pickupWindow: PickupWindow?, pickupType: String?, site: Site, customer: CustomerInfo, customerRatingValue: Int?, customerRatingComments: String?, pushToken: String?, alwaysShowVehicleInfoFields: Boolean, customerNameEditingEnabled: Boolean, pickupTypeSelectionEnabled: Boolean, requireVehicleInfoIfVisible: Boolean, curbsideLocalizedString: String?, pickupLocalizedString: String?, locationTrackingEnabled: Boolean, projectAccentColor: String?, projectAccentTextColor: String?, spotIdentifier: String?, spotIdentifierEntryEnabled: Boolean, spotIdentifierInputType: InputType, wrongSiteDetectionEnabled: Boolean, distanceFilteringDisabled: Boolean, wrongSiteSearchRadius: Double = WRONG_SITE_SEARCH_RADIUS, wrongSiteId: Int?, handoffVehicleLocation: String?, estimatedReadyAt: Instant?, orderFiredAt: Instant?, loyaltyProvider: String?, loyaltyIdentifier: String?, orderStatusLiveActivityEnabled: Boolean, transportMode: String, customerRatingCategories: List<String>?, estimatedReadyWindow: PickupWindow?)

Properties

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
val id: Int
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
val site: Site
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
val type: String?
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard

Functions

Link copied to clipboard
Link copied to clipboard

Returns if an order is open.