Webiant Logo Webiant Logo
  1. No results found.

    Try your search with a different keyword or use * as a wildcard.

Money.cs

using Newtonsoft.Json;

namespace Nop.Plugin.Payments.PayPalCommerce.Services.Api.Models;

/// 
/// Represents the currency and amount for a financial transaction, such as a balance or payment due
/// 
public class Money
{
    #region Properties

    /// 
    /// Gets or sets the [three-character ISO-4217 currency code](/docs/integration/direct/rest/currency-codes/) that identifies the currency.
    /// 
    [JsonProperty(PropertyName = "currency_code")]
    public string CurrencyCode { get; set; }

    /// 
    /// Gets or sets the value, which might be: An integer for currencies like `JPY` that are not typically fractional. A decimal fraction for currencies like `TND` that are subdivided into thousandths. For the required number of decimal places for a currency code, see [Currency Codes](/docs/integration/direct/rest/currency-codes/).
    /// 
    [JsonProperty(PropertyName = "value")]
    public string Value { get; set; }

    #endregion
}