-
Notifications
You must be signed in to change notification settings - Fork 56
Expand file tree
/
Copy pathmodel_cross_margin_repayment.go
More file actions
27 lines (25 loc) · 978 Bytes
/
model_cross_margin_repayment.go
File metadata and controls
27 lines (25 loc) · 978 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
/*
* Gate API
*
* Welcome to Gate API APIv4 provides operations related to spot, margin, and contract trading, including public interfaces for querying market data and authenticated private interfaces for implementing API-based automated trading.
*
* Contact: support@mail.gate.com
* Generated by: OpenAPI Generator (https://openapi-generator.tech)
*/
package gateapi
type CrossMarginRepayment struct {
// Loan record ID
Id string `json:"id,omitempty"`
// Repayment time
CreateTime int64 `json:"create_time,omitempty"`
// Loan record ID
LoanId string `json:"loan_id,omitempty"`
// Currency name
Currency string `json:"currency,omitempty"`
// Repaid principal
Principal string `json:"principal,omitempty"`
// Repaid interest
Interest string `json:"interest,omitempty"`
// Repayment type: none - no repayment type, manual_repay - manual repayment, auto_repay - automatic repayment after cancellation
RepaymentType string `json:"repayment_type,omitempty"`
}