-
Notifications
You must be signed in to change notification settings - Fork 24
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Releasing v3.21.0. Please check the changelog for the updates.
- Loading branch information
Showing
13 changed files
with
219 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,60 @@ | ||
using System; | ||
using System.IO; | ||
using System.ComponentModel; | ||
using System.Collections.Generic; | ||
using System.Runtime.Serialization; | ||
using Newtonsoft.Json; | ||
using Newtonsoft.Json.Linq; | ||
|
||
using ChargeBee.Internal; | ||
using ChargeBee.Api; | ||
using ChargeBee.Models.Enums; | ||
using ChargeBee.Filters.Enums; | ||
|
||
namespace ChargeBee.Models | ||
{ | ||
|
||
public class Metadata : Resource | ||
{ | ||
|
||
public Metadata() { } | ||
|
||
public Metadata(Stream stream) | ||
{ | ||
using (StreamReader reader = new StreamReader(stream)) | ||
{ | ||
JObj = JToken.Parse(reader.ReadToEnd()); | ||
apiVersionCheck (JObj); | ||
} | ||
} | ||
|
||
public Metadata(TextReader reader) | ||
{ | ||
JObj = JToken.Parse(reader.ReadToEnd()); | ||
apiVersionCheck (JObj); | ||
} | ||
|
||
public Metadata(String jsonString) | ||
{ | ||
JObj = JToken.Parse(jsonString); | ||
apiVersionCheck (JObj); | ||
} | ||
|
||
#region Methods | ||
#endregion | ||
|
||
#region Properties | ||
public string ChangeType | ||
{ | ||
get { return GetValue<string>("change_type", false); } | ||
} | ||
|
||
#endregion | ||
|
||
|
||
|
||
#region Subclasses | ||
|
||
#endregion | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters