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; }
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; }
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; }
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(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; }
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; }
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; }