Skip to content

Commit

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

Workflow run: https://github.com/gocardless/gocardless-dotnet-template/actions/runs/12713595373
  • Loading branch information
gocardless-ci-robot[bot] committed Jan 10, 2025
1 parent fdb3415 commit 09d33f7
Show file tree
Hide file tree
Showing 2 changed files with 1,017 additions and 165 deletions.
44 changes: 3 additions & 41 deletions GoCardless/Resources/BillingRequest.cs
Original file line number Diff line number Diff line change
Expand Up @@ -425,11 +425,10 @@ public class BillingRequestInstalmentScheduleRequest

/// <summary>
/// [ISO 4217](http://en.wikipedia.org/wiki/ISO_4217#Active_codes)
/// currency code. Currently "AUD", "CAD", "DKK", "EUR", "GBP", "NZD",
/// "SEK" and "USD" are supported.
/// currency code. Currently "USD" and "CAD" are supported.
/// </summary>
[JsonProperty("currency")]
public BillingRequestInstalmentScheduleRequestCurrency? Currency { get; set; }
public string Currency { get; set; }

/// <summary>
/// instalments to be created. See [create (with
Expand Down Expand Up @@ -497,42 +496,6 @@ public class BillingRequestInstalmentScheduleRequest
public int? TotalAmount { get; set; }
}

/// <summary>
/// [ISO 4217](http://en.wikipedia.org/wiki/ISO_4217#Active_codes) currency code. Currently
/// "AUD", "CAD", "DKK", "EUR", "GBP", "NZD", "SEK" and "USD" are supported.
/// </summary>
[JsonConverter(typeof(GcStringEnumConverter), (int)Unknown)]
public enum BillingRequestInstalmentScheduleRequestCurrency {
/// <summary>Unknown status</summary>
[EnumMember(Value = "unknown")]
Unknown = 0,

/// <summary>`currency` with a value of "AUD"</summary>
[EnumMember(Value = "AUD")]
AUD,
/// <summary>`currency` with a value of "CAD"</summary>
[EnumMember(Value = "CAD")]
CAD,
/// <summary>`currency` with a value of "DKK"</summary>
[EnumMember(Value = "DKK")]
DKK,
/// <summary>`currency` with a value of "EUR"</summary>
[EnumMember(Value = "EUR")]
EUR,
/// <summary>`currency` with a value of "GBP"</summary>
[EnumMember(Value = "GBP")]
GBP,
/// <summary>`currency` with a value of "NZD"</summary>
[EnumMember(Value = "NZD")]
NZD,
/// <summary>`currency` with a value of "SEK"</summary>
[EnumMember(Value = "SEK")]
SEK,
/// <summary>`currency` with a value of "USD"</summary>
[EnumMember(Value = "USD")]
USD,
}

/// <summary>
/// Resources linked to this BillingRequestInstalmentScheduleRequest
/// </summary>
Expand Down Expand Up @@ -1579,8 +1542,7 @@ public class BillingRequestSubscriptionRequest

/// <summary>
/// [ISO 4217](http://en.wikipedia.org/wiki/ISO_4217#Active_codes)
/// currency code. Currently "AUD", "CAD", "DKK", "EUR", "GBP", "NZD",
/// "SEK" and "USD" are supported.
/// currency code. Currently "USD" and "CAD" are supported.
/// </summary>
[JsonProperty("currency")]
public string Currency { get; set; }
Expand Down
Loading

0 comments on commit 09d33f7

Please sign in to comment.