recurly 3.27.0 → 3.29.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 28851d5a38736103501ec9a536fe4c5abd10e947f98c993d498ee1f4e71deeee
4
- data.tar.gz: 56aa36ec27725718854fac4ad9f204bd26c216f1d915718c082cdbd9626d0eb0
3
+ metadata.gz: d7989dd4fbadfae7f91fa74b1d0c449d15a25f8353effe843920e62aef460c08
4
+ data.tar.gz: a11feb7a78daf76d06725d5bee7d67c6369eb24496013a6425633ac43b6cdded
5
5
  SHA512:
6
- metadata.gz: a0ac51ea1b3ec3e6f608b559a8b15c5cddf13071269893e7821d3319664fb542c8e9fca35aeb25274a5c922d747198b5e73d619fb127063d00424575a3268f6f
7
- data.tar.gz: b7d965554afe6b6ab4f4c9c3c1fe130bde8339a48e92acb6252b7563c82fc0ad8cb80a372d46d395a783f7e33d41d1fd818fb999db6a75bbb23f2dd05d3863e0
6
+ metadata.gz: 59efb8e9ae948e5bc2820023f108dfe0e5b56839a30a65a1692d8b6cc0030a3cc1a56c3fc14dad3d8b681d72ec48236fb5115c022e24e12bfa9b0bd0c50b4a62
7
+ data.tar.gz: cc15baa7ddcc508e672b96bb0840c1b36604d1051e636ef41d4ab03bc0f316245694dc0577a28303726c59027af006edb4ef4c11b02e60eb46d093a43e6f5175
data/.bumpversion.cfg CHANGED
@@ -1,5 +1,5 @@
1
1
  [bumpversion]
2
- current_version = 3.27.0
2
+ current_version = 3.29.0
3
3
  parse = (?P<major>\d+)
4
4
  \.(?P<minor>\d+)
5
5
  \.(?P<patch>\d+)
@@ -0,0 +1,27 @@
1
+ name: PR Review
2
+
3
+ on:
4
+ pull_request:
5
+ types:
6
+ - opened
7
+ - repoened
8
+ - edited
9
+ - synchronize
10
+ - labeled
11
+ - unlabeled
12
+
13
+ concurrency:
14
+ group: ${{ github.workflow }} - ${{ github.ref }}
15
+ cancel-in-progress: true
16
+
17
+ jobs:
18
+ label-checker:
19
+ runs-on: ubuntu-latest
20
+ name: Label Checker
21
+ steps:
22
+ - name: Check Labels
23
+ uses: docker://agilepathway/pull-request-label-checker:latest
24
+ with:
25
+ one_of: V3
26
+ repo_token: ${{ secrets.GITHUB_TOKEN }}
27
+
data/CHANGELOG.md CHANGED
@@ -1,5 +1,27 @@
1
1
  # Changelog
2
2
 
