Class RatePlanComponent
- Namespace
- Cloudflare.NET.Subscriptions.Models
- Assembly
- Cloudflare.NET.dll
Component pricing details for a rate plan.
Components define additional features or resources that can be added to a subscription, along with their pricing information.
public record RatePlanComponent : IEquatable<RatePlanComponent>
- Inheritance
-
RatePlanComponent
- Implements
- Inherited Members
Constructors
RatePlanComponent(string, int, decimal)
Component pricing details for a rate plan.
Components define additional features or resources that can be added to a subscription, along with their pricing information.
public RatePlanComponent(string Name, int Default, decimal UnitPrice)
Parameters
NamestringComponent name (e.g., "page_rules", "dedicated_certificates").
DefaultintDefault quantity included in the plan.
UnitPricedecimalPrice per additional unit beyond the default.
Properties
Default
Default quantity included in the plan.
[JsonPropertyName("default")]
public int Default { get; init; }
Property Value
Name
Component name (e.g., "page_rules", "dedicated_certificates").
[JsonPropertyName("name")]
public string Name { get; init; }
Property Value
UnitPrice
Price per additional unit beyond the default.
[JsonPropertyName("unit_price")]
public decimal UnitPrice { get; init; }