Example #1
0
	public void SetTemplate(GoogleProductTemplate tpl) {
		_AndroidTemplate = tpl;
		_template = new UM_InAppProductTemplate();
		_template.id = tpl.SKU;
		_template.title = tpl.title;
		_template.description = tpl.description;
		_template.price = tpl.price;
	}
Example #2
0
	public void SetTemplate(ProductTemplate tpl) {
		_IOSTemplate = tpl;
		_template = new UM_InAppProductTemplate();
		_template.id = tpl.id;
		_template.title = tpl.title;
		_template.description = tpl.description;
		_template.price = tpl.price;
	}
Example #3
0
	public void SetTemplate(WP8ProductTemplate tpl) {
		_WP8Template = tpl;
		_template = new UM_InAppProductTemplate();
		_template.id = tpl.ProductId;
		_template.title = tpl.Name;
		_template.description = tpl.Description;
		_template.price = tpl.Price;

	}
Example #4
0
	public void SetTemplate(IOSProductTemplate tpl) {
		_IOSTemplate = tpl;
		_template = new UM_InAppProductTemplate();
		_template.id = tpl.Id;
		_template.title = tpl.DisplayName;
		_template.description = tpl.Description;
		_template.price = tpl.Price.ToString();
		_isTemplateSet = true;
	}
Example #5
0
	public void SetTemplate(GoogleProductTemplate tpl) {
		_AndroidTemplate = tpl;
		_template = new UM_InAppProductTemplate();
		_template.id = tpl.SKU;
		_template.title = tpl.Title;
		_template.description = tpl.Description;
		_template.price = tpl.Price.ToString();
		_isTemplateSet = true;
	}
Example #6
0
 public void SetTemplate(GoogleProductTemplate tpl)
 {
     _AndroidTemplate      = tpl;
     _template             = new UM_InAppProductTemplate();
     _template.id          = tpl.SKU;
     _template.title       = tpl.title;
     _template.description = tpl.description;
     _template.price       = tpl.price;
 }
Example #7
0
 public void SetTemplate(IOSProductTemplate tpl)
 {
     _IOSTemplate          = tpl;
     _template             = new UM_InAppProductTemplate();
     _template.id          = tpl.id;
     _template.title       = tpl.title;
     _template.description = tpl.description;
     _template.price       = tpl.price;
 }
Example #8
0
 public void SetTemplate(WP8ProductTemplate tpl)
 {
     _WP8Template          = tpl;
     _template             = new UM_InAppProductTemplate();
     _template.id          = tpl.ProductId;
     _template.title       = tpl.Name;
     _template.description = tpl.Description;
     _template.price       = tpl.Price;
 }
Example #9
0
 public void SetTemplate(GoogleProductTemplate tpl)
 {
     _AndroidTemplate      = tpl;
     _template             = new UM_InAppProductTemplate();
     _template.id          = tpl.SKU;
     _template.title       = tpl.Title;
     _template.description = tpl.Description;
     _template.price       = tpl.Price.ToString();
     _isTemplateSet        = true;
 }
Example #10
0
 public void SetTemplate(IOSProductTemplate tpl)
 {
     _IOSTemplate          = tpl;
     _template             = new UM_InAppProductTemplate();
     _template.id          = tpl.Id;
     _template.title       = tpl.DisplayName;
     _template.description = tpl.Description;
     _template.price       = tpl.Price.ToString();
     _isTemplateSet        = true;
 }
    public void SetTemplate(SA.IOSNative.StoreKit.Product tpl)
    {
        _IOSTemplate          = tpl;
        _template             = new UM_InAppProductTemplate();
        _template.id          = tpl.Id;
        _template.title       = tpl.DisplayName;
        _template.description = tpl.Description;
        _template.price       = tpl.Price.ToString();

        DisplayName    = tpl.DisplayName;
        Description    = tpl.Description;
        _isTemplateSet = true;
    }
    public void SetTemplate(AmazonProductTemplate tpl)
    {
        _AmazonTemplate       = tpl;
        _template             = new UM_InAppProductTemplate();
        _template.id          = tpl.Sku;
        _template.title       = tpl.Title;
        _template.description = tpl.Description;
        _template.price       = tpl.Price.ToString();


        DisplayName    = tpl.Title;
        Description    = tpl.Description;
        _isTemplateSet = true;
    }