-
Notifications
You must be signed in to change notification settings - Fork 73
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Upcoming history endpoint, simplify types
- Loading branch information
1 parent
cf2786d
commit 89fcfd8
Showing
14 changed files
with
149 additions
and
163 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,40 @@ | ||
using System; | ||
using System.Numerics; | ||
using System.Collections.Generic; | ||
using Newtonsoft.Json; | ||
|
||
namespace Thirdweb.Pay | ||
{ | ||
public class BuyHistoryResponse | ||
{ | ||
[JsonProperty("result")] | ||
public BuyHistoryResult Result { get; set; } | ||
} | ||
|
||
public class BuyHistoryResult | ||
{ | ||
[JsonProperty("walletAddress")] | ||
public string WalletAddress { get; set; } | ||
|
||
[JsonProperty("page")] | ||
public List<HistoryPage> Page { get; set; } | ||
|
||
[JsonProperty("nextCursor")] | ||
public string NextCursor { get; set; } | ||
|
||
[JsonProperty("pageSize")] | ||
public int PageSize { get; set; } | ||
} | ||
|
||
public class HistoryPage | ||
{ | ||
[JsonProperty("type")] | ||
public string Type { get; set; } | ||
|
||
[JsonProperty("buyWithCryptoStatus")] | ||
public BuyWithCryptoStatusResult BuyWithCryptoStatus; | ||
|
||
[JsonProperty("buyWithFiatStatus")] | ||
public BuyWithFiatStatusResult BuyWithFiatStatus; | ||
} | ||
} |
File renamed without changes.
118 changes: 0 additions & 118 deletions
118
Assets/Thirdweb/Core/Scripts/Pay/Types.GetBuyWithCryptoHistory.cs
This file was deleted.
Oops, something went wrong.
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
Oops, something went wrong.