3
+ ## [3.29.0](https://github.com/recurly/recurly-client-ruby/tree/3.29.0) (2024-05-24)
4
+
5
+ [Full Changelog](https://github.com/recurly/recurly-client-ruby/compare/3.28.0...3.29.0)
6
+
7
+
8
+ **Merged Pull Requests**
9
+
10
+ - Generated Latest Changes for v2019-10-10 [#903](https://github.com/recurly/recurly-client-ruby/pull/903) ([recurly-integrations](https://github.com/recurly-integrations))
11
+
12
+
13
+
14
+ ## [3.28.0](https://github.com/recurly/recurly-client-ruby/tree/3.28.0) (2023-05-23)
15
+
16
+ [Full Changelog](https://github.com/recurly/recurly-client-ruby/compare/3.27.0...3.28.0)
17
+
18
+
19
+ **Merged Pull Requests**
20
+
21
+ - Generated Latest Changes for v2019-10-10 (gateway_attributes on PaymentMethod) [#847](https://github.com/recurly/recurly-client-ruby/pull/847) ([recurly-integrations](https://github.com/recurly-integrations))
22
+
23
+
24
+
3
25
  ## [3.27.0](https://github.com/recurly/recurly-client-ruby/tree/3.27.0) (2023-05-03)
4
26
 
5
27
  [Full Changelog](https://github.com/recurly/recurly-client-ruby/compare/3.26.0...3.27.0)
data/GETTING_STARTED.md CHANGED
@@ -5,7 +5,7 @@ This repository houses the official ruby client for Recurly's V3 API.
5
5
  In your Gemfile, add `recurly` as a dependency.
6
6
 
7
7
  ```ruby
8
- gem 'recurly', '~> 3.27'
8
+ gem 'recurly', '~> 3.29'
9
9
  ```
10
10
 
11
11
  > *Note*: We try to follow [semantic versioning](https://semver.org/) and will only apply breaking changes to major versions.
@@ -739,6 +739,7 @@ module Recurly
739
739
  # * Records are returned in an arbitrary order. Since results are all
740
740
  # returned at once you can sort the records yourself.
741
741
  #
742
+ # @param state [String] Invoice state.
742
743
  # @param limit [Integer] Limit number of records 1-200.
743
744
  # @param order [String] Sort order.
744
745
  # @param sort [String] Sort field. You *really* only want to sort by +updated_at+ in ascending
@@ -1952,6 +1953,7 @@ module Recurly
1952
1953
  # * Records are returned in an arbitrary order. Since results are all
1953
1954
  # returned at once you can sort the records yourself.
1954
1955
  #
1956
+ # @param state [String] Invoice state.
1955
1957
  # @param limit [Integer] Limit number of records 1-200.
1956
1958
  # @param order [String] Sort order.
1957
1959
  # @param sort [String] Sort field. You *really* only want to sort by +updated_at+ in ascending
@@ -3367,6 +3369,7 @@ module Recurly
3367
3369
  # * Records are returned in an arbitrary order. Since results are all
3368
3370
  # returned at once you can sort the records yourself.
3369
3371
  #
3372
+ # @param state [String] Invoice state.
3370
3373
  # @param limit [Integer] Limit number of records 1-200.
3371
3374
  # @param order [String] Sort order.
3372
3375
  # @param sort [String] Sort field. You *really* only want to sort by +updated_at+ in ascending
@@ -46,6 +46,10 @@ module Recurly
46
46
  # @return [String] The email address used for communicating with this customer. The customer will also use this email address to log into your hosted account management pages. This value does not need to be unique.
47
47
  define_attribute :email, String
48
48
 
49
+ # @!attribute entity_use_code
50
+ # @return [String] The Avalara AvaTax value that can be passed to identify the customer type for tax purposes. The range of values can be A - R (more info at Avalara). Value is case-sensitive.
51
+ define_attribute :entity_use_code, String
52
+
49
53
  # @!attribute exemption_certificate
50
54
  # @return [String] The tax exemption certificate number for the account. If the merchant has an integration for the Vertex tax provider, this optional value will be sent in any tax calculation requests for the account.
51
55
  define_attribute :exemption_certificate, String
@@ -46,6 +46,10 @@ module Recurly
46
46
  # @return [String] The email address used for communicating with this customer. The customer will also use this email address to log into your hosted account management pages. This value does not need to be unique.
47
47
  define_attribute :email, String
48
48
 
49
+ # @!attribute entity_use_code
50
+ # @return [String] The Avalara AvaTax value that can be passed to identify the customer type for tax purposes. The range of values can be A - R (more info at Avalara). Value is case-sensitive.
51
+ define_attribute :entity_use_code, String
52
+
49
53
  # @!attribute exemption_certificate
50
54
  # @return [String] The tax exemption certificate number for the account. If the merchant has an integration for the Vertex tax provider, this optional value will be sent in any tax calculation requests for the account.
51
55
  define_attribute :exemption_certificate, String
@@ -38,6 +38,10 @@ module Recurly
38
38
  # @return [String] The email address used for communicating with this customer. The customer will also use this email address to log into your hosted account management pages. This value does not need to be unique.
39
39
  define_attribute :email, String
40
40
 
41
+ # @!attribute entity_use_code
42
+ # @return [String] The Avalara AvaTax value that can be passed to identify the customer type for tax purposes. The range of values can be A - R (more info at Avalara). Value is case-sensitive.
43
+ define_attribute :entity_use_code, String
44
+
41
45
  # @!attribute exemption_certificate
42
46
  # @return [String] The tax exemption certificate number for the account. If the merchant has an integration for the Vertex tax provider, this optional value will be sent in any tax calculation requests for the account.
43
47
  define_attribute :exemption_certificate, String
@@ -18,6 +18,10 @@ module Recurly
18
18
  # @return [String] First name
19
19
  define_attribute :first_name, String
20
20
 
21
+ # @!attribute geo_code
22
+ # @return [String] Code that represents a geographic entity (location or object). Only returned for Sling Vertex Integration
23
+ define_attribute :geo_code, String
24
+
21
25
  # @!attribute last_name
22
26
  # @return [String] Last name
23
27
  define_attribute :last_name, String
@@ -26,6 +26,10 @@ module Recurly
26
26
  # @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.
27
27
  define_attribute :backup_payment_method, :Boolean
28
28
 
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
+
29
33
  # @!attribute company
30
34
  # @return [String] Company name
31
35
  define_attribute :company, String
@@ -46,6 +50,10 @@ module Recurly
46
50
  # @return [String] Fraud Session ID
47
51
  define_attribute :fraud_session_id, String
48
52
 
53
+ # @!attribute gateway_attributes
54
+ # @return [GatewayAttributes] Additional attributes to send to the gateway.
55
+ define_attribute :gateway_attributes, :GatewayAttributes
56
+
49
57
  # @!attribute gateway_code
50
58
  # @return [String] An identifier for a specific payment gateway. Must be used in conjunction with `gateway_token`.
51
59
  define_attribute :gateway_code, String
@@ -86,6 +94,10 @@ module Recurly
86
94
  # @return [Boolean] The `primary_payment_method` field is used to designate the primary billing info on the account. The first billing info created on an account will always become primary. Adding additional billing infos provides the flexibility to mark another billing info as primary, or adding additional non-primary billing infos. This can be accomplished by passing the `primary_payment_method` with a value of `true`. When adding billing infos via the billing_info and /accounts endpoints, this value is not permitted, and will return an error if provided.
87
95
  define_attribute :primary_payment_method, :Boolean
88
96
 
97
+ # @!attribute roku_billing_agreement_id
98
+ # @return [String] Roku's CIB if billing through Roku
99
+ define_attribute :roku_billing_agreement_id, String
100
+
89
101
  # @!attribute routing_number
90
102
  # @return [String] The bank's rounting number. (ACH only)
91
103
  define_attribute :routing_number, String
@@ -0,0 +1,14 @@
1
+ # This file is automatically created by Recurly's OpenAPI generation process
2
+ # and thus any edits you make by hand will be lost. If you wish to make a
3
+ # change to this file, please create a Github issue explaining the changes you
4
+ # need and we will usher them to the appropriate places.
5
+ module Recurly
6
+ module Requests
7
+ class GatewayAttributes < Request
8
+
9
+ # @!attribute account_reference
10
+ # @return [String] Used by Adyen and Braintree gateways. For Adyen The Shopper Reference value used when the external token was created. Must be used in conjunction with gateway_token and gateway_code. For Braintree the PayPal PayerID is populated in the response.
11
+ define_attribute :account_reference, String
12
+ end
13
+ end
14
+ end
@@ -22,6 +22,10 @@ module Recurly
22
22
  # @return [String] First name
23
23
  define_attribute :first_name, String
24
24
 
25
+ # @!attribute geo_code
26
+ # @return [String] Code that represents a geographic entity (location or object). Only returned for Sling Vertex Integration
27
+ define_attribute :geo_code, String
28
+
25
29
  # @!attribute last_name
26
30
  # @return [String] Last name
27
31
  define_attribute :last_name, String
@@ -26,6 +26,10 @@ module Recurly
26
26
  # @return [String]
27
27
  define_attribute :first_name, String
28
28
 
29
+ # @!attribute geo_code
30
+ # @return [String] Code that represents a geographic entity (location or object). Only returned for Sling Vertex Integration
31
+ define_attribute :geo_code, String
32
+
29
33
  # @!attribute last_name
30
34
  # @return [String]
31
35
  define_attribute :last_name, String
@@ -26,6 +26,10 @@ module Recurly
26
26
  # @return [String]
27
27
  define_attribute :first_name, String
28
28
 
29
+ # @!attribute geo_code
30
+ # @return [String] Code that represents a geographic entity (location or object). Only returned for Sling Vertex Integration
31
+ define_attribute :geo_code, String
32
+
29
33
  # @!attribute id
30
34
  # @return [String] Shipping Address ID
31
35
  define_attribute :id, String
@@ -50,6 +50,10 @@ module Recurly
50
50
  # @return [String] The email address used for communicating with this customer. The customer will also use this email address to log into your hosted account management pages. This value does not need to be unique.
51
51
  define_attribute :email, String
52
52
 
53
+ # @!attribute entity_use_code
54
+ # @return [String] The Avalara AvaTax value that can be passed to identify the customer type for tax purposes. The range of values can be A - R (more info at Avalara). Value is case-sensitive.
55
+ define_attribute :entity_use_code, String
56
+
53
57
  # @!attribute exemption_certificate
54
58
  # @return [String] The tax exemption certificate number for the account. If the merchant has an integration for the Vertex tax provider, this optional value will be sent in any tax calculation requests for the account.
55
59
  define_attribute :exemption_certificate, String
@@ -18,6 +18,10 @@ module Recurly
18
18
  # @return [String] First name
19
19
  define_attribute :first_name, String
20
20
 
21
+ # @!attribute geo_code
22
+ # @return [String] Code that represents a geographic entity (location or object). Only returned for Sling Vertex Integration
23
+ define_attribute :geo_code, String
24
+
21
25
  # @!attribute last_name
22
26
  # @return [String] Last name
23
27
  define_attribute :last_name, String
@@ -0,0 +1,14 @@
1
+ # This file is automatically created by Recurly's OpenAPI generation process
2
+ # and thus any edits you make by hand will be lost. If you wish to make a
3
+ # change to this file, please create a Github issue explaining the changes you
4
+ # need and we will usher them to the appropriate places.
5
+ module Recurly
6
+ module Resources
7
+ class GatewayAttributes < Resource
8
+
9
+ # @!attribute account_reference
10
+ # @return [String] Used by Adyen and Braintree gateways. For Adyen the Shopper Reference value used when the external token was created. For Braintree the PayPal PayerID is populated in the response.
11
+ define_attribute :account_reference, String
12
+ end
13
+ end
14
+ end
@@ -22,6 +22,10 @@ module Recurly
22
22
  # @return [String] First name
23
23
  define_attribute :first_name, String
24
24
 
25
+ # @!attribute geo_code
26
+ # @return [String] Code that represents a geographic entity (location or object). Only returned for Sling Vertex Integration
27
+ define_attribute :geo_code, String
28
+
25
29
  # @!attribute last_name
26
30
  # @return [String] Last name
27
31
  define_attribute :last_name, String
@@ -14,6 +14,10 @@ module Recurly
14
14
  # @return [String] Billing Agreement identifier. Only present for Amazon or Paypal payment methods.
15
15
  define_attribute :billing_agreement_id, String
16
16
 
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
+
17
21
  # @!attribute card_type
18
22
  # @return [String] Visa, MasterCard, American Express, Discover, JCB, etc.
19
23
  define_attribute :card_type, String
@@ -34,6 +38,10 @@ module Recurly
34
38
  # @return [String] Credit card number's first six digits.
35
39
  define_attribute :first_six, String
36
40
 
41
+ # @!attribute gateway_attributes
42
+ # @return [GatewayAttributes] Gateway specific attributes associated with this PaymentMethod
43
+ define_attribute :gateway_attributes, :GatewayAttributes
44
+
37
45
  # @!attribute gateway_code
38
46
  # @return [String] An identifier for a specific payment gateway.
39
47
  define_attribute :gateway_code, String
@@ -34,6 +34,10 @@ module Recurly
34
34
  # @return [String]
35
35
  define_attribute :first_name, String
36
36
 
37
+ # @!attribute geo_code
38
+ # @return [String] Code that represents a geographic entity (location or object). Only returned for Sling Vertex Integration
39
+ define_attribute :geo_code, String
40
+
37
41
  # @!attribute id
38
42
  # @return [String] Shipping Address ID
39
43
  define_attribute :id, String
@@ -6,6 +6,10 @@ module Recurly
6
6
  module Resources
7
7
  class SubscriptionRampIntervalResponse < Resource
8
8
 
9
+ # @!attribute ending_on
10
+ # @return [DateTime] Date the ramp interval ends
11
+ define_attribute :ending_on, DateTime
12
+
9
13
  # @!attribute remaining_billing_cycles
10
14
  # @return [Integer] Represents how many billing cycles are left in a ramp interval.
11
15
  define_attribute :remaining_billing_cycles, Integer
@@ -14,6 +18,10 @@ module Recurly
14
18
  # @return [Integer] Represents the billing cycle where a ramp interval starts.
15
19
  define_attribute :starting_billing_cycle, Integer
16
20
 
21
+ # @!attribute starting_on
22
+ # @return [DateTime] Date the ramp interval starts
23
+ define_attribute :starting_on, DateTime
24
+
17
25
  # @!attribute unit_amount
18
26
  # @return [Integer] Represents the price for the ramp interval.
19
27
  define_attribute :unit_amount, Integer
@@ -1,3 +1,3 @@
1
1
  module Recurly
2
- VERSION = "3.27.0"
2
+ VERSION = "3.29.0"
3
3
  end
data/openapi/api.yaml CHANGED
@@ -885,7 +885,7 @@ paths:
885
885
  Alabama St.\"),\n\t\t\tCity: recurly.String(\"San Francisco\"),\n\t\t\tPostalCode:
886
886
  recurly.String(\"94110\"),\n\t\t\tCountry: recurly.String(\"US\"),\n\t\t\tRegion:
887
887
  \ recurly.String(\"CA\"),\n\t\t},\n\t\tNumber: recurly.String(\"4111111111111111\"),\n\t\tMonth:
888
- \ recurly.String(\"12\"),\n\t\tYear: recurly.String(\"22\"),\n\t\tCvv:
888
+ \ recurly.String(\"12\"),\n\t\tYear: recurly.String(\"30\"),\n\t\tCvv:
889
889
  \ recurly.String(\"123\"),\n\t},\n}\n\naccount, err := client.CreateAccount(accountReq)\nif
890
890
  e, ok := err.(*recurly.Error); ok {\n\tif e.Type == recurly.ErrorTypeValidation
891
891
  {\n\t\tfmt.Printf(\"Failed validation: %v\", e)\n\t\treturn nil, err\n\t}\n\tfmt.Printf(\"Unexpected
@@ -3195,6 +3195,7 @@ paths:
3195
3195
  - "$ref": "#/components/parameters/site_id"
3196
3196
  - "$ref": "#/components/parameters/account_id"
3197
3197
  - "$ref": "#/components/parameters/ids"
3198
+ - "$ref": "#/components/parameters/invoice_state"
3198
3199
  - "$ref": "#/components/parameters/limit"
3199
3200
  - "$ref": "#/components/parameters/order"
3200
3201
  - "$ref": "#/components/parameters/sort_dates"
@@ -7394,6 +7395,7 @@ paths:
7394
7395
  parameters:
7395
7396
  - "$ref": "#/components/parameters/site_id"
7396
7397
  - "$ref": "#/components/parameters/ids"
7398
+ - "$ref": "#/components/parameters/invoice_state"
7397
7399
  - "$ref": "#/components/parameters/limit"
7398
7400
  - "$ref": "#/components/parameters/order"
7399
7401
  - "$ref": "#/components/parameters/sort_dates"
@@ -7888,8 +7890,6 @@ paths:
7888
7890
  summary: Apply available credit to a pending or past due charge invoice
7889
7891
  description: Apply credit payment to the outstanding balance on an existing
7890
7892
  charge invoice from an account’s available balance from existing credit invoices.
7891
- Credit that was refunded from the invoice cannot be applied back to the invoice
7892
- as payment.
7893
7893
  parameters:
7894
7894
  - "$ref": "#/components/parameters/site_id"
7895
7895
  - "$ref": "#/components/parameters/invoice_id"
@@ -13059,6 +13059,7 @@ paths:
13059
13059
  - "$ref": "#/components/parameters/site_id"
13060
13060
  - "$ref": "#/components/parameters/subscription_id"
13061
13061
  - "$ref": "#/components/parameters/ids"
13062
+ - "$ref": "#/components/parameters/invoice_state"
13062
13063
  - "$ref": "#/components/parameters/limit"
13063
13064
  - "$ref": "#/components/parameters/order"
13064
13065
  - "$ref": "#/components/parameters/sort_dates"
@@ -14724,6 +14725,18 @@ components:
14724
14725
  required: true
14725
14726
  schema:
14726
14727
  type: string
14728
+ invoice_state:
14729
+ name: state
14730
+ in: query
14731
+ description: Invoice state.
14732
+ schema:
14733
+ type: string
14734
+ default: all
14735
+ enum:
14736
+ - pending
14737
+ - past_due
14738
+ - paid
14739
+ - failed
14727
14740
  measured_unit_id:
14728
14741
  name: measured_unit_id
14729
14742
  in: path
@@ -15662,6 +15675,11 @@ components:
15662
15675
  "$ref": "#/components/schemas/BillingInfoCreate"
15663
15676
  custom_fields:
15664
15677
  "$ref": "#/components/schemas/CustomFields"
15678
+ entity_use_code:
15679
+ type: string
15680
+ description: The Avalara AvaTax value that can be passed to identify the
15681
+ customer type for tax purposes. The range of values can be A - R (more
15682
+ info at Avalara). Value is case-sensitive.
15665
15683
  AccountResponse:
15666
15684
  type: object
15667
15685
  properties:
@@ -15781,6 +15799,11 @@ components:
15781
15799
  "$ref": "#/components/schemas/BillingInfo"
15782
15800
  custom_fields:
15783
15801
  "$ref": "#/components/schemas/CustomFields"
15802
+ entity_use_code:
15803
+ type: string
15804
+ description: The Avalara AvaTax value that can be passed to identify the
15805
+ customer type for tax purposes. The range of values can be A - R (more
15806
+ info at Avalara). Value is case-sensitive.
15784
15807
  AccountNote:
15785
15808
  type: object
15786
15809
  required:
@@ -15932,6 +15955,11 @@ components:
15932
15955
  type: string
15933
15956
  title: Country
15934
15957
  description: Country, 2-letter ISO 3166-1 alpha-2 code.
15958
+ geo_code:
15959
+ type: string
15960
+ maxLength: 20
15961
+ description: Code that represents a geographic entity (location or object).
15962
+ Only returned for Sling Vertex Integration
15935
15963
  AddOnMini:
15936
15964
  type: object
15937
15965
  title: Add-on mini details
@@ -16645,12 +16673,37 @@ components:
16645
16673
  title: An identifier for a specific payment gateway. Must be used in conjunction
16646
16674
  with `gateway_token`.
16647
16675
  maxLength: 12
16676
+ gateway_attributes:
16677
+ type: object
16678
+ description: Additional attributes to send to the gateway.
16679
+ x-class-name: GatewayAttributes
16680
+ properties:
16681
+ account_reference:
16682
+ type: string
16683
+ description: Used by Adyen and Braintree gateways. For Adyen The Shopper
16684
+ Reference value used when the external token was created. Must be
16685
+ used in conjunction with gateway_token and gateway_code. For Braintree
16686
+ the PayPal PayerID is populated in the response.
16687
+ maxLength: 264
16688
+ card_network_preference:
16689
+ type: string
16690
+ description: Represents the card network preference associated with the
16691
+ billing info for dual badged cards. Must be a supported card network.
16692
+ enum:
16693
+ - Bancontact
16694
+ - CartesBancaires
16695
+ - Dankort
16696
+ - MasterCard
16697
+ - Visa
16648
16698
  amazon_billing_agreement_id:
16649
16699
  type: string
16650
16700
  title: Amazon billing agreement ID
16651
16701
  paypal_billing_agreement_id:
16652
16702
  type: string
16653
16703
  title: PayPal billing agreement ID
16704
+ roku_billing_agreement_id:
16705
+ type: string
16706
+ title: Roku's CIB if billing through Roku
16654
16707
  fraud_session_id:
16655
16708
  type: string
16656
16709
  title: Fraud Session ID
@@ -19723,6 +19776,11 @@ components:
19723
19776
  type: string
19724
19777
  maxLength: 50
19725
19778
  description: Country, 2-letter ISO 3166-1 alpha-2 code.
19779
+ geo_code:
19780
+ type: string
19781
+ maxLength: 20
19782
+ description: Code that represents a geographic entity (location or object).
19783
+ Only returned for Sling Vertex Integration
19726
19784
  created_at:
19727
19785
  type: string
19728
19786
  title: Created at
@@ -19778,6 +19836,11 @@ components:
19778
19836
  type: string
19779
19837
  maxLength: 50
19780
19838
  description: Country, 2-letter ISO 3166-1 alpha-2 code.
19839
+ geo_code:
19840
+ type: string
19841
+ maxLength: 20
19842
+ description: Code that represents a geographic entity (location or object).
19843
+ Only returned for Sling Vertex Integration
19781
19844
  required:
19782
19845
  - first_name
19783
19846
  - last_name
@@ -20028,6 +20091,11 @@ components:
20028
20091
  type: string
20029
20092
  maxLength: 50
20030
20093
  description: Country, 2-letter ISO 3166-1 alpha-2 code.
20094
+ geo_code:
20095
+ type: string
20096
+ maxLength: 20
20097
+ description: Code that represents a geographic entity (location or object).
20098
+ Only returned for Sling Vertex Integration
20031
20099
  Site:
20032
20100
  type: object
20033
20101
  properties:
@@ -21323,6 +21391,14 @@ components:
21323
21391
  remaining_billing_cycles:
21324
21392
  type: integer
21325
21393
  description: Represents how many billing cycles are left in a ramp interval.
21394
+ starting_on:
21395
+ type: string
21396
+ format: date-time
21397
+ title: Date the ramp interval starts
21398
+ ending_on:
21399
+ type: string
21400
+ format: date-time
21401
+ title: Date the ramp interval ends
21326
21402
  unit_amount:
21327
21403
  type: integer
21328
21404
  description: Represents the price for the ramp interval.
@@ -21470,6 +21546,7 @@ components:
21470
21546
  - force_collect
21471
21547
  - refunded_externally
21472
21548
  - chargeback
21549
+ - external_recovery
21473
21550
  currency:
21474
21551
  type: string
21475
21552
  title: Currency
@@ -22185,6 +22262,7 @@ components:
22185
22262
  object:
22186
22263
  type: string
22187
22264
  enum:
22265
+ - bacs
22188
22266
  - credit_card
22189
22267
  - paypal
22190
22268
  - amazon
@@ -22255,6 +22333,27 @@ components:
22255
22333
  type: string
22256
22334
  description: An identifier for a specific payment gateway.
22257
22335
  maxLength: 13
22336
+ gateway_attributes:
22337
+ type: object
22338
+ description: Gateway specific attributes associated with this PaymentMethod
22339
+ x-class-name: GatewayAttributes
22340
+ properties:
22341
+ account_reference:
22342
+ type: string
22343
+ description: Used by Adyen and Braintree gateways. For Adyen the Shopper
22344
+ Reference value used when the external token was created. For Braintree
22345
+ the PayPal PayerID is populated in the response.
22346
+ maxLength: 264
22347
+ card_network_preference:
22348
+ type: string
22349
+ description: Represents the card network preference associated with the
22350
+ billing info for dual badged cards. Must be a supported card network.
22351
+ enum:
22352
+ - Bancontact
22353
+ - CartesBancaires
22354
+ - Dankort
22355
+ - MasterCard
22356
+ - Visa
22258
22357
  billing_agreement_id:
22259
22358
  type: string
22260
22359
  description: Billing Agreement identifier. Only present for Amazon or Paypal
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: recurly
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.27.0
4
+ version: 3.29.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Recurly
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2023-05-03 00:00:00.000000000 Z
11
+ date: 2024-05-24 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler
@@ -121,6 +121,7 @@ files:
121
121
  - ".github/ISSUE_TEMPLATE/question-or-other.md"
122
122
  - ".github/workflows/ci.yml"
123
123
  - ".github/workflows/docs.yml"
124
+ - ".github/workflows/pr-review.yml"
124
125
  - ".gitignore"
125
126
  - ".rspec"
126
127
  - ".yardopts"
@@ -165,6 +166,7 @@ files:
165
166
  - lib/recurly/requests/dunning_campaigns_bulk_update.rb
166
167
  - lib/recurly/requests/external_refund.rb
167
168
  - lib/recurly/requests/external_transaction.rb
169
+ - lib/recurly/requests/gateway_attributes.rb
168
170
  - lib/recurly/requests/invoice_address.rb
169
171
  - lib/recurly/requests/invoice_collect.rb
170
172
  - lib/recurly/requests/invoice_create.rb
@@ -243,6 +245,7 @@ files:
243
245
  - lib/recurly/resources/export_file.rb
244
246
  - lib/recurly/resources/export_files.rb
245
247
  - lib/recurly/resources/fraud_info.rb
248
+ - lib/recurly/resources/gateway_attributes.rb
246
249
  - lib/recurly/resources/invoice.rb
247
250
  - lib/recurly/resources/invoice_address.rb
248
251
  - lib/recurly/resources/invoice_collection.rb
@@ -306,7 +309,7 @@ metadata:
306
309
  changelog_uri: https://github.com/recurly/recurly-client-ruby/blob/master/CHANGELOG.md
307
310
  documentation_uri: https://recurly.github.io/recurly-client-ruby/
308
311
  homepage_uri: https://github.com/recurly/recurly-client-ruby
309
- source_code_uri: https://github.com/recurly/recurly-client-ruby/tree/3.27.0
312
+ source_code_uri: https://github.com/recurly/recurly-client-ruby/tree/3.29.0
310
313
  post_install_message:
311
314
  rdoc_options: []
312
315
  require_paths:
@@ -322,7 +325,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
322
325
  - !ruby/object:Gem::Version
323
326
  version: '0'
324
327
  requirements: []
325
- rubygems_version: 3.0.3
328
+ rubygems_version: 3.0.3.1
326
329
  signing_key:
327
330
  specification_version: 4
328
331
  summary: The ruby client for Recurly's V3 API