vnwallet
Module Contents
alltypes
Module Contents
data
class
DiscountCharge
Module Contents
DiscountCharge
(
paymentOptions
:
Array
<
PaymentOption
>
?
=
null
)
var
paymentOptions
:
Array
<
PaymentOption
>
?
data
class
PaymentOption
Module Contents
PaymentOption
(
qrCodeString
:
String
,
paymentTypes
:
Array
<
String
>
)
var
paymentTypes
:
Array
<
String
>
var
qrCodeString
:
String
enum
class
PaymentType
Module Contents
ANY_VC
CREDIT_CARD
LEGACY_VC
val
paymentType
:
String
UNSUPPORTED
VIRTUAL_MONEY
VIRTUAL_MONEY_AND_CREDIT_CARD
VISA_CHECKOUT
object
VenueNextWallet
Module Contents
var
paymentOptions
:
Array
<
PaymentOption
>
?
var
qrCode
:
String
?
class
VirtualMoneyService
:
HttpClient
Module Contents
VirtualMoneyService
(
context
:
Context
)
fun
findPaymentOptions
(
)
:
<ERROR CLASS>
fun
findPaymentOptions
(
success
:
(
result
:
Array
<
PaymentOption
>
?
)
->
Unit
,
failure
:
(
Exception
)
->
Unit
)
:
Unit
fun
getQrCode
(
)
:
Deferred
<
String
?
>
fun
getQrCode
(
success
:
(
result
:
String
?
)
->
Unit
,
failure
:
(
Exception
)
->
Unit
)
:
Unit
fun
parsePaymentOptions
(
paymentOptions
:
Array
<
PaymentOption
>
)
:
Array
<
PaymentOption
>
class
VirtualMoneyException
:
Exception
Module Contents
VirtualMoneyException
(
message
:
String
,
error
:
HttpError
)
class
WalletRepository
Module Contents
WalletRepository
(
context
:
Context
)
val
context
:
Context
fun
getPaymentOptionsAsync
(
)
:
<ERROR CLASS>
package
com.venuenext.vnwallet
Module Contents
object
VenueNextWallet
Module Contents
var
paymentOptions
:
Array
<
PaymentOption
>
?
var
qrCode
:
String
?
package
com.venuenext.vnwallet.data
Module Contents
class
WalletRepository
Module Contents
WalletRepository
(
context
:
Context
)
val
context
:
Context
fun
getPaymentOptionsAsync
(
)
:
<ERROR CLASS>
package
com.venuenext.vnwallet.model
Module Contents
data
class
DiscountCharge
Module Contents
DiscountCharge
(
paymentOptions
:
Array
<
PaymentOption
>
?
=
null
)
var
paymentOptions
:
Array
<
PaymentOption
>
?
data
class
PaymentOption
Module Contents
PaymentOption
(
qrCodeString
:
String
,
paymentTypes
:
Array
<
String
>
)
var
paymentTypes
:
Array
<
String
>
var
qrCodeString
:
String
package
com.venuenext.vnwallet.service
Module Contents
class
VirtualMoneyService
:
HttpClient
Module Contents
VirtualMoneyService
(
context
:
Context
)
fun
findPaymentOptions
(
)
:
<ERROR CLASS>
fun
findPaymentOptions
(
success
:
(
result
:
Array
<
PaymentOption
>
?
)
->
Unit
,
failure
:
(
Exception
)
->
Unit
)
:
Unit
fun
getQrCode
(
)
:
Deferred
<
String
?
>
fun
getQrCode
(
success
:
(
result
:
String
?
)
->
Unit
,
failure
:
(
Exception
)
->
Unit
)
:
Unit
fun
parsePaymentOptions
(
paymentOptions
:
Array
<
PaymentOption
>
)
:
Array
<
PaymentOption
>
class
VirtualMoneyException
:
Exception
Module Contents
VirtualMoneyException
(
message
:
String
,
error
:
HttpError
)
package
com.venuenext.vnwallet.types
Module Contents
enum
class
PaymentType
Module Contents
ANY_VC
CREDIT_CARD
LEGACY_VC
val
paymentType
:
String
UNSUPPORTED
VIRTUAL_MONEY
VIRTUAL_MONEY_AND_CREDIT_CARD
VISA_CHECKOUT