UserWise Unity SDK  3.0.0
Public Member Functions | Properties | List of all members
UserWiseSDK.Offers.OfferPaymentData Class Reference
Inheritance diagram for UserWiseSDK.Offers.OfferPaymentData:
UserWiseSDK.IDictSerializable< OfferPaymentData >

Public Member Functions

Dictionary< string, object > Serialize ()
 
OfferPaymentData Deserialize (Dictionary< string, object > data)
 
- Public Member Functions inherited from UserWiseSDK.IDictSerializable< OfferPaymentData >
Dictionary< string, object > Serialize ()
 Serialize instance into a generic Dictionary{string, object}. More...
 
Deserialize (Dictionary< string, object > data)
 Deserialize generic Dictionary{string, object} into an instance of T. More...
 

Properties

OfferPaymentType Type [get, set]
 Offer payment type can be one of iap or currency. More...
 
double Cost [get, set]
 The cost of the offer. More...
 
string IOSProductId [get, set]
 The app store product identifier for the IAP. More...
 
string AndroidProductId [get, set]
 The play store product identifier for the IAP. More...
 
string CurrencyName [get, set]
 The currency's name, used for currency-based offers. More...
 
string CurrencyExternalId [get, set]
 The currency's id, used for currency-based offers. More...
 
long CurrencyAmount [get, set]
 The amount of currency this offer costs, used for currency-based offers. More...
 

Property Documentation

◆ AndroidProductId

string UserWiseSDK.Offers.OfferPaymentData.AndroidProductId
getset

The play store product identifier for the IAP.

This is only set if Type == OfferPaymentType.iap.

◆ Cost

double UserWiseSDK.Offers.OfferPaymentData.Cost
getset

The cost of the offer.

This is only set if Type == OfferPaymentType.iap.

◆ CurrencyAmount

long UserWiseSDK.Offers.OfferPaymentData.CurrencyAmount
getset

The amount of currency this offer costs, used for currency-based offers.

This is only set if Type == OfferPaymentType.currency.

◆ CurrencyExternalId

string UserWiseSDK.Offers.OfferPaymentData.CurrencyExternalId
getset

The currency's id, used for currency-based offers.

This is only set if Type == OfferPaymentType.currency.

◆ CurrencyName

string UserWiseSDK.Offers.OfferPaymentData.CurrencyName
getset

The currency's name, used for currency-based offers.

This is only set if Type == OfferPaymentType.currency.

◆ IOSProductId

string UserWiseSDK.Offers.OfferPaymentData.IOSProductId
getset

The app store product identifier for the IAP.

This is only set if Type == OfferPaymentType.iap.

◆ Type

OfferPaymentType UserWiseSDK.Offers.OfferPaymentData.Type
getset

Offer payment type can be one of iap or currency.

If iap then IOSProductId, AndroidProductId, and Cost are set.

If currency then CurrencyName, CurrencyExternalId, and CurrencyAmount are set.


The documentation for this class was generated from the following file: