Table of Contents

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

Name string

Component name (e.g., "page_rules", "dedicated_certificates").

Default int

Default quantity included in the plan.

UnitPrice decimal

Price per additional unit beyond the default.

Properties

Default

Default quantity included in the plan.

[JsonPropertyName("default")]
public int Default { get; init; }

Property Value

int

Name

Component name (e.g., "page_rules", "dedicated_certificates").

[JsonPropertyName("name")]
public string Name { get; init; }

Property Value

string

UnitPrice

Price per additional unit beyond the default.

[JsonPropertyName("unit_price")]
public decimal UnitPrice { get; init; }

Property Value

decimal