Offer.GetName C# (CSharp) Method

GetName() public method

public GetName ( ) : string
return string
    public string GetName()
    {
        return name;
    }

Usage Example

    public void SetOffer(Offer offer)
    {
        title.text = offer.GetName();
        type.text = "Type: " + offer.GetType();
        points.text = Convert.ToString(offer.GetPoints());

        if(offer.GetTier() != null) {
            tier.text = "Tier: " + offer.GetTier();
        }

        StartCoroutine (DownloadImage (offer.GetLogo()));
    }