# PurchasableResult

data class PurchasableResult(val code: Int, val message: String, val cause: Throwable?, val receipt: PurchasableReceipt?) : ValueObject

## Constructors

PurchasableResult
Link copied to clipboard
constructor(code: Int, message: String, cause: Throwable?, receipt: PurchasableReceipt?)

## Properties

cause
Link copied to clipboard
val cause: Throwable?
code
Link copied to clipboard
val code: Int
message
Link copied to clipboard
val message: String
receipt
Link copied to clipboard
val receipt: PurchasableReceipt?

## Functions

isFailure
Link copied to clipboard
fun isFailure(): Boolean
isSuccess
Link copied to clipboard
fun isSuccess(): Boolean
toJsonString
Link copied to clipboard
open fun toJsonString(): String
toPrettyJsonString
Link copied to clipboard
open fun toPrettyJsonString(): String