Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 16 additions & 0 deletions proto/payment_processing.thrift
Original file line number Diff line number Diff line change
Expand Up @@ -890,6 +890,15 @@ struct InvoiceRepairParams {
1: optional bool validate_transitions = true
}

/* Значение лимита. */
struct TurnoverLimitValue {
1: required domain.TurnoverLimit limit
2: required domain.Amount value
}

typedef map<domain.PaymentRoute, list<TurnoverLimitValue>> RouteLimitContext


// Exceptions

// forward-declared
Expand Down Expand Up @@ -1505,6 +1514,13 @@ service Invoicing {
2: InvoiceNotFound ex2,
3: base.InvalidRequest ex3
)

RouteLimitContext GetPaymentRoutesLimitValues (1: domain.InvoiceID id, 2: domain.InvoicePaymentID payment_id)
throws (
1: InvoiceNotFound ex1,
2: InvoicePaymentNotFound ex2
3: base.InvalidRequest ex3
)
}

// @NOTE: Argument and exception tags start with 2 for historical reasons
Expand Down