stripe 13.6.0.pre.beta.1 → 14.0.0
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/CHANGELOG.md +699 -1457
- data/OPENAPI_VERSION +1 -1
- data/README.md +29 -0
- data/VERSION +1 -1
- data/lib/stripe/api_requestor.rb +2 -0
- data/lib/stripe/api_version.rb +1 -1
- data/lib/stripe/errors.rb +0 -7
- data/lib/stripe/object_types.rb +0 -26
- data/lib/stripe/resources/account.rb +83 -614
- data/lib/stripe/resources/account_session.rb +1 -247
- data/lib/stripe/resources/apple_pay_domain.rb +0 -9
- data/lib/stripe/resources/application_fee.rb +1 -10
- data/lib/stripe/resources/balance.rb +0 -9
- data/lib/stripe/resources/balance_transaction.rb +2 -11
- data/lib/stripe/resources/bank_account.rb +1 -1
- data/lib/stripe/resources/billing/alert.rb +0 -9
- data/lib/stripe/resources/billing/credit_balance_summary.rb +0 -48
- data/lib/stripe/resources/billing/credit_balance_transaction.rb +0 -9
- data/lib/stripe/resources/billing/credit_grant.rb +4 -13
- data/lib/stripe/resources/billing/meter.rb +1 -10
- data/lib/stripe/resources/billing_portal/configuration.rb +0 -9
- data/lib/stripe/resources/card.rb +2 -4
- data/lib/stripe/resources/charge.rb +35 -1457
- data/lib/stripe/resources/checkout/session.rb +100 -293
- data/lib/stripe/resources/climate/order.rb +0 -9
- data/lib/stripe/resources/climate/product.rb +0 -9
- data/lib/stripe/resources/climate/supplier.rb +0 -9
- data/lib/stripe/resources/confirmation_token.rb +74 -156
- data/lib/stripe/resources/country_spec.rb +0 -9
- data/lib/stripe/resources/coupon.rb +0 -9
- data/lib/stripe/resources/credit_note.rb +14 -35
- data/lib/stripe/resources/credit_note_line_item.rb +14 -12
- data/lib/stripe/resources/customer.rb +12 -28
- data/lib/stripe/resources/customer_balance_transaction.rb +3 -1
- data/lib/stripe/resources/dispute.rb +0 -9
- data/lib/stripe/resources/entitlements/active_entitlement.rb +0 -9
- data/lib/stripe/resources/entitlements/feature.rb +0 -9
- data/lib/stripe/resources/event.rb +0 -40
- data/lib/stripe/resources/exchange_rate.rb +0 -9
- data/lib/stripe/resources/file.rb +0 -9
- data/lib/stripe/resources/file_link.rb +0 -9
- data/lib/stripe/resources/financial_connections/account.rb +0 -23
- data/lib/stripe/resources/financial_connections/session.rb +1 -65
- data/lib/stripe/resources/financial_connections/transaction.rb +0 -9
- data/lib/stripe/resources/forwarding/request.rb +0 -9
- data/lib/stripe/resources/identity/verification_report.rb +0 -9
- data/lib/stripe/resources/identity/verification_session.rb +0 -9
- data/lib/stripe/resources/invoice.rb +225 -5120
- data/lib/stripe/resources/invoice_item.rb +65 -110
- data/lib/stripe/resources/invoice_line_item.rb +106 -89
- data/lib/stripe/resources/invoice_payment.rb +53 -4
- data/lib/stripe/resources/invoice_rendering_template.rb +0 -12
- data/lib/stripe/resources/issuing/authorization.rb +0 -9
- data/lib/stripe/resources/issuing/card.rb +0 -9
- data/lib/stripe/resources/issuing/cardholder.rb +1 -11
- data/lib/stripe/resources/issuing/dispute.rb +0 -9
- data/lib/stripe/resources/issuing/personalization_design.rb +0 -9
- data/lib/stripe/resources/issuing/physical_bundle.rb +0 -9
- data/lib/stripe/resources/issuing/token.rb +0 -9
- data/lib/stripe/resources/issuing/transaction.rb +0 -15
- data/lib/stripe/resources/line_item.rb +0 -28
- data/lib/stripe/resources/mandate.rb +6 -33
- data/lib/stripe/resources/payment_intent.rb +642 -4975
- data/lib/stripe/resources/payment_link.rb +84 -15
- data/lib/stripe/resources/payment_method.rb +74 -187
- data/lib/stripe/resources/payment_method_configuration.rb +87 -214
- data/lib/stripe/resources/payment_method_domain.rb +9 -18
- data/lib/stripe/resources/payout.rb +0 -9
- data/lib/stripe/resources/person.rb +9 -9
- data/lib/stripe/resources/plan.rb +0 -15
- data/lib/stripe/resources/price.rb +2 -47
- data/lib/stripe/resources/product.rb +0 -68
- data/lib/stripe/resources/promotion_code.rb +0 -9
- data/lib/stripe/resources/quote.rb +8 -2037
- data/lib/stripe/resources/radar/early_fraud_warning.rb +0 -9
- data/lib/stripe/resources/radar/value_list.rb +0 -9
- data/lib/stripe/resources/radar/value_list_item.rb +0 -9
- data/lib/stripe/resources/refund.rb +13 -18
- data/lib/stripe/resources/reporting/report_run.rb +0 -9
- data/lib/stripe/resources/reporting/report_type.rb +0 -9
- data/lib/stripe/resources/review.rb +2 -11
- data/lib/stripe/resources/setup_attempt.rb +11 -16
- data/lib/stripe/resources/setup_intent.rb +158 -540
- data/lib/stripe/resources/shipping_rate.rb +0 -9
- data/lib/stripe/resources/sigma/scheduled_query_run.rb +0 -9
- data/lib/stripe/resources/source.rb +0 -41
- data/lib/stripe/resources/subscription.rb +14 -385
- data/lib/stripe/resources/subscription_item.rb +9 -134
- data/lib/stripe/resources/subscription_schedule.rb +14 -1135
- data/lib/stripe/resources/tax/calculation.rb +0 -9
- data/lib/stripe/resources/tax/registration.rb +1 -10
- data/lib/stripe/resources/tax/settings.rb +0 -9
- data/lib/stripe/resources/tax/transaction.rb +0 -9
- data/lib/stripe/resources/tax_code.rb +0 -9
- data/lib/stripe/resources/tax_id.rb +0 -9
- data/lib/stripe/resources/tax_rate.rb +0 -9
- data/lib/stripe/resources/terminal/configuration.rb +214 -14
- data/lib/stripe/resources/terminal/location.rb +0 -9
- data/lib/stripe/resources/terminal/reader.rb +0 -408
- data/lib/stripe/resources/test_helpers/test_clock.rb +0 -9
- data/lib/stripe/resources/token.rb +1 -10
- data/lib/stripe/resources/topup.rb +0 -9
- data/lib/stripe/resources/transfer.rb +0 -9
- data/lib/stripe/resources/treasury/credit_reversal.rb +0 -9
- data/lib/stripe/resources/treasury/debit_reversal.rb +0 -9
- data/lib/stripe/resources/treasury/financial_account.rb +4 -32
- data/lib/stripe/resources/treasury/financial_account_features.rb +0 -2
- data/lib/stripe/resources/treasury/inbound_transfer.rb +0 -9
- data/lib/stripe/resources/treasury/outbound_payment.rb +0 -9
- data/lib/stripe/resources/treasury/outbound_transfer.rb +0 -46
- data/lib/stripe/resources/treasury/received_credit.rb +1 -47
- data/lib/stripe/resources/treasury/received_debit.rb +1 -49
- data/lib/stripe/resources/treasury/transaction.rb +0 -9
- data/lib/stripe/resources/treasury/transaction_entry.rb +0 -9
- data/lib/stripe/resources/v2/event.rb +1 -0
- data/lib/stripe/resources/v2/event_destination.rb +1 -0
- data/lib/stripe/resources/webhook_endpoint.rb +0 -9
- data/lib/stripe/resources.rb +0 -25
- data/lib/stripe/services/account_external_account_service.rb +1 -1
- data/lib/stripe/services/account_service.rb +68 -509
- data/lib/stripe/services/account_session_service.rb +1 -217
- data/lib/stripe/services/balance_transaction_service.rb +1 -1
- data/lib/stripe/services/billing/credit_balance_summary_service.rb +2 -2
- data/lib/stripe/services/billing/credit_grant_service.rb +2 -2
- data/lib/stripe/services/billing/meter_service.rb +1 -1
- data/lib/stripe/services/charge_service.rb +1 -1335
- data/lib/stripe/services/checkout/session_service.rb +60 -168
- data/lib/stripe/services/credit_note_preview_lines_service.rb +0 -4
- data/lib/stripe/services/credit_note_service.rb +0 -8
- data/lib/stripe/services/customer_service.rb +0 -16
- data/lib/stripe/services/financial_connections/account_service.rb +1 -3
- data/lib/stripe/services/financial_connections/session_service.rb +1 -30
- data/lib/stripe/services/financial_connections_service.rb +1 -2
- data/lib/stripe/services/invoice_item_service.rb +34 -88
- data/lib/stripe/services/invoice_line_item_service.rb +25 -41
- data/lib/stripe/services/invoice_payment_service.rb +33 -5
- data/lib/stripe/services/invoice_service.rb +210 -3147
- data/lib/stripe/services/issuing/cardholder_service.rb +1 -2
- data/lib/stripe/services/issuing/transaction_service.rb +0 -4
- data/lib/stripe/services/issuing_service.rb +1 -5
- data/lib/stripe/services/payment_intent_service.rb +568 -4513
- data/lib/stripe/services/payment_link_service.rb +59 -6
- data/lib/stripe/services/payment_method_configuration_service.rb +62 -146
- data/lib/stripe/services/payment_method_domain_service.rb +6 -6
- data/lib/stripe/services/payment_method_service.rb +49 -119
- data/lib/stripe/services/plan_service.rb +0 -4
- data/lib/stripe/services/price_service.rb +2 -25
- data/lib/stripe/services/product_service.rb +0 -38
- data/lib/stripe/services/quote_service.rb +9 -1716
- data/lib/stripe/services/setup_intent_service.rb +158 -492
- data/lib/stripe/services/subscription_item_service.rb +5 -111
- data/lib/stripe/services/subscription_schedule_service.rb +14 -1005
- data/lib/stripe/services/subscription_service.rb +13 -323
- data/lib/stripe/services/tax/registration_service.rb +1 -1
- data/lib/stripe/services/tax_service.rb +1 -3
- data/lib/stripe/services/terminal/configuration_service.rb +170 -4
- data/lib/stripe/services/terminal/reader_service.rb +0 -177
- data/lib/stripe/services/terminal_service.rb +1 -2
- data/lib/stripe/services/test_helpers/confirmation_token_service.rb +49 -87
- data/lib/stripe/services/test_helpers/terminal/reader_service.rb +0 -43
- data/lib/stripe/services/test_helpers/treasury/received_credit_service.rb +1 -25
- data/lib/stripe/services/test_helpers/treasury/received_debit_service.rb +1 -25
- data/lib/stripe/services/token_service.rb +1 -1
- data/lib/stripe/services/treasury/financial_account_features_service.rb +1 -4
- data/lib/stripe/services/treasury/financial_account_service.rb +3 -17
- data/lib/stripe/services/treasury/outbound_transfer_service.rb +0 -24
- data/lib/stripe/services/v1_services.rb +2 -8
- data/lib/stripe/services/v2/core/event_destination_service.rb +1 -4
- data/lib/stripe/services/v2/core/event_service.rb +1 -4
- data/lib/stripe/services.rb +0 -27
- data/lib/stripe/stripe_client.rb +1 -0
- data/lib/stripe/stripe_configuration.rb +1 -3
- data/lib/stripe/util.rb +1 -7
- data/lib/stripe/version.rb +1 -1
- data/lib/stripe.rb +0 -45
- data/rbi/stripe/resources/account.rbi +1131 -1479
- data/rbi/stripe/resources/account_link.rbi +9 -9
- data/rbi/stripe/resources/account_session.rbi +118 -367
- data/rbi/stripe/resources/apple_pay_domain.rbi +8 -15
- data/rbi/stripe/resources/application_fee.rbi +15 -20
- data/rbi/stripe/resources/apps/secret.rbi +20 -20
- data/rbi/stripe/resources/balance.rbi +0 -7
- data/rbi/stripe/resources/balance_transaction.rbi +19 -24
- data/rbi/stripe/resources/bank_account.rbi +1 -1
- data/rbi/stripe/resources/billing/alert.rbi +23 -28
- data/rbi/stripe/resources/billing/credit_balance_summary.rbi +0 -53
- data/rbi/stripe/resources/billing/credit_balance_transaction.rbi +6 -13
- data/rbi/stripe/resources/billing/credit_grant.rbi +30 -37
- data/rbi/stripe/resources/billing/meter.rbi +19 -26
- data/rbi/stripe/resources/billing/meter_event.rbi +4 -4
- data/rbi/stripe/resources/billing/meter_event_adjustment.rbi +5 -5
- data/rbi/stripe/resources/billing_portal/configuration.rbi +86 -81
- data/rbi/stripe/resources/billing_portal/session.rbi +31 -27
- data/rbi/stripe/resources/card.rbi +2 -5
- data/rbi/stripe/resources/charge.rbi +136 -1576
- data/rbi/stripe/resources/checkout/session.rbi +631 -748
- data/rbi/stripe/resources/climate/order.rbi +20 -25
- data/rbi/stripe/resources/climate/product.rbi +5 -12
- data/rbi/stripe/resources/climate/supplier.rbi +5 -12
- data/rbi/stripe/resources/confirmation_token.rbi +274 -268
- data/rbi/stripe/resources/country_spec.rbi +5 -12
- data/rbi/stripe/resources/coupon.rbi +34 -39
- data/rbi/stripe/resources/credit_note.rbi +134 -146
- data/rbi/stripe/resources/credit_note_line_item.rbi +20 -18
- data/rbi/stripe/resources/customer.rbi +172 -164
- data/rbi/stripe/resources/customer_balance_transaction.rbi +4 -1
- data/rbi/stripe/resources/customer_session.rbi +19 -15
- data/rbi/stripe/resources/dispute.rbi +92 -95
- data/rbi/stripe/resources/entitlements/active_entitlement.rbi +5 -12
- data/rbi/stripe/resources/entitlements/feature.rbi +15 -22
- data/rbi/stripe/resources/ephemeral_key.rbi +2 -2
- data/rbi/stripe/resources/event.rbi +16 -60
- data/rbi/stripe/resources/exchange_rate.rbi +5 -12
- data/rbi/stripe/resources/file.rbi +20 -25
- data/rbi/stripe/resources/file_link.rbi +23 -28
- data/rbi/stripe/resources/financial_connections/account.rbi +25 -44
- data/rbi/stripe/resources/financial_connections/session.rbi +12 -75
- data/rbi/stripe/resources/financial_connections/transaction.rbi +16 -19
- data/rbi/stripe/resources/forwarding/request.rbi +21 -24
- data/rbi/stripe/resources/identity/verification_report.rbi +18 -21
- data/rbi/stripe/resources/identity/verification_session.rbi +60 -61
- data/rbi/stripe/resources/invoice.rbi +723 -5918
- data/rbi/stripe/resources/invoice_item.rbi +138 -177
- data/rbi/stripe/resources/invoice_line_item.rbi +199 -264
- data/rbi/stripe/resources/invoice_payment.rbi +51 -7
- data/rbi/stripe/resources/invoice_rendering_template.rbi +10 -20
- data/rbi/stripe/resources/issuing/authorization.rbi +216 -199
- data/rbi/stripe/resources/issuing/card.rbi +104 -101
- data/rbi/stripe/resources/issuing/cardholder.rbi +120 -108
- data/rbi/stripe/resources/issuing/dispute.rbi +164 -151
- data/rbi/stripe/resources/issuing/personalization_design.rbi +61 -56
- data/rbi/stripe/resources/issuing/physical_bundle.rbi +7 -14
- data/rbi/stripe/resources/issuing/token.rbi +16 -21
- data/rbi/stripe/resources/issuing/transaction.rbi +180 -176
- data/rbi/stripe/resources/line_item.rbi +0 -36
- data/rbi/stripe/resources/mandate.rbi +8 -40
- data/rbi/stripe/resources/payment_intent.rbi +2252 -6482
- data/rbi/stripe/resources/payment_link.rbi +346 -211
- data/rbi/stripe/resources/payment_method.rbi +226 -330
- data/rbi/stripe/resources/payment_method_configuration.rbi +602 -685
- data/rbi/stripe/resources/payment_method_domain.rbi +26 -31
- data/rbi/stripe/resources/payout.rbi +43 -42
- data/rbi/stripe/resources/person.rbi +9 -9
- data/rbi/stripe/resources/plan.rbi +51 -63
- data/rbi/stripe/resources/price.rbi +114 -151
- data/rbi/stripe/resources/product.rbi +90 -152
- data/rbi/stripe/resources/promotion_code.rbi +42 -47
- data/rbi/stripe/resources/quote.rbi +168 -2231
- data/rbi/stripe/resources/radar/early_fraud_warning.rbi +17 -20
- data/rbi/stripe/resources/radar/value_list.rbi +24 -29
- data/rbi/stripe/resources/radar/value_list_item.rbi +18 -21
- data/rbi/stripe/resources/refund.rbi +52 -51
- data/rbi/stripe/resources/reporting/report_run.rbi +27 -30
- data/rbi/stripe/resources/reporting/report_type.rbi +2 -9
- data/rbi/stripe/resources/review.rbi +17 -22
- data/rbi/stripe/resources/setup_attempt.rbi +25 -32
- data/rbi/stripe/resources/setup_intent.rbi +900 -1102
- data/rbi/stripe/resources/shipping_rate.rbi +41 -46
- data/rbi/stripe/resources/sigma/scheduled_query_run.rbi +5 -12
- data/rbi/stripe/resources/source.rbi +132 -179
- data/rbi/stripe/resources/subscription.rbi +363 -707
- data/rbi/stripe/resources/subscription_item.rbi +69 -177
- data/rbi/stripe/resources/subscription_schedule.rbi +289 -1447
- data/rbi/stripe/resources/tax/calculation.rbi +43 -48
- data/rbi/stripe/resources/tax/registration.rbi +217 -170
- data/rbi/stripe/resources/tax/settings.rbi +14 -21
- data/rbi/stripe/resources/tax/transaction.rbi +20 -25
- data/rbi/stripe/resources/tax_code.rbi +5 -12
- data/rbi/stripe/resources/tax_id.rbi +15 -22
- data/rbi/stripe/resources/tax_rate.rbi +34 -39
- data/rbi/stripe/resources/terminal/configuration.rbi +457 -212
- data/rbi/stripe/resources/terminal/connection_token.rbi +3 -3
- data/rbi/stripe/resources/terminal/location.rbi +28 -35
- data/rbi/stripe/resources/terminal/reader.rbi +71 -441
- data/rbi/stripe/resources/test_helpers/test_clock.rbi +12 -17
- data/rbi/stripe/resources/token.rbi +288 -263
- data/rbi/stripe/resources/topup.rbi +35 -38
- data/rbi/stripe/resources/transfer.rbi +27 -32
- data/rbi/stripe/resources/treasury/credit_reversal.rbi +10 -17
- data/rbi/stripe/resources/treasury/debit_reversal.rbi +11 -18
- data/rbi/stripe/resources/treasury/financial_account.rbi +125 -130
- data/rbi/stripe/resources/treasury/financial_account_features.rbi +0 -3
- data/rbi/stripe/resources/treasury/inbound_transfer.rbi +22 -29
- data/rbi/stripe/resources/treasury/outbound_payment.rbi +82 -79
- data/rbi/stripe/resources/treasury/outbound_transfer.rbi +44 -86
- data/rbi/stripe/resources/treasury/received_credit.rbi +18 -64
- data/rbi/stripe/resources/treasury/received_debit.rbi +17 -66
- data/rbi/stripe/resources/treasury/transaction.rbi +27 -28
- data/rbi/stripe/resources/treasury/transaction_entry.rbi +25 -26
- data/rbi/stripe/resources/v2/amount.rbi +1 -1
- data/rbi/stripe/resources/v2/event.rbi +1 -0
- data/rbi/stripe/resources/v2/event_destination.rbi +1 -0
- data/rbi/stripe/resources/webhook_endpoint.rbi +18 -25
- data/rbi/stripe/services/account_capability_service.rbi +7 -7
- data/rbi/stripe/services/account_external_account_service.rbi +52 -52
- data/rbi/stripe/services/account_link_service.rbi +9 -9
- data/rbi/stripe/services/account_login_link_service.rbi +2 -2
- data/rbi/stripe/services/account_person_service.rbi +221 -201
- data/rbi/stripe/services/account_service.rbi +1221 -1345
- data/rbi/stripe/services/account_session_service.rbi +115 -346
- data/rbi/stripe/services/apple_pay_domain_service.rbi +10 -10
- data/rbi/stripe/services/application_fee_refund_service.rbi +16 -14
- data/rbi/stripe/services/application_fee_service.rbi +18 -14
- data/rbi/stripe/services/apps/secret_service.rbi +20 -20
- data/rbi/stripe/services/balance_service.rbi +2 -2
- data/rbi/stripe/services/balance_transaction_service.rbi +22 -18
- data/rbi/stripe/services/billing/alert_service.rbi +23 -23
- data/rbi/stripe/services/billing/credit_balance_summary_service.rbi +10 -10
- data/rbi/stripe/services/billing/credit_balance_transaction_service.rbi +8 -8
- data/rbi/stripe/services/billing/credit_grant_service.rbi +32 -30
- data/rbi/stripe/services/billing/meter_event_adjustment_service.rbi +7 -5
- data/rbi/stripe/services/billing/meter_event_service.rbi +4 -4
- data/rbi/stripe/services/billing/meter_event_summary_service.rbi +6 -6
- data/rbi/stripe/services/billing/meter_service.rbi +21 -21
- data/rbi/stripe/services/billing_portal/configuration_service.rbi +90 -76
- data/rbi/stripe/services/billing_portal/session_service.rbi +29 -27
- data/rbi/stripe/services/charge_service.rbi +96 -1464
- data/rbi/stripe/services/checkout/session_line_item_service.rbi +5 -5
- data/rbi/stripe/services/checkout/session_service.rbi +555 -591
- data/rbi/stripe/services/climate/order_service.rbi +22 -20
- data/rbi/stripe/services/climate/product_service.rbi +7 -7
- data/rbi/stripe/services/climate/supplier_service.rbi +7 -7
- data/rbi/stripe/services/confirmation_token_service.rbi +2 -2
- data/rbi/stripe/services/country_spec_service.rbi +7 -7
- data/rbi/stripe/services/coupon_service.rbi +40 -34
- data/rbi/stripe/services/credit_note_line_item_service.rbi +5 -5
- data/rbi/stripe/services/credit_note_preview_lines_service.rbi +35 -35
- data/rbi/stripe/services/credit_note_service.rbi +81 -85
- data/rbi/stripe/services/customer_balance_transaction_service.rbi +15 -15
- data/rbi/stripe/services/customer_cash_balance_service.rbi +7 -7
- data/rbi/stripe/services/customer_cash_balance_transaction_service.rbi +7 -7
- data/rbi/stripe/services/customer_funding_instructions_service.rbi +5 -5
- data/rbi/stripe/services/customer_payment_method_service.rbi +9 -9
- data/rbi/stripe/services/customer_payment_source_service.rbi +48 -44
- data/rbi/stripe/services/customer_service.rbi +143 -139
- data/rbi/stripe/services/customer_session_service.rbi +21 -15
- data/rbi/stripe/services/customer_tax_id_service.rbi +9 -9
- data/rbi/stripe/services/dispute_service.rbi +92 -90
- data/rbi/stripe/services/entitlements/active_entitlement_service.rbi +7 -7
- data/rbi/stripe/services/entitlements/feature_service.rbi +17 -17
- data/rbi/stripe/services/ephemeral_key_service.rbi +8 -8
- data/rbi/stripe/services/event_service.rbi +18 -16
- data/rbi/stripe/services/exchange_rate_service.rbi +7 -7
- data/rbi/stripe/services/file_link_service.rbi +25 -23
- data/rbi/stripe/services/file_service.rbi +22 -20
- data/rbi/stripe/services/financial_connections/account_owner_service.rbi +5 -5
- data/rbi/stripe/services/financial_connections/account_service.rbi +22 -21
- data/rbi/stripe/services/financial_connections/session_service.rbi +16 -39
- data/rbi/stripe/services/financial_connections/transaction_service.rbi +16 -14
- data/rbi/stripe/services/financial_connections_service.rbi +0 -1
- data/rbi/stripe/services/forwarding/request_service.rbi +21 -19
- data/rbi/stripe/services/identity/verification_report_service.rbi +18 -16
- data/rbi/stripe/services/identity/verification_session_service.rbi +62 -56
- data/rbi/stripe/services/invoice_item_service.rbi +99 -155
- data/rbi/stripe/services/invoice_line_item_service.rbi +71 -82
- data/rbi/stripe/services/invoice_payment_service.rbi +39 -12
- data/rbi/stripe/services/invoice_rendering_template_service.rbi +13 -13
- data/rbi/stripe/services/invoice_service.rbi +679 -3799
- data/rbi/stripe/services/issuing/authorization_service.rbi +32 -26
- data/rbi/stripe/services/issuing/card_service.rbi +102 -86
- data/rbi/stripe/services/issuing/cardholder_service.rbi +122 -103
- data/rbi/stripe/services/issuing/dispute_service.rbi +152 -146
- data/rbi/stripe/services/issuing/personalization_design_service.rbi +52 -42
- data/rbi/stripe/services/issuing/physical_bundle_service.rbi +9 -9
- data/rbi/stripe/services/issuing/token_service.rbi +20 -16
- data/rbi/stripe/services/issuing/transaction_service.rbi +25 -23
- data/rbi/stripe/services/issuing_service.rbi +0 -3
- data/rbi/stripe/services/mandate_service.rbi +2 -2
- data/rbi/stripe/services/payment_intent_service.rbi +2312 -6081
- data/rbi/stripe/services/payment_link_line_item_service.rbi +5 -5
- data/rbi/stripe/services/payment_link_service.rbi +303 -201
- data/rbi/stripe/services/payment_method_configuration_service.rbi +616 -620
- data/rbi/stripe/services/payment_method_domain_service.rbi +25 -23
- data/rbi/stripe/services/payment_method_service.rbi +192 -249
- data/rbi/stripe/services/payout_service.rbi +45 -37
- data/rbi/stripe/services/plan_service.rbi +53 -55
- data/rbi/stripe/services/price_service.rbi +124 -129
- data/rbi/stripe/services/product_feature_service.rbi +9 -9
- data/rbi/stripe/services/product_service.rbi +94 -122
- data/rbi/stripe/services/promotion_code_service.rbi +46 -42
- data/rbi/stripe/services/quote_computed_upfront_line_items_service.rbi +5 -5
- data/rbi/stripe/services/quote_line_item_service.rbi +5 -5
- data/rbi/stripe/services/quote_service.rbi +159 -1863
- data/rbi/stripe/services/radar/early_fraud_warning_service.rbi +17 -15
- data/rbi/stripe/services/radar/value_list_item_service.rbi +20 -16
- data/rbi/stripe/services/radar/value_list_service.rbi +28 -24
- data/rbi/stripe/services/refund_service.rbi +37 -33
- data/rbi/stripe/services/reporting/report_run_service.rbi +29 -25
- data/rbi/stripe/services/reporting/report_type_service.rbi +4 -4
- data/rbi/stripe/services/review_service.rbi +17 -15
- data/rbi/stripe/services/setup_attempt_service.rbi +13 -11
- data/rbi/stripe/services/setup_intent_service.rbi +1028 -1062
- data/rbi/stripe/services/shipping_rate_service.rbi +47 -41
- data/rbi/stripe/services/sigma/scheduled_query_run_service.rbi +7 -7
- data/rbi/stripe/services/source_service.rbi +149 -133
- data/rbi/stripe/services/source_transaction_service.rbi +5 -5
- data/rbi/stripe/services/subscription_item_service.rbi +61 -159
- data/rbi/stripe/services/subscription_schedule_service.rbi +289 -1305
- data/rbi/stripe/services/subscription_service.rbi +366 -640
- data/rbi/stripe/services/tax/calculation_line_item_service.rbi +5 -5
- data/rbi/stripe/services/tax/calculation_service.rbi +40 -38
- data/rbi/stripe/services/tax/registration_service.rbi +337 -165
- data/rbi/stripe/services/tax/settings_service.rbi +16 -16
- data/rbi/stripe/services/tax/transaction_line_item_service.rbi +5 -5
- data/rbi/stripe/services/tax/transaction_service.rbi +19 -15
- data/rbi/stripe/services/tax_code_service.rbi +7 -7
- data/rbi/stripe/services/tax_id_service.rbi +17 -17
- data/rbi/stripe/services/tax_rate_service.rbi +36 -34
- data/rbi/stripe/services/tax_service.rbi +0 -2
- data/rbi/stripe/services/terminal/configuration_service.rbi +464 -204
- data/rbi/stripe/services/terminal/connection_token_service.rbi +3 -3
- data/rbi/stripe/services/terminal/location_service.rbi +30 -30
- data/rbi/stripe/services/terminal/reader_service.rbi +57 -226
- data/rbi/stripe/services/terminal_service.rbi +0 -1
- data/rbi/stripe/services/test_helpers/confirmation_token_service.rbi +157 -198
- data/rbi/stripe/services/test_helpers/customer_service.rbi +3 -3
- data/rbi/stripe/services/test_helpers/issuing/authorization_service.rbi +180 -168
- data/rbi/stripe/services/test_helpers/issuing/card_service.rbi +10 -10
- data/rbi/stripe/services/test_helpers/issuing/personalization_design_service.rbi +11 -9
- data/rbi/stripe/services/test_helpers/issuing/transaction_service.rbi +151 -145
- data/rbi/stripe/services/test_helpers/refund_service.rbi +2 -2
- data/rbi/stripe/services/test_helpers/terminal/reader_service.rbi +10 -39
- data/rbi/stripe/services/test_helpers/test_clock_service.rbi +14 -12
- data/rbi/stripe/services/test_helpers/treasury/inbound_transfer_service.rbi +9 -9
- data/rbi/stripe/services/test_helpers/treasury/outbound_payment_service.rbi +20 -18
- data/rbi/stripe/services/test_helpers/treasury/outbound_transfer_service.rbi +20 -18
- data/rbi/stripe/services/test_helpers/treasury/received_credit_service.rbi +11 -38
- data/rbi/stripe/services/test_helpers/treasury/received_debit_service.rbi +11 -38
- data/rbi/stripe/services/token_service.rbi +292 -258
- data/rbi/stripe/services/topup_service.rbi +37 -33
- data/rbi/stripe/services/transfer_reversal_service.rbi +18 -16
- data/rbi/stripe/services/transfer_service.rbi +29 -27
- data/rbi/stripe/services/treasury/credit_reversal_service.rbi +12 -12
- data/rbi/stripe/services/treasury/debit_reversal_service.rbi +13 -13
- data/rbi/stripe/services/treasury/financial_account_features_service.rbi +23 -26
- data/rbi/stripe/services/treasury/financial_account_service.rbi +92 -96
- data/rbi/stripe/services/treasury/inbound_transfer_service.rbi +15 -15
- data/rbi/stripe/services/treasury/outbound_payment_service.rbi +60 -56
- data/rbi/stripe/services/treasury/outbound_transfer_service.rbi +24 -49
- data/rbi/stripe/services/treasury/received_credit_service.rbi +11 -9
- data/rbi/stripe/services/treasury/received_debit_service.rbi +8 -8
- data/rbi/stripe/services/treasury/transaction_entry_service.rbi +25 -21
- data/rbi/stripe/services/treasury/transaction_service.rbi +31 -23
- data/rbi/stripe/services/v1_services.rbi +1 -7
- data/rbi/stripe/services/v2/billing/meter_event_service.rbi +3 -3
- data/rbi/stripe/services/v2/billing/meter_event_stream_service.rbi +3 -3
- data/rbi/stripe/services/v2/core/event_destination_service.rbi +21 -24
- data/rbi/stripe/services/v2/core/event_service.rbi +3 -6
- data/rbi/stripe/services/webhook_endpoint_service.rbi +20 -20
- metadata +4 -109
- data/lib/stripe/request_signing_authenticator.rb +0 -79
- data/lib/stripe/resources/account_notice.rb +0 -132
- data/lib/stripe/resources/billing/meter_error_report.rb +0 -59
- data/lib/stripe/resources/capital/financing_offer.rb +0 -188
- data/lib/stripe/resources/capital/financing_summary.rb +0 -64
- data/lib/stripe/resources/capital/financing_transaction.rb +0 -123
- data/lib/stripe/resources/financial_connections/account_inferred_balance.rb +0 -27
- data/lib/stripe/resources/financial_connections/institution.rb +0 -99
- data/lib/stripe/resources/gift_cards/card.rb +0 -217
- data/lib/stripe/resources/gift_cards/transaction.rb +0 -281
- data/lib/stripe/resources/issuing/credit_underwriting_record.rb +0 -611
- data/lib/stripe/resources/issuing/dispute_settlement_detail.rb +0 -84
- data/lib/stripe/resources/issuing/fraud_liability_debit.rb +0 -95
- data/lib/stripe/resources/issuing/settlement.rb +0 -49
- data/lib/stripe/resources/margin.rb +0 -124
- data/lib/stripe/resources/order.rb +0 -2868
- data/lib/stripe/resources/payment_attempt_record.rb +0 -184
- data/lib/stripe/resources/payment_record.rb +0 -715
- data/lib/stripe/resources/quote_line.rb +0 -274
- data/lib/stripe/resources/quote_preview_invoice.rb +0 -652
- data/lib/stripe/resources/quote_preview_subscription_schedule.rb +0 -362
- data/lib/stripe/resources/tax/association.rb +0 -89
- data/lib/stripe/resources/tax/form.rb +0 -220
- data/lib/stripe/resources/terminal/reader_collected_data.rb +0 -40
- data/lib/stripe/resources/usage_record.rb +0 -30
- data/lib/stripe/resources/usage_record_summary.rb +0 -33
- data/lib/stripe/services/account_notice_service.rb +0 -101
- data/lib/stripe/services/capital/financing_offer_service.rb +0 -112
- data/lib/stripe/services/capital/financing_summary_service.rb +0 -28
- data/lib/stripe/services/capital/financing_transaction_service.rb +0 -79
- data/lib/stripe/services/capital_service.rb +0 -15
- data/lib/stripe/services/financial_connections/account_inferred_balance_service.rb +0 -37
- data/lib/stripe/services/financial_connections/institution_service.rb +0 -57
- data/lib/stripe/services/gift_cards/card_service.rb +0 -170
- data/lib/stripe/services/gift_cards/transaction_service.rb +0 -209
- data/lib/stripe/services/gift_cards_service.rb +0 -14
- data/lib/stripe/services/invoice_upcoming_lines_service.rb +0 -1881
- data/lib/stripe/services/issuing/credit_underwriting_record_service.rb +0 -504
- data/lib/stripe/services/issuing/dispute_settlement_detail_service.rb +0 -66
- data/lib/stripe/services/issuing/fraud_liability_debit_service.rb +0 -83
- data/lib/stripe/services/margin_service.rb +0 -119
- data/lib/stripe/services/order_line_item_service.rb +0 -35
- data/lib/stripe/services/order_service.rb +0 -2268
- data/lib/stripe/services/payment_attempt_record_service.rb +0 -49
- data/lib/stripe/services/payment_record_service.rb +0 -542
- data/lib/stripe/services/quote_line_service.rb +0 -35
- data/lib/stripe/services/quote_preview_invoice_service.rb +0 -35
- data/lib/stripe/services/quote_preview_subscription_schedule_service.rb +0 -35
- data/lib/stripe/services/subscription_item_usage_record_service.rb +0 -41
- data/lib/stripe/services/subscription_item_usage_record_summary_service.rb +0 -37
- data/lib/stripe/services/tax/association_service.rb +0 -31
- data/lib/stripe/services/tax/form_service.rb +0 -100
- data/lib/stripe/services/terminal/reader_collected_data_service.rb +0 -28
- data/rbi/stripe/resources/account_notice.rbi +0 -139
- data/rbi/stripe/resources/billing/meter_error_report.rbi +0 -71
- data/rbi/stripe/resources/capital/financing_offer.rbi +0 -190
- data/rbi/stripe/resources/capital/financing_summary.rbi +0 -74
- data/rbi/stripe/resources/capital/financing_transaction.rbi +0 -130
- data/rbi/stripe/resources/financial_connections/account_inferred_balance.rbi +0 -27
- data/rbi/stripe/resources/financial_connections/institution.rbi +0 -99
- data/rbi/stripe/resources/gift_cards/card.rbi +0 -206
- data/rbi/stripe/resources/gift_cards/transaction.rbi +0 -257
- data/rbi/stripe/resources/issuing/credit_underwriting_record.rbi +0 -622
- data/rbi/stripe/resources/issuing/dispute_settlement_detail.rbi +0 -83
- data/rbi/stripe/resources/issuing/fraud_liability_debit.rbi +0 -90
- data/rbi/stripe/resources/issuing/settlement.rbi +0 -62
- data/rbi/stripe/resources/margin.rbi +0 -127
- data/rbi/stripe/resources/order.rbi +0 -3036
- data/rbi/stripe/resources/payment_attempt_record.rbi +0 -215
- data/rbi/stripe/resources/payment_record.rbi +0 -722
- data/rbi/stripe/resources/quote_line.rbi +0 -350
- data/rbi/stripe/resources/quote_preview_invoice.rbi +0 -850
- data/rbi/stripe/resources/quote_preview_subscription_schedule.rbi +0 -474
- data/rbi/stripe/resources/tax/association.rbi +0 -94
- data/rbi/stripe/resources/tax/form.rbi +0 -224
- data/rbi/stripe/resources/terminal/reader_collected_data.rbi +0 -41
- data/rbi/stripe/resources/usage_record.rbi +0 -32
- data/rbi/stripe/resources/usage_record_summary.rbi +0 -38
- data/rbi/stripe/services/account_notice_service.rbi +0 -90
- data/rbi/stripe/services/capital/financing_offer_service.rbi +0 -95
- data/rbi/stripe/services/capital/financing_summary_service.rbi +0 -22
- data/rbi/stripe/services/capital/financing_transaction_service.rbi +0 -68
- data/rbi/stripe/services/capital_service.rbi +0 -11
- data/rbi/stripe/services/financial_connections/account_inferred_balance_service.rbi +0 -33
- data/rbi/stripe/services/financial_connections/institution_service.rbi +0 -46
- data/rbi/stripe/services/gift_cards/card_service.rbi +0 -142
- data/rbi/stripe/services/gift_cards/transaction_service.rbi +0 -174
- data/rbi/stripe/services/gift_cards_service.rbi +0 -10
- data/rbi/stripe/services/invoice_upcoming_lines_service.rbi +0 -2023
- data/rbi/stripe/services/issuing/credit_underwriting_record_service.rbi +0 -498
- data/rbi/stripe/services/issuing/dispute_settlement_detail_service.rbi +0 -55
- data/rbi/stripe/services/issuing/fraud_liability_debit_service.rbi +0 -73
- data/rbi/stripe/services/margin_service.rbi +0 -104
- data/rbi/stripe/services/order_line_item_service.rbi +0 -31
- data/rbi/stripe/services/order_service.rbi +0 -2320
- data/rbi/stripe/services/payment_attempt_record_service.rbi +0 -36
- data/rbi/stripe/services/payment_record_service.rbi +0 -521
- data/rbi/stripe/services/quote_line_service.rbi +0 -31
- data/rbi/stripe/services/quote_preview_invoice_service.rbi +0 -31
- data/rbi/stripe/services/quote_preview_subscription_schedule_service.rbi +0 -31
- data/rbi/stripe/services/subscription_item_usage_record_service.rbi +0 -37
- data/rbi/stripe/services/subscription_item_usage_record_summary_service.rbi +0 -33
- data/rbi/stripe/services/tax/association_service.rbi +0 -25
- data/rbi/stripe/services/tax/form_service.rbi +0 -85
- data/rbi/stripe/services/terminal/reader_collected_data_service.rbi +0 -22
@@ -7,7 +7,7 @@ module Stripe
|
|
7
7
|
# A Configurations object represents how features should be configured for terminal readers.
|
8
8
|
class Configuration < APIResource
|
9
9
|
class BbposWiseposE < Stripe::StripeObject
|
10
|
-
# A File ID representing an image
|
10
|
+
# A File ID representing an image to display on the reader
|
11
11
|
sig { returns(T.any(String, Stripe::File)) }
|
12
12
|
attr_reader :splashscreen
|
13
13
|
end
|
@@ -25,7 +25,7 @@ module Stripe
|
|
25
25
|
attr_reader :start_hour
|
26
26
|
end
|
27
27
|
class StripeS700 < Stripe::StripeObject
|
28
|
-
# A File ID representing an image
|
28
|
+
# A File ID representing an image to display on the reader
|
29
29
|
sig { returns(T.any(String, Stripe::File)) }
|
30
30
|
attr_reader :splashscreen
|
31
31
|
end
|
@@ -256,10 +256,63 @@ module Stripe
|
|
256
256
|
attr_reader :usd
|
257
257
|
end
|
258
258
|
class VerifoneP400 < Stripe::StripeObject
|
259
|
-
# A File ID representing an image
|
259
|
+
# A File ID representing an image to display on the reader
|
260
260
|
sig { returns(T.any(String, Stripe::File)) }
|
261
261
|
attr_reader :splashscreen
|
262
262
|
end
|
263
|
+
class Wifi < Stripe::StripeObject
|
264
|
+
class EnterpriseEapPeap < Stripe::StripeObject
|
265
|
+
# A File ID representing a PEM file containing the server certificate
|
266
|
+
sig { returns(String) }
|
267
|
+
attr_reader :ca_certificate_file
|
268
|
+
# Password for connecting to the WiFi network
|
269
|
+
sig { returns(String) }
|
270
|
+
attr_reader :password
|
271
|
+
# Name of the WiFi network
|
272
|
+
sig { returns(String) }
|
273
|
+
attr_reader :ssid
|
274
|
+
# Username for connecting to the WiFi network
|
275
|
+
sig { returns(String) }
|
276
|
+
attr_reader :username
|
277
|
+
end
|
278
|
+
class EnterpriseEapTls < Stripe::StripeObject
|
279
|
+
# A File ID representing a PEM file containing the server certificate
|
280
|
+
sig { returns(String) }
|
281
|
+
attr_reader :ca_certificate_file
|
282
|
+
# A File ID representing a PEM file containing the client certificate
|
283
|
+
sig { returns(String) }
|
284
|
+
attr_reader :client_certificate_file
|
285
|
+
# A File ID representing a PEM file containing the client RSA private key
|
286
|
+
sig { returns(String) }
|
287
|
+
attr_reader :private_key_file
|
288
|
+
# Password for the private key file
|
289
|
+
sig { returns(String) }
|
290
|
+
attr_reader :private_key_file_password
|
291
|
+
# Name of the WiFi network
|
292
|
+
sig { returns(String) }
|
293
|
+
attr_reader :ssid
|
294
|
+
end
|
295
|
+
class PersonalPsk < Stripe::StripeObject
|
296
|
+
# Password for connecting to the WiFi network
|
297
|
+
sig { returns(String) }
|
298
|
+
attr_reader :password
|
299
|
+
# Name of the WiFi network
|
300
|
+
sig { returns(String) }
|
301
|
+
attr_reader :ssid
|
302
|
+
end
|
303
|
+
# Attribute for field enterprise_eap_peap
|
304
|
+
sig { returns(EnterpriseEapPeap) }
|
305
|
+
attr_reader :enterprise_eap_peap
|
306
|
+
# Attribute for field enterprise_eap_tls
|
307
|
+
sig { returns(EnterpriseEapTls) }
|
308
|
+
attr_reader :enterprise_eap_tls
|
309
|
+
# Attribute for field personal_psk
|
310
|
+
sig { returns(PersonalPsk) }
|
311
|
+
attr_reader :personal_psk
|
312
|
+
# Security type of the WiFi network. The hash with the corresponding name contains the credentials for this security type.
|
313
|
+
sig { returns(String) }
|
314
|
+
attr_reader :type
|
315
|
+
end
|
263
316
|
# Attribute for field bbpos_wisepos_e
|
264
317
|
sig { returns(BbposWiseposE) }
|
265
318
|
attr_reader :bbpos_wisepos_e
|
@@ -293,25 +346,21 @@ module Stripe
|
|
293
346
|
# Attribute for field verifone_p400
|
294
347
|
sig { returns(VerifoneP400) }
|
295
348
|
attr_reader :verifone_p400
|
349
|
+
# Attribute for field wifi
|
350
|
+
sig { returns(Wifi) }
|
351
|
+
attr_reader :wifi
|
296
352
|
# Always true for a deleted object
|
297
353
|
sig { returns(T::Boolean) }
|
298
354
|
attr_reader :deleted
|
299
355
|
class DeleteParams < Stripe::RequestParams
|
300
356
|
|
301
|
-
end
|
302
|
-
class RetrieveParams < Stripe::RequestParams
|
303
|
-
# Specifies which fields in the response should be expanded.
|
304
|
-
sig { returns(T::Array[String]) }
|
305
|
-
attr_accessor :expand
|
306
|
-
sig { params(expand: T::Array[String]).void }
|
307
|
-
def initialize(expand: nil); end
|
308
357
|
end
|
309
358
|
class UpdateParams < Stripe::RequestParams
|
310
359
|
class BbposWiseposE < Stripe::RequestParams
|
311
|
-
# A File ID representing an image
|
312
|
-
sig { returns(T.nilable(String)) }
|
360
|
+
# A File ID representing an image to display on the reader
|
361
|
+
sig { returns(T.nilable(T.nilable(String))) }
|
313
362
|
attr_accessor :splashscreen
|
314
|
-
sig { params(splashscreen: T.nilable(String)).void }
|
363
|
+
sig { params(splashscreen: T.nilable(T.nilable(String))).void }
|
315
364
|
def initialize(splashscreen: nil); end
|
316
365
|
end
|
317
366
|
class Offline < Stripe::RequestParams
|
@@ -333,302 +382,302 @@ module Stripe
|
|
333
382
|
end
|
334
383
|
class StripeS700 < Stripe::RequestParams
|
335
384
|
# A File ID representing an image you would like displayed on the reader.
|
336
|
-
sig { returns(T.nilable(String)) }
|
385
|
+
sig { returns(T.nilable(T.nilable(String))) }
|
337
386
|
attr_accessor :splashscreen
|
338
|
-
sig { params(splashscreen: T.nilable(String)).void }
|
387
|
+
sig { params(splashscreen: T.nilable(T.nilable(String))).void }
|
339
388
|
def initialize(splashscreen: nil); end
|
340
389
|
end
|
341
390
|
class Tipping < Stripe::RequestParams
|
342
391
|
class Aud < Stripe::RequestParams
|
343
392
|
# Fixed amounts displayed when collecting a tip
|
344
|
-
sig { returns(T::Array[Integer]) }
|
393
|
+
sig { returns(T.nilable(T::Array[Integer])) }
|
345
394
|
attr_accessor :fixed_amounts
|
346
395
|
# Percentages displayed when collecting a tip
|
347
|
-
sig { returns(T::Array[Integer]) }
|
396
|
+
sig { returns(T.nilable(T::Array[Integer])) }
|
348
397
|
attr_accessor :percentages
|
349
398
|
# Below this amount, fixed amounts will be displayed; above it, percentages will be displayed
|
350
|
-
sig { returns(Integer) }
|
399
|
+
sig { returns(T.nilable(Integer)) }
|
351
400
|
attr_accessor :smart_tip_threshold
|
352
401
|
sig {
|
353
|
-
params(fixed_amounts: T::Array[Integer], percentages: T::Array[Integer], smart_tip_threshold: Integer).void
|
402
|
+
params(fixed_amounts: T.nilable(T::Array[Integer]), percentages: T.nilable(T::Array[Integer]), smart_tip_threshold: T.nilable(Integer)).void
|
354
403
|
}
|
355
404
|
def initialize(fixed_amounts: nil, percentages: nil, smart_tip_threshold: nil); end
|
356
405
|
end
|
357
406
|
class Cad < Stripe::RequestParams
|
358
407
|
# Fixed amounts displayed when collecting a tip
|
359
|
-
sig { returns(T::Array[Integer]) }
|
408
|
+
sig { returns(T.nilable(T::Array[Integer])) }
|
360
409
|
attr_accessor :fixed_amounts
|
361
410
|
# Percentages displayed when collecting a tip
|
362
|
-
sig { returns(T::Array[Integer]) }
|
411
|
+
sig { returns(T.nilable(T::Array[Integer])) }
|
363
412
|
attr_accessor :percentages
|
364
413
|
# Below this amount, fixed amounts will be displayed; above it, percentages will be displayed
|
365
|
-
sig { returns(Integer) }
|
414
|
+
sig { returns(T.nilable(Integer)) }
|
366
415
|
attr_accessor :smart_tip_threshold
|
367
416
|
sig {
|
368
|
-
params(fixed_amounts: T::Array[Integer], percentages: T::Array[Integer], smart_tip_threshold: Integer).void
|
417
|
+
params(fixed_amounts: T.nilable(T::Array[Integer]), percentages: T.nilable(T::Array[Integer]), smart_tip_threshold: T.nilable(Integer)).void
|
369
418
|
}
|
370
419
|
def initialize(fixed_amounts: nil, percentages: nil, smart_tip_threshold: nil); end
|
371
420
|
end
|
372
421
|
class Chf < Stripe::RequestParams
|
373
422
|
# Fixed amounts displayed when collecting a tip
|
374
|
-
sig { returns(T::Array[Integer]) }
|
423
|
+
sig { returns(T.nilable(T::Array[Integer])) }
|
375
424
|
attr_accessor :fixed_amounts
|
376
425
|
# Percentages displayed when collecting a tip
|
377
|
-
sig { returns(T::Array[Integer]) }
|
426
|
+
sig { returns(T.nilable(T::Array[Integer])) }
|
378
427
|
attr_accessor :percentages
|
379
428
|
# Below this amount, fixed amounts will be displayed; above it, percentages will be displayed
|
380
|
-
sig { returns(Integer) }
|
429
|
+
sig { returns(T.nilable(Integer)) }
|
381
430
|
attr_accessor :smart_tip_threshold
|
382
431
|
sig {
|
383
|
-
params(fixed_amounts: T::Array[Integer], percentages: T::Array[Integer], smart_tip_threshold: Integer).void
|
432
|
+
params(fixed_amounts: T.nilable(T::Array[Integer]), percentages: T.nilable(T::Array[Integer]), smart_tip_threshold: T.nilable(Integer)).void
|
384
433
|
}
|
385
434
|
def initialize(fixed_amounts: nil, percentages: nil, smart_tip_threshold: nil); end
|
386
435
|
end
|
387
436
|
class Czk < Stripe::RequestParams
|
388
437
|
# Fixed amounts displayed when collecting a tip
|
389
|
-
sig { returns(T::Array[Integer]) }
|
438
|
+
sig { returns(T.nilable(T::Array[Integer])) }
|
390
439
|
attr_accessor :fixed_amounts
|
391
440
|
# Percentages displayed when collecting a tip
|
392
|
-
sig { returns(T::Array[Integer]) }
|
441
|
+
sig { returns(T.nilable(T::Array[Integer])) }
|
393
442
|
attr_accessor :percentages
|
394
443
|
# Below this amount, fixed amounts will be displayed; above it, percentages will be displayed
|
395
|
-
sig { returns(Integer) }
|
444
|
+
sig { returns(T.nilable(Integer)) }
|
396
445
|
attr_accessor :smart_tip_threshold
|
397
446
|
sig {
|
398
|
-
params(fixed_amounts: T::Array[Integer], percentages: T::Array[Integer], smart_tip_threshold: Integer).void
|
447
|
+
params(fixed_amounts: T.nilable(T::Array[Integer]), percentages: T.nilable(T::Array[Integer]), smart_tip_threshold: T.nilable(Integer)).void
|
399
448
|
}
|
400
449
|
def initialize(fixed_amounts: nil, percentages: nil, smart_tip_threshold: nil); end
|
401
450
|
end
|
402
451
|
class Dkk < Stripe::RequestParams
|
403
452
|
# Fixed amounts displayed when collecting a tip
|
404
|
-
sig { returns(T::Array[Integer]) }
|
453
|
+
sig { returns(T.nilable(T::Array[Integer])) }
|
405
454
|
attr_accessor :fixed_amounts
|
406
455
|
# Percentages displayed when collecting a tip
|
407
|
-
sig { returns(T::Array[Integer]) }
|
456
|
+
sig { returns(T.nilable(T::Array[Integer])) }
|
408
457
|
attr_accessor :percentages
|
409
458
|
# Below this amount, fixed amounts will be displayed; above it, percentages will be displayed
|
410
|
-
sig { returns(Integer) }
|
459
|
+
sig { returns(T.nilable(Integer)) }
|
411
460
|
attr_accessor :smart_tip_threshold
|
412
461
|
sig {
|
413
|
-
params(fixed_amounts: T::Array[Integer], percentages: T::Array[Integer], smart_tip_threshold: Integer).void
|
462
|
+
params(fixed_amounts: T.nilable(T::Array[Integer]), percentages: T.nilable(T::Array[Integer]), smart_tip_threshold: T.nilable(Integer)).void
|
414
463
|
}
|
415
464
|
def initialize(fixed_amounts: nil, percentages: nil, smart_tip_threshold: nil); end
|
416
465
|
end
|
417
466
|
class Eur < Stripe::RequestParams
|
418
467
|
# Fixed amounts displayed when collecting a tip
|
419
|
-
sig { returns(T::Array[Integer]) }
|
468
|
+
sig { returns(T.nilable(T::Array[Integer])) }
|
420
469
|
attr_accessor :fixed_amounts
|
421
470
|
# Percentages displayed when collecting a tip
|
422
|
-
sig { returns(T::Array[Integer]) }
|
471
|
+
sig { returns(T.nilable(T::Array[Integer])) }
|
423
472
|
attr_accessor :percentages
|
424
473
|
# Below this amount, fixed amounts will be displayed; above it, percentages will be displayed
|
425
|
-
sig { returns(Integer) }
|
474
|
+
sig { returns(T.nilable(Integer)) }
|
426
475
|
attr_accessor :smart_tip_threshold
|
427
476
|
sig {
|
428
|
-
params(fixed_amounts: T::Array[Integer], percentages: T::Array[Integer], smart_tip_threshold: Integer).void
|
477
|
+
params(fixed_amounts: T.nilable(T::Array[Integer]), percentages: T.nilable(T::Array[Integer]), smart_tip_threshold: T.nilable(Integer)).void
|
429
478
|
}
|
430
479
|
def initialize(fixed_amounts: nil, percentages: nil, smart_tip_threshold: nil); end
|
431
480
|
end
|
432
481
|
class Gbp < Stripe::RequestParams
|
433
482
|
# Fixed amounts displayed when collecting a tip
|
434
|
-
sig { returns(T::Array[Integer]) }
|
483
|
+
sig { returns(T.nilable(T::Array[Integer])) }
|
435
484
|
attr_accessor :fixed_amounts
|
436
485
|
# Percentages displayed when collecting a tip
|
437
|
-
sig { returns(T::Array[Integer]) }
|
486
|
+
sig { returns(T.nilable(T::Array[Integer])) }
|
438
487
|
attr_accessor :percentages
|
439
488
|
# Below this amount, fixed amounts will be displayed; above it, percentages will be displayed
|
440
|
-
sig { returns(Integer) }
|
489
|
+
sig { returns(T.nilable(Integer)) }
|
441
490
|
attr_accessor :smart_tip_threshold
|
442
491
|
sig {
|
443
|
-
params(fixed_amounts: T::Array[Integer], percentages: T::Array[Integer], smart_tip_threshold: Integer).void
|
492
|
+
params(fixed_amounts: T.nilable(T::Array[Integer]), percentages: T.nilable(T::Array[Integer]), smart_tip_threshold: T.nilable(Integer)).void
|
444
493
|
}
|
445
494
|
def initialize(fixed_amounts: nil, percentages: nil, smart_tip_threshold: nil); end
|
446
495
|
end
|
447
496
|
class Hkd < Stripe::RequestParams
|
448
497
|
# Fixed amounts displayed when collecting a tip
|
449
|
-
sig { returns(T::Array[Integer]) }
|
498
|
+
sig { returns(T.nilable(T::Array[Integer])) }
|
450
499
|
attr_accessor :fixed_amounts
|
451
500
|
# Percentages displayed when collecting a tip
|
452
|
-
sig { returns(T::Array[Integer]) }
|
501
|
+
sig { returns(T.nilable(T::Array[Integer])) }
|
453
502
|
attr_accessor :percentages
|
454
503
|
# Below this amount, fixed amounts will be displayed; above it, percentages will be displayed
|
455
|
-
sig { returns(Integer) }
|
504
|
+
sig { returns(T.nilable(Integer)) }
|
456
505
|
attr_accessor :smart_tip_threshold
|
457
506
|
sig {
|
458
|
-
params(fixed_amounts: T::Array[Integer], percentages: T::Array[Integer], smart_tip_threshold: Integer).void
|
507
|
+
params(fixed_amounts: T.nilable(T::Array[Integer]), percentages: T.nilable(T::Array[Integer]), smart_tip_threshold: T.nilable(Integer)).void
|
459
508
|
}
|
460
509
|
def initialize(fixed_amounts: nil, percentages: nil, smart_tip_threshold: nil); end
|
461
510
|
end
|
462
511
|
class Jpy < Stripe::RequestParams
|
463
512
|
# Fixed amounts displayed when collecting a tip
|
464
|
-
sig { returns(T::Array[Integer]) }
|
513
|
+
sig { returns(T.nilable(T::Array[Integer])) }
|
465
514
|
attr_accessor :fixed_amounts
|
466
515
|
# Percentages displayed when collecting a tip
|
467
|
-
sig { returns(T::Array[Integer]) }
|
516
|
+
sig { returns(T.nilable(T::Array[Integer])) }
|
468
517
|
attr_accessor :percentages
|
469
518
|
# Below this amount, fixed amounts will be displayed; above it, percentages will be displayed
|
470
|
-
sig { returns(Integer) }
|
519
|
+
sig { returns(T.nilable(Integer)) }
|
471
520
|
attr_accessor :smart_tip_threshold
|
472
521
|
sig {
|
473
|
-
params(fixed_amounts: T::Array[Integer], percentages: T::Array[Integer], smart_tip_threshold: Integer).void
|
522
|
+
params(fixed_amounts: T.nilable(T::Array[Integer]), percentages: T.nilable(T::Array[Integer]), smart_tip_threshold: T.nilable(Integer)).void
|
474
523
|
}
|
475
524
|
def initialize(fixed_amounts: nil, percentages: nil, smart_tip_threshold: nil); end
|
476
525
|
end
|
477
526
|
class Myr < Stripe::RequestParams
|
478
527
|
# Fixed amounts displayed when collecting a tip
|
479
|
-
sig { returns(T::Array[Integer]) }
|
528
|
+
sig { returns(T.nilable(T::Array[Integer])) }
|
480
529
|
attr_accessor :fixed_amounts
|
481
530
|
# Percentages displayed when collecting a tip
|
482
|
-
sig { returns(T::Array[Integer]) }
|
531
|
+
sig { returns(T.nilable(T::Array[Integer])) }
|
483
532
|
attr_accessor :percentages
|
484
533
|
# Below this amount, fixed amounts will be displayed; above it, percentages will be displayed
|
485
|
-
sig { returns(Integer) }
|
534
|
+
sig { returns(T.nilable(Integer)) }
|
486
535
|
attr_accessor :smart_tip_threshold
|
487
536
|
sig {
|
488
|
-
params(fixed_amounts: T::Array[Integer], percentages: T::Array[Integer], smart_tip_threshold: Integer).void
|
537
|
+
params(fixed_amounts: T.nilable(T::Array[Integer]), percentages: T.nilable(T::Array[Integer]), smart_tip_threshold: T.nilable(Integer)).void
|
489
538
|
}
|
490
539
|
def initialize(fixed_amounts: nil, percentages: nil, smart_tip_threshold: nil); end
|
491
540
|
end
|
492
541
|
class Nok < Stripe::RequestParams
|
493
542
|
# Fixed amounts displayed when collecting a tip
|
494
|
-
sig { returns(T::Array[Integer]) }
|
543
|
+
sig { returns(T.nilable(T::Array[Integer])) }
|
495
544
|
attr_accessor :fixed_amounts
|
496
545
|
# Percentages displayed when collecting a tip
|
497
|
-
sig { returns(T::Array[Integer]) }
|
546
|
+
sig { returns(T.nilable(T::Array[Integer])) }
|
498
547
|
attr_accessor :percentages
|
499
548
|
# Below this amount, fixed amounts will be displayed; above it, percentages will be displayed
|
500
|
-
sig { returns(Integer) }
|
549
|
+
sig { returns(T.nilable(Integer)) }
|
501
550
|
attr_accessor :smart_tip_threshold
|
502
551
|
sig {
|
503
|
-
params(fixed_amounts: T::Array[Integer], percentages: T::Array[Integer], smart_tip_threshold: Integer).void
|
552
|
+
params(fixed_amounts: T.nilable(T::Array[Integer]), percentages: T.nilable(T::Array[Integer]), smart_tip_threshold: T.nilable(Integer)).void
|
504
553
|
}
|
505
554
|
def initialize(fixed_amounts: nil, percentages: nil, smart_tip_threshold: nil); end
|
506
555
|
end
|
507
556
|
class Nzd < Stripe::RequestParams
|
508
557
|
# Fixed amounts displayed when collecting a tip
|
509
|
-
sig { returns(T::Array[Integer]) }
|
558
|
+
sig { returns(T.nilable(T::Array[Integer])) }
|
510
559
|
attr_accessor :fixed_amounts
|
511
560
|
# Percentages displayed when collecting a tip
|
512
|
-
sig { returns(T::Array[Integer]) }
|
561
|
+
sig { returns(T.nilable(T::Array[Integer])) }
|
513
562
|
attr_accessor :percentages
|
514
563
|
# Below this amount, fixed amounts will be displayed; above it, percentages will be displayed
|
515
|
-
sig { returns(Integer) }
|
564
|
+
sig { returns(T.nilable(Integer)) }
|
516
565
|
attr_accessor :smart_tip_threshold
|
517
566
|
sig {
|
518
|
-
params(fixed_amounts: T::Array[Integer], percentages: T::Array[Integer], smart_tip_threshold: Integer).void
|
567
|
+
params(fixed_amounts: T.nilable(T::Array[Integer]), percentages: T.nilable(T::Array[Integer]), smart_tip_threshold: T.nilable(Integer)).void
|
519
568
|
}
|
520
569
|
def initialize(fixed_amounts: nil, percentages: nil, smart_tip_threshold: nil); end
|
521
570
|
end
|
522
571
|
class Pln < Stripe::RequestParams
|
523
572
|
# Fixed amounts displayed when collecting a tip
|
524
|
-
sig { returns(T::Array[Integer]) }
|
573
|
+
sig { returns(T.nilable(T::Array[Integer])) }
|
525
574
|
attr_accessor :fixed_amounts
|
526
575
|
# Percentages displayed when collecting a tip
|
527
|
-
sig { returns(T::Array[Integer]) }
|
576
|
+
sig { returns(T.nilable(T::Array[Integer])) }
|
528
577
|
attr_accessor :percentages
|
529
578
|
# Below this amount, fixed amounts will be displayed; above it, percentages will be displayed
|
530
|
-
sig { returns(Integer) }
|
579
|
+
sig { returns(T.nilable(Integer)) }
|
531
580
|
attr_accessor :smart_tip_threshold
|
532
581
|
sig {
|
533
|
-
params(fixed_amounts: T::Array[Integer], percentages: T::Array[Integer], smart_tip_threshold: Integer).void
|
582
|
+
params(fixed_amounts: T.nilable(T::Array[Integer]), percentages: T.nilable(T::Array[Integer]), smart_tip_threshold: T.nilable(Integer)).void
|
534
583
|
}
|
535
584
|
def initialize(fixed_amounts: nil, percentages: nil, smart_tip_threshold: nil); end
|
536
585
|
end
|
537
586
|
class Sek < Stripe::RequestParams
|
538
587
|
# Fixed amounts displayed when collecting a tip
|
539
|
-
sig { returns(T::Array[Integer]) }
|
588
|
+
sig { returns(T.nilable(T::Array[Integer])) }
|
540
589
|
attr_accessor :fixed_amounts
|
541
590
|
# Percentages displayed when collecting a tip
|
542
|
-
sig { returns(T::Array[Integer]) }
|
591
|
+
sig { returns(T.nilable(T::Array[Integer])) }
|
543
592
|
attr_accessor :percentages
|
544
593
|
# Below this amount, fixed amounts will be displayed; above it, percentages will be displayed
|
545
|
-
sig { returns(Integer) }
|
594
|
+
sig { returns(T.nilable(Integer)) }
|
546
595
|
attr_accessor :smart_tip_threshold
|
547
596
|
sig {
|
548
|
-
params(fixed_amounts: T::Array[Integer], percentages: T::Array[Integer], smart_tip_threshold: Integer).void
|
597
|
+
params(fixed_amounts: T.nilable(T::Array[Integer]), percentages: T.nilable(T::Array[Integer]), smart_tip_threshold: T.nilable(Integer)).void
|
549
598
|
}
|
550
599
|
def initialize(fixed_amounts: nil, percentages: nil, smart_tip_threshold: nil); end
|
551
600
|
end
|
552
601
|
class Sgd < Stripe::RequestParams
|
553
602
|
# Fixed amounts displayed when collecting a tip
|
554
|
-
sig { returns(T::Array[Integer]) }
|
603
|
+
sig { returns(T.nilable(T::Array[Integer])) }
|
555
604
|
attr_accessor :fixed_amounts
|
556
605
|
# Percentages displayed when collecting a tip
|
557
|
-
sig { returns(T::Array[Integer]) }
|
606
|
+
sig { returns(T.nilable(T::Array[Integer])) }
|
558
607
|
attr_accessor :percentages
|
559
608
|
# Below this amount, fixed amounts will be displayed; above it, percentages will be displayed
|
560
|
-
sig { returns(Integer) }
|
609
|
+
sig { returns(T.nilable(Integer)) }
|
561
610
|
attr_accessor :smart_tip_threshold
|
562
611
|
sig {
|
563
|
-
params(fixed_amounts: T::Array[Integer], percentages: T::Array[Integer], smart_tip_threshold: Integer).void
|
612
|
+
params(fixed_amounts: T.nilable(T::Array[Integer]), percentages: T.nilable(T::Array[Integer]), smart_tip_threshold: T.nilable(Integer)).void
|
564
613
|
}
|
565
614
|
def initialize(fixed_amounts: nil, percentages: nil, smart_tip_threshold: nil); end
|
566
615
|
end
|
567
616
|
class Usd < Stripe::RequestParams
|
568
617
|
# Fixed amounts displayed when collecting a tip
|
569
|
-
sig { returns(T::Array[Integer]) }
|
618
|
+
sig { returns(T.nilable(T::Array[Integer])) }
|
570
619
|
attr_accessor :fixed_amounts
|
571
620
|
# Percentages displayed when collecting a tip
|
572
|
-
sig { returns(T::Array[Integer]) }
|
621
|
+
sig { returns(T.nilable(T::Array[Integer])) }
|
573
622
|
attr_accessor :percentages
|
574
623
|
# Below this amount, fixed amounts will be displayed; above it, percentages will be displayed
|
575
|
-
sig { returns(Integer) }
|
624
|
+
sig { returns(T.nilable(Integer)) }
|
576
625
|
attr_accessor :smart_tip_threshold
|
577
626
|
sig {
|
578
|
-
params(fixed_amounts: T::Array[Integer], percentages: T::Array[Integer], smart_tip_threshold: Integer).void
|
627
|
+
params(fixed_amounts: T.nilable(T::Array[Integer]), percentages: T.nilable(T::Array[Integer]), smart_tip_threshold: T.nilable(Integer)).void
|
579
628
|
}
|
580
629
|
def initialize(fixed_amounts: nil, percentages: nil, smart_tip_threshold: nil); end
|
581
630
|
end
|
582
631
|
# Tipping configuration for AUD
|
583
|
-
sig { returns(::Stripe::Terminal::Configuration::UpdateParams::Tipping::Aud) }
|
632
|
+
sig { returns(T.nilable(::Stripe::Terminal::Configuration::UpdateParams::Tipping::Aud)) }
|
584
633
|
attr_accessor :aud
|
585
634
|
# Tipping configuration for CAD
|
586
|
-
sig { returns(::Stripe::Terminal::Configuration::UpdateParams::Tipping::Cad) }
|
635
|
+
sig { returns(T.nilable(::Stripe::Terminal::Configuration::UpdateParams::Tipping::Cad)) }
|
587
636
|
attr_accessor :cad
|
588
637
|
# Tipping configuration for CHF
|
589
|
-
sig { returns(::Stripe::Terminal::Configuration::UpdateParams::Tipping::Chf) }
|
638
|
+
sig { returns(T.nilable(::Stripe::Terminal::Configuration::UpdateParams::Tipping::Chf)) }
|
590
639
|
attr_accessor :chf
|
591
640
|
# Tipping configuration for CZK
|
592
|
-
sig { returns(::Stripe::Terminal::Configuration::UpdateParams::Tipping::Czk) }
|
641
|
+
sig { returns(T.nilable(::Stripe::Terminal::Configuration::UpdateParams::Tipping::Czk)) }
|
593
642
|
attr_accessor :czk
|
594
643
|
# Tipping configuration for DKK
|
595
|
-
sig { returns(::Stripe::Terminal::Configuration::UpdateParams::Tipping::Dkk) }
|
644
|
+
sig { returns(T.nilable(::Stripe::Terminal::Configuration::UpdateParams::Tipping::Dkk)) }
|
596
645
|
attr_accessor :dkk
|
597
646
|
# Tipping configuration for EUR
|
598
|
-
sig { returns(::Stripe::Terminal::Configuration::UpdateParams::Tipping::Eur) }
|
647
|
+
sig { returns(T.nilable(::Stripe::Terminal::Configuration::UpdateParams::Tipping::Eur)) }
|
599
648
|
attr_accessor :eur
|
600
649
|
# Tipping configuration for GBP
|
601
|
-
sig { returns(::Stripe::Terminal::Configuration::UpdateParams::Tipping::Gbp) }
|
650
|
+
sig { returns(T.nilable(::Stripe::Terminal::Configuration::UpdateParams::Tipping::Gbp)) }
|
602
651
|
attr_accessor :gbp
|
603
652
|
# Tipping configuration for HKD
|
604
|
-
sig { returns(::Stripe::Terminal::Configuration::UpdateParams::Tipping::Hkd) }
|
653
|
+
sig { returns(T.nilable(::Stripe::Terminal::Configuration::UpdateParams::Tipping::Hkd)) }
|
605
654
|
attr_accessor :hkd
|
606
655
|
# Tipping configuration for JPY
|
607
|
-
sig { returns(::Stripe::Terminal::Configuration::UpdateParams::Tipping::Jpy) }
|
656
|
+
sig { returns(T.nilable(::Stripe::Terminal::Configuration::UpdateParams::Tipping::Jpy)) }
|
608
657
|
attr_accessor :jpy
|
609
658
|
# Tipping configuration for MYR
|
610
|
-
sig { returns(::Stripe::Terminal::Configuration::UpdateParams::Tipping::Myr) }
|
659
|
+
sig { returns(T.nilable(::Stripe::Terminal::Configuration::UpdateParams::Tipping::Myr)) }
|
611
660
|
attr_accessor :myr
|
612
661
|
# Tipping configuration for NOK
|
613
|
-
sig { returns(::Stripe::Terminal::Configuration::UpdateParams::Tipping::Nok) }
|
662
|
+
sig { returns(T.nilable(::Stripe::Terminal::Configuration::UpdateParams::Tipping::Nok)) }
|
614
663
|
attr_accessor :nok
|
615
664
|
# Tipping configuration for NZD
|
616
|
-
sig { returns(::Stripe::Terminal::Configuration::UpdateParams::Tipping::Nzd) }
|
665
|
+
sig { returns(T.nilable(::Stripe::Terminal::Configuration::UpdateParams::Tipping::Nzd)) }
|
617
666
|
attr_accessor :nzd
|
618
667
|
# Tipping configuration for PLN
|
619
|
-
sig { returns(::Stripe::Terminal::Configuration::UpdateParams::Tipping::Pln) }
|
668
|
+
sig { returns(T.nilable(::Stripe::Terminal::Configuration::UpdateParams::Tipping::Pln)) }
|
620
669
|
attr_accessor :pln
|
621
670
|
# Tipping configuration for SEK
|
622
|
-
sig { returns(::Stripe::Terminal::Configuration::UpdateParams::Tipping::Sek) }
|
671
|
+
sig { returns(T.nilable(::Stripe::Terminal::Configuration::UpdateParams::Tipping::Sek)) }
|
623
672
|
attr_accessor :sek
|
624
673
|
# Tipping configuration for SGD
|
625
|
-
sig { returns(::Stripe::Terminal::Configuration::UpdateParams::Tipping::Sgd) }
|
674
|
+
sig { returns(T.nilable(::Stripe::Terminal::Configuration::UpdateParams::Tipping::Sgd)) }
|
626
675
|
attr_accessor :sgd
|
627
676
|
# Tipping configuration for USD
|
628
|
-
sig { returns(::Stripe::Terminal::Configuration::UpdateParams::Tipping::Usd) }
|
677
|
+
sig { returns(T.nilable(::Stripe::Terminal::Configuration::UpdateParams::Tipping::Usd)) }
|
629
678
|
attr_accessor :usd
|
630
679
|
sig {
|
631
|
-
params(aud: ::Stripe::Terminal::Configuration::UpdateParams::Tipping::Aud, cad: ::Stripe::Terminal::Configuration::UpdateParams::Tipping::Cad, chf: ::Stripe::Terminal::Configuration::UpdateParams::Tipping::Chf, czk: ::Stripe::Terminal::Configuration::UpdateParams::Tipping::Czk, dkk: ::Stripe::Terminal::Configuration::UpdateParams::Tipping::Dkk, eur: ::Stripe::Terminal::Configuration::UpdateParams::Tipping::Eur, gbp: ::Stripe::Terminal::Configuration::UpdateParams::Tipping::Gbp, hkd: ::Stripe::Terminal::Configuration::UpdateParams::Tipping::Hkd, jpy: ::Stripe::Terminal::Configuration::UpdateParams::Tipping::Jpy, myr: ::Stripe::Terminal::Configuration::UpdateParams::Tipping::Myr, nok: ::Stripe::Terminal::Configuration::UpdateParams::Tipping::Nok, nzd: ::Stripe::Terminal::Configuration::UpdateParams::Tipping::Nzd, pln: ::Stripe::Terminal::Configuration::UpdateParams::Tipping::Pln, sek: ::Stripe::Terminal::Configuration::UpdateParams::Tipping::Sek, sgd: ::Stripe::Terminal::Configuration::UpdateParams::Tipping::Sgd, usd: ::Stripe::Terminal::Configuration::UpdateParams::Tipping::Usd).void
|
680
|
+
params(aud: T.nilable(::Stripe::Terminal::Configuration::UpdateParams::Tipping::Aud), cad: T.nilable(::Stripe::Terminal::Configuration::UpdateParams::Tipping::Cad), chf: T.nilable(::Stripe::Terminal::Configuration::UpdateParams::Tipping::Chf), czk: T.nilable(::Stripe::Terminal::Configuration::UpdateParams::Tipping::Czk), dkk: T.nilable(::Stripe::Terminal::Configuration::UpdateParams::Tipping::Dkk), eur: T.nilable(::Stripe::Terminal::Configuration::UpdateParams::Tipping::Eur), gbp: T.nilable(::Stripe::Terminal::Configuration::UpdateParams::Tipping::Gbp), hkd: T.nilable(::Stripe::Terminal::Configuration::UpdateParams::Tipping::Hkd), jpy: T.nilable(::Stripe::Terminal::Configuration::UpdateParams::Tipping::Jpy), myr: T.nilable(::Stripe::Terminal::Configuration::UpdateParams::Tipping::Myr), nok: T.nilable(::Stripe::Terminal::Configuration::UpdateParams::Tipping::Nok), nzd: T.nilable(::Stripe::Terminal::Configuration::UpdateParams::Tipping::Nzd), pln: T.nilable(::Stripe::Terminal::Configuration::UpdateParams::Tipping::Pln), sek: T.nilable(::Stripe::Terminal::Configuration::UpdateParams::Tipping::Sek), sgd: T.nilable(::Stripe::Terminal::Configuration::UpdateParams::Tipping::Sgd), usd: T.nilable(::Stripe::Terminal::Configuration::UpdateParams::Tipping::Usd)).void
|
632
681
|
}
|
633
682
|
def initialize(
|
634
683
|
aud: nil,
|
@@ -651,37 +700,138 @@ module Stripe
|
|
651
700
|
end
|
652
701
|
class VerifoneP400 < Stripe::RequestParams
|
653
702
|
# A File ID representing an image you would like displayed on the reader.
|
654
|
-
sig { returns(T.nilable(String)) }
|
703
|
+
sig { returns(T.nilable(T.nilable(String))) }
|
655
704
|
attr_accessor :splashscreen
|
656
|
-
sig { params(splashscreen: T.nilable(String)).void }
|
705
|
+
sig { params(splashscreen: T.nilable(T.nilable(String))).void }
|
657
706
|
def initialize(splashscreen: nil); end
|
658
707
|
end
|
708
|
+
class Wifi < Stripe::RequestParams
|
709
|
+
class EnterpriseEapPeap < Stripe::RequestParams
|
710
|
+
# A File ID representing a PEM file containing the server certificate
|
711
|
+
sig { returns(T.nilable(String)) }
|
712
|
+
attr_accessor :ca_certificate_file
|
713
|
+
# Password for connecting to the WiFi network
|
714
|
+
sig { returns(String) }
|
715
|
+
attr_accessor :password
|
716
|
+
# Name of the WiFi network
|
717
|
+
sig { returns(String) }
|
718
|
+
attr_accessor :ssid
|
719
|
+
# Username for connecting to the WiFi network
|
720
|
+
sig { returns(String) }
|
721
|
+
attr_accessor :username
|
722
|
+
sig {
|
723
|
+
params(ca_certificate_file: T.nilable(String), password: String, ssid: String, username: String).void
|
724
|
+
}
|
725
|
+
def initialize(ca_certificate_file: nil, password: nil, ssid: nil, username: nil); end
|
726
|
+
end
|
727
|
+
class EnterpriseEapTls < Stripe::RequestParams
|
728
|
+
# A File ID representing a PEM file containing the server certificate
|
729
|
+
sig { returns(T.nilable(String)) }
|
730
|
+
attr_accessor :ca_certificate_file
|
731
|
+
# A File ID representing a PEM file containing the client certificate
|
732
|
+
sig { returns(String) }
|
733
|
+
attr_accessor :client_certificate_file
|
734
|
+
# A File ID representing a PEM file containing the client RSA private key
|
735
|
+
sig { returns(String) }
|
736
|
+
attr_accessor :private_key_file
|
737
|
+
# Password for the private key file
|
738
|
+
sig { returns(T.nilable(String)) }
|
739
|
+
attr_accessor :private_key_file_password
|
740
|
+
# Name of the WiFi network
|
741
|
+
sig { returns(String) }
|
742
|
+
attr_accessor :ssid
|
743
|
+
sig {
|
744
|
+
params(ca_certificate_file: T.nilable(String), client_certificate_file: String, private_key_file: String, private_key_file_password: T.nilable(String), ssid: String).void
|
745
|
+
}
|
746
|
+
def initialize(
|
747
|
+
ca_certificate_file: nil,
|
748
|
+
client_certificate_file: nil,
|
749
|
+
private_key_file: nil,
|
750
|
+
private_key_file_password: nil,
|
751
|
+
ssid: nil
|
752
|
+
); end
|
753
|
+
end
|
754
|
+
class PersonalPsk < Stripe::RequestParams
|
755
|
+
# Password for connecting to the WiFi network
|
756
|
+
sig { returns(String) }
|
757
|
+
attr_accessor :password
|
758
|
+
# Name of the WiFi network
|
759
|
+
sig { returns(String) }
|
760
|
+
attr_accessor :ssid
|
761
|
+
sig { params(password: String, ssid: String).void }
|
762
|
+
def initialize(password: nil, ssid: nil); end
|
763
|
+
end
|
764
|
+
# Credentials for a WPA-Enterprise WiFi network using the EAP-PEAP authentication method.
|
765
|
+
sig {
|
766
|
+
returns(T.nilable(::Stripe::Terminal::Configuration::UpdateParams::Wifi::EnterpriseEapPeap))
|
767
|
+
}
|
768
|
+
attr_accessor :enterprise_eap_peap
|
769
|
+
# Credentials for a WPA-Enterprise WiFi network using the EAP-TLS authentication method.
|
770
|
+
sig {
|
771
|
+
returns(T.nilable(::Stripe::Terminal::Configuration::UpdateParams::Wifi::EnterpriseEapTls))
|
772
|
+
}
|
773
|
+
attr_accessor :enterprise_eap_tls
|
774
|
+
# Credentials for a WPA-Personal WiFi network.
|
775
|
+
sig {
|
776
|
+
returns(T.nilable(::Stripe::Terminal::Configuration::UpdateParams::Wifi::PersonalPsk))
|
777
|
+
}
|
778
|
+
attr_accessor :personal_psk
|
779
|
+
# Security type of the WiFi network. Fill out the hash with the corresponding name to provide the set of credentials for this security type.
|
780
|
+
sig { returns(String) }
|
781
|
+
attr_accessor :type
|
782
|
+
sig {
|
783
|
+
params(enterprise_eap_peap: T.nilable(::Stripe::Terminal::Configuration::UpdateParams::Wifi::EnterpriseEapPeap), enterprise_eap_tls: T.nilable(::Stripe::Terminal::Configuration::UpdateParams::Wifi::EnterpriseEapTls), personal_psk: T.nilable(::Stripe::Terminal::Configuration::UpdateParams::Wifi::PersonalPsk), type: String).void
|
784
|
+
}
|
785
|
+
def initialize(
|
786
|
+
enterprise_eap_peap: nil,
|
787
|
+
enterprise_eap_tls: nil,
|
788
|
+
personal_psk: nil,
|
789
|
+
type: nil
|
790
|
+
); end
|
791
|
+
end
|
659
792
|
# An object containing device type specific settings for BBPOS WisePOS E readers
|
660
|
-
sig {
|
793
|
+
sig {
|
794
|
+
returns(T.nilable(T.nilable(T.any(String, ::Stripe::Terminal::Configuration::UpdateParams::BbposWiseposE))))
|
795
|
+
}
|
661
796
|
attr_accessor :bbpos_wisepos_e
|
662
797
|
# Specifies which fields in the response should be expanded.
|
663
|
-
sig { returns(T::Array[String]) }
|
798
|
+
sig { returns(T.nilable(T::Array[String])) }
|
664
799
|
attr_accessor :expand
|
665
800
|
# Name of the configuration
|
666
|
-
sig { returns(String) }
|
801
|
+
sig { returns(T.nilable(String)) }
|
667
802
|
attr_accessor :name
|
668
803
|
# Configurations for collecting transactions offline.
|
669
|
-
sig {
|
804
|
+
sig {
|
805
|
+
returns(T.nilable(T.nilable(T.any(String, ::Stripe::Terminal::Configuration::UpdateParams::Offline))))
|
806
|
+
}
|
670
807
|
attr_accessor :offline
|
671
808
|
# Reboot time settings for readers that support customized reboot time configuration.
|
672
|
-
sig {
|
809
|
+
sig {
|
810
|
+
returns(T.nilable(T.nilable(T.any(String, ::Stripe::Terminal::Configuration::UpdateParams::RebootWindow))))
|
811
|
+
}
|
673
812
|
attr_accessor :reboot_window
|
674
813
|
# An object containing device type specific settings for Stripe S700 readers
|
675
|
-
sig {
|
814
|
+
sig {
|
815
|
+
returns(T.nilable(T.nilable(T.any(String, ::Stripe::Terminal::Configuration::UpdateParams::StripeS700))))
|
816
|
+
}
|
676
817
|
attr_accessor :stripe_s700
|
677
818
|
# Tipping configurations for readers supporting on-reader tips
|
678
|
-
sig {
|
819
|
+
sig {
|
820
|
+
returns(T.nilable(T.nilable(T.any(String, ::Stripe::Terminal::Configuration::UpdateParams::Tipping))))
|
821
|
+
}
|
679
822
|
attr_accessor :tipping
|
680
823
|
# An object containing device type specific settings for Verifone P400 readers
|
681
|
-
sig {
|
824
|
+
sig {
|
825
|
+
returns(T.nilable(T.nilable(T.any(String, ::Stripe::Terminal::Configuration::UpdateParams::VerifoneP400))))
|
826
|
+
}
|
682
827
|
attr_accessor :verifone_p400
|
828
|
+
# Configurations for connecting to a WiFi network.
|
683
829
|
sig {
|
684
|
-
|
830
|
+
returns(T.nilable(T.nilable(T.any(String, ::Stripe::Terminal::Configuration::UpdateParams::Wifi))))
|
831
|
+
}
|
832
|
+
attr_accessor :wifi
|
833
|
+
sig {
|
834
|
+
params(bbpos_wisepos_e: T.nilable(T.nilable(T.any(String, ::Stripe::Terminal::Configuration::UpdateParams::BbposWiseposE))), expand: T.nilable(T::Array[String]), name: T.nilable(String), offline: T.nilable(T.nilable(T.any(String, ::Stripe::Terminal::Configuration::UpdateParams::Offline))), reboot_window: T.nilable(T.nilable(T.any(String, ::Stripe::Terminal::Configuration::UpdateParams::RebootWindow))), stripe_s700: T.nilable(T.nilable(T.any(String, ::Stripe::Terminal::Configuration::UpdateParams::StripeS700))), tipping: T.nilable(T.nilable(T.any(String, ::Stripe::Terminal::Configuration::UpdateParams::Tipping))), verifone_p400: T.nilable(T.nilable(T.any(String, ::Stripe::Terminal::Configuration::UpdateParams::VerifoneP400))), wifi: T.nilable(T.nilable(T.any(String, ::Stripe::Terminal::Configuration::UpdateParams::Wifi)))).void
|
685
835
|
}
|
686
836
|
def initialize(
|
687
837
|
bbpos_wisepos_e: nil,
|
@@ -691,27 +841,28 @@ module Stripe
|
|
691
841
|
reboot_window: nil,
|
692
842
|
stripe_s700: nil,
|
693
843
|
tipping: nil,
|
694
|
-
verifone_p400: nil
|
844
|
+
verifone_p400: nil,
|
845
|
+
wifi: nil
|
695
846
|
); end
|
696
847
|
end
|
697
848
|
class ListParams < Stripe::RequestParams
|
698
849
|
# A cursor for use in pagination. `ending_before` is an object ID that defines your place in the list. For instance, if you make a list request and receive 100 objects, starting with `obj_bar`, your subsequent call can include `ending_before=obj_bar` in order to fetch the previous page of the list.
|
699
|
-
sig { returns(String) }
|
850
|
+
sig { returns(T.nilable(String)) }
|
700
851
|
attr_accessor :ending_before
|
701
852
|
# Specifies which fields in the response should be expanded.
|
702
|
-
sig { returns(T::Array[String]) }
|
853
|
+
sig { returns(T.nilable(T::Array[String])) }
|
703
854
|
attr_accessor :expand
|
704
855
|
# if present, only return the account default or non-default configurations.
|
705
|
-
sig { returns(T::Boolean) }
|
856
|
+
sig { returns(T.nilable(T::Boolean)) }
|
706
857
|
attr_accessor :is_account_default
|
707
858
|
# A limit on the number of objects to be returned. Limit can range between 1 and 100, and the default is 10.
|
708
|
-
sig { returns(Integer) }
|
859
|
+
sig { returns(T.nilable(Integer)) }
|
709
860
|
attr_accessor :limit
|
710
861
|
# A cursor for use in pagination. `starting_after` is an object ID that defines your place in the list. For instance, if you make a list request and receive 100 objects, ending with `obj_foo`, your subsequent call can include `starting_after=obj_foo` in order to fetch the next page of the list.
|
711
|
-
sig { returns(String) }
|
862
|
+
sig { returns(T.nilable(String)) }
|
712
863
|
attr_accessor :starting_after
|
713
864
|
sig {
|
714
|
-
params(ending_before: String, expand: T::Array[String], is_account_default: T::Boolean, limit: Integer, starting_after: String).void
|
865
|
+
params(ending_before: T.nilable(String), expand: T.nilable(T::Array[String]), is_account_default: T.nilable(T::Boolean), limit: T.nilable(Integer), starting_after: T.nilable(String)).void
|
715
866
|
}
|
716
867
|
def initialize(
|
717
868
|
ending_before: nil,
|
@@ -723,10 +874,10 @@ module Stripe
|
|
723
874
|
end
|
724
875
|
class CreateParams < Stripe::RequestParams
|
725
876
|
class BbposWiseposE < Stripe::RequestParams
|
726
|
-
# A File ID representing an image
|
727
|
-
sig { returns(T.nilable(String)) }
|
877
|
+
# A File ID representing an image to display on the reader
|
878
|
+
sig { returns(T.nilable(T.nilable(String))) }
|
728
879
|
attr_accessor :splashscreen
|
729
|
-
sig { params(splashscreen: T.nilable(String)).void }
|
880
|
+
sig { params(splashscreen: T.nilable(T.nilable(String))).void }
|
730
881
|
def initialize(splashscreen: nil); end
|
731
882
|
end
|
732
883
|
class Offline < Stripe::RequestParams
|
@@ -748,302 +899,302 @@ module Stripe
|
|
748
899
|
end
|
749
900
|
class StripeS700 < Stripe::RequestParams
|
750
901
|
# A File ID representing an image you would like displayed on the reader.
|
751
|
-
sig { returns(T.nilable(String)) }
|
902
|
+
sig { returns(T.nilable(T.nilable(String))) }
|
752
903
|
attr_accessor :splashscreen
|
753
|
-
sig { params(splashscreen: T.nilable(String)).void }
|
904
|
+
sig { params(splashscreen: T.nilable(T.nilable(String))).void }
|
754
905
|
def initialize(splashscreen: nil); end
|
755
906
|
end
|
756
907
|
class Tipping < Stripe::RequestParams
|
757
908
|
class Aud < Stripe::RequestParams
|
758
909
|
# Fixed amounts displayed when collecting a tip
|
759
|
-
sig { returns(T::Array[Integer]) }
|
910
|
+
sig { returns(T.nilable(T::Array[Integer])) }
|
760
911
|
attr_accessor :fixed_amounts
|
761
912
|
# Percentages displayed when collecting a tip
|
762
|
-
sig { returns(T::Array[Integer]) }
|
913
|
+
sig { returns(T.nilable(T::Array[Integer])) }
|
763
914
|
attr_accessor :percentages
|
764
915
|
# Below this amount, fixed amounts will be displayed; above it, percentages will be displayed
|
765
|
-
sig { returns(Integer) }
|
916
|
+
sig { returns(T.nilable(Integer)) }
|
766
917
|
attr_accessor :smart_tip_threshold
|
767
918
|
sig {
|
768
|
-
params(fixed_amounts: T::Array[Integer], percentages: T::Array[Integer], smart_tip_threshold: Integer).void
|
919
|
+
params(fixed_amounts: T.nilable(T::Array[Integer]), percentages: T.nilable(T::Array[Integer]), smart_tip_threshold: T.nilable(Integer)).void
|
769
920
|
}
|
770
921
|
def initialize(fixed_amounts: nil, percentages: nil, smart_tip_threshold: nil); end
|
771
922
|
end
|
772
923
|
class Cad < Stripe::RequestParams
|
773
924
|
# Fixed amounts displayed when collecting a tip
|
774
|
-
sig { returns(T::Array[Integer]) }
|
925
|
+
sig { returns(T.nilable(T::Array[Integer])) }
|
775
926
|
attr_accessor :fixed_amounts
|
776
927
|
# Percentages displayed when collecting a tip
|
777
|
-
sig { returns(T::Array[Integer]) }
|
928
|
+
sig { returns(T.nilable(T::Array[Integer])) }
|
778
929
|
attr_accessor :percentages
|
779
930
|
# Below this amount, fixed amounts will be displayed; above it, percentages will be displayed
|
780
|
-
sig { returns(Integer) }
|
931
|
+
sig { returns(T.nilable(Integer)) }
|
781
932
|
attr_accessor :smart_tip_threshold
|
782
933
|
sig {
|
783
|
-
params(fixed_amounts: T::Array[Integer], percentages: T::Array[Integer], smart_tip_threshold: Integer).void
|
934
|
+
params(fixed_amounts: T.nilable(T::Array[Integer]), percentages: T.nilable(T::Array[Integer]), smart_tip_threshold: T.nilable(Integer)).void
|
784
935
|
}
|
785
936
|
def initialize(fixed_amounts: nil, percentages: nil, smart_tip_threshold: nil); end
|
786
937
|
end
|
787
938
|
class Chf < Stripe::RequestParams
|
788
939
|
# Fixed amounts displayed when collecting a tip
|
789
|
-
sig { returns(T::Array[Integer]) }
|
940
|
+
sig { returns(T.nilable(T::Array[Integer])) }
|
790
941
|
attr_accessor :fixed_amounts
|
791
942
|
# Percentages displayed when collecting a tip
|
792
|
-
sig { returns(T::Array[Integer]) }
|
943
|
+
sig { returns(T.nilable(T::Array[Integer])) }
|
793
944
|
attr_accessor :percentages
|
794
945
|
# Below this amount, fixed amounts will be displayed; above it, percentages will be displayed
|
795
|
-
sig { returns(Integer) }
|
946
|
+
sig { returns(T.nilable(Integer)) }
|
796
947
|
attr_accessor :smart_tip_threshold
|
797
948
|
sig {
|
798
|
-
params(fixed_amounts: T::Array[Integer], percentages: T::Array[Integer], smart_tip_threshold: Integer).void
|
949
|
+
params(fixed_amounts: T.nilable(T::Array[Integer]), percentages: T.nilable(T::Array[Integer]), smart_tip_threshold: T.nilable(Integer)).void
|
799
950
|
}
|
800
951
|
def initialize(fixed_amounts: nil, percentages: nil, smart_tip_threshold: nil); end
|
801
952
|
end
|
802
953
|
class Czk < Stripe::RequestParams
|
803
954
|
# Fixed amounts displayed when collecting a tip
|
804
|
-
sig { returns(T::Array[Integer]) }
|
955
|
+
sig { returns(T.nilable(T::Array[Integer])) }
|
805
956
|
attr_accessor :fixed_amounts
|
806
957
|
# Percentages displayed when collecting a tip
|
807
|
-
sig { returns(T::Array[Integer]) }
|
958
|
+
sig { returns(T.nilable(T::Array[Integer])) }
|
808
959
|
attr_accessor :percentages
|
809
960
|
# Below this amount, fixed amounts will be displayed; above it, percentages will be displayed
|
810
|
-
sig { returns(Integer) }
|
961
|
+
sig { returns(T.nilable(Integer)) }
|
811
962
|
attr_accessor :smart_tip_threshold
|
812
963
|
sig {
|
813
|
-
params(fixed_amounts: T::Array[Integer], percentages: T::Array[Integer], smart_tip_threshold: Integer).void
|
964
|
+
params(fixed_amounts: T.nilable(T::Array[Integer]), percentages: T.nilable(T::Array[Integer]), smart_tip_threshold: T.nilable(Integer)).void
|
814
965
|
}
|
815
966
|
def initialize(fixed_amounts: nil, percentages: nil, smart_tip_threshold: nil); end
|
816
967
|
end
|
817
968
|
class Dkk < Stripe::RequestParams
|
818
969
|
# Fixed amounts displayed when collecting a tip
|
819
|
-
sig { returns(T::Array[Integer]) }
|
970
|
+
sig { returns(T.nilable(T::Array[Integer])) }
|
820
971
|
attr_accessor :fixed_amounts
|
821
972
|
# Percentages displayed when collecting a tip
|
822
|
-
sig { returns(T::Array[Integer]) }
|
973
|
+
sig { returns(T.nilable(T::Array[Integer])) }
|
823
974
|
attr_accessor :percentages
|
824
975
|
# Below this amount, fixed amounts will be displayed; above it, percentages will be displayed
|
825
|
-
sig { returns(Integer) }
|
976
|
+
sig { returns(T.nilable(Integer)) }
|
826
977
|
attr_accessor :smart_tip_threshold
|
827
978
|
sig {
|
828
|
-
params(fixed_amounts: T::Array[Integer], percentages: T::Array[Integer], smart_tip_threshold: Integer).void
|
979
|
+
params(fixed_amounts: T.nilable(T::Array[Integer]), percentages: T.nilable(T::Array[Integer]), smart_tip_threshold: T.nilable(Integer)).void
|
829
980
|
}
|
830
981
|
def initialize(fixed_amounts: nil, percentages: nil, smart_tip_threshold: nil); end
|
831
982
|
end
|
832
983
|
class Eur < Stripe::RequestParams
|
833
984
|
# Fixed amounts displayed when collecting a tip
|
834
|
-
sig { returns(T::Array[Integer]) }
|
985
|
+
sig { returns(T.nilable(T::Array[Integer])) }
|
835
986
|
attr_accessor :fixed_amounts
|
836
987
|
# Percentages displayed when collecting a tip
|
837
|
-
sig { returns(T::Array[Integer]) }
|
988
|
+
sig { returns(T.nilable(T::Array[Integer])) }
|
838
989
|
attr_accessor :percentages
|
839
990
|
# Below this amount, fixed amounts will be displayed; above it, percentages will be displayed
|
840
|
-
sig { returns(Integer) }
|
991
|
+
sig { returns(T.nilable(Integer)) }
|
841
992
|
attr_accessor :smart_tip_threshold
|
842
993
|
sig {
|
843
|
-
params(fixed_amounts: T::Array[Integer], percentages: T::Array[Integer], smart_tip_threshold: Integer).void
|
994
|
+
params(fixed_amounts: T.nilable(T::Array[Integer]), percentages: T.nilable(T::Array[Integer]), smart_tip_threshold: T.nilable(Integer)).void
|
844
995
|
}
|
845
996
|
def initialize(fixed_amounts: nil, percentages: nil, smart_tip_threshold: nil); end
|
846
997
|
end
|
847
998
|
class Gbp < Stripe::RequestParams
|
848
999
|
# Fixed amounts displayed when collecting a tip
|
849
|
-
sig { returns(T::Array[Integer]) }
|
1000
|
+
sig { returns(T.nilable(T::Array[Integer])) }
|
850
1001
|
attr_accessor :fixed_amounts
|
851
1002
|
# Percentages displayed when collecting a tip
|
852
|
-
sig { returns(T::Array[Integer]) }
|
1003
|
+
sig { returns(T.nilable(T::Array[Integer])) }
|
853
1004
|
attr_accessor :percentages
|
854
1005
|
# Below this amount, fixed amounts will be displayed; above it, percentages will be displayed
|
855
|
-
sig { returns(Integer) }
|
1006
|
+
sig { returns(T.nilable(Integer)) }
|
856
1007
|
attr_accessor :smart_tip_threshold
|
857
1008
|
sig {
|
858
|
-
params(fixed_amounts: T::Array[Integer], percentages: T::Array[Integer], smart_tip_threshold: Integer).void
|
1009
|
+
params(fixed_amounts: T.nilable(T::Array[Integer]), percentages: T.nilable(T::Array[Integer]), smart_tip_threshold: T.nilable(Integer)).void
|
859
1010
|
}
|
860
1011
|
def initialize(fixed_amounts: nil, percentages: nil, smart_tip_threshold: nil); end
|
861
1012
|
end
|
862
1013
|
class Hkd < Stripe::RequestParams
|
863
1014
|
# Fixed amounts displayed when collecting a tip
|
864
|
-
sig { returns(T::Array[Integer]) }
|
1015
|
+
sig { returns(T.nilable(T::Array[Integer])) }
|
865
1016
|
attr_accessor :fixed_amounts
|
866
1017
|
# Percentages displayed when collecting a tip
|
867
|
-
sig { returns(T::Array[Integer]) }
|
1018
|
+
sig { returns(T.nilable(T::Array[Integer])) }
|
868
1019
|
attr_accessor :percentages
|
869
1020
|
# Below this amount, fixed amounts will be displayed; above it, percentages will be displayed
|
870
|
-
sig { returns(Integer) }
|
1021
|
+
sig { returns(T.nilable(Integer)) }
|
871
1022
|
attr_accessor :smart_tip_threshold
|
872
1023
|
sig {
|
873
|
-
params(fixed_amounts: T::Array[Integer], percentages: T::Array[Integer], smart_tip_threshold: Integer).void
|
1024
|
+
params(fixed_amounts: T.nilable(T::Array[Integer]), percentages: T.nilable(T::Array[Integer]), smart_tip_threshold: T.nilable(Integer)).void
|
874
1025
|
}
|
875
1026
|
def initialize(fixed_amounts: nil, percentages: nil, smart_tip_threshold: nil); end
|
876
1027
|
end
|
877
1028
|
class Jpy < Stripe::RequestParams
|
878
1029
|
# Fixed amounts displayed when collecting a tip
|
879
|
-
sig { returns(T::Array[Integer]) }
|
1030
|
+
sig { returns(T.nilable(T::Array[Integer])) }
|
880
1031
|
attr_accessor :fixed_amounts
|
881
1032
|
# Percentages displayed when collecting a tip
|
882
|
-
sig { returns(T::Array[Integer]) }
|
1033
|
+
sig { returns(T.nilable(T::Array[Integer])) }
|
883
1034
|
attr_accessor :percentages
|
884
1035
|
# Below this amount, fixed amounts will be displayed; above it, percentages will be displayed
|
885
|
-
sig { returns(Integer) }
|
1036
|
+
sig { returns(T.nilable(Integer)) }
|
886
1037
|
attr_accessor :smart_tip_threshold
|
887
1038
|
sig {
|
888
|
-
params(fixed_amounts: T::Array[Integer], percentages: T::Array[Integer], smart_tip_threshold: Integer).void
|
1039
|
+
params(fixed_amounts: T.nilable(T::Array[Integer]), percentages: T.nilable(T::Array[Integer]), smart_tip_threshold: T.nilable(Integer)).void
|
889
1040
|
}
|
890
1041
|
def initialize(fixed_amounts: nil, percentages: nil, smart_tip_threshold: nil); end
|
891
1042
|
end
|
892
1043
|
class Myr < Stripe::RequestParams
|
893
1044
|
# Fixed amounts displayed when collecting a tip
|
894
|
-
sig { returns(T::Array[Integer]) }
|
1045
|
+
sig { returns(T.nilable(T::Array[Integer])) }
|
895
1046
|
attr_accessor :fixed_amounts
|
896
1047
|
# Percentages displayed when collecting a tip
|
897
|
-
sig { returns(T::Array[Integer]) }
|
1048
|
+
sig { returns(T.nilable(T::Array[Integer])) }
|
898
1049
|
attr_accessor :percentages
|
899
1050
|
# Below this amount, fixed amounts will be displayed; above it, percentages will be displayed
|
900
|
-
sig { returns(Integer) }
|
1051
|
+
sig { returns(T.nilable(Integer)) }
|
901
1052
|
attr_accessor :smart_tip_threshold
|
902
1053
|
sig {
|
903
|
-
params(fixed_amounts: T::Array[Integer], percentages: T::Array[Integer], smart_tip_threshold: Integer).void
|
1054
|
+
params(fixed_amounts: T.nilable(T::Array[Integer]), percentages: T.nilable(T::Array[Integer]), smart_tip_threshold: T.nilable(Integer)).void
|
904
1055
|
}
|
905
1056
|
def initialize(fixed_amounts: nil, percentages: nil, smart_tip_threshold: nil); end
|
906
1057
|
end
|
907
1058
|
class Nok < Stripe::RequestParams
|
908
1059
|
# Fixed amounts displayed when collecting a tip
|
909
|
-
sig { returns(T::Array[Integer]) }
|
1060
|
+
sig { returns(T.nilable(T::Array[Integer])) }
|
910
1061
|
attr_accessor :fixed_amounts
|
911
1062
|
# Percentages displayed when collecting a tip
|
912
|
-
sig { returns(T::Array[Integer]) }
|
1063
|
+
sig { returns(T.nilable(T::Array[Integer])) }
|
913
1064
|
attr_accessor :percentages
|
914
1065
|
# Below this amount, fixed amounts will be displayed; above it, percentages will be displayed
|
915
|
-
sig { returns(Integer) }
|
1066
|
+
sig { returns(T.nilable(Integer)) }
|
916
1067
|
attr_accessor :smart_tip_threshold
|
917
1068
|
sig {
|
918
|
-
params(fixed_amounts: T::Array[Integer], percentages: T::Array[Integer], smart_tip_threshold: Integer).void
|
1069
|
+
params(fixed_amounts: T.nilable(T::Array[Integer]), percentages: T.nilable(T::Array[Integer]), smart_tip_threshold: T.nilable(Integer)).void
|
919
1070
|
}
|
920
1071
|
def initialize(fixed_amounts: nil, percentages: nil, smart_tip_threshold: nil); end
|
921
1072
|
end
|
922
1073
|
class Nzd < Stripe::RequestParams
|
923
1074
|
# Fixed amounts displayed when collecting a tip
|
924
|
-
sig { returns(T::Array[Integer]) }
|
1075
|
+
sig { returns(T.nilable(T::Array[Integer])) }
|
925
1076
|
attr_accessor :fixed_amounts
|
926
1077
|
# Percentages displayed when collecting a tip
|
927
|
-
sig { returns(T::Array[Integer]) }
|
1078
|
+
sig { returns(T.nilable(T::Array[Integer])) }
|
928
1079
|
attr_accessor :percentages
|
929
1080
|
# Below this amount, fixed amounts will be displayed; above it, percentages will be displayed
|
930
|
-
sig { returns(Integer) }
|
1081
|
+
sig { returns(T.nilable(Integer)) }
|
931
1082
|
attr_accessor :smart_tip_threshold
|
932
1083
|
sig {
|
933
|
-
params(fixed_amounts: T::Array[Integer], percentages: T::Array[Integer], smart_tip_threshold: Integer).void
|
1084
|
+
params(fixed_amounts: T.nilable(T::Array[Integer]), percentages: T.nilable(T::Array[Integer]), smart_tip_threshold: T.nilable(Integer)).void
|
934
1085
|
}
|
935
1086
|
def initialize(fixed_amounts: nil, percentages: nil, smart_tip_threshold: nil); end
|
936
1087
|
end
|
937
1088
|
class Pln < Stripe::RequestParams
|
938
1089
|
# Fixed amounts displayed when collecting a tip
|
939
|
-
sig { returns(T::Array[Integer]) }
|
1090
|
+
sig { returns(T.nilable(T::Array[Integer])) }
|
940
1091
|
attr_accessor :fixed_amounts
|
941
1092
|
# Percentages displayed when collecting a tip
|
942
|
-
sig { returns(T::Array[Integer]) }
|
1093
|
+
sig { returns(T.nilable(T::Array[Integer])) }
|
943
1094
|
attr_accessor :percentages
|
944
1095
|
# Below this amount, fixed amounts will be displayed; above it, percentages will be displayed
|
945
|
-
sig { returns(Integer) }
|
1096
|
+
sig { returns(T.nilable(Integer)) }
|
946
1097
|
attr_accessor :smart_tip_threshold
|
947
1098
|
sig {
|
948
|
-
params(fixed_amounts: T::Array[Integer], percentages: T::Array[Integer], smart_tip_threshold: Integer).void
|
1099
|
+
params(fixed_amounts: T.nilable(T::Array[Integer]), percentages: T.nilable(T::Array[Integer]), smart_tip_threshold: T.nilable(Integer)).void
|
949
1100
|
}
|
950
1101
|
def initialize(fixed_amounts: nil, percentages: nil, smart_tip_threshold: nil); end
|
951
1102
|
end
|
952
1103
|
class Sek < Stripe::RequestParams
|
953
1104
|
# Fixed amounts displayed when collecting a tip
|
954
|
-
sig { returns(T::Array[Integer]) }
|
1105
|
+
sig { returns(T.nilable(T::Array[Integer])) }
|
955
1106
|
attr_accessor :fixed_amounts
|
956
1107
|
# Percentages displayed when collecting a tip
|
957
|
-
sig { returns(T::Array[Integer]) }
|
1108
|
+
sig { returns(T.nilable(T::Array[Integer])) }
|
958
1109
|
attr_accessor :percentages
|
959
1110
|
# Below this amount, fixed amounts will be displayed; above it, percentages will be displayed
|
960
|
-
sig { returns(Integer) }
|
1111
|
+
sig { returns(T.nilable(Integer)) }
|
961
1112
|
attr_accessor :smart_tip_threshold
|
962
1113
|
sig {
|
963
|
-
params(fixed_amounts: T::Array[Integer], percentages: T::Array[Integer], smart_tip_threshold: Integer).void
|
1114
|
+
params(fixed_amounts: T.nilable(T::Array[Integer]), percentages: T.nilable(T::Array[Integer]), smart_tip_threshold: T.nilable(Integer)).void
|
964
1115
|
}
|
965
1116
|
def initialize(fixed_amounts: nil, percentages: nil, smart_tip_threshold: nil); end
|
966
1117
|
end
|
967
1118
|
class Sgd < Stripe::RequestParams
|
968
1119
|
# Fixed amounts displayed when collecting a tip
|
969
|
-
sig { returns(T::Array[Integer]) }
|
1120
|
+
sig { returns(T.nilable(T::Array[Integer])) }
|
970
1121
|
attr_accessor :fixed_amounts
|
971
1122
|
# Percentages displayed when collecting a tip
|
972
|
-
sig { returns(T::Array[Integer]) }
|
1123
|
+
sig { returns(T.nilable(T::Array[Integer])) }
|
973
1124
|
attr_accessor :percentages
|
974
1125
|
# Below this amount, fixed amounts will be displayed; above it, percentages will be displayed
|
975
|
-
sig { returns(Integer) }
|
1126
|
+
sig { returns(T.nilable(Integer)) }
|
976
1127
|
attr_accessor :smart_tip_threshold
|
977
1128
|
sig {
|
978
|
-
params(fixed_amounts: T::Array[Integer], percentages: T::Array[Integer], smart_tip_threshold: Integer).void
|
1129
|
+
params(fixed_amounts: T.nilable(T::Array[Integer]), percentages: T.nilable(T::Array[Integer]), smart_tip_threshold: T.nilable(Integer)).void
|
979
1130
|
}
|
980
1131
|
def initialize(fixed_amounts: nil, percentages: nil, smart_tip_threshold: nil); end
|
981
1132
|
end
|
982
1133
|
class Usd < Stripe::RequestParams
|
983
1134
|
# Fixed amounts displayed when collecting a tip
|
984
|
-
sig { returns(T::Array[Integer]) }
|
1135
|
+
sig { returns(T.nilable(T::Array[Integer])) }
|
985
1136
|
attr_accessor :fixed_amounts
|
986
1137
|
# Percentages displayed when collecting a tip
|
987
|
-
sig { returns(T::Array[Integer]) }
|
1138
|
+
sig { returns(T.nilable(T::Array[Integer])) }
|
988
1139
|
attr_accessor :percentages
|
989
1140
|
# Below this amount, fixed amounts will be displayed; above it, percentages will be displayed
|
990
|
-
sig { returns(Integer) }
|
1141
|
+
sig { returns(T.nilable(Integer)) }
|
991
1142
|
attr_accessor :smart_tip_threshold
|
992
1143
|
sig {
|
993
|
-
params(fixed_amounts: T::Array[Integer], percentages: T::Array[Integer], smart_tip_threshold: Integer).void
|
1144
|
+
params(fixed_amounts: T.nilable(T::Array[Integer]), percentages: T.nilable(T::Array[Integer]), smart_tip_threshold: T.nilable(Integer)).void
|
994
1145
|
}
|
995
1146
|
def initialize(fixed_amounts: nil, percentages: nil, smart_tip_threshold: nil); end
|
996
1147
|
end
|
997
1148
|
# Tipping configuration for AUD
|
998
|
-
sig { returns(::Stripe::Terminal::Configuration::CreateParams::Tipping::Aud) }
|
1149
|
+
sig { returns(T.nilable(::Stripe::Terminal::Configuration::CreateParams::Tipping::Aud)) }
|
999
1150
|
attr_accessor :aud
|
1000
1151
|
# Tipping configuration for CAD
|
1001
|
-
sig { returns(::Stripe::Terminal::Configuration::CreateParams::Tipping::Cad) }
|
1152
|
+
sig { returns(T.nilable(::Stripe::Terminal::Configuration::CreateParams::Tipping::Cad)) }
|
1002
1153
|
attr_accessor :cad
|
1003
1154
|
# Tipping configuration for CHF
|
1004
|
-
sig { returns(::Stripe::Terminal::Configuration::CreateParams::Tipping::Chf) }
|
1155
|
+
sig { returns(T.nilable(::Stripe::Terminal::Configuration::CreateParams::Tipping::Chf)) }
|
1005
1156
|
attr_accessor :chf
|
1006
1157
|
# Tipping configuration for CZK
|
1007
|
-
sig { returns(::Stripe::Terminal::Configuration::CreateParams::Tipping::Czk) }
|
1158
|
+
sig { returns(T.nilable(::Stripe::Terminal::Configuration::CreateParams::Tipping::Czk)) }
|
1008
1159
|
attr_accessor :czk
|
1009
1160
|
# Tipping configuration for DKK
|
1010
|
-
sig { returns(::Stripe::Terminal::Configuration::CreateParams::Tipping::Dkk) }
|
1161
|
+
sig { returns(T.nilable(::Stripe::Terminal::Configuration::CreateParams::Tipping::Dkk)) }
|
1011
1162
|
attr_accessor :dkk
|
1012
1163
|
# Tipping configuration for EUR
|
1013
|
-
sig { returns(::Stripe::Terminal::Configuration::CreateParams::Tipping::Eur) }
|
1164
|
+
sig { returns(T.nilable(::Stripe::Terminal::Configuration::CreateParams::Tipping::Eur)) }
|
1014
1165
|
attr_accessor :eur
|
1015
1166
|
# Tipping configuration for GBP
|
1016
|
-
sig { returns(::Stripe::Terminal::Configuration::CreateParams::Tipping::Gbp) }
|
1167
|
+
sig { returns(T.nilable(::Stripe::Terminal::Configuration::CreateParams::Tipping::Gbp)) }
|
1017
1168
|
attr_accessor :gbp
|
1018
1169
|
# Tipping configuration for HKD
|
1019
|
-
sig { returns(::Stripe::Terminal::Configuration::CreateParams::Tipping::Hkd) }
|
1170
|
+
sig { returns(T.nilable(::Stripe::Terminal::Configuration::CreateParams::Tipping::Hkd)) }
|
1020
1171
|
attr_accessor :hkd
|
1021
1172
|
# Tipping configuration for JPY
|
1022
|
-
sig { returns(::Stripe::Terminal::Configuration::CreateParams::Tipping::Jpy) }
|
1173
|
+
sig { returns(T.nilable(::Stripe::Terminal::Configuration::CreateParams::Tipping::Jpy)) }
|
1023
1174
|
attr_accessor :jpy
|
1024
1175
|
# Tipping configuration for MYR
|
1025
|
-
sig { returns(::Stripe::Terminal::Configuration::CreateParams::Tipping::Myr) }
|
1176
|
+
sig { returns(T.nilable(::Stripe::Terminal::Configuration::CreateParams::Tipping::Myr)) }
|
1026
1177
|
attr_accessor :myr
|
1027
1178
|
# Tipping configuration for NOK
|
1028
|
-
sig { returns(::Stripe::Terminal::Configuration::CreateParams::Tipping::Nok) }
|
1179
|
+
sig { returns(T.nilable(::Stripe::Terminal::Configuration::CreateParams::Tipping::Nok)) }
|
1029
1180
|
attr_accessor :nok
|
1030
1181
|
# Tipping configuration for NZD
|
1031
|
-
sig { returns(::Stripe::Terminal::Configuration::CreateParams::Tipping::Nzd) }
|
1182
|
+
sig { returns(T.nilable(::Stripe::Terminal::Configuration::CreateParams::Tipping::Nzd)) }
|
1032
1183
|
attr_accessor :nzd
|
1033
1184
|
# Tipping configuration for PLN
|
1034
|
-
sig { returns(::Stripe::Terminal::Configuration::CreateParams::Tipping::Pln) }
|
1185
|
+
sig { returns(T.nilable(::Stripe::Terminal::Configuration::CreateParams::Tipping::Pln)) }
|
1035
1186
|
attr_accessor :pln
|
1036
1187
|
# Tipping configuration for SEK
|
1037
|
-
sig { returns(::Stripe::Terminal::Configuration::CreateParams::Tipping::Sek) }
|
1188
|
+
sig { returns(T.nilable(::Stripe::Terminal::Configuration::CreateParams::Tipping::Sek)) }
|
1038
1189
|
attr_accessor :sek
|
1039
1190
|
# Tipping configuration for SGD
|
1040
|
-
sig { returns(::Stripe::Terminal::Configuration::CreateParams::Tipping::Sgd) }
|
1191
|
+
sig { returns(T.nilable(::Stripe::Terminal::Configuration::CreateParams::Tipping::Sgd)) }
|
1041
1192
|
attr_accessor :sgd
|
1042
1193
|
# Tipping configuration for USD
|
1043
|
-
sig { returns(::Stripe::Terminal::Configuration::CreateParams::Tipping::Usd) }
|
1194
|
+
sig { returns(T.nilable(::Stripe::Terminal::Configuration::CreateParams::Tipping::Usd)) }
|
1044
1195
|
attr_accessor :usd
|
1045
1196
|
sig {
|
1046
|
-
params(aud: ::Stripe::Terminal::Configuration::CreateParams::Tipping::Aud, cad: ::Stripe::Terminal::Configuration::CreateParams::Tipping::Cad, chf: ::Stripe::Terminal::Configuration::CreateParams::Tipping::Chf, czk: ::Stripe::Terminal::Configuration::CreateParams::Tipping::Czk, dkk: ::Stripe::Terminal::Configuration::CreateParams::Tipping::Dkk, eur: ::Stripe::Terminal::Configuration::CreateParams::Tipping::Eur, gbp: ::Stripe::Terminal::Configuration::CreateParams::Tipping::Gbp, hkd: ::Stripe::Terminal::Configuration::CreateParams::Tipping::Hkd, jpy: ::Stripe::Terminal::Configuration::CreateParams::Tipping::Jpy, myr: ::Stripe::Terminal::Configuration::CreateParams::Tipping::Myr, nok: ::Stripe::Terminal::Configuration::CreateParams::Tipping::Nok, nzd: ::Stripe::Terminal::Configuration::CreateParams::Tipping::Nzd, pln: ::Stripe::Terminal::Configuration::CreateParams::Tipping::Pln, sek: ::Stripe::Terminal::Configuration::CreateParams::Tipping::Sek, sgd: ::Stripe::Terminal::Configuration::CreateParams::Tipping::Sgd, usd: ::Stripe::Terminal::Configuration::CreateParams::Tipping::Usd).void
|
1197
|
+
params(aud: T.nilable(::Stripe::Terminal::Configuration::CreateParams::Tipping::Aud), cad: T.nilable(::Stripe::Terminal::Configuration::CreateParams::Tipping::Cad), chf: T.nilable(::Stripe::Terminal::Configuration::CreateParams::Tipping::Chf), czk: T.nilable(::Stripe::Terminal::Configuration::CreateParams::Tipping::Czk), dkk: T.nilable(::Stripe::Terminal::Configuration::CreateParams::Tipping::Dkk), eur: T.nilable(::Stripe::Terminal::Configuration::CreateParams::Tipping::Eur), gbp: T.nilable(::Stripe::Terminal::Configuration::CreateParams::Tipping::Gbp), hkd: T.nilable(::Stripe::Terminal::Configuration::CreateParams::Tipping::Hkd), jpy: T.nilable(::Stripe::Terminal::Configuration::CreateParams::Tipping::Jpy), myr: T.nilable(::Stripe::Terminal::Configuration::CreateParams::Tipping::Myr), nok: T.nilable(::Stripe::Terminal::Configuration::CreateParams::Tipping::Nok), nzd: T.nilable(::Stripe::Terminal::Configuration::CreateParams::Tipping::Nzd), pln: T.nilable(::Stripe::Terminal::Configuration::CreateParams::Tipping::Pln), sek: T.nilable(::Stripe::Terminal::Configuration::CreateParams::Tipping::Sek), sgd: T.nilable(::Stripe::Terminal::Configuration::CreateParams::Tipping::Sgd), usd: T.nilable(::Stripe::Terminal::Configuration::CreateParams::Tipping::Usd)).void
|
1047
1198
|
}
|
1048
1199
|
def initialize(
|
1049
1200
|
aud: nil,
|
@@ -1066,37 +1217,130 @@ module Stripe
|
|
1066
1217
|
end
|
1067
1218
|
class VerifoneP400 < Stripe::RequestParams
|
1068
1219
|
# A File ID representing an image you would like displayed on the reader.
|
1069
|
-
sig { returns(T.nilable(String)) }
|
1220
|
+
sig { returns(T.nilable(T.nilable(String))) }
|
1070
1221
|
attr_accessor :splashscreen
|
1071
|
-
sig { params(splashscreen: T.nilable(String)).void }
|
1222
|
+
sig { params(splashscreen: T.nilable(T.nilable(String))).void }
|
1072
1223
|
def initialize(splashscreen: nil); end
|
1073
1224
|
end
|
1225
|
+
class Wifi < Stripe::RequestParams
|
1226
|
+
class EnterpriseEapPeap < Stripe::RequestParams
|
1227
|
+
# A File ID representing a PEM file containing the server certificate
|
1228
|
+
sig { returns(T.nilable(String)) }
|
1229
|
+
attr_accessor :ca_certificate_file
|
1230
|
+
# Password for connecting to the WiFi network
|
1231
|
+
sig { returns(String) }
|
1232
|
+
attr_accessor :password
|
1233
|
+
# Name of the WiFi network
|
1234
|
+
sig { returns(String) }
|
1235
|
+
attr_accessor :ssid
|
1236
|
+
# Username for connecting to the WiFi network
|
1237
|
+
sig { returns(String) }
|
1238
|
+
attr_accessor :username
|
1239
|
+
sig {
|
1240
|
+
params(ca_certificate_file: T.nilable(String), password: String, ssid: String, username: String).void
|
1241
|
+
}
|
1242
|
+
def initialize(ca_certificate_file: nil, password: nil, ssid: nil, username: nil); end
|
1243
|
+
end
|
1244
|
+
class EnterpriseEapTls < Stripe::RequestParams
|
1245
|
+
# A File ID representing a PEM file containing the server certificate
|
1246
|
+
sig { returns(T.nilable(String)) }
|
1247
|
+
attr_accessor :ca_certificate_file
|
1248
|
+
# A File ID representing a PEM file containing the client certificate
|
1249
|
+
sig { returns(String) }
|
1250
|
+
attr_accessor :client_certificate_file
|
1251
|
+
# A File ID representing a PEM file containing the client RSA private key
|
1252
|
+
sig { returns(String) }
|
1253
|
+
attr_accessor :private_key_file
|
1254
|
+
# Password for the private key file
|
1255
|
+
sig { returns(T.nilable(String)) }
|
1256
|
+
attr_accessor :private_key_file_password
|
1257
|
+
# Name of the WiFi network
|
1258
|
+
sig { returns(String) }
|
1259
|
+
attr_accessor :ssid
|
1260
|
+
sig {
|
1261
|
+
params(ca_certificate_file: T.nilable(String), client_certificate_file: String, private_key_file: String, private_key_file_password: T.nilable(String), ssid: String).void
|
1262
|
+
}
|
1263
|
+
def initialize(
|
1264
|
+
ca_certificate_file: nil,
|
1265
|
+
client_certificate_file: nil,
|
1266
|
+
private_key_file: nil,
|
1267
|
+
private_key_file_password: nil,
|
1268
|
+
ssid: nil
|
1269
|
+
); end
|
1270
|
+
end
|
1271
|
+
class PersonalPsk < Stripe::RequestParams
|
1272
|
+
# Password for connecting to the WiFi network
|
1273
|
+
sig { returns(String) }
|
1274
|
+
attr_accessor :password
|
1275
|
+
# Name of the WiFi network
|
1276
|
+
sig { returns(String) }
|
1277
|
+
attr_accessor :ssid
|
1278
|
+
sig { params(password: String, ssid: String).void }
|
1279
|
+
def initialize(password: nil, ssid: nil); end
|
1280
|
+
end
|
1281
|
+
# Credentials for a WPA-Enterprise WiFi network using the EAP-PEAP authentication method.
|
1282
|
+
sig {
|
1283
|
+
returns(T.nilable(::Stripe::Terminal::Configuration::CreateParams::Wifi::EnterpriseEapPeap))
|
1284
|
+
}
|
1285
|
+
attr_accessor :enterprise_eap_peap
|
1286
|
+
# Credentials for a WPA-Enterprise WiFi network using the EAP-TLS authentication method.
|
1287
|
+
sig {
|
1288
|
+
returns(T.nilable(::Stripe::Terminal::Configuration::CreateParams::Wifi::EnterpriseEapTls))
|
1289
|
+
}
|
1290
|
+
attr_accessor :enterprise_eap_tls
|
1291
|
+
# Credentials for a WPA-Personal WiFi network.
|
1292
|
+
sig {
|
1293
|
+
returns(T.nilable(::Stripe::Terminal::Configuration::CreateParams::Wifi::PersonalPsk))
|
1294
|
+
}
|
1295
|
+
attr_accessor :personal_psk
|
1296
|
+
# Security type of the WiFi network. Fill out the hash with the corresponding name to provide the set of credentials for this security type.
|
1297
|
+
sig { returns(String) }
|
1298
|
+
attr_accessor :type
|
1299
|
+
sig {
|
1300
|
+
params(enterprise_eap_peap: T.nilable(::Stripe::Terminal::Configuration::CreateParams::Wifi::EnterpriseEapPeap), enterprise_eap_tls: T.nilable(::Stripe::Terminal::Configuration::CreateParams::Wifi::EnterpriseEapTls), personal_psk: T.nilable(::Stripe::Terminal::Configuration::CreateParams::Wifi::PersonalPsk), type: String).void
|
1301
|
+
}
|
1302
|
+
def initialize(
|
1303
|
+
enterprise_eap_peap: nil,
|
1304
|
+
enterprise_eap_tls: nil,
|
1305
|
+
personal_psk: nil,
|
1306
|
+
type: nil
|
1307
|
+
); end
|
1308
|
+
end
|
1074
1309
|
# An object containing device type specific settings for BBPOS WisePOS E readers
|
1075
|
-
sig { returns(::Stripe::Terminal::Configuration::CreateParams::BbposWiseposE) }
|
1310
|
+
sig { returns(T.nilable(::Stripe::Terminal::Configuration::CreateParams::BbposWiseposE)) }
|
1076
1311
|
attr_accessor :bbpos_wisepos_e
|
1077
1312
|
# Specifies which fields in the response should be expanded.
|
1078
|
-
sig { returns(T::Array[String]) }
|
1313
|
+
sig { returns(T.nilable(T::Array[String])) }
|
1079
1314
|
attr_accessor :expand
|
1080
1315
|
# Name of the configuration
|
1081
|
-
sig { returns(String) }
|
1316
|
+
sig { returns(T.nilable(String)) }
|
1082
1317
|
attr_accessor :name
|
1083
1318
|
# Configurations for collecting transactions offline.
|
1084
|
-
sig {
|
1319
|
+
sig {
|
1320
|
+
returns(T.nilable(T.nilable(T.any(String, ::Stripe::Terminal::Configuration::CreateParams::Offline))))
|
1321
|
+
}
|
1085
1322
|
attr_accessor :offline
|
1086
1323
|
# Reboot time settings for readers that support customized reboot time configuration.
|
1087
|
-
sig { returns(::Stripe::Terminal::Configuration::CreateParams::RebootWindow) }
|
1324
|
+
sig { returns(T.nilable(::Stripe::Terminal::Configuration::CreateParams::RebootWindow)) }
|
1088
1325
|
attr_accessor :reboot_window
|
1089
1326
|
# An object containing device type specific settings for Stripe S700 readers
|
1090
|
-
sig { returns(::Stripe::Terminal::Configuration::CreateParams::StripeS700) }
|
1327
|
+
sig { returns(T.nilable(::Stripe::Terminal::Configuration::CreateParams::StripeS700)) }
|
1091
1328
|
attr_accessor :stripe_s700
|
1092
1329
|
# Tipping configurations for readers supporting on-reader tips
|
1093
|
-
sig {
|
1330
|
+
sig {
|
1331
|
+
returns(T.nilable(T.nilable(T.any(String, ::Stripe::Terminal::Configuration::CreateParams::Tipping))))
|
1332
|
+
}
|
1094
1333
|
attr_accessor :tipping
|
1095
1334
|
# An object containing device type specific settings for Verifone P400 readers
|
1096
|
-
sig { returns(::Stripe::Terminal::Configuration::CreateParams::VerifoneP400) }
|
1335
|
+
sig { returns(T.nilable(::Stripe::Terminal::Configuration::CreateParams::VerifoneP400)) }
|
1097
1336
|
attr_accessor :verifone_p400
|
1337
|
+
# Configurations for connecting to a WiFi network.
|
1338
|
+
sig {
|
1339
|
+
returns(T.nilable(T.nilable(T.any(String, ::Stripe::Terminal::Configuration::CreateParams::Wifi))))
|
1340
|
+
}
|
1341
|
+
attr_accessor :wifi
|
1098
1342
|
sig {
|
1099
|
-
params(bbpos_wisepos_e: ::Stripe::Terminal::Configuration::CreateParams::BbposWiseposE, expand: T::Array[String], name: String, offline: T.nilable(::Stripe::Terminal::Configuration::CreateParams::Offline), reboot_window: ::Stripe::Terminal::Configuration::CreateParams::RebootWindow, stripe_s700: ::Stripe::Terminal::Configuration::CreateParams::StripeS700, tipping: T.nilable(::Stripe::Terminal::Configuration::CreateParams::Tipping), verifone_p400: ::Stripe::Terminal::Configuration::CreateParams::VerifoneP400).void
|
1343
|
+
params(bbpos_wisepos_e: T.nilable(::Stripe::Terminal::Configuration::CreateParams::BbposWiseposE), expand: T.nilable(T::Array[String]), name: T.nilable(String), offline: T.nilable(T.nilable(T.any(String, ::Stripe::Terminal::Configuration::CreateParams::Offline))), reboot_window: T.nilable(::Stripe::Terminal::Configuration::CreateParams::RebootWindow), stripe_s700: T.nilable(::Stripe::Terminal::Configuration::CreateParams::StripeS700), tipping: T.nilable(T.nilable(T.any(String, ::Stripe::Terminal::Configuration::CreateParams::Tipping))), verifone_p400: T.nilable(::Stripe::Terminal::Configuration::CreateParams::VerifoneP400), wifi: T.nilable(T.nilable(T.any(String, ::Stripe::Terminal::Configuration::CreateParams::Wifi)))).void
|
1100
1344
|
}
|
1101
1345
|
def initialize(
|
1102
1346
|
bbpos_wisepos_e: nil,
|
@@ -1106,7 +1350,8 @@ module Stripe
|
|
1106
1350
|
reboot_window: nil,
|
1107
1351
|
stripe_s700: nil,
|
1108
1352
|
tipping: nil,
|
1109
|
-
verifone_p400: nil
|
1353
|
+
verifone_p400: nil,
|
1354
|
+
wifi: nil
|
1110
1355
|
); end
|
1111
1356
|
end
|
1112
1357
|
# Creates a new Configuration object.
|