This commit is contained in:
0x42 2021-06-21 13:18:30 +03:00
parent 74a6367fd6
commit 5a86c525be
No known key found for this signature in database
GPG Key ID: AB0CF4321FCCF431
2 changed files with 7 additions and 8 deletions

View File

@ -80,12 +80,13 @@
}.
-type op_behaviour() :: #{operation_type() := addition | subtraction}.
-type operation_type() :: invoice
| invoice_adjustment
| invoice_payment
| invoice_payment_adjustment
| invoice_payment_refund
| invoice_payment_chargeback.
-type operation_type() ::
invoice
| invoice_adjustment
| invoice_payment
| invoice_payment_adjustment
| invoice_payment_refund
| invoice_payment_chargeback.
-type lim_id() :: lim_limiter_thrift:'LimitID'().
-type lim_change() :: lim_limiter_thrift:'LimitChange'().

View File

@ -8,7 +8,6 @@
currency = #limiter_base_CurrencyRef{symbolic_code = <<"RUB">>}
}).
-define(ctx_invoice_payment(Cost, CaptureCost), ?ctx_invoice_payment(undefined, undefined, Cost, CaptureCost)).
-define(ctx_invoice_payment(OwnerID, ShopID, Cost, CaptureCost), #limiter_context_LimitContext{
@ -39,7 +38,6 @@
effective_refund = #limiter_context_InvoicePaymentRefund{
cost = RefundCost,
created_at = <<"2000-01-01T00:00:00Z">>
}
}
}