Inttegro .NET SDK
Search Results for

    Show / Hide Table of Contents

    Class RefundReasonJsonConverter

    Inheritance
    object
    JsonConverter
    JsonConverter<RefundReason>
    RefundReasonJsonConverter
    Inherited Members
    JsonConverter<RefundReason>.CanConvert(Type)
    JsonConverter<RefundReason>.ReadAsPropertyName(ref Utf8JsonReader, Type, JsonSerializerOptions)
    JsonConverter<RefundReason>.WriteAsPropertyName(Utf8JsonWriter, RefundReason, JsonSerializerOptions)
    JsonConverter<RefundReason>.HandleNull
    JsonConverter<RefundReason>.Type
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.ReferenceEquals(object, object)
    object.ToString()
    Namespace: Inttegro
    Assembly: Inttegro.dll
    Syntax
    public sealed class RefundReasonJsonConverter : JsonConverter<RefundReason>

    Methods

    | Edit this page View Source

    Read(ref Utf8JsonReader, Type, JsonSerializerOptions)

    Reads and converts the JSON to type RefundReason.

    Declaration
    public override RefundReason Read(ref Utf8JsonReader reader, Type typeToConvert, JsonSerializerOptions options)
    Parameters
    Type Name Description
    Utf8JsonReader reader

    The reader.

    Type typeToConvert

    The type to convert.

    JsonSerializerOptions options

    An object that specifies serialization options to use.

    Returns
    Type Description
    RefundReason

    The converted value.

    Overrides
    JsonConverter<RefundReason>.Read(ref Utf8JsonReader, Type, JsonSerializerOptions)
    | Edit this page View Source

    Write(Utf8JsonWriter, RefundReason, JsonSerializerOptions)

    Writes a specified value as JSON.

    Declaration
    public override void Write(Utf8JsonWriter writer, RefundReason value, JsonSerializerOptions options)
    Parameters
    Type Name Description
    Utf8JsonWriter writer

    The writer to write to.

    RefundReason value

    The value to convert to JSON.

    JsonSerializerOptions options

    An object that specifies serialization options to use.

    Overrides
    JsonConverter<RefundReason>.Write(Utf8JsonWriter, RefundReason, JsonSerializerOptions)
    • Edit this page
    • View Source
    In this article
    Back to top Generated by DocFX