class

package
v0.0.0-...-757fb6c Latest Latest
Warning

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

Go to latest
Published: May 30, 2025 License: MIT Imports: 5 Imported by: 0

Documentation

Overview

https://developer.intuit.com/docs/api/accounting/class

Class objects provide a way to track different segments of the business so they're not tied to a particular client or project. For example, you can define classes to break down the income and expenses for each business segment. Classes are available to the entire transaction or to individual detail lines of a transaction.

Ref - https://developer.intuit.com/docs/0100_quickbooks_online/0200_dev_guides/accounting/class_tracking

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Client

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

func NewClient

func NewClient(opts ...option.RequestOption) *Client

func (*Client) Create

func (c *Client) Create(
	ctx context.Context,
	companyid string,
	request *api.ClassCreateRequest,
	opts ...option.RequestOption,
) error

Create a Class object Method - POST

func (*Client) Readbyid

func (c *Client) Readbyid(
	ctx context.Context,
	companyid string,
	id string,
	opts ...option.RequestOption,
) error

Read a Class object by Id Method - GET

Jump to

Keyboard shortcuts

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