Skip to content

Commit

Permalink
Merge pull request #838 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 c3b32a4 + c732f60 commit 3d7ba70
Show file tree
Hide file tree
Showing 4 changed files with 16 additions and 3 deletions.
3 changes: 3 additions & 0 deletions Recurly/Constants.cs
Original file line number Diff line number Diff line change
Expand Up @@ -1506,6 +1506,9 @@ public enum PaymentMethod
[EnumMember(Value = "boleto")]
Boleto,

[EnumMember(Value = "cash_app")]
CashApp,

};

public enum CardType
Expand Down
2 changes: 1 addition & 1 deletion Recurly/Resources/ExternalSubscription.cs
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ public class ExternalSubscription : Resource
[JsonProperty("quantity")]
public int? Quantity { get; set; }

/// <value>External subscriptions can be active, canceled, expired, or past_due.</value>
/// <value>External subscriptions can be active, canceled, expired, past_due, voided, revoked, or paused.</value>
[JsonProperty("state")]
public string State { get; set; }

Expand Down
4 changes: 4 additions & 0 deletions Recurly/Resources/InvoiceUpdate.cs
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,10 @@ public class InvoiceUpdate : Request
[JsonProperty("customer_notes")]
public string CustomerNotes { get; set; }

/// <value>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.</value>
[JsonProperty("gateway_code")]
public string GatewayCode { get; set; }

/// <value>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.</value>
[JsonProperty("net_terms")]
public int? NetTerms { get; set; }
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

0 comments on commit 3d7ba70

Please sign in to comment.