Ejemplo n.º 1
0
 public AppleAppStoreBillingService(UnibillConfiguration db, ProductIdRemapper mapper, IStoreKitPlugin storekit)
 {
     this.storekit = storekit;
     this.remapper = mapper;
     storekit.initialise(this);
     products = new HashSet <PurchasableItem>(db.AllPurchasableItems);
 }
Ejemplo n.º 2
0
 public GooglePlayCSVGenerator (IEditorUtil util, ProductIdRemapper remapper, InventoryDatabase db, IResourceLoader loader) {
     this.util = util;
     this.remapper = remapper;
     this.db = db;
     remapper.initialiseForPlatform(BillingPlatform.GooglePlay);
     this.inventory = XDocument.Load(loader.openTextFile("unibillInventory"));
 }
 public SamsungAppsBillingService(UnibillConfiguration config, ProductIdRemapper remapper, IRawSamsungAppsBillingService rawSamsung, ILogger logger)
 {
     this.config = config;
     this.remapper = remapper;
     this.rawSamsung = rawSamsung;
     this.logger = logger;
 }
Ejemplo n.º 4
0
 public SamsungAppsBillingService(UnibillConfiguration config, ProductIdRemapper remapper, IRawSamsungAppsBillingService rawSamsung, ILogger logger)
 {
     this.config     = config;
     this.remapper   = remapper;
     this.rawSamsung = rawSamsung;
     this.logger     = logger;
 }
 public AppleAppStoreBillingService(UnibillConfiguration db, ProductIdRemapper mapper, IStoreKitPlugin storekit)
 {
     this.storekit = storekit;
     this.remapper = mapper;
     storekit.initialise(this);
     products = new HashSet<PurchasableItem>(db.AllPurchasableItems);
 }
 public AppleAppStoreBillingService(ProductIdRemapper mapper, IStoreKitPlugin storekit, IUtil util, Uniject.ILogger logger)
 {
     this.storekit = storekit;
     this.remapper = mapper;
     this.logger   = logger;
     storekit.initialise(this, util);
 }
 public AmazonAppStoreBillingService (IRawAmazonAppStoreBillingInterface amazon, ProductIdRemapper remapper, InventoryDatabase db, TransactionDatabase tDb, ILogger logger) {
     this.remapper = remapper;
     this.db = db;
     this.logger = logger;
     logger.prefix = "UnibillAmazonBillingService";
     this.amazon = amazon;
     this.tDb = tDb;
 }
Ejemplo n.º 8
0
 public AmazonAppStoreBillingService(IRawAmazonAppStoreBillingInterface amazon, ProductIdRemapper remapper, TransactionDatabase tDb, ILogger logger)
 {
     this.remapper = remapper;
     this.logger   = logger;
     logger.prefix = "UnibillAmazonBillingService";
     this.amazon   = amazon;
     this.tDb      = tDb;
 }
Ejemplo n.º 9
0
        private ProductIdRemapper getMapper()
        {
            if (null == _remapper)
            {
                _remapper = new ProductIdRemapper(config);
            }

            return(_remapper);
        }
 public StorekitMassImportTemplateGenerator(IResourceLoader loader,
                                            InventoryDatabase db, ProductIdRemapper remapper, IEditorUtil util) {
     this.db = db;
     this.remapper = remapper;
     this.util = util;
     XDocument inventory = XDocument.Load(loader.openTextFile("unibillInventory"));
     this.inventoryDocument = inventory;
     this.sku = (string) inventory.XPathSelectElement("//iOSSKU");
 }
 public Win8_1BillingService(IWindowsIAP win8,
                             ProductIdRemapper remapper,
                             TransactionDatabase tDb,
                             ILogger logger)
 {
     this.win8     = win8;
     this.tDb      = tDb;
     this.remapper = remapper;
     this.logger   = logger;
 }
Ejemplo n.º 12
0
 public Biller (InventoryDatabase db, TransactionDatabase tDb, IBillingService billingSubsystem, ILogger logger, HelpCentre help, ProductIdRemapper remapper) {
     this.InventoryDatabase = db;
     this.transactionDatabase = tDb;
     this.billingSubsystem = billingSubsystem;
     this.logger = logger;
     logger.prefix = "UnibillBiller";
     this.help = help;
     this.Errors = new List<UnibillError> ();
     this.remapper = remapper;
 }
