Fixes + stable gateway ids
This commit is contained in:
@@ -28,18 +28,22 @@ type QuoteRouteHop struct {
|
||||
Role QuoteRouteHopRole `bson:"role,omitempty" json:"role,omitempty"`
|
||||
}
|
||||
|
||||
type QuoteRouteSettlement struct {
|
||||
Asset *Asset `bson:"asset,omitempty" json:"asset,omitempty"`
|
||||
Model string `bson:"model,omitempty" json:"model,omitempty"`
|
||||
}
|
||||
|
||||
// QuoteRouteSpecification is an abstract route selected during quotation.
|
||||
// It intentionally omits execution steps/operations.
|
||||
type QuoteRouteSpecification struct {
|
||||
Rail string `bson:"rail,omitempty" json:"rail,omitempty"`
|
||||
Provider string `bson:"provider,omitempty" json:"provider,omitempty"`
|
||||
PayoutMethod string `bson:"payoutMethod,omitempty" json:"payoutMethod,omitempty"`
|
||||
SettlementAsset string `bson:"settlementAsset,omitempty" json:"settlementAsset,omitempty"`
|
||||
SettlementModel string `bson:"settlementModel,omitempty" json:"settlementModel,omitempty"`
|
||||
Network string `bson:"network,omitempty" json:"network,omitempty"`
|
||||
RouteRef string `bson:"routeRef,omitempty" json:"routeRef,omitempty"`
|
||||
PricingProfileRef string `bson:"pricingProfileRef,omitempty" json:"pricingProfileRef,omitempty"`
|
||||
Hops []*QuoteRouteHop `bson:"hops,omitempty" json:"hops,omitempty"`
|
||||
Rail string `bson:"rail,omitempty" json:"rail,omitempty"`
|
||||
Provider string `bson:"provider,omitempty" json:"provider,omitempty"`
|
||||
PayoutMethod string `bson:"payoutMethod,omitempty" json:"payoutMethod,omitempty"`
|
||||
Settlement *QuoteRouteSettlement `bson:"settlement,omitempty" json:"settlement,omitempty"`
|
||||
Network string `bson:"network,omitempty" json:"network,omitempty"`
|
||||
RouteRef string `bson:"routeRef,omitempty" json:"routeRef,omitempty"`
|
||||
PricingProfileRef string `bson:"pricingProfileRef,omitempty" json:"pricingProfileRef,omitempty"`
|
||||
Hops []*QuoteRouteHop `bson:"hops,omitempty" json:"hops,omitempty"`
|
||||
}
|
||||
|
||||
// QuoteExecutionConditions stores quotation-time assumptions and constraints.
|
||||
|
||||
Reference in New Issue
Block a user