billing

package
v1.1.0-rc.2 Latest Latest
Warning

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

Go to latest
Published: Nov 12, 2016 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type GetInvoiceData

type GetInvoiceData struct {
	Year                string `valid:"required" URIParam:"yes"`
	Month               string `valid:"required" URIParam:"yes"`
	PricingAccountAlias string `URIParam:"yes"`
}

func (*GetInvoiceData) Validate

func (g *GetInvoiceData) Validate() error

type InvoiceData

type InvoiceData struct {
	Id                  string
	Terms               string
	CompanyName         string
	AccountAlias        string
	PricingAccountAlias string
	ParentAccountAlias  string
	Address1            string
	Address2            string
	City                string
	StateProvince       string
	PostalCode          string
	BillingContactEmail string
	InvoiceCCEmail      string
	TotalAmount         float64
	InvoiceDate         string
	PoNumber            string
	LineItems           []LineItem
}

type LineItem

type LineItem struct {
	Quantity        int64
	Description     string
	UnitCost        float64
	ItemTotal       float64
	ServiceLocation string
	ItemDetails     []interface{}
}

Jump to

Keyboard shortcuts

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