diff --git a/lib/recurly/requests/invoice_update.rb b/lib/recurly/requests/invoice_update.rb index 297b1269d..6ac44194a 100644 --- a/lib/recurly/requests/invoice_update.rb +++ b/lib/recurly/requests/invoice_update.rb @@ -14,6 +14,10 @@ class InvoiceUpdate < Request # @return [String] Customer notes are an optional note field. define_attribute :customer_notes, String + # @!attribute gateway_code + # @return [String] 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. + define_attribute :gateway_code, String + # @!attribute net_terms # @return [Integer] 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. define_attribute :net_terms, Integer diff --git a/lib/recurly/resources/external_subscription.rb b/lib/recurly/resources/external_subscription.rb index 9361bf5ae..a1ccdabbe 100644 --- a/lib/recurly/resources/external_subscription.rb +++ b/lib/recurly/resources/external_subscription.rb @@ -63,7 +63,7 @@ class ExternalSubscription < Resource define_attribute :quantity, Integer # @!attribute state - # @return [String] External subscriptions can be active, canceled, expired, or past_due. + # @return [String] External subscriptions can be active, canceled, expired, past_due, voided, revoked, or paused. define_attribute :state, String # @!attribute test diff --git a/openapi/api.yaml b/openapi/api.yaml index 08c63a4d5..29d475d6c 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: