Skip to content

Commit e626776

Browse files
authored
Update comment on webhook resource types to make clearer and remove v1 descriptions. (#440)
1 parent 3728143 commit e626776

File tree

1 file changed

+2
-13
lines changed

1 file changed

+2
-13
lines changed

src/NoFrixion.MoneyMoov/Enums/WebhookResourceTypesEnum.cs

Lines changed: 2 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -23,19 +23,14 @@ public enum WebhookResourceTypesEnum
2323

2424
/// <summary>
2525
/// Represents a new transaction that corresponds to funds being received.
26-
/// This is a special case of Transaction. If both in and out transactions are
27-
/// desired the Transaction option can be used.
26+
/// This is a duplicate of the TransactionPayin resource and was used in version 1
27+
/// webhooks. It's recommended to use TransactionPayin instead.
2828
/// </summary>
2929
Payin = 1,
3030

3131
/// <summary>
3232
/// Will trigger notifications for payout related events.
3333
/// </summary>
34-
/// <remarks>
35-
/// Note due to unfortunate naming if a merchant is using version 1 webhooks
36-
/// this webhook type corresponds to a transaction and NOT a payout where funds
37-
/// are being sent out i.e. the opposite of payin.
38-
/// </remarks>
3934
Payout = 2,
4035

4136
/// <summary>
@@ -51,17 +46,11 @@ public enum WebhookResourceTypesEnum
5146
/// <summary>
5247
/// Will trigger notifications for a transaction that is receiving funds.
5348
/// </summary>
54-
/// <remarks>
55-
/// This is the equivalent of the webhooks version 1 Payin.
56-
/// </remarks>
5749
TransactionPayin = 16,
5850

5951
/// <summary>
6052
/// Will trigger notifications for a transaction that is sending funds.
6153
/// </summary>
62-
/// <remarks>
63-
/// This is the equivalent of the webhooks version 1 Payout.
64-
/// </remarks>
6554
TransactionPayout = 32,
6655

6756
/// <summary>

0 commit comments

Comments
 (0)