From a2568f4a9a386d7caf59004998b3c60b1551957c Mon Sep 17 00:00:00 2001 From: Recurly Integrations Date: Thu, 30 May 2024 21:49:52 +0000 Subject: [PATCH] Generated Latest Changes for v2021-02-25 --- external_subscription.go | 2 +- invoice_update.go | 3 +++ openapi/api.yaml | 10 ++++++++-- 3 files changed, 12 insertions(+), 3 deletions(-) diff --git a/external_subscription.go b/external_subscription.go index 881adc9..814665d 100644 --- a/external_subscription.go +++ b/external_subscription.go @@ -43,7 +43,7 @@ type ExternalSubscription struct { // An indication of the quantity of a subscribed item's quantity. Quantity int `json:"quantity,omitempty"` - // External subscriptions can be active, canceled, expired, or past_due. + // External subscriptions can be active, canceled, expired, past_due, voided, revoked, or paused. State string `json:"state,omitempty"` // When the external subscription was activated in the external platform. diff --git a/invoice_update.go b/invoice_update.go index 3c3890c..0143a04 100644 --- a/invoice_update.go +++ b/invoice_update.go @@ -24,4 +24,7 @@ type InvoiceUpdate struct { NetTerms *int `json:"net_terms,omitempty"` Address *InvoiceAddressCreate `json:"address,omitempty"` + + // 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. + GatewayCode *string `json:"gateway_code,omitempty"` } diff --git a/openapi/api.yaml b/openapi/api.yaml index 08c63a4..29d475d 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: