public JasminSalesClient(JasminConfig credentials, ILoggerFactory loggerFactory = null) : base(credentials, loggerFactory)
 {
     JasminClient = new HttpClient();
 }
 protected JasminServiceClient(JasminConfig config, ILoggerFactory loggerFactory)
 {
     Constants.Config = config;
     LoggerFactory    = loggerFactory ?? ApplicationLogging.LoggerFactory;
 }
 public JasminAccountsReceivableClient(JasminConfig credentials, ILoggerFactory loggerFactory = null) : base(credentials, loggerFactory)
 {
     JasminClient = new HttpClient();
 }
Beispiel #4
0
 public static void UseJasminSdk(JasminConfig config)
 {
     Constants.Config = config;
     ApplicationLogging.LoggerFactory = LoggerFactory.Factory();
 }
 public JasminMasterDataBusinessEntitiesClient(JasminConfig credentials, ILoggerFactory loggerFactory = null) : base(credentials, loggerFactory)
 {
     JasminClient = new HttpClient();
 }
Beispiel #6
0
        public static IServiceCollection AddJasminSdk(this IServiceCollection services, JasminConfig configureOptions)
        {
            Constants.Config = configureOptions;

            return(SetupJasminSdkServices(services));
        }