Skip to content
Merged
Show file tree
Hide file tree
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
13 changes: 13 additions & 0 deletions proto/domain.thrift
Original file line number Diff line number Diff line change
Expand Up @@ -587,6 +587,7 @@ union InvoicePaymentAdjustmentStatus {
union InvoicePaymentAdjustmentState {
1: InvoicePaymentAdjustmentCashFlowState cash_flow
2: InvoicePaymentAdjustmentStatusChangeState status_change
3: InvoicePaymentAdjustmentTransactionInfoState transaction_info
}

struct InvoicePaymentAdjustmentCashFlowState {
Expand All @@ -597,6 +598,10 @@ struct InvoicePaymentAdjustmentStatusChangeState {
1: required InvoicePaymentAdjustmentStatusChange scenario
}

struct InvoicePaymentAdjustmentTransactionInfoState {
1: required InvoicePaymentAdjustmentTransactionInfo scenario
}

/**
* Параметры поправки к платежу, используемые для пересчёта графа финансовых потоков.
*/
Expand All @@ -618,6 +623,14 @@ struct InvoicePaymentAdjustmentStatusChange {
1: required InvoicePaymentStatus target_status
}

/**
* Параметры поправки к платежу, используемые для изменения информации о транзакции у провайдера.
*/
struct InvoicePaymentAdjustmentTransactionInfo {
/** Данные о связанной транзакции у провайдера. */
1: required TransactionInfo trx
}

/**
* Процесс выполнения платежа.
*/
Expand Down
1 change: 1 addition & 0 deletions proto/payment_processing.thrift
Original file line number Diff line number Diff line change
Expand Up @@ -841,6 +841,7 @@ struct InvoicePaymentAdjustmentParams {
union InvoicePaymentAdjustmentScenario {
1: domain.InvoicePaymentAdjustmentCashFlow cash_flow
2: domain.InvoicePaymentAdjustmentStatusChange status_change
3: domain.InvoicePaymentAdjustmentTransactionInfo transaction_info
}

/* Сценарий, проверяющий состояние упавшей машины и, в случае если
Expand Down
Loading