Skip to content

Commit 9f21469

Browse files
authored
Merge pull request #894 from recurly/v3-v2021-02-25-8347308694
Generated Latest Changes for v2021-02-25
2 parents 6f7e325 + afcca29 commit 9f21469

File tree

4 files changed

+34
-2
lines changed

4 files changed

+34
-2
lines changed

lib/recurly/requests/billing_info_create.rb

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,10 @@ class BillingInfoCreate < Request
2626
# @return [Boolean] The `backup_payment_method` field is used to designate a billing info as a backup on the account that will be tried if the initial billing info used for an invoice is declined. All payment methods, including the billing info marked `primary_payment_method` can be set as a backup. An account can have a maximum of 1 backup, if a user sets a different payment method as a backup, the existing backup will no longer be marked as such.
2727
define_attribute :backup_payment_method, :Boolean
2828

29+
# @!attribute card_network_preference
30+
# @return [String] Represents the card network preference associated with the billing info for dual badged cards. Must be a supported card network.
31+
define_attribute :card_network_preference, String
32+
2933
# @!attribute card_type
3034
# @return [String]
3135
define_attribute :card_type, String

lib/recurly/resources/external_subscription.rb

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -66,6 +66,10 @@ class ExternalSubscription < Resource
6666
# @return [String] External subscriptions can be active, canceled, expired, or past_due.
6767
define_attribute :state, String
6868

69+
# @!attribute test
70+
# @return [Boolean] An indication of whether or not the external subscription was purchased in a sandbox environment.
71+
define_attribute :test, :Boolean
72+
6973
# @!attribute trial_ends_at
7074
# @return [DateTime] When the external subscription trial period ends in the external platform.
7175
define_attribute :trial_ends_at, DateTime

lib/recurly/resources/payment_method.rb

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,10 @@ class PaymentMethod < Resource
1414
# @return [String] Billing Agreement identifier. Only present for Amazon or Paypal payment methods.
1515
define_attribute :billing_agreement_id, String
1616

17+
# @!attribute card_network_preference
18+
# @return [String] Represents the card network preference associated with the billing info for dual badged cards. Must be a supported card network.
19+
define_attribute :card_network_preference, String
20+
1721
# @!attribute card_type
1822
# @return [String] Visa, MasterCard, American Express, Discover, JCB, etc.
1923
define_attribute :card_type, String

openapi/api.yaml

Lines changed: 22 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8617,8 +8617,6 @@ paths:
86178617
summary: Apply available credit to a pending or past due charge invoice
86188618
description: Apply credit payment to the outstanding balance on an existing
86198619
charge invoice from an account’s available balance from existing credit invoices.
8620-
Credit that was refunded from the invoice cannot be applied back to the invoice
8621-
as payment.
86228620
parameters:
86238621
- "$ref": "#/components/parameters/site_id"
86248622
- "$ref": "#/components/parameters/invoice_id"
@@ -18389,6 +18387,10 @@ components:
1838918387
deprecated: true
1839018388
card_type:
1839118389
"$ref": "#/components/schemas/CardTypeEnum"
18390+
card_network_preference:
18391+
description: Represents the card network preference associated with the
18392+
billing info for dual badged cards. Must be a supported card network.
18393+
"$ref": "#/components/schemas/CardNetworkEnum"
1839218394
BillingInfoVerify:
1839318395
type: object
1839418396
properties:
@@ -24173,6 +24175,12 @@ components:
2417324175
title: Trial ends at
2417424176
description: When the external subscription trial period ends in the external
2417524177
platform.
24178+
test:
24179+
type: boolean
24180+
title: Test
24181+
description: An indication of whether or not the external subscription was
24182+
purchased in a sandbox environment.
24183+
default: false
2417624184
created_at:
2417724185
type: string
2417824186
format: date-time
@@ -24427,6 +24435,10 @@ components:
2442724435
Reference value used when the external token was created. For Braintree
2442824436
the PayPal PayerID is populated in the response.
2442924437
maxLength: 264
24438+
card_network_preference:
24439+
description: Represents the card network preference associated with the
24440+
billing info for dual badged cards. Must be a supported card network.
24441+
"$ref": "#/components/schemas/CardNetworkEnum"
2443024442
billing_agreement_id:
2443124443
type: string
2443224444
description: Billing Agreement identifier. Only present for Amazon or Paypal
@@ -25469,6 +25481,14 @@ components:
2546925481
- Unknown
2547025482
- Visa
2547125483
- Tarjeta Naranja
25484+
CardNetworkEnum:
25485+
type: string
25486+
enum:
25487+
- Bancontact
25488+
- CartesBancaires
25489+
- Dankort
25490+
- MasterCard
25491+
- Visa
2547225492
AccountTypeEnum:
2547325493
type: string
2547425494
enum:

0 commit comments

Comments
 (0)