C# Class FuseMisc.IAPOfferInfo

Representation of an In-App Purchase Offer that can be presented to a player.
Mostra 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_oe property

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

ItemAmount public_oe property

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

ItemName public_oe property

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

Metadata public_oe property

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

ProductId public_oe property

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

ProductPrice public_oe property

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

StartTime public_oe property

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