Skip to content

Commit

Permalink
#4
Browse files Browse the repository at this point in the history
  • Loading branch information
matmiranda committed Aug 27, 2023
1 parent 1e95dac commit c986e17
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 2 deletions.
2 changes: 2 additions & 0 deletions PagBank/Model/Address.cs
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,8 @@ public class Address
public string? PostalCode { get; set; }
[JsonPropertyName("country"), JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingNull)]
public string? Country { get; set; }
[JsonPropertyName("region"), JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingNull)]
public string? Region { get; set; }
[JsonPropertyName("region_code"), JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingNull)]
public string? RegionCode { get; set; }
[JsonPropertyName("city"), JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingNull)]
Expand Down
2 changes: 1 addition & 1 deletion PagBank/PagBank.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<TargetFramework>net7.0</TargetFramework>
<ImplicitUsings>enable</ImplicitUsings>
<Nullable>enable</Nullable>
<Version>1.1.1</Version>
<Version>1.1.2</Version>
<Authors>Matheus Miranda, PagBank</Authors>
<GeneratePackageOnBuild>True</GeneratePackageOnBuild>
<PackageTags>pagbank;dotnet</PackageTags>
Expand Down
2 changes: 1 addition & 1 deletion PagBankTest/UnitTest.cs
Original file line number Diff line number Diff line change
Expand Up @@ -126,7 +126,7 @@ public async Task MockExemploBasico()
Type = "",
Boleto = new Boleto
{
DueDate = "",
DueDate = "2023-06-20",
Holder = new Holder { },
InstructionLines = new InstructionLines
{
Expand Down

0 comments on commit c986e17

Please sign in to comment.