Skip to content

ProductDetails

class ProductDetails

The purchase line item fields a campaign’s productScope can target. Build with Builder, or ProductDetails { } from Kotlin. Also returned by the SDK, on id.frak.sdk.rewards.BestReward.matchedProducts, hence equals/hashCode.

NameSummary
Builderclass Builder
NameSummary
nameval name: String?
productIdval productId: String?
quantityval quantity: Double?
skuval sku: String?
totalPriceval totalPrice: Double?
unitPriceval unitPrice: Double?
NameSummary
equalsopen operator override fun equals(other: Any?): Boolean
hashCodeopen override fun hashCode(): Int
toStringopen override fun toString(): String