//Granify Android SDK/com.granifyinc.granifysdk.models/ProductStock

ProductStock

data class ProductStock(val count: Int)

Contains product stock information.

Parameters

androidJvm

   
count The amount of product in stock.

Constructors

   
ProductStock [androidJvm]
constructor(count: Int)
Creates ProductStock instance.

Properties

Name Summary
count [androidJvm]
val count: Int

Functions

Name Summary
inStock [androidJvm]
fun inStock(): Boolean
Queries whether the product is currently in stock.