Skip to content

Commit

Permalink
Merge pull request #332 from recurly/v3-v2021-02-25-9309640926
Browse files Browse the repository at this point in the history
Generated Latest Changes for v2021-02-25
  • Loading branch information
gilv93 authored May 30, 2024
2 parents 7ca4306 + 825004c commit fec5641
Show file tree
Hide file tree
Showing 4 changed files with 16 additions and 6 deletions.
6 changes: 5 additions & 1 deletion lib/recurly.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1321,7 +1321,7 @@ export declare class ExternalSubscription {
*/
quantity?: number | null;
/**
* 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 | null;
/**
Expand Down Expand Up @@ -4807,6 +4807,10 @@ export interface InvoiceUpdate {
*/
netTerms?: number | null;
address?: InvoiceAddress | null;
/**
* 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 | null;

}

Expand Down
2 changes: 1 addition & 1 deletion lib/recurly/resources/ExternalSubscription.js
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ const Resource = require('../Resource')
* @prop {Date} lastPurchased - When a new billing event occurred on the external subscription in conjunction with a recent billing period, reactivation or upgrade/downgrade.
* @prop {string} object - Object type
* @prop {number} quantity - An indication of the quantity of a subscribed item's quantity.
* @prop {string} state - External subscriptions can be active, canceled, expired, or past_due.
* @prop {string} state - External subscriptions can be active, canceled, expired, past_due, voided, revoked, or paused.
* @prop {boolean} test - An indication of whether or not the external subscription was purchased in a sandbox environment.
* @prop {Date} trialEndsAt - When the external subscription trial period ends in the external platform.
* @prop {Date} trialStartedAt - When the external subscription trial period started in the external platform.
Expand Down
10 changes: 8 additions & 2 deletions openapi/api.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down Expand Up @@ -25626,6 +25631,7 @@ components:
- wire_transfer
- braintree_v_zero
- boleto
- cash_app
CardTypeEnum:
type: string
enum:
Expand Down
4 changes: 2 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit fec5641

Please sign in to comment.