go-firefly3/model_transaction_link.go

30 lines
1.4 KiB
Go
Raw Permalink Normal View History

2024-04-10 12:14:55 +03:00
/*
2024-05-11 14:43:57 +03:00
* Firefly III API v2.0.14
2024-04-10 12:14:55 +03:00
*
2024-05-11 15:26:56 +03:00
* 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-04-20T05:28:29+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.
2024-04-10 12:14:55 +03:00
*
2024-05-11 14:43:57 +03:00
* API version: 2.0.14
2024-04-10 12:14:55 +03:00
* Contact: james@firefly-iii.org
* Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
*/
2024-05-11 15:26:56 +03:00
package firefly3
2024-04-10 12:14:55 +03:00
import (
"time"
)
type TransactionLink struct {
CreatedAt time.Time `json:"created_at,omitempty"`
UpdatedAt time.Time `json:"updated_at,omitempty"`
// 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"`
}