예제 #1
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;
 }
예제 #2
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;
 }
예제 #3
0
 public FakeBillingService(ProductIdRemapper remapper)
 {
     this.remapper = remapper;
 }
예제 #4
0
 public AmazonJSONGenerator(ProductIdRemapper remapper)
 {
     this.remapper = remapper;
     remapper.initialiseForPlatform(BillingPlatform.AmazonAppstore);
 }