Ejemplo n.º 13
0
 public GooglePlayBillingService (IRawGooglePlayInterface rawInterface,
                                  UnibillConfiguration config,
                                  ProductIdRemapper remapper,
                                  ILogger logger) {
     this.rawInterface = rawInterface;
     this.publicKey = config.GooglePlayPublicKey;
     this.remapper = remapper;
     this.db = config;
     this.logger = logger;
 }
Ejemplo n.º 14
0
 public GooglePlayBillingService(IRawGooglePlayInterface rawInterface,
                                 UnibillConfiguration config,
                                 ProductIdRemapper remapper,
                                 ILogger logger)
 {
     this.rawInterface = rawInterface;
     this.publicKey    = config.GooglePlayPublicKey;
     this.remapper     = remapper;
     this.db           = config;
     this.logger       = logger;
 }
Ejemplo n.º 15
0
        public Biller (UnibillConfiguration config, TransactionDatabase tDb, IBillingService billingSubsystem, ILogger logger, HelpCentre help, ProductIdRemapper remapper, CurrencyManager currencyManager) {
            this.InventoryDatabase = config;
            this.transactionDatabase = tDb;
            this.billingSubsystem = billingSubsystem;
            this.logger = logger;
            logger.prefix = "UnibillBiller";
            this.help = help;
            this.Errors = new List<UnibillError> ();
            this.remapper = remapper;
			this.currencyManager = currencyManager;
        }
Ejemplo n.º 16
0
 public WP8BillingService(IWindowsIAP wp8,
                          UnibillConfiguration config,
                          ProductIdRemapper remapper,
                          TransactionDatabase tDb,
                          ILogger logger) {
     this.wp8 = wp8;
     this.db = config;
     this.tDb = tDb;
     this.remapper = remapper;
     this.logger = logger;
 }
Ejemplo n.º 17
0
 public WP8BillingService(IWindowsIAP wp8,
                          UnibillConfiguration config,
                          ProductIdRemapper remapper,
                          TransactionDatabase tDb,
                          ILogger logger)
 {
     this.wp8      = wp8;
     this.db       = config;
     this.tDb      = tDb;
     this.remapper = remapper;
     this.logger   = logger;
 }
Ejemplo n.º 18
0
 public WP8BillingService(IWindowsIAP wp8,
                          ProductIdRemapper remapper,
                          TransactionDatabase tDb,
                          IUtil util,
                          ILogger logger)
 {
     this.wp8      = wp8;
     this.tDb      = tDb;
     this.remapper = remapper;
     this.util     = util;
     this.logger   = logger;
 }
Ejemplo n.º 19
0
 public GooglePlayBillingService(IRawGooglePlayInterface rawInterface,
                                 UnibillConfiguration config,
                                 ProductIdRemapper remapper,
                                 ILogger logger)
 {
     this.rawInterface = rawInterface;
     this.publicKey    = config.GooglePlayPublicKey;
     this.remapper     = remapper;
     this.db           = config;
     this.logger       = logger;
     #if UNITY_ANDROID
     this.cryptoProvider = PEMKeyLoader.CryptoServiceProviderFromPublicKeyInfo(publicKey);
     #endif
 }
Ejemplo n.º 20
0
 public FakeGooglePlayPlugin (InventoryDatabase db, ProductIdRemapper remapper) {
     this.db = db;
     this.remapper = remapper;
 }
Ejemplo n.º 21
0
 public FakeStorekitPlugin (InventoryDatabase db, ProductIdRemapper mapper) {
     this.db = db;
     this.remapper = mapper;
 }
Ejemplo n.º 22
0
        private ProductIdRemapper getMapper() {
            if (null == _remapper) {
                _remapper = new ProductIdRemapper(config);
            }

            return _remapper;
        }
Ejemplo n.º 23
0
 public AppleAppStoreBillingService(InventoryDatabase db, ProductIdRemapper mapper, IStoreKitPlugin storekit) {
     this.storekit = storekit;
     this.remapper = mapper;
     storekit.initialise(this);
     products = new HashSet<PurchasableItem>(db.AllPurchasableItems);
 }
Ejemplo n.º 24
0
 public AmazonJSONGenerator (ProductIdRemapper remapper) {
     this.remapper = remapper;
     remapper.initialiseForPlatform(BillingPlatform.AmazonAppstore);
 }
Ejemplo n.º 25
0
 public FakeBillingService(ProductIdRemapper remapper)
 {
     this.remapper = remapper;
 }
Ejemplo n.º 26
0
        private static ProductIdRemapper getMapper () {
            if (null == _remapper) {
                _remapper = new ProductIdRemapper(getInventory(), getParser(), getConfig());
            }

            return _remapper;
        }