go-firefly3/model_recurrence_transaction_update.go
2024-05-22 14:19:23 +03:00

39 lines
1.9 KiB
Go

/*
* Firefly III API v2.1.0
*
* 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-05-19T04:33:01+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.1.0
* Contact: james@firefly-iii.org
* Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
*/
package firefly3
type RecurrenceTransactionUpdate struct {
Id string `json:"id"`
Description string `json:"description,omitempty"`
// Amount of the transaction.
Amount string `json:"amount,omitempty"`
// Foreign amount of the transaction.
ForeignAmount string `json:"foreign_amount,omitempty"`
// Submit either a currency_id or a currency_code.
CurrencyId string `json:"currency_id,omitempty"`
// Submit either a currency_id or a currency_code.
CurrencyCode string `json:"currency_code,omitempty"`
// Submit either a foreign_currency_id or a foreign_currency_code, or neither.
ForeignCurrencyId string `json:"foreign_currency_id,omitempty"`
// The budget ID for this transaction.
BudgetId string `json:"budget_id,omitempty"`
// Category ID for this transaction.
CategoryId string `json:"category_id,omitempty"`
// ID of the source account. Submit either this or source_name.
SourceId string `json:"source_id,omitempty"`
// ID of the destination account. Submit either this or destination_name.
DestinationId string `json:"destination_id,omitempty"`
// Array of tags.
Tags []string `json:"tags,omitempty"`
PiggyBankId string `json:"piggy_bank_id,omitempty"`
// Optional.
BillId string `json:"bill_id,omitempty"`
}