Skip to content

Commit

Permalink
Merge branch 'v3-v2021-02-25' into fix_resource_comparaison
Browse files Browse the repository at this point in the history
  • Loading branch information
malbert authored Apr 2, 2024
2 parents 908e423 + 05fa008 commit c46043a
Show file tree
Hide file tree
Showing 8 changed files with 48 additions and 5 deletions.
2 changes: 1 addition & 1 deletion .bumpversion.cfg
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
[bumpversion]
current_version = 4.47.0
current_version = 4.48.0
parse = (?P<major>\d+)
\.(?P<minor>\d+)
\.(?P<patch>\d+)
Expand Down
11 changes: 11 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,16 @@
# Changelog

## [4.48.0](https://github.com/recurly/recurly-client-ruby/tree/4.48.0) (2024-03-19)

[Full Changelog](https://github.com/recurly/recurly-client-ruby/compare/4.47.0...4.48.0)


**Merged Pull Requests**

- Generated Latest Changes for v2021-02-25 [#894](https://github.com/recurly/recurly-client-ruby/pull/894) ([recurly-integrations](https://github.com/recurly-integrations))



## [4.47.0](https://github.com/recurly/recurly-client-ruby/tree/4.47.0) (2024-02-20)

[Full Changelog](https://github.com/recurly/recurly-client-ruby/compare/4.46.0...4.47.0)
Expand Down
2 changes: 1 addition & 1 deletion GETTING_STARTED.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ This repository houses the official ruby client for Recurly's V3 API.
In your Gemfile, add `recurly` as a dependency.

```ruby
gem 'recurly', '~> 4.47'
gem 'recurly', '~> 4.48'
```

> *Note*: We try to follow [semantic versioning](https://semver.org/) and will only apply breaking changes to major versions.
Expand Down
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
2 changes: 1 addition & 1 deletion lib/recurly/version.rb
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
module Recurly
VERSION = "4.47.0"
VERSION = "4.48.0"
end
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

0 comments on commit c46043a

Please sign in to comment.