BlinkReceipt SDK
Toggle table of contents
JVM
Target filter
JVM
Switch theme
Search in API
Skip to content
BlinkReceipt SDK
blinkreceipt-core
/
com.microblink.core
/
Promotion
Promotion
class
Promotion
:
Parcelable
Members
Constructors
Promotion
Link copied to clipboard
constructor
(
id
:
Long
,
@
Nullable
slug
:
String
,
errorCode
:
Int
,
@
Nullable
errorMessage
:
String
)
constructor
(
id
:
Long
,
@
Nullable
slug
:
String
,
@
Nullable
reward
:
BigDecimal
,
@
Nullable
rewardCurrency
:
String
)
constructor
(
id
:
Long
,
@
Nullable
slug
:
String
,
@
Nullable
reward
:
BigDecimal
,
@
Nullable
rewardCurrency
:
String
,
errorCode
:
Int
,
@
Nullable
errorMessage
:
String
)
Properties
CONTENTS_
FILE_
DESCRIPTOR
Link copied to clipboard
val
CONTENTS_FILE_DESCRIPTOR
:
Int
=
1
CREATOR
Link copied to clipboard
val
CREATOR
:
Parcelable.Creator
<
Promotion
>
PARCELABLE_
WRITE_
RETURN_
VALUE
Link copied to clipboard
val
PARCELABLE_WRITE_RETURN_VALUE
:
Int
=
1
Functions
describe
Contents
Link copied to clipboard
open
fun
describeContents
(
)
:
Int
error
Code
Link copied to clipboard
open
fun
errorCode
(
)
:
Int
error
Message
Link copied to clipboard
@
Nullable
open
fun
errorMessage
(
)
:
String
id
Link copied to clipboard
open
fun
id
(
)
:
Long
plus
Reward
Link copied to clipboard
open
fun
plusReward
(
@
NonNull
amount
:
BigDecimal
)
qualification
Link copied to clipboard
@
NonNull
open
fun
qualification
(
@
NonNull
indexes
:
List
<
Integer
>
)
:
Promotion
qualifications
Link copied to clipboard
@
Nullable
open
fun
qualifications
(
)
:
List
<
List
<
Integer
>
>
qualified
Products
Link copied to clipboard
@
Nullable
open
fun
qualifiedProducts
(
)
:
List
<
QualifiedProduct
>
related
Product
Indexes
Link copied to clipboard
@
Nullable
open
fun
relatedProductIndexes
(
)
:
List
<
Integer
>
reward
Link copied to clipboard
@
Nullable
open
fun
reward
(
)
:
BigDecimal
reward
Currency
Link copied to clipboard
@
Nullable
open
fun
rewardCurrency
(
)
:
String
@
NonNull
open
fun
rewardCurrency
(
@
NonNull
currency
:
String
)
:
Promotion
slug
Link copied to clipboard
@
Nullable
open
fun
slug
(
)
:
String
write
To
Parcel
Link copied to clipboard
open
fun
writeToParcel
(
@
NonNull
dest
:
Parcel
,
flags
:
Int
)