info

package
v0.1.1 Latest Latest
Warning

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

Go to latest
Published: Apr 17, 2026 License: Apache-2.0 Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AdditionalInformation added in v0.1.1

type AdditionalInformation interface {
	GetAdditionalInfo() string
}

type Amount

type Amount struct {
	Type  string `json:"type,omitempty"`
	Value string `json:"value,omitempty"`
}

type AmountsInfo

type AmountsInfo interface {
	GetAmounts() []Amount
}

type Billing added in v0.1.1

type Billing struct {
	Invoice    *Invoice    `json:"invoice,omitempty"`
	Duplicates []Duplicata `json:"duplicates,omitempty"`
}

type BillingInfo added in v0.1.1

type BillingInfo interface {
	GetBilling() *Billing
	GetDuplicatas() []Duplicata
}

type Duplicata added in v0.1.1

type Duplicata struct {
	Number  string `json:"number,omitempty"`
	DueDate string `json:"dueDate,omitempty"`
	Amount  string `json:"amount,omitempty"`
}

type Invoice added in v0.1.1

type Invoice struct {
	Number     string `json:"number,omitempty"`
	OrigAmount string `json:"origAmount,omitempty"`
	Discount   string `json:"discount,omitempty"`
	NetAmount  string `json:"netAmount,omitempty"`
}

type Location

type Location struct {
	CountryCode string `json:"countryCode,omitempty"`
	State       string `json:"state,omitempty"`
	CityCode    string `json:"cityCode,omitempty"`
	CityName    string `json:"cityName,omitempty"`
}

type PartiesInfo

type PartiesInfo interface {
	GetParties() []Party
}

type Party

type Party struct {
	Role     string `json:"role,omitempty"`
	Name     string `json:"name,omitempty"`
	Document string `json:"document,omitempty"`
}

type Payment added in v0.1.1

type Payment struct {
	Method           string `json:"method,omitempty"`
	Amount           string `json:"amount,omitempty"`
	Date             string `json:"date,omitempty"`
	PayerDocument    string `json:"payerDocument,omitempty"`
	ReceiverDocument string `json:"receiverDocument,omitempty"`
}

type PaymentsInfo added in v0.1.1

type PaymentsInfo interface {
	GetPayments() []Payment
}

type RelatedDocument

type RelatedDocument struct {
	Type      string `json:"type,omitempty"`
	AccessKey string `json:"accessKey,omitempty"`
	Number    string `json:"number,omitempty"`
	Series    string `json:"series,omitempty"`
}

type RelatedDocumentsInfo

type RelatedDocumentsInfo interface {
	GetRelatedDocuments() []RelatedDocument
}

type RouteInfo

type RouteInfo interface {
	GetModal() string
	GetOrigin() Location
	GetDestination() Location
}

Jump to

Keyboard shortcuts

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