Webiant Logo Webiant Logo
  1. No results found.

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

BillingPlan.cs

using Newtonsoft.Json;

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

/// 
/// Represents the billing plan details
/// 
public class BillingPlan
{
    #region Properties

    /// 
    /// Gets or sets the name of the recurring plan.
    /// 
    [JsonProperty(PropertyName = "name")]
    public string Name { get; set; }

    /// 
    /// Gets or sets the array of billing cycles for trial billing and regular billing. A plan can have at most two trial cycles and only one regular cycle.
    /// 
    [JsonProperty(PropertyName = "billing_cycles")]
    public List BillingCycles { get; set; }

    /// 
    /// Gets or sets the price and currency for any one-time charges due at plan signup.
    /// 
    [JsonProperty(PropertyName = "one_time_charges")]
    public OneTimeCharge OneTimeCharges { get; set; }

    #endregion
}