Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Generated Latest Changes for v2021-02-25 #894

Merged
merged 1 commit into from
Mar 19, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions lib/recurly/requests/billing_info_create.rb
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,10 @@ class BillingInfoCreate < Request
# @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.
define_attribute :backup_payment_method, :Boolean

# @!attribute card_network_preference
# @return [String] Represents the card network preference associated with the billing info for dual badged cards. Must be a supported card network.
define_attribute :card_network_preference, String

# @!attribute card_type
# @return [String]
define_attribute :card_type, String
Expand Down
4 changes: 4 additions & 0 deletions lib/recurly/resources/external_subscription.rb
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,10 @@ class ExternalSubscription < Resource
# @return [String] External subscriptions can be active, canceled, expired, or past_due.
define_attribute :state, String

# @!attribute test
# @return [Boolean] An indication of whether or not the external subscription was purchased in a sandbox environment.
define_attribute :test, :Boolean

# @!attribute trial_ends_at
# @return [DateTime] When the external subscription trial period ends in the external platform.
define_attribute :trial_ends_at, DateTime
Expand Down
4 changes: 4 additions & 0 deletions lib/recurly/resources/payment_method.rb
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,10 @@ class PaymentMethod < Resource
# @return [String] Billing Agreement identifier. Only present for Amazon or Paypal payment methods.
define_attribute :billing_agreement_id, String

# @!attribute card_network_preference
# @return [String] Represents the card network preference associated with the billing info for dual badged cards. Must be a supported card network.
define_attribute :card_network_preference, String

# @!attribute card_type
# @return [String] Visa, MasterCard, American Express, Discover, JCB, etc.
define_attribute :card_type, String
Expand Down
24 changes: 22 additions & 2 deletions openapi/api.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8617,8 +8617,6 @@ paths:
summary: Apply available credit to a pending or past due charge invoice
description: Apply credit payment to the outstanding balance on an existing
charge invoice from an account’s available balance from existing credit invoices.
Credit that was refunded from the invoice cannot be applied back to the invoice
as payment.
parameters:
- "$ref": "#/components/parameters/site_id"
- "$ref": "#/components/parameters/invoice_id"
Expand Down Expand Up @@ -18389,6 +18387,10 @@ components:
deprecated: true
card_type:
"$ref": "#/components/schemas/CardTypeEnum"
card_network_preference:
description: Represents the card network preference associated with the
billing info for dual badged cards. Must be a supported card network.
"$ref": "#/components/schemas/CardNetworkEnum"
BillingInfoVerify:
type: object
properties:
Expand Down Expand Up @@ -24173,6 +24175,12 @@ components:
title: Trial ends at
description: When the external subscription trial period ends in the external
platform.
test:
type: boolean
title: Test
description: An indication of whether or not the external subscription was
purchased in a sandbox environment.
default: false
created_at:
type: string
format: date-time
Expand Down Expand Up @@ -24427,6 +24435,10 @@ components:
Reference value used when the external token was created. For Braintree
the PayPal PayerID is populated in the response.
maxLength: 264
card_network_preference:
description: Represents the card network preference associated with the
billing info for dual badged cards. Must be a supported card network.
"$ref": "#/components/schemas/CardNetworkEnum"
billing_agreement_id:
type: string
description: Billing Agreement identifier. Only present for Amazon or Paypal
Expand Down Expand Up @@ -25469,6 +25481,14 @@ components:
- Unknown
- Visa
- Tarjeta Naranja
CardNetworkEnum:
type: string
enum:
- Bancontact
- CartesBancaires
- Dankort
- MasterCard
- Visa
AccountTypeEnum:
type: string
enum:
Expand Down
Loading