/// <summary> /// Initializes a new instance of the <see cref="LoyaltyAccount"/> class. /// </summary> /// <param name="programId">program_id.</param> /// <param name="id">id.</param> /// <param name="balance">balance.</param> /// <param name="lifetimePoints">lifetime_points.</param> /// <param name="customerId">customer_id.</param> /// <param name="enrolledAt">enrolled_at.</param> /// <param name="createdAt">created_at.</param> /// <param name="updatedAt">updated_at.</param> /// <param name="mapping">mapping.</param> public LoyaltyAccount( string programId, string id = null, int?balance = null, int?lifetimePoints = null, string customerId = null, string enrolledAt = null, string createdAt = null, string updatedAt = null, Models.LoyaltyAccountMapping mapping = null) { this.Id = id; this.ProgramId = programId; this.Balance = balance; this.LifetimePoints = lifetimePoints; this.CustomerId = customerId; this.EnrolledAt = enrolledAt; this.CreatedAt = createdAt; this.UpdatedAt = updatedAt; this.Mapping = mapping; }
/// <summary> /// Mapping. /// </summary> /// <param name="mapping"> mapping. </param> /// <returns> Builder. </returns> public Builder Mapping(Models.LoyaltyAccountMapping mapping) { this.mapping = mapping; return(this); }