toggle menu
snabble Android SDK API Documentation
androidJvm
switch theme
search in API
ui
/
io.snabble.sdk.ui.coupon
/
CouponItem
Coupon
Item
data
class
CouponItem
(
val
projectId
:
String
?
,
val
coupon
:
Coupon
?
,
val
mode
:
CouponItem.Mode
=
Mode.Normal
)
:
Parcelable
Members
Constructors
Coupon
Item
Link copied to clipboard
constructor
(
projectId
:
String
?
,
coupon
:
Coupon
?
,
mode
:
CouponItem.Mode
=
Mode.Normal
)
Types
Companion
Link copied to clipboard
object
Companion
Mode
Link copied to clipboard
enum
Mode
:
Enum
<
CouponItem.Mode
>
Properties
coupon
Link copied to clipboard
val
coupon
:
Coupon
?
mode
Link copied to clipboard
val
mode
:
CouponItem.Mode
project
Id
Link copied to clipboard
val
projectId
:
String
?
Functions
build
Expire
String
Link copied to clipboard
fun
buildExpireString
(
resources
:
Resources
)
:
String
?
describe
Contents
Link copied to clipboard
abstract
fun
describeContents
(
)
:
Int
write
To
Parcel
Link copied to clipboard
abstract
fun
writeToParcel
(
p0
:
Parcel
,
p1
:
Int
)