Table of Contents

Enum PaymentType

Namespace
DatabentoDotNet.Reference
Assembly
DatabentoDotNet.Reference.dll

The payment type.

[JsonConverter(typeof(PaymentTypeJsonConverter))]
public enum PaymentType : byte
Extension Methods

Fields

Cash = 67

Cash (C).

CashAndStock = 66

Cash and stock (B).

DissentersRights = 68

Dissenters rights (D).

Stock = 83

Stock (S).

Tba = 84

To be announced (T).

Remarks

One of the nine closed reference enums: byte-backed, one character on the wire, and an unrecognised code is an error rather than an opaque value. ReferenceWireStrings carries the argument for all three.

A blank is legal here, and it is not a member. The PAYTYPE group lists a null-code entry described as "A Blank value is possible", and upstream models the field as Option<PaymentType> (corporate.rs:358). So the field a response model declares is Nullable<T> of this type carrying NullablePaymentTypeJsonConverter, which reads a blank as null. PaymentTypeJsonConverter, the one this type carries by attribute, rejects a blank — a non-nullable field has no way to say "no value". This and Fraction are the only two of the nine that allow it.

Ported from databento-rs/src/reference/enums.rs:3220, and checked against the PAYTYPE group of the vendored corporate_actions.list_enums response, which reports the same five codes.