Class SubscribedMembershipUser
Object containing user membership subscription information.
public class SubscribedMembershipUser : IAdditionalDataHolder, IParsable
- Inheritance
-
SubscribedMembershipUser
- Implements
-
IAdditionalDataHolderIParsable
- 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
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
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
parseNodeIParseNodeThe parse node to use to read the discriminator value and create the object
Returns
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
writerISerializationWriterSerialization writer to use to serialize this model