コード例 #1
0
        /// <summary>
        /// Initializes a new instance of the <see cref="LightspeedApi"/> class
        /// using Configuration object
        /// </summary>
        /// <param name="configuration">An instance of Configuration</param>
        /// <returns></returns>
        public LightspeedApi(Flipdish.Client.Configuration configuration = null)
        {
            if (configuration == null) // use the default one in Configuration
            {
                this.Configuration = Flipdish.Client.Configuration.Default;
            }
            else
            {
                this.Configuration = configuration;
            }

            ExceptionFactory = Flipdish.Client.Configuration.DefaultExceptionFactory;
        }
コード例 #2
0
        /// <summary>
        /// Initializes a new instance of the <see cref="HttpRequestResponseLogsApi"/> class
        /// using Configuration object
        /// </summary>
        /// <param name="configuration">An instance of Configuration</param>
        /// <returns></returns>
        public HttpRequestResponseLogsApi(Flipdish.Client.Configuration configuration = null)
        {
            if (configuration == null) // use the default one in Configuration
            {
                this.Configuration = Flipdish.Client.Configuration.Default;
            }
            else
            {
                this.Configuration = configuration;
            }

            ExceptionFactory = Flipdish.Client.Configuration.DefaultExceptionFactory;
        }
コード例 #3
0
        /// <summary>
        /// Initializes a new instance of the <see cref="ProcessingFeeConfigsApi"/> class
        /// using Configuration object
        /// </summary>
        /// <param name="configuration">An instance of Configuration</param>
        /// <returns></returns>
        public ProcessingFeeConfigsApi(Flipdish.Client.Configuration configuration = null)
        {
            if (configuration == null) // use the default one in Configuration
            {
                this.Configuration = Flipdish.Client.Configuration.Default;
            }
            else
            {
                this.Configuration = configuration;
            }

            ExceptionFactory = Flipdish.Client.Configuration.DefaultExceptionFactory;
        }
コード例 #4
0
        /// <summary>
        /// Initializes a new instance of the <see cref="AuthorizationTokensApi"/> class
        /// using Configuration object
        /// </summary>
        /// <param name="configuration">An instance of Configuration</param>
        /// <returns></returns>
        public AuthorizationTokensApi(Flipdish.Client.Configuration configuration = null)
        {
            if (configuration == null) // use the default one in Configuration
            {
                this.Configuration = Flipdish.Client.Configuration.Default;
            }
            else
            {
                this.Configuration = configuration;
            }

            ExceptionFactory = Flipdish.Client.Configuration.DefaultExceptionFactory;
        }
コード例 #5
0
        /// <summary>
        /// Initializes a new instance of the <see cref="ContentSecurityPolicyApi"/> class
        /// using Configuration object
        /// </summary>
        /// <param name="configuration">An instance of Configuration</param>
        /// <returns></returns>
        public ContentSecurityPolicyApi(Flipdish.Client.Configuration configuration = null)
        {
            if (configuration == null) // use the default one in Configuration
            {
                this.Configuration = Flipdish.Client.Configuration.Default;
            }
            else
            {
                this.Configuration = configuration;
            }

            ExceptionFactory = Flipdish.Client.Configuration.DefaultExceptionFactory;
        }
コード例 #6
0
        /// <summary>
        /// Initializes a new instance of the <see cref="StoreOrderCapacityApi"/> class
        /// using Configuration object
        /// </summary>
        /// <param name="configuration">An instance of Configuration</param>
        /// <returns></returns>
        public StoreOrderCapacityApi(Flipdish.Client.Configuration configuration = null)
        {
            if (configuration == null) // use the default one in Configuration
            {
                this.Configuration = Flipdish.Client.Configuration.Default;
            }
            else
            {
                this.Configuration = configuration;
            }

            ExceptionFactory = Flipdish.Client.Configuration.DefaultExceptionFactory;
        }
コード例 #7
0
        /// <summary>
        /// Initializes a new instance of the <see cref="PendingMenuChangesApi"/> class
        /// using Configuration object
        /// </summary>
        /// <param name="configuration">An instance of Configuration</param>
        /// <returns></returns>
        public PendingMenuChangesApi(Flipdish.Client.Configuration configuration = null)
        {
            if (configuration == null) // use the default one in Configuration
            {
                this.Configuration = Flipdish.Client.Configuration.Default;
            }
            else
            {
                this.Configuration = configuration;
            }

            ExceptionFactory = Flipdish.Client.Configuration.DefaultExceptionFactory;
        }
コード例 #8
0
        /// <summary>
        /// Initializes a new instance of the <see cref="ChannelsStoreMappingApi"/> class
        /// using Configuration object
        /// </summary>
        /// <param name="configuration">An instance of Configuration</param>
        /// <returns></returns>
        public ChannelsStoreMappingApi(Flipdish.Client.Configuration configuration = null)
        {
            if (configuration == null) // use the default one in Configuration
            {
                this.Configuration = Flipdish.Client.Configuration.Default;
            }
            else
            {
                this.Configuration = configuration;
            }

            ExceptionFactory = Flipdish.Client.Configuration.DefaultExceptionFactory;
        }
コード例 #9
0
        /// <summary>
        /// Initializes a new instance of the <see cref="StripeCustomConnectAdminApi"/> class
        /// using Configuration object
        /// </summary>
        /// <param name="configuration">An instance of Configuration</param>
        /// <returns></returns>
        public StripeCustomConnectAdminApi(Flipdish.Client.Configuration configuration = null)
        {
            if (configuration == null) // use the default one in Configuration
            {
                this.Configuration = Flipdish.Client.Configuration.Default;
            }
            else
            {
                this.Configuration = configuration;
            }

            ExceptionFactory = Flipdish.Client.Configuration.DefaultExceptionFactory;
        }
コード例 #10
0
        /// <summary>
        /// Initializes a new instance of the <see cref="KioskStoreSettingsApi"/> class
        /// using Configuration object
        /// </summary>
        /// <param name="configuration">An instance of Configuration</param>
        /// <returns></returns>
        public KioskStoreSettingsApi(Flipdish.Client.Configuration configuration = null)
        {
            if (configuration == null) // use the default one in Configuration
            {
                this.Configuration = Flipdish.Client.Configuration.Default;
            }
            else
            {
                this.Configuration = configuration;
            }

            ExceptionFactory = Flipdish.Client.Configuration.DefaultExceptionFactory;
        }