ParaParty / DiscountPackage

Best way to manage your discount information.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

DiscountPackage

npm pypi KFC

Description

The DiscountPackage is an open-source package that provides a service for users to create and manage their own services, especially for Kentucky Fundamental Charter, the Crazy Thursday Sale, which means that the package performs best when you installed it at thursday.

Installation

Python

python -m pip install DiscountPackage

Node.js

npm i discount-package-js

Usage

from DiscountPackage import DiscountPackage

# Create a new discount package
discount = DiscountPackage()

# Create a new discount
discount.create_discount(name, discount_type, discount_value, start_date, end_date)

# Get a list of all discounts
discount.get_discount(name)

# Get a list of all discounts
discount.get_all_discounts()

# Delete a discount
discount.delete_discount(name)

# Update a discount
discount.update_discount(name, discount_type, discount_value, start_date, end_date)

Disclaimers

Similar to the other packages, this package is not intended for use in production environments. It is not tested or guaranteed to work in any way.

About

Best way to manage your discount information.


Languages

Language:JavaScript 80.2%Language:Python 18.4%Language:Dockerfile 1.4%