idempotency key usage fix
This commit is contained in:
@@ -35,6 +35,7 @@ type FxQuote struct {
|
||||
}
|
||||
|
||||
type PaymentQuote struct {
|
||||
IdempotencyKey string `json:"idempotencyKey"`
|
||||
QuoteRef string `json:"quoteRef,omitempty"`
|
||||
DebitAmount *model.Money `json:"debitAmount,omitempty"`
|
||||
ExpectedSettlementAmount *model.Money `json:"expectedSettlementAmount,omitempty"`
|
||||
@@ -50,9 +51,10 @@ type PaymentQuoteAggregate struct {
|
||||
}
|
||||
|
||||
type PaymentQuotes struct {
|
||||
QuoteRef string `json:"quoteRef,omitempty"`
|
||||
Aggregate *PaymentQuoteAggregate `json:"aggregate,omitempty"`
|
||||
Quotes []PaymentQuote `json:"quotes,omitempty"`
|
||||
IdempotencyKey string `json:"idempotencyKey"`
|
||||
QuoteRef string `json:"quoteRef,omitempty"`
|
||||
Aggregate *PaymentQuoteAggregate `json:"aggregate,omitempty"`
|
||||
Quotes []PaymentQuote `json:"quotes,omitempty"`
|
||||
}
|
||||
|
||||
type Payment struct {
|
||||
|
||||
Reference in New Issue
Block a user