IronSourcePlacement.cs 639 B

12345678910111213141516171819202122232425262728293031323334353637
  1. using System;
  2. public class IronSourcePlacement
  3. {
  4. private string rewardName;
  5. private int rewardAmount;
  6. private string placementName;
  7. public IronSourcePlacement (string placementName, string rewardName, int rewardAmount)
  8. {
  9. this.placementName = placementName;
  10. this.rewardName = rewardName;
  11. this.rewardAmount = rewardAmount;
  12. }
  13. public string getRewardName ()
  14. {
  15. return rewardName;
  16. }
  17. public int getRewardAmount ()
  18. {
  19. return rewardAmount;
  20. }
  21. public string getPlacementName ()
  22. {
  23. return placementName;
  24. }
  25. public override string ToString ()
  26. {
  27. return placementName + " : " + rewardName + " : " + rewardAmount;
  28. }
  29. }