fixed bugs from preview commits
Added getOutOfStock method to the SDK. The values is calculated based on availability status