Table of Contents

Class ReferralData

Namespace
TorBoxSDK.Models.User
Assembly
TorBoxSDK.dll

Represents referral data for the authenticated user's account.

public sealed record ReferralData : IEquatable<ReferralData>
Inheritance
ReferralData
Implements
Inherited Members

Properties

PurchasesReferred

Gets the number of purchases made by referred accounts.

[JsonPropertyName("purchases_referred")]
public int PurchasesReferred { get; init; }

Property Value

int

ReferralCode

Gets the user's referral code, or null if not available.

[JsonPropertyName("referral_code")]
public string? ReferralCode { get; init; }

Property Value

string

ReferredAccounts

Gets the number of accounts referred by the user.

[JsonPropertyName("referred_accounts")]
public int ReferredAccounts { get; init; }

Property Value

int