Product

Class that holds all of the product information.

Constructors

Link copied to clipboard
constructor()

Types

Link copied to clipboard
Enum representing the product availability
Link copied to clipboard
open class Builder
Link copied to clipboard
open class Code : Serializable
Data class representing information required for scanning
Link copied to clipboard
Link copied to clipboard
enum Type

Properties

Link copied to clipboard
Link copied to clipboard
open val basePrice: String
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
open val imageUrl: String
Link copied to clipboard
open val isDeposit: Boolean
Link copied to clipboard
open val name: String
Link copied to clipboard
Link copied to clipboard
open val price: Int
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open val saleStop: Boolean
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open val sku: String
Link copied to clipboard
open val subtitle: String
Link copied to clipboard
open val type: Product.Type

Functions

Link copied to clipboard
open fun describeContents(): Int
Link copied to clipboard
open fun equals(o: Any): Boolean
Link copied to clipboard
open fun getEncodingUnit(lookupCode: String): Unit
The Unit that this product scanned code contains, using the default template.
open fun getEncodingUnit(templateName: String, lookupCode: String): Unit
The Unit that this product scanned code contains
Link copied to clipboard
open fun getListPrice(): Int
Gets the listed price of the product
Link copied to clipboard
open fun getPrice(customerCard: String): Int
Gets the price, including modifications of the price when a customer card is set
Link copied to clipboard
open fun getPriceForQuantity(quantity: Int, scannedCode: ScannedCode, roundingMode: RoundingMode): Int
open fun getPriceForQuantity(quantity: Int, scannedCode: ScannedCode, roundingMode: RoundingMode, customerCardId: String): Int
Returns the price for a given quantity.
Link copied to clipboard
Gets the preferred scanned code that should be used for encoding into encoded codes
Link copied to clipboard
open fun getTransmissionCode(project: Project, templateName: String, lookupCode: String, embeddedData: Int): String
Returns the code that gets used to encode the scanned code into encoded codes.
Link copied to clipboard
open fun hashCode(): Int
Link copied to clipboard
open fun isDiscounted(): Boolean
Link copied to clipboard
open fun toShortString(): String
Link copied to clipboard
open fun toString(): String
Link copied to clipboard
open fun writeToParcel(dest: Parcel, flags: Int)