stripe 15.3.0.pre.beta.2 → 15.4.0.pre.beta.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/API_VERSION +1 -0
- data/CHANGELOG.md +42 -16
- data/OPENAPI_VERSION +1 -1
- data/README.md +13 -49
- data/VERSION +1 -1
- data/lib/stripe/api_requestor.rb +2 -2
- data/lib/stripe/api_version.rb +1 -1
- data/lib/stripe/errors.rb +3 -3
- data/lib/stripe/events/v2_core_event_destination_ping_event.rb +1 -1
- data/lib/stripe/resources/account.rb +89 -5
- data/lib/stripe/resources/account_session.rb +93 -93
- data/lib/stripe/resources/billing_portal/session.rb +2 -2
- data/lib/stripe/resources/charge.rb +28 -15
- data/lib/stripe/resources/checkout/session.rb +53 -7
- data/lib/stripe/resources/confirmation_token.rb +19 -11
- data/lib/stripe/resources/credit_note.rb +9 -9
- data/lib/stripe/resources/customer_session.rb +2 -2
- data/lib/stripe/resources/dispute.rb +2 -0
- data/lib/stripe/resources/event.rb +1 -1
- data/lib/stripe/resources/identity/verification_session.rb +34 -0
- data/lib/stripe/resources/invoice.rb +21 -3
- data/lib/stripe/resources/invoice_item.rb +1 -4
- data/lib/stripe/resources/mandate.rb +3 -0
- data/lib/stripe/resources/order.rb +154 -2
- data/lib/stripe/resources/payment_attempt_record.rb +30 -17
- data/lib/stripe/resources/payment_intent.rb +331 -12
- data/lib/stripe/resources/payment_method.rb +17 -9
- data/lib/stripe/resources/payment_record.rb +30 -17
- data/lib/stripe/resources/quote.rb +15 -1
- data/lib/stripe/resources/quote_preview_subscription_schedule.rb +8 -1
- data/lib/stripe/resources/setup_attempt.rb +1 -1
- data/lib/stripe/resources/setup_intent.rb +285 -3
- data/lib/stripe/resources/subscription.rb +27 -10
- data/lib/stripe/resources/subscription_schedule.rb +17 -1
- data/lib/stripe/resources/tax/registration.rb +20 -0
- data/lib/stripe/resources/terminal/configuration.rb +1 -0
- data/lib/stripe/resources/terminal/reader.rb +10 -10
- data/lib/stripe/resources/token.rb +1 -1
- data/lib/stripe/resources/treasury/financial_account.rb +5 -1
- data/lib/stripe/resources/v2/core/account.rb +9 -0
- data/lib/stripe/resources/v2/money_management/financial_account.rb +3 -3
- data/lib/stripe/resources/v2/money_management/outbound_payment.rb +1 -1
- data/lib/stripe/resources/v2/money_management/outbound_transfer.rb +1 -1
- data/lib/stripe/resources/v2/money_management/received_credit.rb +8 -2
- data/lib/stripe/services/account_service.rb +83 -5
- data/lib/stripe/services/account_session_service.rb +62 -62
- data/lib/stripe/services/billing_portal/session_service.rb +1 -1
- data/lib/stripe/services/checkout/session_service.rb +53 -7
- data/lib/stripe/services/credit_note_preview_lines_service.rb +3 -3
- data/lib/stripe/services/credit_note_service.rb +6 -6
- data/lib/stripe/services/customer_session_service.rb +1 -1
- data/lib/stripe/services/identity/verification_session_service.rb +16 -0
- data/lib/stripe/services/invoice_service.rb +21 -3
- data/lib/stripe/services/order_service.rb +154 -2
- data/lib/stripe/services/payment_intent_service.rb +315 -9
- data/lib/stripe/services/payment_method_service.rb +5 -0
- data/lib/stripe/services/quote_service.rb +9 -0
- data/lib/stripe/services/setup_intent_service.rb +275 -2
- data/lib/stripe/services/subscription_schedule_service.rb +9 -0
- data/lib/stripe/services/subscription_service.rb +21 -4
- data/lib/stripe/services/tax/registration_service.rb +13 -0
- data/lib/stripe/services/terminal/reader_service.rb +4 -4
- data/lib/stripe/services/test_helpers/confirmation_token_service.rb +6 -1
- data/lib/stripe/services/token_service.rb +1 -1
- data/lib/stripe/services/treasury/financial_account_service.rb +5 -1
- data/lib/stripe/services/v2/billing_service.rb +2 -2
- data/lib/stripe/services/v2/core/account_service.rb +47 -15
- data/lib/stripe/services/v2/core/accounts/person_service.rb +9 -10
- data/lib/stripe/services/v2/core/event_destination_service.rb +16 -16
- data/lib/stripe/services/v2/core/vault/gb_bank_account_service.rb +4 -5
- data/lib/stripe/services/v2/core/vault/us_bank_account_service.rb +2 -2
- data/lib/stripe/services/v2/core_service.rb +2 -2
- data/lib/stripe/services/v2/money_management/financial_address_service.rb +13 -12
- data/lib/stripe/services/v2/money_management/inbound_transfer_service.rb +36 -36
- data/lib/stripe/services/v2/money_management/outbound_payment_service.rb +44 -45
- data/lib/stripe/services/v2/money_management/outbound_setup_intent_service.rb +10 -10
- data/lib/stripe/services/v2/money_management/outbound_transfer_service.rb +41 -41
- data/lib/stripe/services/v2/money_management/payout_method_service.rb +1 -2
- data/lib/stripe/services/v2/money_management_service.rb +4 -4
- data/lib/stripe/services/v2/payments/off_session_payment_service.rb +9 -10
- data/lib/stripe/services/v2_services.rb +3 -3
- data/lib/stripe/version.rb +1 -1
- data/lib/stripe/webhook.rb +1 -1
- data/rbi/stripe.rbi +14445 -12226
- metadata +3 -2
@@ -116,9 +116,9 @@ module Stripe
|
|
116
116
|
class Receipt < Stripe::StripeObject
|
117
117
|
# The type of account being debited or credited
|
118
118
|
attr_reader :account_type
|
119
|
-
#
|
119
|
+
# The Application Cryptogram, a unique value generated by the card to authenticate the transaction with issuers.
|
120
120
|
attr_reader :application_cryptogram
|
121
|
-
#
|
121
|
+
# The Application Identifier (AID) on the card used to determine which networks are eligible to process the transaction. Referenced from EMV tag 9F12, data encoded on the card's chip.
|
122
122
|
attr_reader :application_preferred_name
|
123
123
|
# Identifier for this transaction.
|
124
124
|
attr_reader :authorization_code
|
@@ -126,11 +126,11 @@ module Stripe
|
|
126
126
|
attr_reader :authorization_response_code
|
127
127
|
# Describes the method used by the cardholder to verify ownership of the card. One of the following: `approval`, `failure`, `none`, `offline_pin`, `offline_pin_and_signature`, `online_pin`, or `signature`.
|
128
128
|
attr_reader :cardholder_verification_method
|
129
|
-
#
|
129
|
+
# Similar to the application_preferred_name, identifying the applications (AIDs) available on the card. Referenced from EMV tag 84.
|
130
130
|
attr_reader :dedicated_file_name
|
131
|
-
#
|
131
|
+
# A 5-byte string that records the checks and validations that occur between the card and the terminal. These checks determine how the terminal processes the transaction and what risk tolerance is acceptable. Referenced from EMV Tag 95.
|
132
132
|
attr_reader :terminal_verification_results
|
133
|
-
# An indication of
|
133
|
+
# An indication of which steps were completed during the card read process. Referenced from EMV Tag 9B.
|
134
134
|
attr_reader :transaction_status_information
|
135
135
|
end
|
136
136
|
|
@@ -182,7 +182,7 @@ module Stripe
|
|
182
182
|
attr_reader :offline
|
183
183
|
# Defines whether the authorized amount can be over-captured or not
|
184
184
|
attr_reader :overcapture_supported
|
185
|
-
# EMV tag 5F2D
|
185
|
+
# The languages that the issuing bank recommends using for localizing any customer-facing text, as read from the card. Referenced from EMV tag 5F2D, data encoded on the card's chip.
|
186
186
|
attr_reader :preferred_locales
|
187
187
|
# How card details were read in this transaction.
|
188
188
|
attr_reader :read_method
|
@@ -409,7 +409,7 @@ module Stripe
|
|
409
409
|
attr_reader :networks
|
410
410
|
# Details about payment methods collected offline.
|
411
411
|
attr_reader :offline
|
412
|
-
# EMV tag 5F2D
|
412
|
+
# The languages that the issuing bank recommends using for localizing any customer-facing text, as read from the card. Referenced from EMV tag 5F2D, data encoded on the card's chip.
|
413
413
|
attr_reader :preferred_locales
|
414
414
|
# How card details were read in this transaction.
|
415
415
|
attr_reader :read_method
|
@@ -424,6 +424,7 @@ module Stripe
|
|
424
424
|
attr_reader :cashtag
|
425
425
|
end
|
426
426
|
|
427
|
+
class Crypto < Stripe::StripeObject; end
|
427
428
|
class CustomerBalance < Stripe::StripeObject; end
|
428
429
|
|
429
430
|
class Eps < Stripe::StripeObject
|
@@ -454,7 +455,7 @@ module Stripe
|
|
454
455
|
end
|
455
456
|
|
456
457
|
class Ideal < Stripe::StripeObject
|
457
|
-
# The customer's bank, if provided. Can be one of `abn_amro`, `asn_bank`, `bunq`, `handelsbanken`, `ing`, `knab`, `moneyou`, `n26`, `nn`, `rabobank`, `regiobank`, `revolut`, `sns_bank`, `triodos_bank`, `van_lanschot`, or `yoursafe`.
|
458
|
+
# The customer's bank, if provided. Can be one of `abn_amro`, `asn_bank`, `bunq`, `buut`, `handelsbanken`, `ing`, `knab`, `moneyou`, `n26`, `nn`, `rabobank`, `regiobank`, `revolut`, `sns_bank`, `triodos_bank`, `van_lanschot`, or `yoursafe`.
|
458
459
|
attr_reader :bank
|
459
460
|
# The Bank Identifier Code of the customer's bank, if the bank was provided.
|
460
461
|
attr_reader :bic
|
@@ -493,7 +494,7 @@ module Stripe
|
|
493
494
|
attr_reader :last4
|
494
495
|
# Contains information about card networks that can be used to process the payment.
|
495
496
|
attr_reader :networks
|
496
|
-
# EMV tag 5F2D
|
497
|
+
# The languages that the issuing bank recommends using for localizing any customer-facing text, as read from the card. Referenced from EMV tag 5F2D, data encoded on the card's chip.
|
497
498
|
attr_reader :preferred_locales
|
498
499
|
# How card details were read in this transaction.
|
499
500
|
attr_reader :read_method
|
@@ -880,6 +881,7 @@ module Stripe
|
|
880
881
|
end
|
881
882
|
|
882
883
|
class Cashapp < Stripe::RequestParams; end
|
884
|
+
class Crypto < Stripe::RequestParams; end
|
883
885
|
class CustomerBalance < Stripe::RequestParams; end
|
884
886
|
|
885
887
|
class Eps < Stripe::RequestParams
|
@@ -1165,6 +1167,8 @@ module Stripe
|
|
1165
1167
|
attr_accessor :card
|
1166
1168
|
# If this is a `cashapp` PaymentMethod, this hash contains details about the Cash App Pay payment method.
|
1167
1169
|
attr_accessor :cashapp
|
1170
|
+
# If this is a Crypto PaymentMethod, this hash contains details about the Crypto payment method.
|
1171
|
+
attr_accessor :crypto
|
1168
1172
|
# The `Customer` to whom the original PaymentMethod is attached.
|
1169
1173
|
attr_accessor :customer
|
1170
1174
|
# If this is a `customer_balance` PaymentMethod, this hash contains details about the CustomerBalance payment method.
|
@@ -1279,6 +1283,7 @@ module Stripe
|
|
1279
1283
|
boleto: nil,
|
1280
1284
|
card: nil,
|
1281
1285
|
cashapp: nil,
|
1286
|
+
crypto: nil,
|
1282
1287
|
customer: nil,
|
1283
1288
|
customer_balance: nil,
|
1284
1289
|
eps: nil,
|
@@ -1344,6 +1349,7 @@ module Stripe
|
|
1344
1349
|
@boleto = boleto
|
1345
1350
|
@card = card
|
1346
1351
|
@cashapp = cashapp
|
1352
|
+
@crypto = crypto
|
1347
1353
|
@customer = customer
|
1348
1354
|
@customer_balance = customer_balance
|
1349
1355
|
@eps = eps
|
@@ -1600,6 +1606,8 @@ module Stripe
|
|
1600
1606
|
attr_reader :cashapp
|
1601
1607
|
# Time at which the object was created. Measured in seconds since the Unix epoch.
|
1602
1608
|
attr_reader :created
|
1609
|
+
# Attribute for field crypto
|
1610
|
+
attr_reader :crypto
|
1603
1611
|
# The ID of the Customer to which this PaymentMethod is saved. This will not be set when the PaymentMethod has not been saved to a Customer.
|
1604
1612
|
attr_reader :customer
|
1605
1613
|
# Attribute for field customer_account
|
@@ -295,9 +295,9 @@ module Stripe
|
|
295
295
|
class Receipt < Stripe::StripeObject
|
296
296
|
# The type of account being debited or credited
|
297
297
|
attr_reader :account_type
|
298
|
-
#
|
298
|
+
# The Application Cryptogram, a unique value generated by the card to authenticate the transaction with issuers.
|
299
299
|
attr_reader :application_cryptogram
|
300
|
-
#
|
300
|
+
# The Application Identifier (AID) on the card used to determine which networks are eligible to process the transaction. Referenced from EMV tag 9F12, data encoded on the card's chip.
|
301
301
|
attr_reader :application_preferred_name
|
302
302
|
# Identifier for this transaction.
|
303
303
|
attr_reader :authorization_code
|
@@ -305,11 +305,11 @@ module Stripe
|
|
305
305
|
attr_reader :authorization_response_code
|
306
306
|
# Describes the method used by the cardholder to verify ownership of the card. One of the following: `approval`, `failure`, `none`, `offline_pin`, `offline_pin_and_signature`, `online_pin`, or `signature`.
|
307
307
|
attr_reader :cardholder_verification_method
|
308
|
-
#
|
308
|
+
# Similar to the application_preferred_name, identifying the applications (AIDs) available on the card. Referenced from EMV tag 84.
|
309
309
|
attr_reader :dedicated_file_name
|
310
|
-
#
|
310
|
+
# A 5-byte string that records the checks and validations that occur between the card and the terminal. These checks determine how the terminal processes the transaction and what risk tolerance is acceptable. Referenced from EMV Tag 95.
|
311
311
|
attr_reader :terminal_verification_results
|
312
|
-
# An indication of
|
312
|
+
# An indication of which steps were completed during the card read process. Referenced from EMV Tag 9B.
|
313
313
|
attr_reader :transaction_status_information
|
314
314
|
end
|
315
315
|
|
@@ -361,7 +361,7 @@ module Stripe
|
|
361
361
|
attr_reader :offline
|
362
362
|
# Defines whether the authorized amount can be over-captured or not
|
363
363
|
attr_reader :overcapture_supported
|
364
|
-
# EMV tag 5F2D
|
364
|
+
# The languages that the issuing bank recommends using for localizing any customer-facing text, as read from the card. Referenced from EMV tag 5F2D, data encoded on the card's chip.
|
365
365
|
attr_reader :preferred_locales
|
366
366
|
# How card details were read in this transaction.
|
367
367
|
attr_reader :read_method
|
@@ -378,6 +378,17 @@ module Stripe
|
|
378
378
|
attr_reader :cashtag
|
379
379
|
end
|
380
380
|
|
381
|
+
class Crypto < Stripe::StripeObject
|
382
|
+
# The wallet address of the customer.
|
383
|
+
attr_reader :buyer_address
|
384
|
+
# The blockchain network that the transaction was sent on.
|
385
|
+
attr_reader :network
|
386
|
+
# The token currency that the transaction was sent with.
|
387
|
+
attr_reader :token_currency
|
388
|
+
# The blockchain transaction hash of the crypto payment.
|
389
|
+
attr_reader :transaction_hash
|
390
|
+
end
|
391
|
+
|
381
392
|
class Custom < Stripe::StripeObject
|
382
393
|
# Display name for the custom (user-defined) payment method type used to make this payment.
|
383
394
|
attr_reader :display_name
|
@@ -439,7 +450,7 @@ module Stripe
|
|
439
450
|
end
|
440
451
|
|
441
452
|
class Ideal < Stripe::StripeObject
|
442
|
-
# The customer's bank. Can be one of `abn_amro`, `asn_bank`, `bunq`, `handelsbanken`, `ing`, `knab`, `moneyou`, `n26`, `nn`, `rabobank`, `regiobank`, `revolut`, `sns_bank`, `triodos_bank`, `van_lanschot`, or `yoursafe`.
|
453
|
+
# The customer's bank. Can be one of `abn_amro`, `asn_bank`, `bunq`, `buut`, `handelsbanken`, `ing`, `knab`, `moneyou`, `n26`, `nn`, `rabobank`, `regiobank`, `revolut`, `sns_bank`, `triodos_bank`, `van_lanschot`, or `yoursafe`.
|
443
454
|
attr_reader :bank
|
444
455
|
# The Bank Identifier Code of the customer's bank.
|
445
456
|
attr_reader :bic
|
@@ -458,9 +469,9 @@ module Stripe
|
|
458
469
|
class Receipt < Stripe::StripeObject
|
459
470
|
# The type of account being debited or credited
|
460
471
|
attr_reader :account_type
|
461
|
-
#
|
472
|
+
# The Application Cryptogram, a unique value generated by the card to authenticate the transaction with issuers.
|
462
473
|
attr_reader :application_cryptogram
|
463
|
-
#
|
474
|
+
# The Application Identifier (AID) on the card used to determine which networks are eligible to process the transaction. Referenced from EMV tag 9F12, data encoded on the card's chip.
|
464
475
|
attr_reader :application_preferred_name
|
465
476
|
# Identifier for this transaction.
|
466
477
|
attr_reader :authorization_code
|
@@ -468,11 +479,11 @@ module Stripe
|
|
468
479
|
attr_reader :authorization_response_code
|
469
480
|
# Describes the method used by the cardholder to verify ownership of the card. One of the following: `approval`, `failure`, `none`, `offline_pin`, `offline_pin_and_signature`, `online_pin`, or `signature`.
|
470
481
|
attr_reader :cardholder_verification_method
|
471
|
-
#
|
482
|
+
# Similar to the application_preferred_name, identifying the applications (AIDs) available on the card. Referenced from EMV tag 84.
|
472
483
|
attr_reader :dedicated_file_name
|
473
|
-
#
|
484
|
+
# A 5-byte string that records the checks and validations that occur between the card and the terminal. These checks determine how the terminal processes the transaction and what risk tolerance is acceptable. Referenced from EMV Tag 95.
|
474
485
|
attr_reader :terminal_verification_results
|
475
|
-
# An indication of
|
486
|
+
# An indication of which steps were completed during the card read process. Referenced from EMV Tag 9B.
|
476
487
|
attr_reader :transaction_status_information
|
477
488
|
end
|
478
489
|
# Card brand. Can be `interac`, `mastercard` or `visa`.
|
@@ -507,7 +518,7 @@ module Stripe
|
|
507
518
|
attr_reader :network
|
508
519
|
# This is used by the financial networks to identify a transaction. Visa calls this the Transaction ID, Mastercard calls this the Trace ID, and American Express calls this the Acquirer Reference Data. This value will be present if it is returned by the financial network in the authorization response, and null otherwise.
|
509
520
|
attr_reader :network_transaction_id
|
510
|
-
# EMV tag 5F2D
|
521
|
+
# The languages that the issuing bank recommends using for localizing any customer-facing text, as read from the card. Referenced from EMV tag 5F2D, data encoded on the card's chip.
|
511
522
|
attr_reader :preferred_locales
|
512
523
|
# How card details were read in this transaction.
|
513
524
|
attr_reader :read_method
|
@@ -832,9 +843,9 @@ module Stripe
|
|
832
843
|
class Twint < Stripe::StripeObject; end
|
833
844
|
|
834
845
|
class UsBankAccount < Stripe::StripeObject
|
835
|
-
#
|
846
|
+
# Attribute for field account_holder_type
|
836
847
|
attr_reader :account_holder_type
|
837
|
-
#
|
848
|
+
# Attribute for field account_type
|
838
849
|
attr_reader :account_type
|
839
850
|
# Name of the bank associated with the bank account.
|
840
851
|
attr_reader :bank_name
|
@@ -844,7 +855,7 @@ module Stripe
|
|
844
855
|
attr_reader :last4
|
845
856
|
# ID of the mandate used to make this payment.
|
846
857
|
attr_reader :mandate
|
847
|
-
# Reference number to locate ACH payments with customer
|
858
|
+
# Reference number to locate ACH payments with customer’s bank.
|
848
859
|
attr_reader :payment_reference
|
849
860
|
# Routing number of the bank account.
|
850
861
|
attr_reader :routing_number
|
@@ -900,6 +911,8 @@ module Stripe
|
|
900
911
|
attr_reader :card_present
|
901
912
|
# Attribute for field cashapp
|
902
913
|
attr_reader :cashapp
|
914
|
+
# Attribute for field crypto
|
915
|
+
attr_reader :crypto
|
903
916
|
# Custom Payment Methods represent Payment Method types not modeled directly in
|
904
917
|
# the Stripe API. This resource consists of details about the custom payment method
|
905
918
|
# used for this payment attempt.
|
@@ -992,7 +1005,7 @@ module Stripe
|
|
992
1005
|
# An additional hash is included on `payment_method_details` with a name matching this value.
|
993
1006
|
# It contains information specific to the payment method.
|
994
1007
|
attr_reader :type
|
995
|
-
#
|
1008
|
+
# Details of the US Bank Account used for this payment attempt.
|
996
1009
|
attr_reader :us_bank_account
|
997
1010
|
# Attribute for field wechat
|
998
1011
|
attr_reader :wechat
|
@@ -297,6 +297,11 @@ module Stripe
|
|
297
297
|
attr_reader :bill_until
|
298
298
|
end
|
299
299
|
|
300
|
+
class BillingMode < Stripe::StripeObject
|
301
|
+
# Controls how prorations and invoices for subscriptions are calculated and orchestrated.
|
302
|
+
attr_reader :type
|
303
|
+
end
|
304
|
+
|
300
305
|
class Prebilling < Stripe::StripeObject
|
301
306
|
# Attribute for field iterations
|
302
307
|
attr_reader :iterations
|
@@ -307,7 +312,7 @@ module Stripe
|
|
307
312
|
attr_reader :billing_behavior
|
308
313
|
# Whether the subscription will always start a new billing period when the quote is accepted.
|
309
314
|
attr_reader :billing_cycle_anchor
|
310
|
-
# The
|
315
|
+
# The billing mode of the quote.
|
311
316
|
attr_reader :billing_mode
|
312
317
|
# The subscription's description, meant to be displayable to the customer. Use this field to optionally store an explanation of the subscription for rendering in Stripe surfaces and certain local payment methods UIs.
|
313
318
|
attr_reader :description
|
@@ -1265,6 +1270,15 @@ module Stripe
|
|
1265
1270
|
end
|
1266
1271
|
end
|
1267
1272
|
|
1273
|
+
class BillingMode < Stripe::RequestParams
|
1274
|
+
# Attribute for param field type
|
1275
|
+
attr_accessor :type
|
1276
|
+
|
1277
|
+
def initialize(type: nil)
|
1278
|
+
@type = type
|
1279
|
+
end
|
1280
|
+
end
|
1281
|
+
|
1268
1282
|
class Prebilling < Stripe::RequestParams
|
1269
1283
|
# This is used to determine the number of billing cycles to prebill.
|
1270
1284
|
attr_accessor :iterations
|
@@ -17,6 +17,13 @@ module Stripe
|
|
17
17
|
attr_reader :type
|
18
18
|
end
|
19
19
|
|
20
|
+
class BillingMode < Stripe::StripeObject
|
21
|
+
# Controls how prorations and invoices for subscriptions are calculated and orchestrated.
|
22
|
+
attr_reader :type
|
23
|
+
# Details on when the current billing_mode was adopted.
|
24
|
+
attr_reader :updated_at
|
25
|
+
end
|
26
|
+
|
20
27
|
class CurrentPhase < Stripe::StripeObject
|
21
28
|
# The end of this phase of the subscription schedule.
|
22
29
|
attr_reader :end_date
|
@@ -318,7 +325,7 @@ module Stripe
|
|
318
325
|
attr_reader :applies_to
|
319
326
|
# Configures when the subscription schedule generates prorations for phase transitions. Possible values are `prorate_on_next_phase` or `prorate_up_front` with the default being `prorate_on_next_phase`. `prorate_on_next_phase` will apply phase changes and generate prorations at transition time. `prorate_up_front` will bill for all phases within the current billing cycle up front.
|
320
327
|
attr_reader :billing_behavior
|
321
|
-
# The
|
328
|
+
# The billing mode of the subscription.
|
322
329
|
attr_reader :billing_mode
|
323
330
|
# Time at which the subscription schedule was canceled. Measured in seconds since the Unix epoch.
|
324
331
|
attr_reader :canceled_at
|
@@ -141,7 +141,7 @@ module Stripe
|
|
141
141
|
end
|
142
142
|
|
143
143
|
class Ideal < Stripe::StripeObject
|
144
|
-
# The customer's bank. Can be one of `abn_amro`, `asn_bank`, `bunq`, `handelsbanken`, `ing`, `knab`, `moneyou`, `n26`, `nn`, `rabobank`, `regiobank`, `revolut`, `sns_bank`, `triodos_bank`, `van_lanschot`, or `yoursafe`.
|
144
|
+
# The customer's bank. Can be one of `abn_amro`, `asn_bank`, `bunq`, `buut`, `handelsbanken`, `ing`, `knab`, `moneyou`, `n26`, `nn`, `rabobank`, `regiobank`, `revolut`, `sns_bank`, `triodos_bank`, `van_lanschot`, or `yoursafe`.
|
145
145
|
attr_reader :bank
|
146
146
|
# The Bank Identifier Code of the customer's bank.
|
147
147
|
attr_reader :bic
|