go-firefly3/model_transaction_link_store.go
2024-04-10 12:14:55 +03:00

24 lines
1.3 KiB
Go

/*
* Firefly III API v2.0.12
*
* This is the documentation of the Firefly III API. You can find accompanying documentation on the website of Firefly III itself (see below). Please report any bugs or issues. You may use the \"Authorize\" button to try the API below. This file was last generated on 2024-03-16T05:34:43+00:00 Please keep in mind that the demo site does not accept requests from curl, colly, wget, etc. You must use a browser or a tool like Postman to make requests. Too many script kiddies out there, sorry about that.
*
* API version: 2.0.12
* Contact: james@firefly-iii.org
* Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
*/
package firefly3
type TransactionLinkStore struct {
// The link type ID to use. You can also use the link_type_name field.
LinkTypeId string `json:"link_type_id"`
// The link type name to use. You can also use the link_type_id field.
LinkTypeName string `json:"link_type_name,omitempty"`
// The inward transaction transaction_journal_id for the link. This becomes the 'is paid by' transaction of the set.
InwardId string `json:"inward_id"`
// The outward transaction transaction_journal_id for the link. This becomes the 'pays for' transaction of the set.
OutwardId string `json:"outward_id"`
// Optional. Some notes.
Notes string `json:"notes,omitempty"`
}