coupon

package
v2.32.3 Latest Latest
Warning

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

Go to latest
Published: Mar 22, 2022 License: Apache-2.0 Imports: 2 Imported by: 2

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Service

type Service struct {
	// contains filtered or unexported fields
}

Service provides a high-level API of for Coupon

func New

func New(caller sacloud.APICaller) *Service

New returns new service instance of Coupon

func (*Service) List

func (s *Service) List() ([]*sacloud.Coupon, error)

func (*Service) ListWithContext

func (s *Service) ListWithContext(ctx context.Context) ([]*sacloud.Coupon, error)

Jump to

Keyboard shortcuts

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