From 846f9991f0ac5530edfc3f2e8256495af11180dd Mon Sep 17 00:00:00 2001
From: "gocardless-ci-robot[bot]"
<123969075+gocardless-ci-robot[bot]@users.noreply.github.com>
Date: Fri, 9 Aug 2024 14:42:48 +0000
Subject: [PATCH 1/8] Changes generated by
67e0473f115f0d98e5ba53ed8e123113ab78b86d
This commit was automatically created from gocardless/gocardless-dotnet-template@67e0473f115f0d98e5ba53ed8e123113ab78b86d
by the `push-files` action.
Workflow run: https://github.com/gocardless/gocardless-dotnet-template/actions/runs/10321128072
---
GoCardless/Resources/Event.cs | 6 ++++++
1 file changed, 6 insertions(+)
diff --git a/GoCardless/Resources/Event.cs b/GoCardless/Resources/Event.cs
index 1706f7c..b1072d4 100644
--- a/GoCardless/Resources/Event.cs
+++ b/GoCardless/Resources/Event.cs
@@ -171,6 +171,12 @@ public class EventDetails
[JsonProperty("description")]
public string Description { get; set; }
+ ///
+ /// Count of rows in the csv. This is sent for export events
+ ///
+ [JsonProperty("item_count")]
+ public int? ItemCount { get; set; }
+
///
/// When will_attempt_retry is set to false, this field will contain
/// the reason the payment was not retried. This can be one of:
From 8d2805bc52cd1896c397db105d3e30f5ddbec96b Mon Sep 17 00:00:00 2001
From: "gocardless-ci-robot[bot]"
<123969075+gocardless-ci-robot[bot]@users.noreply.github.com>
Date: Tue, 13 Aug 2024 10:10:24 +0000
Subject: [PATCH 2/8] Changes generated by
507040162e12f42793a8eb8ab0b5441775b41075
This commit was automatically created from gocardless/gocardless-dotnet-template@507040162e12f42793a8eb8ab0b5441775b41075
by the `push-files` action.
Workflow run: https://github.com/gocardless/gocardless-dotnet-template/actions/runs/10367784957
---
GoCardless/Resources/BillingRequest.cs | 36 ++++++++++++++++++++++++++
1 file changed, 36 insertions(+)
diff --git a/GoCardless/Resources/BillingRequest.cs b/GoCardless/Resources/BillingRequest.cs
index af95abd..d8199a6 100644
--- a/GoCardless/Resources/BillingRequest.cs
+++ b/GoCardless/Resources/BillingRequest.cs
@@ -491,6 +491,14 @@ public class BillingRequestMandateRequest
[JsonProperty("authorisation_source")]
public BillingRequestMandateRequestAuthorisationSource? AuthorisationSource { get; set; }
+ ///
+ /// This attribute represents the authorisation type between the payer
+ /// and merchant. It can be set to one-off, recurring or standing for
+ /// ACH scheme. And single, recurring and sporadic for PAD scheme.
+ ///
+ [JsonProperty("consent_type")]
+ public string ConsentType { get; set; }
+
///
/// Constraints that will apply to the mandate_request. (Optional)
/// Specifically for PayTo and VRP.
@@ -608,6 +616,34 @@ public enum BillingRequestMandateRequestAuthorisationSource {
Paper,
}
+ ///
+ /// This attribute represents the authorisation type between the payer and merchant. It can be
+ /// set to one-off, recurring or standing for ACH scheme. And single, recurring and sporadic for
+ /// PAD scheme.
+ ///
+ [JsonConverter(typeof(GcStringEnumConverter), (int)Unknown)]
+ public enum BillingRequestMandateRequestConsentType {
+ /// Unknown status
+ [EnumMember(Value = "unknown")]
+ Unknown = 0,
+
+ /// `consent_type` with a value of "one_off"
+ [EnumMember(Value = "one_off")]
+ OneOff,
+ /// `consent_type` with a value of "single"
+ [EnumMember(Value = "single")]
+ Single,
+ /// `consent_type` with a value of "recurring"
+ [EnumMember(Value = "recurring")]
+ Recurring,
+ /// `consent_type` with a value of "standing"
+ [EnumMember(Value = "standing")]
+ Standing,
+ /// `consent_type` with a value of "sporadic"
+ [EnumMember(Value = "sporadic")]
+ Sporadic,
+ }
+
///
/// Represents a billing request mandate request constraint resource.
///
From ea9f5bae8658d11b783a5ab957e6202d738e6da3 Mon Sep 17 00:00:00 2001
From: "gocardless-ci-robot[bot]"
<123969075+gocardless-ci-robot[bot]@users.noreply.github.com>
Date: Tue, 13 Aug 2024 10:12:25 +0000
Subject: [PATCH 3/8] Changes generated by
3f51599b2d249f1f26e4baa8c1c89479c42b03b6
This commit was automatically created from gocardless/gocardless-dotnet-template@3f51599b2d249f1f26e4baa8c1c89479c42b03b6
by the `push-files` action.
Workflow run: https://github.com/gocardless/gocardless-dotnet-template/actions/runs/10367813166
---
GoCardless/Resources/BillingRequest.cs | 36 --------------------------
1 file changed, 36 deletions(-)
diff --git a/GoCardless/Resources/BillingRequest.cs b/GoCardless/Resources/BillingRequest.cs
index d8199a6..af95abd 100644
--- a/GoCardless/Resources/BillingRequest.cs
+++ b/GoCardless/Resources/BillingRequest.cs
@@ -491,14 +491,6 @@ public class BillingRequestMandateRequest
[JsonProperty("authorisation_source")]
public BillingRequestMandateRequestAuthorisationSource? AuthorisationSource { get; set; }
- ///
- /// This attribute represents the authorisation type between the payer
- /// and merchant. It can be set to one-off, recurring or standing for
- /// ACH scheme. And single, recurring and sporadic for PAD scheme.
- ///
- [JsonProperty("consent_type")]
- public string ConsentType { get; set; }
-
///
/// Constraints that will apply to the mandate_request. (Optional)
/// Specifically for PayTo and VRP.
@@ -616,34 +608,6 @@ public enum BillingRequestMandateRequestAuthorisationSource {
Paper,
}
- ///
- /// This attribute represents the authorisation type between the payer and merchant. It can be
- /// set to one-off, recurring or standing for ACH scheme. And single, recurring and sporadic for
- /// PAD scheme.
- ///
- [JsonConverter(typeof(GcStringEnumConverter), (int)Unknown)]
- public enum BillingRequestMandateRequestConsentType {
- /// Unknown status
- [EnumMember(Value = "unknown")]
- Unknown = 0,
-
- /// `consent_type` with a value of "one_off"
- [EnumMember(Value = "one_off")]
- OneOff,
- /// `consent_type` with a value of "single"
- [EnumMember(Value = "single")]
- Single,
- /// `consent_type` with a value of "recurring"
- [EnumMember(Value = "recurring")]
- Recurring,
- /// `consent_type` with a value of "standing"
- [EnumMember(Value = "standing")]
- Standing,
- /// `consent_type` with a value of "sporadic"
- [EnumMember(Value = "sporadic")]
- Sporadic,
- }
-
///
/// Represents a billing request mandate request constraint resource.
///
From 792dd120c4ac429e2dbb686e910ddce72c2b32d1 Mon Sep 17 00:00:00 2001
From: "gocardless-ci-robot[bot]"
<123969075+gocardless-ci-robot[bot]@users.noreply.github.com>
Date: Tue, 13 Aug 2024 10:12:37 +0000
Subject: [PATCH 4/8] Changes generated by
5fb69f375b559c31ede0243457869d297939d7ca
This commit was automatically created from gocardless/gocardless-dotnet-template@5fb69f375b559c31ede0243457869d297939d7ca
by the `push-files` action.
Workflow run: https://github.com/gocardless/gocardless-dotnet-template/actions/runs/10367817121
---
GoCardless/Resources/BillingRequest.cs | 36 ++++++++++++++++++++++++++
1 file changed, 36 insertions(+)
diff --git a/GoCardless/Resources/BillingRequest.cs b/GoCardless/Resources/BillingRequest.cs
index af95abd..d8199a6 100644
--- a/GoCardless/Resources/BillingRequest.cs
+++ b/GoCardless/Resources/BillingRequest.cs
@@ -491,6 +491,14 @@ public class BillingRequestMandateRequest
[JsonProperty("authorisation_source")]
public BillingRequestMandateRequestAuthorisationSource? AuthorisationSource { get; set; }
+ ///
+ /// This attribute represents the authorisation type between the payer
+ /// and merchant. It can be set to one-off, recurring or standing for
+ /// ACH scheme. And single, recurring and sporadic for PAD scheme.
+ ///
+ [JsonProperty("consent_type")]
+ public string ConsentType { get; set; }
+
///
/// Constraints that will apply to the mandate_request. (Optional)
/// Specifically for PayTo and VRP.
@@ -608,6 +616,34 @@ public enum BillingRequestMandateRequestAuthorisationSource {
Paper,
}
+ ///
+ /// This attribute represents the authorisation type between the payer and merchant. It can be
+ /// set to one-off, recurring or standing for ACH scheme. And single, recurring and sporadic for
+ /// PAD scheme.
+ ///
+ [JsonConverter(typeof(GcStringEnumConverter), (int)Unknown)]
+ public enum BillingRequestMandateRequestConsentType {
+ /// Unknown status
+ [EnumMember(Value = "unknown")]
+ Unknown = 0,
+
+ /// `consent_type` with a value of "one_off"
+ [EnumMember(Value = "one_off")]
+ OneOff,
+ /// `consent_type` with a value of "single"
+ [EnumMember(Value = "single")]
+ Single,
+ /// `consent_type` with a value of "recurring"
+ [EnumMember(Value = "recurring")]
+ Recurring,
+ /// `consent_type` with a value of "standing"
+ [EnumMember(Value = "standing")]
+ Standing,
+ /// `consent_type` with a value of "sporadic"
+ [EnumMember(Value = "sporadic")]
+ Sporadic,
+ }
+
///
/// Represents a billing request mandate request constraint resource.
///
From 0c2533d14cd161ab58cc027110d8cc1f9d0a7089 Mon Sep 17 00:00:00 2001
From: "gocardless-ci-robot[bot]"
<123969075+gocardless-ci-robot[bot]@users.noreply.github.com>
Date: Tue, 13 Aug 2024 14:49:26 +0000
Subject: [PATCH 5/8] Changes generated by
a8403abd88e00bbcdd8f7462c8364a257b402ed5
This commit was automatically created from gocardless/gocardless-dotnet-template@a8403abd88e00bbcdd8f7462c8364a257b402ed5
by the `push-files` action.
Workflow run: https://github.com/gocardless/gocardless-dotnet-template/actions/runs/10372028458
---
GoCardless/Resources/BillingRequest.cs | 28 --------------------------
1 file changed, 28 deletions(-)
diff --git a/GoCardless/Resources/BillingRequest.cs b/GoCardless/Resources/BillingRequest.cs
index d8199a6..f98a03c 100644
--- a/GoCardless/Resources/BillingRequest.cs
+++ b/GoCardless/Resources/BillingRequest.cs
@@ -616,34 +616,6 @@ public enum BillingRequestMandateRequestAuthorisationSource {
Paper,
}
- ///
- /// This attribute represents the authorisation type between the payer and merchant. It can be
- /// set to one-off, recurring or standing for ACH scheme. And single, recurring and sporadic for
- /// PAD scheme.
- ///
- [JsonConverter(typeof(GcStringEnumConverter), (int)Unknown)]
- public enum BillingRequestMandateRequestConsentType {
- /// Unknown status
- [EnumMember(Value = "unknown")]
- Unknown = 0,
-
- /// `consent_type` with a value of "one_off"
- [EnumMember(Value = "one_off")]
- OneOff,
- /// `consent_type` with a value of "single"
- [EnumMember(Value = "single")]
- Single,
- /// `consent_type` with a value of "recurring"
- [EnumMember(Value = "recurring")]
- Recurring,
- /// `consent_type` with a value of "standing"
- [EnumMember(Value = "standing")]
- Standing,
- /// `consent_type` with a value of "sporadic"
- [EnumMember(Value = "sporadic")]
- Sporadic,
- }
-
///
/// Represents a billing request mandate request constraint resource.
///
From e82e5ea2c805651ce897c802c01a1c3d7aa5abab Mon Sep 17 00:00:00 2001
From: "gocardless-ci-robot[bot]"
<123969075+gocardless-ci-robot[bot]@users.noreply.github.com>
Date: Tue, 20 Aug 2024 10:49:29 +0000
Subject: [PATCH 6/8] Changes generated by
877e62b098d0a51101708708917de7a7404dc5e8
This commit was automatically created from gocardless/gocardless-dotnet-template@877e62b098d0a51101708708917de7a7404dc5e8
by the `push-files` action.
Workflow run: https://github.com/gocardless/gocardless-dotnet-template/actions/runs/10470127537
---
GoCardless/Resources/BillingRequest.cs | 2 +-
GoCardless/Resources/BillingRequestTemplate.cs | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/GoCardless/Resources/BillingRequest.cs b/GoCardless/Resources/BillingRequest.cs
index f98a03c..b900531 100644
--- a/GoCardless/Resources/BillingRequest.cs
+++ b/GoCardless/Resources/BillingRequest.cs
@@ -825,7 +825,7 @@ public class BillingRequestPaymentRequest
/// Amount in minor unit (e.g. pence in GBP, cents in EUR).
///
[JsonProperty("amount")]
- public int? Amount { get; set; }
+ public string Amount { get; set; }
///
/// The amount to be deducted from the payment as an app fee, to be paid
diff --git a/GoCardless/Resources/BillingRequestTemplate.cs b/GoCardless/Resources/BillingRequestTemplate.cs
index db509c1..90a406e 100644
--- a/GoCardless/Resources/BillingRequestTemplate.cs
+++ b/GoCardless/Resources/BillingRequestTemplate.cs
@@ -133,7 +133,7 @@ public class BillingRequestTemplate
///
/// Amount in minor unit (e.g. pence in GBP, cents in EUR).
///
- [JsonProperty("payment_request_amount")]
+ [JsonProperty("payment_request_amount")]
public string PaymentRequestAmount { get; set; }
///
From 10554142ce857aa6a41d6898649707d43536bec9 Mon Sep 17 00:00:00 2001
From: "gocardless-ci-robot[bot]"
<123969075+gocardless-ci-robot[bot]@users.noreply.github.com>
Date: Tue, 20 Aug 2024 10:55:17 +0000
Subject: [PATCH 7/8] Changes generated by
f80ef7746b6ae8f9649d4514783119bdaa78b176
This commit was automatically created from gocardless/gocardless-dotnet-template@f80ef7746b6ae8f9649d4514783119bdaa78b176
by the `push-files` action.
Workflow run: https://github.com/gocardless/gocardless-dotnet-template/actions/runs/10470204318
---
GoCardless/GoCardless.csproj | 4 ++--
GoCardless/GoCardlessClient.cs | 4 ++--
README.md | 2 +-
3 files changed, 5 insertions(+), 5 deletions(-)
diff --git a/GoCardless/GoCardless.csproj b/GoCardless/GoCardless.csproj
index cac3bb1..3ce850e 100644
--- a/GoCardless/GoCardless.csproj
+++ b/GoCardless/GoCardless.csproj
@@ -2,7 +2,7 @@
GoCardless
- 6.6.0
+ 6.7.0
GoCardless Ltd
Client for the GoCardless API - a powerful, simple solution for the collection of recurring bank-to-bank payments
false
@@ -11,7 +11,7 @@
GoCardless Ltd
gocardless payments rest api direct debit
https://github.com/gocardless/gocardless-dotnet/blob/master/LICENSE.txt
- https://github.com/gocardless/gocardless-dotnet/releases/tag/v6.6.0
+ https://github.com/gocardless/gocardless-dotnet/releases/tag/v6.7.0
netstandard1.6;netstandard2.0;netstandard2.1;net46;net8.0
True
true
diff --git a/GoCardless/GoCardlessClient.cs b/GoCardless/GoCardlessClient.cs
index 5884a2b..1b6e5bc 100644
--- a/GoCardless/GoCardlessClient.cs
+++ b/GoCardless/GoCardlessClient.cs
@@ -277,11 +277,11 @@ private HttpRequestMessage BuildHttpRequestMessage(string method, string path
runtimeFrameworkInformation = System.Runtime.InteropServices.RuntimeEnvironment.GetSystemVersion();
#endif
- var userAgentInformation = $" gocardless-dotnet/6.6.0 {runtimeFrameworkInformation} {Helpers.CleanupOSDescriptionString(OSRunningOn)}";
+ var userAgentInformation = $" gocardless-dotnet/6.7.0 {runtimeFrameworkInformation} {Helpers.CleanupOSDescriptionString(OSRunningOn)}";
requestMessage.Headers.Add("User-Agent", userAgentInformation);
requestMessage.Headers.Add("GoCardless-Version", "2015-07-06");
- requestMessage.Headers.Add("GoCardless-Client-Version", "6.6.0");
+ requestMessage.Headers.Add("GoCardless-Client-Version", "6.7.0");
requestMessage.Headers.Add("GoCardless-Client-Library", "gocardless-dotnet");
requestMessage.Headers.Authorization =
new System.Net.Http.Headers.AuthenticationHeaderValue("Bearer", _accessToken);
diff --git a/README.md b/README.md
index e2192e6..1fa7ddf 100644
--- a/README.md
+++ b/README.md
@@ -13,7 +13,7 @@ For full details of the GoCardless API, see the [API docs](https://developer.goc
To install `GoCardless`, run the following command in the [Package Manager Console](https://docs.microsoft.com/en-us/nuget/tools/package-manager-console)
-`Install-Package GoCardless -Version 6.6.0`
+`Install-Package GoCardless -Version 6.7.0`
## Usage
From 267e304bc957ed3e962f4251dab0c96792e7a1b3 Mon Sep 17 00:00:00 2001
From: "gocardless-ci-robot[bot]"
<123969075+gocardless-ci-robot[bot]@users.noreply.github.com>
Date: Tue, 20 Aug 2024 11:02:25 +0000
Subject: [PATCH 8/8] Changes generated by
68b31995796aae3d76322b9a092f355df925ad5e
This commit was automatically created from gocardless/gocardless-dotnet-template@68b31995796aae3d76322b9a092f355df925ad5e
by the `push-files` action.
Workflow run: https://github.com/gocardless/gocardless-dotnet-template/actions/runs/10470290864
---
GoCardless/Resources/BillingRequestTemplate.cs | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/GoCardless/Resources/BillingRequestTemplate.cs b/GoCardless/Resources/BillingRequestTemplate.cs
index 90a406e..db509c1 100644
--- a/GoCardless/Resources/BillingRequestTemplate.cs
+++ b/GoCardless/Resources/BillingRequestTemplate.cs
@@ -133,7 +133,7 @@ public class BillingRequestTemplate
///
/// Amount in minor unit (e.g. pence in GBP, cents in EUR).
///
- [JsonProperty("payment_request_amount")]
+ [JsonProperty("payment_request_amount")]
public string PaymentRequestAmount { get; set; }
///