From c732f60b2c37cd7b76126ca7ff5f62c237a2e869 Mon Sep 17 00:00:00 2001 From: Recurly Integrations Date: Thu, 30 May 2024 21:51:00 +0000 Subject: [PATCH] Generated Latest Changes for v2021-02-25 --- Recurly/Constants.cs | 3 +++ Recurly/Resources/ExternalSubscription.cs | 2 +- Recurly/Resources/InvoiceUpdate.cs | 4 ++++ openapi/api.yaml | 10 ++++++++-- 4 files changed, 16 insertions(+), 3 deletions(-) diff --git a/Recurly/Constants.cs b/Recurly/Constants.cs index 9d660a69..1818aaa2 100644 --- a/Recurly/Constants.cs +++ b/Recurly/Constants.cs @@ -1506,6 +1506,9 @@ public enum PaymentMethod [EnumMember(Value = "boleto")] Boleto, + [EnumMember(Value = "cash_app")] + CashApp, + }; public enum CardType diff --git a/Recurly/Resources/ExternalSubscription.cs b/Recurly/Resources/ExternalSubscription.cs index 57f57b2c..a626d716 100644 --- a/Recurly/Resources/ExternalSubscription.cs +++ b/Recurly/Resources/ExternalSubscription.cs @@ -71,7 +71,7 @@ public class ExternalSubscription : Resource [JsonProperty("quantity")] public int? Quantity { get; set; } - /// External subscriptions can be active, canceled, expired, or past_due. + /// External subscriptions can be active, canceled, expired, past_due, voided, revoked, or paused. [JsonProperty("state")] public string State { get; set; } diff --git a/Recurly/Resources/InvoiceUpdate.cs b/Recurly/Resources/InvoiceUpdate.cs index 95d6bda6..9dfbb371 100644 --- a/Recurly/Resources/InvoiceUpdate.cs +++ b/Recurly/Resources/InvoiceUpdate.cs @@ -23,6 +23,10 @@ public class InvoiceUpdate : Request [JsonProperty("customer_notes")] public string CustomerNotes { get; set; } + /// An alphanumeric code shown per gateway on your site's payment gateways page. Set this code to ensure that a given invoice targets a given gateway. + [JsonProperty("gateway_code")] + public string GatewayCode { get; set; } + /// Integer representing the number of days after an invoice's creation that the invoice will become past due. Changing Net terms changes due_on, and the invoice could move between past due and pending. [JsonProperty("net_terms")] public int? NetTerms { get; set; } diff --git a/openapi/api.yaml b/openapi/api.yaml index 08c63a4d..29d475d6 100644 --- a/openapi/api.yaml +++ b/openapi/api.yaml @@ -19877,6 +19877,11 @@ components: maximum: 999 address: "$ref": "#/components/schemas/InvoiceAddress" + gateway_code: + type: string + description: An alphanumeric code shown per gateway on your site's payment + gateways page. Set this code to ensure that a given invoice targets a + given gateway. InvoiceMini: type: object title: Invoice mini details @@ -24309,8 +24314,8 @@ components: minimum: 0 state: type: string - description: External subscriptions can be active, canceled, expired, or - past_due. + description: External subscriptions can be active, canceled, expired, past_due, + voided, revoked, or paused. default: active activated_at: type: string @@ -25626,6 +25631,7 @@ components: - wire_transfer - braintree_v_zero - boleto + - cash_app CardTypeEnum: type: string enum: