Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
Functions ¶
This section is empty.
Types ¶
type Record ¶
type Record struct {
Id uint64
Intent string
// Payment fields
DestinationTokenAccount *string
ExchangeCurrency *string
NativeAmount *float64
ExchangeRate *float64
Quantity *uint64
Fees []*Fee
// Login fields
Domain *string
IsVerified bool
CreatedAt time.Time
}
Currently, the model supports payment, login, or both.
todo: Refactor to a structure similar to intent as we add more request use cases.
func (*Record) RequiresPayment ¶ added in v1.2.0
Click to show internal directories.
Click to hide internal directories.