stripe 13.3.0.pre.beta.2 → 13.3.0.pre.beta.3

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: 26a0e799603faaabd343983e502f9fa7438212fa60b6e29d84da01147626d6e3
4
- data.tar.gz: 6c11a08c9b40dcd093e52ea919bc61c5d8dc4466fa6010d96a987c5b66fc004a
3
+ metadata.gz: 1bd77bdce6e39ac4734178596066a3df192ad8126b2d110c5f32e439d2e24257
4
+ data.tar.gz: 29da778d0f6206133aae7cc8775c693d874895f10b52146d90c006d82e5763af
5
5
  SHA512:
6
- metadata.gz: 7bbad55e635b80b0bae854641ce59fd69e9e98d2e1c2af5a5f682c8cf39df53c8c13a20f8f5896e9cf3d671dfb1c3ca64855d064bd5487221310f9068d931415
7
- data.tar.gz: ca79b76b7ae6405a24be4998a3a5efadf3b1bd9ba3d1bd47e5460f91e2916fb815292e441022d980db40386056b5fe42c90da3c5d225137b2d5ab06ff776182b
6
+ metadata.gz: f01872ec0444a6802bf275161876b87ff92ba7653aaef99f45a565553613d007ff93f9b1ea02f953a16337d6d1ede02994ce787b8172d2c5aa0ac38588cb4a00
7
+ data.tar.gz: a9ba86ba9fe509343312600aa5dc7113dede6b7e18aca308d6519a9ba12cb953f6d2bd11f0c2f0d232db24f335d83d7bc725536961e0c59ace240fc2f44fb600
data/CHANGELOG.md CHANGED
@@ -1,5 +1,13 @@
1
1
  # Changelog
2
2
 
