| 
									
										
										
										
											2024-10-09 19:40:26 +00:00
										 |  |  | 
 | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2023-05-04 00:58:06 -07:00
										 |  |  | <!DOCTYPE html> | 
					
						
							| 
									
										
										
										
											2024-09-10 20:35:13 +00:00
										 |  |  | <html class="writer-html5" lang="en" data-content_root="../../../"> | 
					
						
							| 
									
										
										
										
											2023-05-04 00:58:06 -07:00
										 |  |  | <head> | 
					
						
							|  |  |  |   <meta charset="utf-8" /> | 
					
						
							|  |  |  |   <meta name="viewport" content="width=device-width, initial-scale=1.0" /> | 
					
						
							| 
									
										
										
										
											2024-10-01 22:41:44 +00:00
										 |  |  |   <title>kittycad.models.discount — kittycad v0.7.1 documentation</title> | 
					
						
							| 
									
										
										
										
											2024-09-10 20:35:13 +00:00
										 |  |  |       <link rel="stylesheet" type="text/css" href="../../../_static/pygments.css?v=d10597a4" /> | 
					
						
							| 
									
										
										
										
											2024-10-11 00:43:49 +00:00
										 |  |  |       <link rel="stylesheet" type="text/css" href="../../../_static/css/theme.css?v=e59714d7" /> | 
					
						
							| 
									
										
										
										
											2024-09-10 20:35:13 +00:00
										 |  |  |       <link rel="stylesheet" type="text/css" href="../../../_static/graphviz.css?v=fd3f3429" /> | 
					
						
							|  |  |  |       <link rel="stylesheet" type="text/css" href="../../../_static/copybutton.css?v=76b2166b" /> | 
					
						
							|  |  |  |       <link rel="stylesheet" type="text/css" href="../../../_static/autoclasstoc.css?v=08871587" /> | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  |    | 
					
						
							| 
									
										
										
										
											2024-10-09 19:40:26 +00:00
										 |  |  |       <script src="../../../_static/jquery.js?v=5d32c60e"></script> | 
					
						
							|  |  |  |       <script src="../../../_static/_sphinx_javascript_frameworks_compat.js?v=2cd50e6c"></script> | 
					
						
							|  |  |  |       <script src="../../../_static/documentation_options.js?v=a1b19286"></script> | 
					
						
							|  |  |  |       <script src="../../../_static/doctools.js?v=9a2dae69"></script> | 
					
						
							|  |  |  |       <script src="../../../_static/sphinx_highlight.js?v=dc90522c"></script> | 
					
						
							|  |  |  |       <script src="../../../_static/clipboard.min.js?v=a7894cd8"></script> | 
					
						
							|  |  |  |       <script src="../../../_static/copybutton.js?v=f281be69"></script> | 
					
						
							| 
									
										
										
										
											2023-05-04 00:58:06 -07:00
										 |  |  |     <script src="../../../_static/js/theme.js"></script> | 
					
						
							|  |  |  |     <link rel="index" title="Index" href="../../../genindex.html" /> | 
					
						
							|  |  |  |     <link rel="search" title="Search" href="../../../search.html" />  | 
					
						
							|  |  |  | </head> | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | <body class="wy-body-for-nav">  | 
					
						
							|  |  |  |   <div class="wy-grid-for-nav"> | 
					
						
							|  |  |  |     <nav data-toggle="wy-nav-shift" class="wy-nav-side"> | 
					
						
							|  |  |  |       <div class="wy-side-scroll"> | 
					
						
							|  |  |  |         <div class="wy-side-nav-search" > | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  |            | 
					
						
							|  |  |  |            | 
					
						
							|  |  |  |           <a href="../../../index.html" class="icon icon-home"> | 
					
						
							|  |  |  |             kittycad | 
					
						
							|  |  |  |           </a> | 
					
						
							|  |  |  | <div role="search"> | 
					
						
							|  |  |  |   <form id="rtd-search-form" class="wy-form" action="../../../search.html" method="get"> | 
					
						
							|  |  |  |     <input type="text" name="q" placeholder="Search docs" aria-label="Search docs" /> | 
					
						
							|  |  |  |     <input type="hidden" name="check_keywords" value="yes" /> | 
					
						
							|  |  |  |     <input type="hidden" name="area" value="default" /> | 
					
						
							|  |  |  |   </form> | 
					
						
							|  |  |  | </div> | 
					
						
							|  |  |  |         </div><div class="wy-menu wy-menu-vertical" data-spy="affix" role="navigation" aria-label="Navigation menu"> | 
					
						
							|  |  |  |               <ul> | 
					
						
							|  |  |  | <li class="toctree-l1"><a class="reference internal" href="../../../_autosummary/kittycad.api.html">kittycad.api</a></li> | 
					
						
							|  |  |  | <li class="toctree-l1"><a class="reference internal" href="../../../_autosummary/kittycad.client.html">kittycad.client</a></li> | 
					
						
							|  |  |  | <li class="toctree-l1"><a class="reference internal" href="../../../_autosummary/kittycad.models.html">kittycad.models</a></li> | 
					
						
							|  |  |  | <li class="toctree-l1"><a class="reference internal" href="../../../_autosummary/kittycad.types.html">kittycad.types</a></li> | 
					
						
							|  |  |  | </ul> | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  |         </div> | 
					
						
							|  |  |  |       </div> | 
					
						
							|  |  |  |     </nav> | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  |     <section data-toggle="wy-nav-shift" class="wy-nav-content-wrap"><nav class="wy-nav-top" aria-label="Mobile navigation menu" > | 
					
						
							|  |  |  |           <i data-toggle="wy-nav-top" class="fa fa-bars"></i> | 
					
						
							|  |  |  |           <a href="../../../index.html">kittycad</a> | 
					
						
							|  |  |  |       </nav> | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  |       <div class="wy-nav-content"> | 
					
						
							|  |  |  |         <div class="rst-content"> | 
					
						
							|  |  |  |           <div role="navigation" aria-label="Page navigation"> | 
					
						
							|  |  |  |   <ul class="wy-breadcrumbs"> | 
					
						
							|  |  |  |       <li><a href="../../../index.html" class="icon icon-home" aria-label="Home"></a></li> | 
					
						
							|  |  |  |           <li class="breadcrumb-item"><a href="../../index.html">Module code</a></li> | 
					
						
							| 
									
										
										
										
											2023-07-08 01:08:27 +00:00
										 |  |  |       <li class="breadcrumb-item active">kittycad.models.discount</li> | 
					
						
							| 
									
										
										
										
											2023-05-04 00:58:06 -07:00
										 |  |  |       <li class="wy-breadcrumbs-aside"> | 
					
						
							|  |  |  |       </li> | 
					
						
							|  |  |  |   </ul> | 
					
						
							|  |  |  |   <hr/> | 
					
						
							|  |  |  | </div> | 
					
						
							|  |  |  |           <div role="main" class="document" itemscope="itemscope" itemtype="http://schema.org/Article"> | 
					
						
							|  |  |  |            <div itemprop="articleBody"> | 
					
						
							|  |  |  |               | 
					
						
							| 
									
										
										
										
											2023-07-08 01:08:27 +00:00
										 |  |  |   <h1>Source code for kittycad.models.discount</h1><div class="highlight"><pre> | 
					
						
							| 
									
										
										
										
											2024-09-10 20:35:13 +00:00
										 |  |  | <span></span><span class="kn">from</span> <span class="nn">pydantic</span> <span class="kn">import</span> <span class="n">BaseModel</span><span class="p">,</span> <span class="n">ConfigDict</span> | 
					
						
							| 
									
										
										
										
											2023-05-04 00:58:06 -07:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2023-07-08 01:08:27 +00:00
										 |  |  | <span class="kn">from</span> <span class="nn">..models.coupon</span> <span class="kn">import</span> <span class="n">Coupon</span> | 
					
						
							| 
									
										
										
										
											2023-05-04 00:58:06 -07:00
										 |  |  | 
 | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2024-07-28 22:52:47 +00:00
										 |  |  | <div class="viewcode-block" id="Discount"> | 
					
						
							|  |  |  | <a class="viewcode-back" href="../../../_autosummary/kittycad.models.discount.Discount.html#kittycad.models.discount.Discount">[docs]</a> | 
					
						
							|  |  |  | <span class="k">class</span> <span class="nc">Discount</span><span class="p">(</span><span class="n">BaseModel</span><span class="p">):</span> | 
					
						
							| 
									
										
										
										
											2023-12-05 16:25:51 -08:00
										 |  |  | <span class="w">    </span><span class="sd">"""The resource representing a Discount."""</span> | 
					
						
							| 
									
										
										
										
											2023-05-04 00:58:06 -07:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2024-07-28 22:52:47 +00:00
										 |  |  |     <span class="n">coupon</span><span class="p">:</span> <span class="n">Coupon</span> | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  |     <span class="n">model_config</span> <span class="o">=</span> <span class="n">ConfigDict</span><span class="p">(</span><span class="n">protected_namespaces</span><span class="o">=</span><span class="p">())</span></div> | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2023-05-04 00:58:06 -07:00
										 |  |  | </pre></div> | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  |            </div> | 
					
						
							|  |  |  |           </div> | 
					
						
							|  |  |  |           <footer> | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  |   <hr/> | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  |   <div role="contentinfo"> | 
					
						
							| 
									
										
										
										
											2024-07-28 22:52:47 +00:00
										 |  |  |     <p>© Copyright 2024, KittyCAD Team Members.</p> | 
					
						
							| 
									
										
										
										
											2023-05-04 00:58:06 -07:00
										 |  |  |   </div> | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  |   Built with <a href="https://www.sphinx-doc.org/">Sphinx</a> using a | 
					
						
							|  |  |  |     <a href="https://github.com/readthedocs/sphinx_rtd_theme">theme</a> | 
					
						
							|  |  |  |     provided by <a href="https://readthedocs.org">Read the Docs</a>. | 
					
						
							|  |  |  |     | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | </footer> | 
					
						
							|  |  |  |         </div> | 
					
						
							|  |  |  |       </div> | 
					
						
							|  |  |  |     </section> | 
					
						
							|  |  |  |   </div> | 
					
						
							|  |  |  |   <script> | 
					
						
							|  |  |  |       jQuery(function () { | 
					
						
							|  |  |  |           SphinxRtdTheme.Navigation.enable(true); | 
					
						
							|  |  |  |       }); | 
					
						
							|  |  |  |   </script>  | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | </body> | 
					
						
							|  |  |  | </html> |