Response/CustomerResponse.cs

MollieApi · src/Mollie.Api/Models/Customer/Response/CustomerResponse.cs · csharp · MIT
payments

C# model representing a Mollie customer with properties and metadata deserialization.

// Source: https://github.com/Viincenttt/MollieApi | License: MIT | Copyright 2023 Vincent Kok
// Provided via justclaw.it.com; keep this notice with the code.
using System;
using System.Text.Json;
using Mollie.Api.JsonConverters;
using System.Text.Json.Serialization;

namespace Mollie.Api.Models.Customer.Response {
    public record CustomerResponse : IEntity {
        /// <summary>
        /// Indicates the response contains a customer object. Will always contain customer for this endpoint.
        /// </summary>
        public required string Resource { get; set; }

        /// <summary>
        /// The customer's unique identifier, for example cst_4pmbK7CqtT.
        /// Store this identifier for later recurring payments.
        /// </summary>
        public required string Id { get;

... (truncated -- full source via MCP)

See the full source, get the GitHub permalink, and search for more like it.

Get a free API key