C# Class FuseMisc.IAPOfferInfo

Representation of an In-App Purchase Offer that can be presented to a player.
Show file Open project: fusepowered/FuseSDKUnity Class Usage Examples

Public Properties

Property Type Description
EndTime System.DateTime
ItemAmount int
ItemName string
Metadata string
ProductId string
ProductPrice float
StartTime System.DateTime

Public Methods

Method Description
IAPOfferInfo ( string infoString ) : System
ToString ( ) : string

Method Details

IAPOfferInfo() public method

public IAPOfferInfo ( string infoString ) : System
infoString string
return System

ToString() public method

public ToString ( ) : string
return string

Property Details

EndTime public property

The time and date when the offer should end.
public DateTime,System EndTime
return System.DateTime

ItemAmount public property

The amount the user will get from the IAP, used when the item is a currency.
public int ItemAmount
return int

ItemName public property

The item the user will get from the IAP.
public string ItemName
return string

Metadata public property

The metadata configured for this offer.
public string Metadata
return string

ProductId public property

The id of the product the user will be asked to purchase.
public string ProductId
return string

ProductPrice public property

The real currency price of the IAP.
public float ProductPrice
return float

StartTime public property

The time and date when the offer should start.
public DateTime,System StartTime
return System.DateTime