| 23 | ) |
| 24 | |
| 25 | type RecordTransaction struct { |
| 26 | Amount float64 `json:"amount"` |
| 27 | Rate float64 `json:"rate"` |
| 28 | Precision float64 `json:"precision"` |
| 29 | OverdraftLimit float64 `json:"overdraft_limit"` |
| 30 | PreciseAmount *big.Int `json:"precise_amount"` |
| 31 | AllowOverDraft bool `json:"allow_overdraft"` |
| 32 | Inflight bool `json:"inflight"` |
| 33 | SkipQueue bool `json:"skip_queue"` |
| 34 | Atomic bool `json:"atomic"` |
| 35 | Source string `json:"source"` |
| 36 | Reference string `json:"reference"` |
| 37 | Destination string `json:"destination"` |
| 38 | Description string `json:"description"` |
| 39 | Currency string `json:"currency"` |
| 40 | BalanceId string `json:"balance_id"` |
| 41 | ScheduledFor string `json:"scheduled_for"` |
| 42 | InflightExpiryDate string `json:"inflight_expiry_date,omitempty"` |
| 43 | InflightCommitDate string `json:"inflight_commit_date,omitempty"` |
| 44 | Sources []model.Distribution `json:"sources"` |
| 45 | Destinations []model.Distribution `json:"destinations"` |
| 46 | MetaData map[string]interface{} `json:"meta_data"` |
| 47 | EffectiveDate *time.Time `json:"effective_date,omitempty"` |
| 48 | } |
| 49 | |
| 50 | type InflightUpdate struct { |
| 51 | Status string `json:"status"` |
nothing calls this directly
no outgoing calls
no test coverage detected