Documentation
¶
Index ¶
Constants ¶
View Source
const (
// Path is the relative API path for Payments
Path = "/api.xro/2.0/Payments"
)
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AccountParam ¶
type AccountParam struct {
Code string
}
AccountParam is the model with the Account Code
type InvoiceParam ¶
type InvoiceParam struct {
InvoiceNumber string
}
InvoiceParam is the model with the Invoice Number
type Payment ¶
type Payment struct { XMLName xml.Name `xml:"Payment"` PaymentID string `xml:",omitempty"` Invoice InvoiceParam Account AccountParam Date string Amount string Reference string }
Payment is the Payment model
Click to show internal directories.
Click to hide internal directories.