Table of Contents

Class SubscribedMembershipUser

Namespace
Line.OpenApi.Messaging.Generated.Api.Models
Assembly
Line.OpenApi.Messaging.dll

Object containing user membership subscription information.

public class SubscribedMembershipUser : IAdditionalDataHolder, IParsable
Inheritance
SubscribedMembershipUser
Implements
IAdditionalDataHolder
IParsable
Inherited Members

Constructors

SubscribedMembershipUser()

Instantiates a new SubscribedMembershipUser and sets the default values.

public SubscribedMembershipUser()

Properties

AdditionalData

Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well.

public IDictionary<string, object> AdditionalData { get; set; }

Property Value

IDictionary<string, object>

JoinedTime

UNIX timestamp at which the user subscribed to the membership.

public int? JoinedTime { get; set; }

Property Value

int?

MembershipNo

The user's member number in the membership plan.

public int? MembershipNo { get; set; }

Property Value

int?

NextBillingDate

Next payment date for membership plan.- Format: yyyy-MM-dd (e.g. 2024-02-08)- Timezone: UTC+9

public string? NextBillingDate { get; set; }

Property Value

string

TotalSubscriptionMonths

The period of time in months that the user has been subscribed to a membership plan. If a user previously canceled and then re-subscribed to the same membership plan, only the period after the re-subscription will be counted.

public int? TotalSubscriptionMonths { get; set; }

Property Value

int?

Methods

CreateFromDiscriminatorValue(IParseNode)

Creates a new instance of the appropriate class based on discriminator value

public static SubscribedMembershipUser CreateFromDiscriminatorValue(IParseNode parseNode)

Parameters

parseNode IParseNode

The parse node to use to read the discriminator value and create the object

Returns

SubscribedMembershipUser

A SubscribedMembershipUser

GetFieldDeserializers()

The deserialization information for the current model

public virtual IDictionary<string, Action<IParseNode>> GetFieldDeserializers()

Returns

IDictionary<string, Action<IParseNode>>

A IDictionary<string, Action<IParseNode>>

Serialize(ISerializationWriter)

Serializes information the current object

public virtual void Serialize(ISerializationWriter writer)

Parameters

writer ISerializationWriter

Serialization writer to use to serialize this model