inappmessaging / com.rakuten.tech.mobile.inappmessaging.runtime.data.models.appevents / PurchaseSuccessfulEvent
PurchaseSuccessfulEvent
class PurchaseSuccessfulEvent :
BaseEvent
Purchase successful Event for host app to use.
Constructors
| <init> | Purchase successful Event for host app to use.PurchaseSuccessfulEvent()
|
Properties
| currencyCode | var currencyCode:
String
|
| itemIdList | var itemIdList:
List
<
String
>
|
| numberOfItems | var numberOfItems:
Int
|
| purchaseAmountMicros | var purchaseAmountMicros:
Int
|
Functions
| currencyCode | This method sets the currency code of this purchase successful logEvent.fun currencyCode(currencyCode:
String
):
PurchaseSuccessfulEvent
|
| getAttributeMap | This method returns a map of Attribute objects. Key: Attribute’s name, Value: Attribute object.fun getAttributeMap():
Map
<
String
,
Attribute
?>
|
| getRatEventMap | This method returns an unmodifiable map which contains all event’s attributes.fun getRatEventMap():
Map
<
String
,
Any
>
|
| itemIdList | This method sets the list of purchased item IDs.fun itemIdList(itemIdList:
List
<
String
>):
PurchaseSuccessfulEvent
|
| numberOfItems | This method sets the number of items in this purchase.fun numberOfItems(numberOfItems:
Int
):
PurchaseSuccessfulEvent
|
| purchaseAmountMicros | This method sets the purchase amount in micros, $1 = 100_000. Such as $10.58 = 1058_000.fun purchaseAmountMicros(purchaseAmountMicros:
Int
):
PurchaseSuccessfulEvent
|