Skip to content

Commit

Permalink
Changes generated by 615b911243d1bb9f6499b5a3d392204db6a8e79b
Browse files Browse the repository at this point in the history
This commit was automatically created from gocardless/gocardless-dotnet-template@615b911
by the `push-files` action.

Workflow run: https://github.com/gocardless/gocardless-dotnet-template/actions/runs/8881447068
  • Loading branch information
gocardless-ci-robot[bot] committed Apr 29, 2024
1 parent 1c1e78e commit 8c0003b
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 5 deletions.
1 change: 0 additions & 1 deletion GoCardless/Resources/Subscription.cs
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,6 @@ namespace GoCardless.Resources
/// (i.e., the last working day of the month).
/// - otherwise the charge date will be rolled __forwards__ to the next
/// business day.
///
/// </summary>
public class Subscription
{
Expand Down
9 changes: 6 additions & 3 deletions GoCardless/Services/SubscriptionService.cs
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,6 @@ namespace GoCardless.Services
/// (i.e., the last working day of the month).
/// - otherwise the charge date will be rolled __forwards__ to the next
/// business day.
///
/// </summary>

public class SubscriptionService
Expand Down Expand Up @@ -273,7 +272,6 @@ public Task<SubscriptionResponse> UpdateAsync(string identity, SubscriptionUpdat
///
/// - `pause_cycles_must_be_greater_than_or_equal_to` if the provided
/// value for `pause_cycles` cannot be satisfied.
///
/// </summary>
/// <param name="identity">Unique identifier, beginning with "SB".</param>
/// <param name="request">An optional `SubscriptionPauseRequest` representing the body for this pause request.</param>
Expand Down Expand Up @@ -853,7 +851,6 @@ public class SubscriptionUpdateRequest
///
/// - `pause_cycles_must_be_greater_than_or_equal_to` if the provided value
/// for `pause_cycles` cannot be satisfied.
///
/// </summary>
public class SubscriptionPauseRequest
{
Expand All @@ -869,6 +866,12 @@ public class SubscriptionPauseRequest
/// The number of cycles to pause a subscription for. A cycle is one
/// duration of `interval` and `interval_unit`. This should be a non
/// zero positive value.
/// For AUD subscriptions with `interval_unit: weekly` the minimum value
/// varies between `3` & `4` because of the [mandatory minimum waiting
/// period](#subscriptions-resume-a-subscription).
/// For NZD subscriptions with `interval_unit: weekly` the minimum value
/// is `2` because of the [mandatory minimum waiting
/// period](#subscriptions-resume-a-subscription).
/// </summary>
[JsonProperty("pause_cycles")]
public int? PauseCycles { get; set; }
Expand Down
2 changes: 1 addition & 1 deletion tmp-push-files-checkout
Submodule tmp-push-files-checkout updated from fd9197 to 1c1e78

0 comments on commit 8c0003b

Please sign in to comment.