coupon

package
v2.2.0 Latest Latest
Warning

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

Go to latest
Published: Mar 22, 2022 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Client

type Client struct {
	*invoiced.Api
}

func (*Client) Create

func (c *Client) Create(request *invoiced.CouponRequest) (*invoiced.Coupon, error)

func (*Client) Delete

func (c *Client) Delete(id string) error

func (*Client) ListAll

func (c *Client) ListAll(filter *invoiced.Filter, sort *invoiced.Sort) (invoiced.Coupons, error)

func (*Client) Retrieve

func (c *Client) Retrieve(id string) (*invoiced.Coupon, error)

func (*Client) Update

func (c *Client) Update(id string, request *invoiced.CouponRequest) (*invoiced.Coupon, error)

Jump to

Keyboard shortcuts

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