gehgassi_backend/gehGassi.Klarna/OrderManagement/InitialPaymentMethodDto.cs

34 lines
1.5 KiB
C#

using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Newtonsoft.Json;
namespace gehGassi.Klarna.OrderManagement
{
public class InitialPaymentMethodDto
{
/// <summary>
/// The type of the initial payment method. One of INVOICE, FIXED_AMOUNT, FIXED_AMOUNT_BY_CARD (non Australia region), PAY_LATER_IN_PARTS (Australia region), ACCOUNT, DIRECT_DEBIT, DIRECT_DEBIT, CARD, BANK_TRANSFER, PAY_IN_X, PAY_IN_X, INVOICE_BUSINESS, DEFERRED_INTEREST, FIXED_SUM_CREDIT, PAY_LATER_BY_CARD, MOBILEPAY, SWISH
/// </summary>
/// <value>The type of the initial payment method. One of INVOICE, FIXED_AMOUNT, FIXED_AMOUNT_BY_CARD (non Australia region), PAY_LATER_IN_PARTS (Australia region), ACCOUNT, DIRECT_DEBIT, DIRECT_DEBIT, CARD, BANK_TRANSFER, PAY_IN_X, PAY_IN_X, INVOICE_BUSINESS, DEFERRED_INTEREST, FIXED_SUM_CREDIT, PAY_LATER_BY_CARD, MOBILEPAY, SWISH</value>
[JsonProperty("type")]
public string Type { get; set; }
/// <summary>
/// The description of the initial payment method.
/// </summary>
/// <value>The description of the initial payment method.</value>
[JsonProperty("description")]
public string Description { get; set; }
/// <summary>
/// The number of installments (if applicable).
/// </summary>
/// <value>The number of installments (if applicable).</value>
[JsonProperty("number_of_installments")]
public int? NumberOfInstallments { get; set; }
}
}