woo

package
v1.0.31 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 7, 2022 License: Unlicense Imports: 0 Imported by: 3

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Coupon

type Coupon struct {
	ID     int    `json:"id,omitempty"`
	Code   string `json:"code,omitempty"`
	Amount string `json:"amount"`
}

Coupon : "discount_type", "date_expires", "individual_use",... | currently assume that only one type is used and no expires TODO: add logic to differentiate types

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL