quickbooks

package
v0.11.310 Latest Latest
Warning

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

Go to latest
Published: Oct 7, 2025 License: Apache-2.0 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 {
	// contains filtered or unexported fields
}

Client provides access to QuickBooks via ingestr.

func NewClient

func NewClient(c Config) (*Client, error)

NewClient initializes a QuickBooks client with given configuration.

func (*Client) GetIngestrURI

func (c *Client) GetIngestrURI() (string, error)

GetIngestrURI returns the ingestr URI for the client.

type Config

type Config struct {
	CompanyID    string `yaml:"company_id" json:"company_id" mapstructure:"company_id"`
	ClientID     string `yaml:"client_id" json:"client_id" mapstructure:"client_id"`
	ClientSecret string `yaml:"client_secret" json:"client_secret" mapstructure:"client_secret"`
	RefreshToken string `yaml:"refresh_token" json:"refresh_token" mapstructure:"refresh_token"`
	Environment  string `yaml:"environment,omitempty" json:"environment,omitempty" mapstructure:"environment"`
	MinorVersion string `yaml:"minor_version,omitempty" json:"minor_version,omitempty" mapstructure:"minor_version"`
}

Config holds credentials for QuickBooks connection.

func (*Config) GetIngestrURI

func (c *Config) GetIngestrURI() string

GetIngestrURI builds an ingestr URI for QuickBooks.

Jump to

Keyboard shortcuts

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