-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
0b6d315
commit 5059128
Showing
13 changed files
with
101 additions
and
9 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
namespace PagBank.Model | ||
{ | ||
public class AuthenticationMethod | ||
{ | ||
[JsonPropertyName("type"), JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingNull)] | ||
public string? Type { get; set; } | ||
[JsonPropertyName("id"), JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingNull)] | ||
public string? Td { get; set; } | ||
[JsonPropertyName("cavv"), JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingNull)] | ||
public string? Cavv { get; set; } | ||
[JsonPropertyName("eci"), JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingNull)] | ||
public string? Eci { get; set; } | ||
[JsonPropertyName("xid"), JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingNull)] | ||
public string? Xid { get; set; } | ||
[JsonPropertyName("version"), JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingNull)] | ||
public string? Version { get; set; } | ||
[JsonPropertyName("dstrans_id"), JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingNull)] | ||
public string? DstransId { get; set; } | ||
} | ||
} |
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,12 @@ | ||
namespace PagBank.Model | ||
{ | ||
public class Boleto | ||
{ | ||
[JsonPropertyName("instruction_lines"), JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingNull)] | ||
public InstructionLines? InstructionLines { get; set; } | ||
[JsonPropertyName("holder"), JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingNull)] | ||
public Holder? Holder { get; set; } | ||
[JsonPropertyName("due_date"), JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingNull)] | ||
public string? DueDate { get; set; } | ||
} | ||
} |
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,10 @@ | ||
namespace PagBank.Model | ||
{ | ||
public class InstructionLines | ||
{ | ||
[JsonPropertyName("line_1"), JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingNull)] | ||
public string? Line1 { get; set; } | ||
[JsonPropertyName("line_2"), JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingNull)] | ||
public string? Line2 { get; set; } | ||
} | ||
} |
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,10 @@ | ||
namespace PagBank.Model | ||
{ | ||
public class QrCodes | ||
{ | ||
[JsonPropertyName("amount"), JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingNull)] | ||
public Amount? Amount { get; set; } | ||
[JsonPropertyName("expiration_date"), JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingNull)] | ||
public string? ExpirationDate { get; set; } | ||
} | ||
} |
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,16 @@ | ||
namespace PagBank.Model | ||
{ | ||
public class TokenData | ||
{ | ||
[JsonPropertyName("requestor_id"), JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingNull)] | ||
public string? RequestorId { get; set; } | ||
[JsonPropertyName("wallet"), JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingNull)] | ||
public string? Wallet { get; set; } | ||
[JsonPropertyName("cryptogram"), JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingNull)] | ||
public string? Cryptogram { get; set; } | ||
[JsonPropertyName("ecommerce_domain"), JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingNull)] | ||
public string? EcommerceDomain { get; set; } | ||
[JsonPropertyName("assurance_level"), JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingNull)] | ||
public int? AssuranceLevel { get; set; } | ||
} | ||
} |
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