3
+ ## 13.3.0-beta.3 - 2024-12-12
4
+ * [#1499](https://github.com/stripe/stripe-ruby/pull/1499) Update generated code for beta
5
+ * Add support for `AllowRedisplay` on `Card` and `Source`
6
+ * Add support for new values `am_tin`, `ao_tin`, `ba_tin`, `bb_tin`, `bs_tin`, `cd_nif`, `gn_nif`, `kh_tin`, `me_pib`, `mk_vat`, `mr_nif`, `np_pan`, `sn_ninea`, `sr_fin`, `tj_tin`, `ug_tin`, `zm_tin`, and `zw_tin` on enums `CheckoutSessionCollectedInformationTaxIdsType` and `OrderTaxDetailsTaxIdsType`
7
+ * Add support for new value `network_fallback` on enum `IssuingAuthorizationRequestHistoryReason`
8
+ * Remove support for `AmountRefunded` on `PaymentRecord`
9
+ * Add support for `Account` on `TerminalReaderActionCollectPaymentMethod`, `TerminalReaderActionConfirmPaymentIntent`, `TerminalReaderActionProcessPaymentIntent`, and `TerminalReaderActionRefundPayment`
10
+
3
11
  ## 13.3.0-beta.2 - 2024-12-05
4
12
  * [#1492](https://github.com/stripe/stripe-ruby/pull/1492) Update generated code for beta
5
13
 
data/OPENAPI_VERSION CHANGED
@@ -1 +1 @@
1
- v1383
1
+ v1405
data/VERSION CHANGED
@@ -1 +1 @@
1
- 13.3.0-beta.2
1
+ 13.3.0-beta.3
@@ -3,6 +3,6 @@
3
3
 
4
4
  module Stripe
5
5
  module ApiVersion
6
- CURRENT = "2024-11-20.acacia"
6
+ CURRENT = "2024-12-18.acacia"
7
7
  end
8
8
  end
@@ -19,7 +19,11 @@ module Stripe
19
19
  end
20
20
  attr_reader :monetary, :type
21
21
  end
22
- attr_reader :amount, :type
22
+
23
+ class CreditsApplicationInvoiceVoided < Stripe::StripeObject
24
+ attr_reader :invoice, :invoice_line_item
25
+ end
26
+ attr_reader :amount, :credits_application_invoice_voided, :type
23
27
  end
24
28
 
25
29
  class Debit < Stripe::StripeObject
@@ -38,6 +38,8 @@ module Stripe
38
38
  attr_reader :address_zip
39
39
  # If `address_zip` was provided, results of the check: `pass`, `fail`, `unavailable`, or `unchecked`.
40
40
  attr_reader :address_zip_check
41
+ # This field indicates whether this payment method can be shown again to its customer in a checkout flow. Stripe products such as Checkout and Elements use this field to determine whether a payment method can be shown as a saved payment method in a checkout flow. The field defaults to “unspecified”.
42
+ attr_reader :allow_redisplay
41
43
  # A set of available payout methods for this card. Only values from this set should be passed as the `method` when creating a payout.
42
44
  attr_reader :available_payout_methods
43
45
  # Card brand. Can be `American Express`, `Diners Club`, `Discover`, `Eftpos Australia`, `Girocard`, `JCB`, `MasterCard`, `UnionPay`, `Visa`, or `Unknown`.
@@ -82,6 +84,8 @@ module Stripe
82
84
  attr_reader :networks
83
85
  # String representing the object's type. Objects of the same type share the same value.
84
86
  attr_reader :object
87
+ # Status of a card based on the card issuer.
88
+ attr_reader :regulated_status
85
89
  # For external accounts that are cards, possible values are `new` and `errored`. If a payout fails, the status is set to `errored` and [scheduled payouts](https://stripe.com/docs/payouts#payout-schedule) are stopped until account details are updated.
86
90
  attr_reader :status
87
91
  # If the card number is tokenized, this is the method that was used. Can be `android_pay` (includes Google Pay), `apple_pay`, `masterpass`, `visa_checkout`, or null.
@@ -177,7 +177,7 @@ module Stripe
177
177
  end
178
178
  attr_reader :amex_express_checkout, :apple_pay, :dynamic_last4, :google_pay, :link, :masterpass, :samsung_pay, :type, :visa_checkout
179
179
  end
180
- attr_reader :amount_authorized, :amount_requested, :authorization_code, :brand, :capture_before, :checks, :country, :decremental_authorization, :description, :exp_month, :exp_year, :extended_authorization, :fingerprint, :funding, :iin, :incremental_authorization, :installments, :issuer, :last4, :mandate, :moto, :multicapture, :network, :network_token, :overcapture, :partial_authorization, :three_d_secure, :wallet
180
+ attr_reader :amount_authorized, :amount_requested, :authorization_code, :brand, :capture_before, :checks, :country, :decremental_authorization, :description, :exp_month, :exp_year, :extended_authorization, :fingerprint, :funding, :iin, :incremental_authorization, :installments, :issuer, :last4, :mandate, :moto, :multicapture, :network, :network_token, :network_transaction_id, :overcapture, :partial_authorization, :regulated_status, :three_d_secure, :wallet
181
181
  end
182
182
 
183
183
  class CardPresent < Stripe::StripeObject
@@ -131,7 +131,7 @@ module Stripe
131
131
  end
132
132
  attr_reader :amex_express_checkout, :apple_pay, :dynamic_last4, :google_pay, :link, :masterpass, :samsung_pay, :type, :visa_checkout
133
133
  end
134
- attr_reader :brand, :checks, :country, :description, :display_brand, :exp_month, :exp_year, :fingerprint, :funding, :generated_from, :iin, :issuer, :last4, :networks, :three_d_secure_usage, :wallet
134
+ attr_reader :brand, :checks, :country, :description, :display_brand, :exp_month, :exp_year, :fingerprint, :funding, :generated_from, :iin, :issuer, :last4, :networks, :regulated_status, :three_d_secure_usage, :wallet
135
135
  end
136
136
 
137
137
  class CardPresent < Stripe::StripeObject
@@ -34,7 +34,11 @@ module Stripe
34
34
  end
35
35
  attr_reader :disputed_transaction, :prior_undisputed_transactions
36
36
  end
37
- attr_reader :visa_compelling_evidence_3
37
+
38
+ class VisaCompliance < Stripe::StripeObject
39
+ attr_reader :fee_acknowledged
40
+ end
41
+ attr_reader :visa_compelling_evidence_3, :visa_compliance
38
42
  end
39
43
  attr_reader :access_activity_log, :billing_address, :cancellation_policy, :cancellation_policy_disclosure, :cancellation_rebuttal, :customer_communication, :customer_email_address, :customer_name, :customer_purchase_ip, :customer_signature, :duplicate_charge_documentation, :duplicate_charge_explanation, :duplicate_charge_id, :enhanced_evidence, :product_description, :receipt, :refund_policy, :refund_policy_disclosure, :refund_refusal_explanation, :service_date, :service_documentation, :shipping_address, :shipping_carrier, :shipping_date, :shipping_documentation, :shipping_tracking_number, :uncategorized_file, :uncategorized_text
40
44
  end
@@ -44,7 +48,11 @@ module Stripe
44
48
  class VisaCompellingEvidence3 < Stripe::StripeObject
45
49
  attr_reader :required_actions, :status
46
50
  end
47
- attr_reader :visa_compelling_evidence_3
51
+
52
+ class VisaCompliance < Stripe::StripeObject
53
+ attr_reader :status
54
+ end
55
+ attr_reader :visa_compelling_evidence_3, :visa_compliance
48
56
  end
49
57
  attr_reader :due_by, :enhanced_eligibility, :has_evidence, :past_due, :submission_count
50
58
  end
@@ -53,7 +53,7 @@ module Stripe
53
53
  end
54
54
 
55
55
  class MerchantData < Stripe::StripeObject
56
- attr_reader :category, :category_code, :city, :country, :name, :network_id, :postal_code, :state, :terminal_id, :url
56
+ attr_reader :category, :category_code, :city, :country, :name, :network_id, :postal_code, :state, :tax_id, :terminal_id, :url
57
57
  end
58
58
 
59
59
  class NetworkData < Stripe::StripeObject
@@ -22,7 +22,7 @@ module Stripe
22
22
  end
23
23
 
24
24
  class MerchantData < Stripe::StripeObject
25
- attr_reader :category, :category_code, :city, :country, :name, :network_id, :postal_code, :state, :terminal_id, :url
25
+ attr_reader :category, :category_code, :city, :country, :name, :network_id, :postal_code, :state, :tax_id, :terminal_id, :url
26
26
  end
27
27
 
28
28
  class NetworkData < Stripe::StripeObject
@@ -115,7 +115,7 @@ module Stripe
115
115
  end
116
116
  attr_reader :amex_express_checkout, :apple_pay, :dynamic_last4, :google_pay, :link, :masterpass, :samsung_pay, :type, :visa_checkout
117
117
  end
118
- attr_reader :brand, :checks, :country, :description, :display_brand, :exp_month, :exp_year, :fingerprint, :funding, :generated_from, :iin, :issuer, :last4, :networks, :three_d_secure_usage, :wallet
118
+ attr_reader :brand, :checks, :country, :description, :display_brand, :exp_month, :exp_year, :fingerprint, :funding, :generated_from, :iin, :issuer, :last4, :networks, :regulated_status, :three_d_secure_usage, :wallet
119
119
  end
120
120
 
121
121
  class CardPresent < Stripe::StripeObject
@@ -24,10 +24,6 @@ module Stripe
24
24
  attr_reader :currency, :value
25
25
  end
26
26
 
27
- class AmountRefunded < Stripe::StripeObject
28
- attr_reader :currency, :value
29
- end
30
-
31
27
  class AmountRequested < Stripe::StripeObject
32
28
  attr_reader :currency, :value
33
29
  end
@@ -63,8 +59,6 @@ module Stripe
63
59
  # A representation of an amount of money, consisting of an amount and a currency.
64
60
  attr_reader :amount_guaranteed
65
61
  # A representation of an amount of money, consisting of an amount and a currency.
66
- attr_reader :amount_refunded
67
- # A representation of an amount of money, consisting of an amount and a currency.
68
62
  attr_reader :amount_requested
69
63
  # Time at which the object was created. Measured in seconds since the Unix epoch.
70
64
  attr_reader :created
@@ -148,6 +148,8 @@ module Stripe
148
148
  attr_reader :acss_debit
149
149
  # Attribute for field alipay
150
150
  attr_reader :alipay
151
+ # This field indicates whether this payment method can be shown again to its customer in a checkout flow. Stripe products such as Checkout and Elements use this field to determine whether a payment method can be shown as a saved payment method in a checkout flow. The field defaults to “unspecified”.
152
+ attr_reader :allow_redisplay
151
153
  # A positive integer in the smallest currency unit (that is, 100 cents for $1.00, or 1 for ¥1, Japanese Yen being a zero-decimal currency) representing the total amount associated with the source. This is the amount for which the source will be chargeable once ready. Required for `single_use` sources.
152
154
  attr_reader :amount
153
155
  # Attribute for field au_becs_debit
@@ -37,7 +37,7 @@ module Stripe
37
37
  attr_reader :object
38
38
  # The account or customer the tax ID belongs to.
39
39
  attr_reader :owner
40
- # Type of the tax ID, one of `ad_nrt`, `ae_trn`, `ar_cuit`, `au_abn`, `au_arn`, `bg_uic`, `bh_vat`, `bo_tin`, `br_cnpj`, `br_cpf`, `by_tin`, `ca_bn`, `ca_gst_hst`, `ca_pst_bc`, `ca_pst_mb`, `ca_pst_sk`, `ca_qst`, `ch_uid`, `ch_vat`, `cl_tin`, `cn_tin`, `co_nit`, `cr_tin`, `de_stn`, `do_rcn`, `ec_ruc`, `eg_tin`, `es_cif`, `eu_oss_vat`, `eu_vat`, `gb_vat`, `ge_vat`, `hk_br`, `hr_oib`, `hu_tin`, `id_npwp`, `il_vat`, `in_gst`, `is_vat`, `jp_cn`, `jp_rn`, `jp_trn`, `ke_pin`, `kr_brn`, `kz_bin`, `li_uid`, `li_vat`, `ma_vat`, `md_vat`, `mx_rfc`, `my_frp`, `my_itn`, `my_sst`, `ng_tin`, `no_vat`, `no_voec`, `nz_gst`, `om_vat`, `pe_ruc`, `ph_tin`, `ro_tin`, `rs_pib`, `ru_inn`, `ru_kpp`, `sa_vat`, `sg_gst`, `sg_uen`, `si_tin`, `sv_nit`, `th_vat`, `tr_tin`, `tw_vat`, `tz_vat`, `ua_vat`, `us_ein`, `uy_ruc`, `uz_tin`, `uz_vat`, `ve_rif`, `vn_tin`, or `za_vat`. Note that some legacy tax IDs have type `unknown`
40
+ # Type of the tax ID, one of `ad_nrt`, `ae_trn`, `am_tin`, `ao_tin`, `ar_cuit`, `au_abn`, `au_arn`, `ba_tin`, `bb_tin`, `bg_uic`, `bh_vat`, `bo_tin`, `br_cnpj`, `br_cpf`, `bs_tin`, `by_tin`, `ca_bn`, `ca_gst_hst`, `ca_pst_bc`, `ca_pst_mb`, `ca_pst_sk`, `ca_qst`, `cd_nif`, `ch_uid`, `ch_vat`, `cl_tin`, `cn_tin`, `co_nit`, `cr_tin`, `de_stn`, `do_rcn`, `ec_ruc`, `eg_tin`, `es_cif`, `eu_oss_vat`, `eu_vat`, `gb_vat`, `ge_vat`, `gn_nif`, `hk_br`, `hr_oib`, `hu_tin`, `id_npwp`, `il_vat`, `in_gst`, `is_vat`, `jp_cn`, `jp_rn`, `jp_trn`, `ke_pin`, `kh_tin`, `kr_brn`, `kz_bin`, `li_uid`, `li_vat`, `ma_vat`, `md_vat`, `me_pib`, `mk_vat`, `mr_nif`, `mx_rfc`, `my_frp`, `my_itn`, `my_sst`, `ng_tin`, `no_vat`, `no_voec`, `np_pan`, `nz_gst`, `om_vat`, `pe_ruc`, `ph_tin`, `ro_tin`, `rs_pib`, `ru_inn`, `ru_kpp`, `sa_vat`, `sg_gst`, `sg_uen`, `si_tin`, `sn_ninea`, `sr_fin`, `sv_nit`, `th_vat`, `tj_tin`, `tr_tin`, `tw_vat`, `tz_vat`, `ua_vat`, `ug_tin`, `us_ein`, `uy_ruc`, `uz_tin`, `uz_vat`, `ve_rif`, `vn_tin`, `za_vat`, `zm_tin`, or `zw_tin`. Note that some legacy tax IDs have type `unknown`
41
41
  attr_reader :type
42
42
  # Value of the tax ID.
43
43
  attr_reader :value
@@ -66,11 +66,11 @@ module Stripe
66
66
  end
67
67
  attr_reader :enable_customer_cancellation, :skip_tipping, :tipping
68
68
  end
69
- attr_reader :collect_config, :payment_intent, :payment_method, :stripe_account
69
+ attr_reader :account, :collect_config, :payment_intent, :payment_method, :stripe_account
70
70
  end
71
71
 
72
72
  class ConfirmPaymentIntent < Stripe::StripeObject
73
- attr_reader :payment_intent, :stripe_account
73
+ attr_reader :account, :payment_intent, :stripe_account
74
74
  end
75
75
 
76
76
  class ProcessPaymentIntent < Stripe::StripeObject
@@ -80,7 +80,7 @@ module Stripe
80
80
  end
81
81
  attr_reader :enable_customer_cancellation, :skip_tipping, :tipping
82
82
  end
83
- attr_reader :payment_intent, :process_config, :stripe_account
83
+ attr_reader :account, :payment_intent, :process_config, :stripe_account
84
84
  end
85
85
 
86
86
  class ProcessSetupIntent < Stripe::StripeObject
@@ -94,7 +94,7 @@ module Stripe
94
94
  class RefundPaymentConfig < Stripe::StripeObject
95
95
  attr_reader :enable_customer_cancellation
96
96
  end
97
- attr_reader :amount, :charge, :metadata, :payment_intent, :reason, :refund, :refund_application_fee, :refund_payment_config, :reverse_transfer, :stripe_account
97
+ attr_reader :account, :amount, :charge, :metadata, :payment_intent, :reason, :refund, :refund_application_fee, :refund_payment_config, :reverse_transfer, :stripe_account
98
98
  end
99
99
 
100
100
  class SetReaderDisplay < Stripe::StripeObject
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Stripe
4
- VERSION = "13.3.0-beta.2"
4
+ VERSION = "13.3.0-beta.3"
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: stripe
3
3
  version: !ruby/object:Gem::Version
4
- version: 13.3.0.pre.beta.2
4
+ version: 13.3.0.pre.beta.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Stripe
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2024-12-05 00:00:00.000000000 Z
11
+ date: 2024-12-12 00:00:00.000000000 Z
12
12
  dependencies: []
13
13
  description: Stripe is the easiest way to accept payments online. See https://stripe.com
14
14
  for details.