Skip to content

Commit

Permalink
Release 0.4.2
Browse files Browse the repository at this point in the history
  • Loading branch information
fern-api[bot] committed Jun 21, 2024
1 parent 02ed9cd commit 90558ff
Show file tree
Hide file tree
Showing 6 changed files with 30 additions and 12 deletions.
20 changes: 10 additions & 10 deletions src/Mercoa.Client.sln
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,9 @@ Microsoft Visual Studio Solution File, Format Version 12.00
# Visual Studio Version 17
VisualStudioVersion = 17.0.31903.59
MinimumVisualStudioVersion = 10.0.40219.1
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Mercoa.Client", "Mercoa.Client\Mercoa.Client.csproj", "{BC153F5D-14F0-4509-B2A1-5B9AA242F6CB}"
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Mercoa.Client", "Mercoa.Client\Mercoa.Client.csproj", "{67C0D593-904A-4386-B4BB-82E8CBCB10BC}"
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Mercoa.Client.Test", "Mercoa.Client.Test\Mercoa.Client.Test.csproj", "{D7AB86F9-B306-425C-BE18-7937D748FEDB}"
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Mercoa.Client.Test", "Mercoa.Client.Test\Mercoa.Client.Test.csproj", "{206F048D-00B8-494A-8C03-8C6CD9482A28}"
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
Expand All @@ -16,13 +16,13 @@ Global
HideSolutionNode = FALSE
EndGlobalSection
GlobalSection(ProjectConfigurationPlatforms) = postSolution
{BC153F5D-14F0-4509-B2A1-5B9AA242F6CB}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{BC153F5D-14F0-4509-B2A1-5B9AA242F6CB}.Debug|Any CPU.Build.0 = Debug|Any CPU
{BC153F5D-14F0-4509-B2A1-5B9AA242F6CB}.Release|Any CPU.ActiveCfg = Release|Any CPU
{BC153F5D-14F0-4509-B2A1-5B9AA242F6CB}.Release|Any CPU.Build.0 = Release|Any CPU
{D7AB86F9-B306-425C-BE18-7937D748FEDB}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{D7AB86F9-B306-425C-BE18-7937D748FEDB}.Debug|Any CPU.Build.0 = Debug|Any CPU
{D7AB86F9-B306-425C-BE18-7937D748FEDB}.Release|Any CPU.ActiveCfg = Release|Any CPU
{D7AB86F9-B306-425C-BE18-7937D748FEDB}.Release|Any CPU.Build.0 = Release|Any CPU
{67C0D593-904A-4386-B4BB-82E8CBCB10BC}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{67C0D593-904A-4386-B4BB-82E8CBCB10BC}.Debug|Any CPU.Build.0 = Debug|Any CPU
{67C0D593-904A-4386-B4BB-82E8CBCB10BC}.Release|Any CPU.ActiveCfg = Release|Any CPU
{67C0D593-904A-4386-B4BB-82E8CBCB10BC}.Release|Any CPU.Build.0 = Release|Any CPU
{206F048D-00B8-494A-8C03-8C6CD9482A28}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{206F048D-00B8-494A-8C03-8C6CD9482A28}.Debug|Any CPU.Build.0 = Debug|Any CPU
{206F048D-00B8-494A-8C03-8C6CD9482A28}.Release|Any CPU.ActiveCfg = Release|Any CPU
{206F048D-00B8-494A-8C03-8C6CD9482A28}.Release|Any CPU.Build.0 = Release|Any CPU
EndGlobalSection
EndGlobal
6 changes: 6 additions & 0 deletions src/Mercoa.Client/EntityTypes/Types/ApprovalPolicyResponse.cs
Original file line number Diff line number Diff line change
Expand Up @@ -18,4 +18,10 @@ public class ApprovalPolicyResponse

[JsonPropertyName("upstreamPolicyId")]
public string UpstreamPolicyId { get; init; }

[JsonPropertyName("createdAt")]
public DateTime CreatedAt { get; init; }

[JsonPropertyName("updatedAt")]
public DateTime UpdatedAt { get; init; }
}
2 changes: 1 addition & 1 deletion src/Mercoa.Client/Mercoa.Client.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<TargetFrameworks>net8.0;net7.0;net6.0;net5.0;net4.0</TargetFrameworks>
<ImplicitUsings>enable</ImplicitUsings>
<NuGetAudit>false</NuGetAudit>
<Version>0.4.1</Version>
<Version>0.4.2</Version>
<PackageReadmeFile>README.md</PackageReadmeFile>
<PackageProjectUrl>https://github.com/mercoa-finance/csharp</PackageProjectUrl>
</PropertyGroup>
Expand Down
2 changes: 1 addition & 1 deletion src/Mercoa.Client/Mercoa.cs
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ public Mercoa(string token = null, ClientOptions clientOptions = null)
{ "Authorization", $"Bearer {token}" },
{ "X-Fern-Language", "C#" },
{ "X-Fern-SDK-Name", "Mercoa.Client" },
{ "X-Fern-SDK-Version", "0.4.1" },
{ "X-Fern-SDK-Version", "0.4.2" },
},
clientOptions ?? new ClientOptions()
);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,12 @@ public class CustomPaymentMethodSchemaRequest
[JsonPropertyName("isDestination")]
public bool IsDestination { get; init; }

/// <summary>
/// Estimated time in days for this payment method to process a payments. Set as 0 for same-day payment methods, -1 for unknown processing time.
/// </summary>
[JsonPropertyName("estimatedProcessingTime")]
public int? EstimatedProcessingTime { get; init; }

/// <summary>
/// List of currencies that this payment method supports. If not provided, the payment method will support only USD.
/// </summary>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,12 @@ public class CustomPaymentMethodSchemaResponse
[JsonPropertyName("fields")]
public IEnumerable<CustomPaymentMethodSchemaField> Fields { get; init; }

/// <summary>
/// Estimated time in days for this payment method to process a payments. 0 is an same-day payment methods, -1 is unknown processing time.
/// </summary>
[JsonPropertyName("estimatedProcessingTime")]
public int EstimatedProcessingTime { get; init; }

[JsonPropertyName("createdAt")]
public DateTime CreatedAt { get; init; }

Expand Down

0 comments on commit 90558ff

Please sign in to comment.