stripe 18.4.0.pre.alpha.1 → 18.4.0.pre.beta.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/lib/stripe/event_types.rb +0 -356
- data/lib/stripe/object_types.rb +0 -42
- data/lib/stripe/params/account_create_params.rb +0 -32
- data/lib/stripe/params/account_person_create_params.rb +0 -32
- data/lib/stripe/params/account_person_update_params.rb +0 -32
- data/lib/stripe/params/account_session_create_params.rb +0 -17
- data/lib/stripe/params/account_update_params.rb +0 -32
- data/lib/stripe/params/billing/alert_create_params.rb +1 -121
- data/lib/stripe/params/billing/alert_list_params.rb +0 -4
- data/lib/stripe/params/billing/analytics/meter_usage_retrieve_params.rb +1 -5
- data/lib/stripe/params/billing/credit_balance_summary_retrieve_params.rb +1 -13
- data/lib/stripe/params/billing/credit_grant_create_params.rb +2 -29
- data/lib/stripe/params/billing/meter_create_params.rb +0 -4
- data/lib/stripe/params/billing/meter_event_summary_list_params.rb +0 -8
- data/lib/stripe/params/checkout/session_create_params.rb +1 -95
- data/lib/stripe/params/checkout/session_update_params.rb +0 -15
- data/lib/stripe/params/coupon_create_params.rb +1 -31
- data/lib/stripe/params/identity/verification_report_list_params.rb +0 -4
- data/lib/stripe/params/invoice_add_lines_params.rb +0 -15
- data/lib/stripe/params/invoice_create_preview_params.rb +13 -552
- data/lib/stripe/params/invoice_line_item_update_params.rb +0 -15
- data/lib/stripe/params/invoice_list_params.rb +0 -4
- data/lib/stripe/params/invoice_update_lines_params.rb +0 -15
- data/lib/stripe/params/issuing/card_list_params.rb +1 -34
- data/lib/stripe/params/payment_intent_confirm_params.rb +0 -38
- data/lib/stripe/params/payment_intent_create_params.rb +0 -51
- data/lib/stripe/params/payment_intent_update_params.rb +0 -34
- data/lib/stripe/params/payment_link_create_params.rb +0 -15
- data/lib/stripe/params/plan_create_params.rb +0 -15
- data/lib/stripe/params/price_create_params.rb +0 -15
- data/lib/stripe/params/product_create_params.rb +0 -16
- data/lib/stripe/params/product_update_params.rb +0 -16
- data/lib/stripe/params/quote_create_params.rb +8 -424
- data/lib/stripe/params/quote_update_params.rb +8 -424
- data/lib/stripe/params/setup_intent_confirm_params.rb +0 -29
- data/lib/stripe/params/setup_intent_create_params.rb +0 -29
- data/lib/stripe/params/setup_intent_update_params.rb +1 -30
- data/lib/stripe/params/subscription_create_params.rb +2 -126
- data/lib/stripe/params/subscription_item_create_params.rb +1 -69
- data/lib/stripe/params/subscription_item_update_params.rb +1 -69
- data/lib/stripe/params/subscription_list_params.rb +0 -4
- data/lib/stripe/params/subscription_schedule_amend_params.rb +8 -243
- data/lib/stripe/params/subscription_schedule_create_params.rb +3 -175
- data/lib/stripe/params/subscription_schedule_update_params.rb +3 -175
- data/lib/stripe/params/subscription_update_params.rb +2 -126
- data/lib/stripe/params/tax/calculation_create_params.rb +0 -4
- data/lib/stripe/params/token_create_params.rb +0 -64
- data/lib/stripe/params/transfer_create_params.rb +0 -4
- data/lib/stripe/params/v2/billing/cadence_cancel_params.rb +1 -8
- data/lib/stripe/params/v2/billing/cadence_create_params.rb +0 -4
- data/lib/stripe/params/v2/billing/cadence_update_params.rb +1 -4
- data/lib/stripe/params/v2/core/account_create_params.rb +32 -716
- data/lib/stripe/params/v2/core/account_token_create_params.rb +24 -238
- data/lib/stripe/params/v2/core/account_update_params.rb +32 -702
- data/lib/stripe/params/v2/core/event_list_params.rb +1 -4
- data/lib/stripe/params/v2/core/event_retrieve_params.rb +1 -8
- data/lib/stripe/params/v2/core/vault/us_bank_account_update_params.rb +1 -1
- data/lib/stripe/params/v2/money_management/financial_account_list_params.rb +1 -4
- data/lib/stripe/params/v2/money_management/financial_address_create_params.rb +1 -12
- data/lib/stripe/params/v2/money_management/outbound_payment_create_params.rb +1 -25
- data/lib/stripe/params/v2/money_management/outbound_payment_quote_create_params.rb +1 -4
- data/lib/stripe/params/v2/money_management/outbound_setup_intent_create_params.rb +1 -19
- data/lib/stripe/params/v2/money_management/outbound_transfer_create_params.rb +0 -4
- data/lib/stripe/params.rb +0 -134
- data/lib/stripe/resources/account_session.rb +0 -54
- data/lib/stripe/resources/application_fee.rb +0 -2
- data/lib/stripe/resources/balance.rb +0 -83
- data/lib/stripe/resources/billing/alert.rb +1 -105
- data/lib/stripe/resources/billing/alert_triggered.rb +0 -6
- data/lib/stripe/resources/billing/analytics/meter_usage_row.rb +0 -2
- data/lib/stripe/resources/billing/credit_balance_summary.rb +2 -84
- data/lib/stripe/resources/billing/credit_balance_transaction.rb +2 -84
- data/lib/stripe/resources/billing/credit_grant.rb +2 -58
- data/lib/stripe/resources/billing/meter.rb +0 -2
- data/lib/stripe/resources/billing/meter_event_summary.rb +0 -2
- data/lib/stripe/resources/capital/financing_offer.rb +0 -41
- data/lib/stripe/resources/card.rb +1 -18
- data/lib/stripe/resources/charge.rb +0 -18
- data/lib/stripe/resources/checkout/session.rb +0 -92
- data/lib/stripe/resources/confirmation_token.rb +0 -18
- data/lib/stripe/resources/coupon.rb +0 -34
- data/lib/stripe/resources/discount.rb +1 -20
- data/lib/stripe/resources/identity/verification_report.rb +0 -4
- data/lib/stripe/resources/invoice.rb +0 -34
- data/lib/stripe/resources/invoice_item.rb +2 -106
- data/lib/stripe/resources/invoice_line_item.rb +1 -107
- data/lib/stripe/resources/issuing/card.rb +0 -4
- data/lib/stripe/resources/payment_intent.rb +0 -62
- data/lib/stripe/resources/payment_method.rb +0 -38
- data/lib/stripe/resources/person.rb +0 -36
- data/lib/stripe/resources/plan.rb +0 -2
- data/lib/stripe/resources/price.rb +0 -2
- data/lib/stripe/resources/quote.rb +1 -238
- data/lib/stripe/resources/quote_line.rb +0 -6
- data/lib/stripe/resources/quote_preview_invoice.rb +0 -34
- data/lib/stripe/resources/quote_preview_subscription_schedule.rb +0 -94
- data/lib/stripe/resources/setup_intent.rb +0 -40
- data/lib/stripe/resources/subscription.rb +1 -62
- data/lib/stripe/resources/subscription_item.rb +1 -24
- data/lib/stripe/resources/subscription_schedule.rb +0 -94
- data/lib/stripe/resources/tax/calculation_line_item.rb +0 -2
- data/lib/stripe/resources/tax/registration.rb +0 -128
- data/lib/stripe/resources/tax_code.rb +1 -15
- data/lib/stripe/resources/transfer.rb +0 -4
- data/lib/stripe/resources/v2/billing/cadence.rb +0 -46
- data/lib/stripe/resources/v2/billing/profile.rb +1 -0
- data/lib/stripe/resources/v2/core/account.rb +27 -1073
- data/lib/stripe/resources/v2/core/event.rb +1 -50
- data/lib/stripe/resources/v2/money_management/financial_account.rb +0 -35
- data/lib/stripe/resources/v2/money_management/financial_address.rb +29 -1
- data/lib/stripe/resources/v2/money_management/outbound_payment.rb +1 -87
- data/lib/stripe/resources/v2/money_management/outbound_payment_quote.rb +0 -2
- data/lib/stripe/resources/v2/money_management/outbound_transfer.rb +0 -2
- data/lib/stripe/resources/v2/money_management/payout_method.rb +3 -24
- data/lib/stripe/resources/v2/money_management/received_credit.rb +0 -34
- data/lib/stripe/resources/v2/money_management/received_debit.rb +0 -56
- data/lib/stripe/resources.rb +0 -134
- data/lib/stripe/services/identity_service.rb +1 -2
- data/lib/stripe/services/issuing_service.rb +1 -2
- data/lib/stripe/services/payment_method_service.rb +0 -11
- data/lib/stripe/services/radar_service.rb +1 -2
- data/lib/stripe/services/subscription_service.rb +0 -22
- data/lib/stripe/services/tax_service.rb +1 -2
- data/lib/stripe/services/test_helpers_service.rb +1 -3
- data/lib/stripe/services/v1_services.rb +1 -6
- data/lib/stripe/services/v2/billing_service.rb +1 -14
- data/lib/stripe/services/v2/core_service.rb +1 -2
- data/lib/stripe/services/v2/money_management_service.rb +1 -5
- data/lib/stripe/services/v2/test_helper_service.rb +1 -2
- data/lib/stripe/services/v2_services.rb +1 -5
- data/lib/stripe/services.rb +0 -49
- data/lib/stripe/stripe_client.rb +8 -1
- data/lib/stripe/stripe_event_notification_handler.rb +431 -0
- data/lib/stripe/version.rb +1 -1
- data/lib/stripe.rb +1 -0
- data/rbi/stripe/stripe_client.rbi +13 -0
- data/rbi/stripe.rbi +751 -23957
- metadata +2 -318
- data/lib/stripe/events/v2_billing_cadence_billed_event.rb +0 -61
- data/lib/stripe/events/v2_billing_cadence_canceled_event.rb +0 -44
- data/lib/stripe/events/v2_billing_cadence_created_event.rb +0 -61
- data/lib/stripe/events/v2_billing_license_fee_created_event.rb +0 -44
- data/lib/stripe/events/v2_billing_license_fee_updated_event.rb +0 -44
- data/lib/stripe/events/v2_billing_license_fee_version_created_event.rb +0 -61
- data/lib/stripe/events/v2_billing_licensed_item_created_event.rb +0 -44
- data/lib/stripe/events/v2_billing_licensed_item_updated_event.rb +0 -44
- data/lib/stripe/events/v2_billing_metered_item_created_event.rb +0 -44
- data/lib/stripe/events/v2_billing_metered_item_updated_event.rb +0 -44
- data/lib/stripe/events/v2_billing_pricing_plan_component_created_event.rb +0 -61
- data/lib/stripe/events/v2_billing_pricing_plan_component_updated_event.rb +0 -61
- data/lib/stripe/events/v2_billing_pricing_plan_created_event.rb +0 -44
- data/lib/stripe/events/v2_billing_pricing_plan_subscription_collection_awaiting_customer_action_event.rb +0 -44
- data/lib/stripe/events/v2_billing_pricing_plan_subscription_collection_current_event.rb +0 -44
- data/lib/stripe/events/v2_billing_pricing_plan_subscription_collection_past_due_event.rb +0 -44
- data/lib/stripe/events/v2_billing_pricing_plan_subscription_collection_paused_event.rb +0 -44
- data/lib/stripe/events/v2_billing_pricing_plan_subscription_collection_unpaid_event.rb +0 -44
- data/lib/stripe/events/v2_billing_pricing_plan_subscription_servicing_activated_event.rb +0 -44
- data/lib/stripe/events/v2_billing_pricing_plan_subscription_servicing_canceled_event.rb +0 -44
- data/lib/stripe/events/v2_billing_pricing_plan_subscription_servicing_paused_event.rb +0 -44
- data/lib/stripe/events/v2_billing_pricing_plan_updated_event.rb +0 -44
- data/lib/stripe/events/v2_billing_pricing_plan_version_created_event.rb +0 -61
- data/lib/stripe/events/v2_billing_rate_card_created_event.rb +0 -61
- data/lib/stripe/events/v2_billing_rate_card_rate_created_event.rb +0 -67
- data/lib/stripe/events/v2_billing_rate_card_subscription_activated_event.rb +0 -44
- data/lib/stripe/events/v2_billing_rate_card_subscription_canceled_event.rb +0 -44
- data/lib/stripe/events/v2_billing_rate_card_subscription_collection_awaiting_customer_action_event.rb +0 -44
- data/lib/stripe/events/v2_billing_rate_card_subscription_collection_current_event.rb +0 -44
- data/lib/stripe/events/v2_billing_rate_card_subscription_collection_past_due_event.rb +0 -44
- data/lib/stripe/events/v2_billing_rate_card_subscription_collection_paused_event.rb +0 -44
- data/lib/stripe/events/v2_billing_rate_card_subscription_collection_unpaid_event.rb +0 -44
- data/lib/stripe/events/v2_billing_rate_card_subscription_servicing_activated_event.rb +0 -44
- data/lib/stripe/events/v2_billing_rate_card_subscription_servicing_canceled_event.rb +0 -44
- data/lib/stripe/events/v2_billing_rate_card_subscription_servicing_paused_event.rb +0 -44
- data/lib/stripe/events/v2_billing_rate_card_updated_event.rb +0 -44
- data/lib/stripe/events/v2_billing_rate_card_version_created_event.rb +0 -61
- data/lib/stripe/events/v2_core_account_including_configuration_card_creator_capability_status_updated_event.rb +0 -63
- data/lib/stripe/events/v2_core_account_including_configuration_card_creator_updated_event.rb +0 -44
- data/lib/stripe/events/v2_core_claimable_sandbox_claimed_event.rb +0 -44
- data/lib/stripe/events/v2_core_claimable_sandbox_created_event.rb +0 -44
- data/lib/stripe/events/v2_core_claimable_sandbox_expired_event.rb +0 -44
- data/lib/stripe/events/v2_core_claimable_sandbox_expiring_event.rb +0 -44
- data/lib/stripe/events/v2_core_claimable_sandbox_sandbox_details_owner_account_updated_event.rb +0 -44
- data/lib/stripe/events/v2_core_health_api_error_firing_event.rb +0 -86
- data/lib/stripe/events/v2_core_health_api_error_resolved_event.rb +0 -86
- data/lib/stripe/events/v2_core_health_api_latency_firing_event.rb +0 -84
- data/lib/stripe/events/v2_core_health_api_latency_resolved_event.rb +0 -84
- data/lib/stripe/events/v2_core_health_authorization_rate_drop_firing_event.rb +0 -80
- data/lib/stripe/events/v2_core_health_authorization_rate_drop_resolved_event.rb +0 -80
- data/lib/stripe/events/v2_core_health_fraud_rate_increased_event.rb +0 -78
- data/lib/stripe/events/v2_core_health_issuing_authorization_request_errors_firing_event.rb +0 -91
- data/lib/stripe/events/v2_core_health_issuing_authorization_request_errors_resolved_event.rb +0 -93
- data/lib/stripe/events/v2_core_health_issuing_authorization_request_timeout_firing_event.rb +0 -93
- data/lib/stripe/events/v2_core_health_issuing_authorization_request_timeout_resolved_event.rb +0 -93
- data/lib/stripe/events/v2_core_health_payment_method_error_firing_event.rb +0 -82
- data/lib/stripe/events/v2_core_health_payment_method_error_resolved_event.rb +0 -82
- data/lib/stripe/events/v2_core_health_sepa_debit_delayed_firing_event.rb +0 -58
- data/lib/stripe/events/v2_core_health_sepa_debit_delayed_resolved_event.rb +0 -60
- data/lib/stripe/events/v2_core_health_traffic_volume_drop_firing_event.rb +0 -62
- data/lib/stripe/events/v2_core_health_traffic_volume_drop_resolved_event.rb +0 -62
- data/lib/stripe/events/v2_core_health_webhook_latency_firing_event.rb +0 -58
- data/lib/stripe/events/v2_core_health_webhook_latency_resolved_event.rb +0 -58
- data/lib/stripe/events/v2_iam_api_key_created_event.rb +0 -20
- data/lib/stripe/events/v2_iam_api_key_default_secret_revealed_event.rb +0 -20
- data/lib/stripe/events/v2_iam_api_key_expired_event.rb +0 -20
- data/lib/stripe/events/v2_iam_api_key_permissions_updated_event.rb +0 -20
- data/lib/stripe/events/v2_iam_api_key_rotated_event.rb +0 -38
- data/lib/stripe/events/v2_iam_api_key_updated_event.rb +0 -20
- data/lib/stripe/events/v2_money_management_recipient_verification_created_event.rb +0 -44
- data/lib/stripe/events/v2_money_management_recipient_verification_updated_event.rb +0 -44
- data/lib/stripe/events/v2_payments_off_session_payment_attempt_failed_event.rb +0 -44
- data/lib/stripe/events/v2_payments_off_session_payment_attempt_started_event.rb +0 -46
- data/lib/stripe/events/v2_payments_off_session_payment_authorization_attempt_failed_event.rb +0 -46
- data/lib/stripe/events/v2_payments_off_session_payment_authorization_attempt_started_event.rb +0 -48
- data/lib/stripe/events/v2_payments_off_session_payment_canceled_event.rb +0 -44
- data/lib/stripe/events/v2_payments_off_session_payment_created_event.rb +0 -44
- data/lib/stripe/events/v2_payments_off_session_payment_failed_event.rb +0 -44
- data/lib/stripe/events/v2_payments_off_session_payment_requires_capture_event.rb +0 -44
- data/lib/stripe/events/v2_payments_off_session_payment_succeeded_event.rb +0 -44
- data/lib/stripe/events/v2_payments_settlement_allocation_intent_canceled_event.rb +0 -44
- data/lib/stripe/events/v2_payments_settlement_allocation_intent_created_event.rb +0 -44
- data/lib/stripe/events/v2_payments_settlement_allocation_intent_errored_event.rb +0 -65
- data/lib/stripe/events/v2_payments_settlement_allocation_intent_funds_not_received_event.rb +0 -44
- data/lib/stripe/events/v2_payments_settlement_allocation_intent_matched_event.rb +0 -44
- data/lib/stripe/events/v2_payments_settlement_allocation_intent_not_found_event.rb +0 -38
- data/lib/stripe/events/v2_payments_settlement_allocation_intent_settled_event.rb +0 -44
- data/lib/stripe/events/v2_payments_settlement_allocation_intent_split_canceled_event.rb +0 -61
- data/lib/stripe/events/v2_payments_settlement_allocation_intent_split_created_event.rb +0 -61
- data/lib/stripe/events/v2_payments_settlement_allocation_intent_split_settled_event.rb +0 -61
- data/lib/stripe/events/v2_payments_settlement_allocation_intent_submitted_event.rb +0 -44
- data/lib/stripe/events/v2_reporting_report_run_created_event.rb +0 -44
- data/lib/stripe/events/v2_reporting_report_run_failed_event.rb +0 -44
- data/lib/stripe/events/v2_reporting_report_run_succeeded_event.rb +0 -44
- data/lib/stripe/events/v2_reporting_report_run_updated_event.rb +0 -44
- data/lib/stripe/params/balance_transfer_create_params.rb +0 -66
- data/lib/stripe/params/capital/financing_offer_create_params.rb +0 -37
- data/lib/stripe/params/capital/financing_offer_refill_params.rb +0 -37
- data/lib/stripe/params/delegated_checkout/requested_session_confirm_params.rb +0 -138
- data/lib/stripe/params/delegated_checkout/requested_session_create_params.rb +0 -205
- data/lib/stripe/params/delegated_checkout/requested_session_expire_params.rb +0 -15
- data/lib/stripe/params/delegated_checkout/requested_session_retrieve_params.rb +0 -15
- data/lib/stripe/params/delegated_checkout/requested_session_update_params.rb +0 -209
- data/lib/stripe/params/fr_meal_vouchers_onboarding_create_params.rb +0 -25
- data/lib/stripe/params/fr_meal_vouchers_onboarding_list_params.rb +0 -22
- data/lib/stripe/params/fr_meal_vouchers_onboarding_retrieve_params.rb +0 -13
- data/lib/stripe/params/fr_meal_vouchers_onboarding_update_params.rb +0 -16
- data/lib/stripe/params/identity/blocklist_entry_create_params.rb +0 -29
- data/lib/stripe/params/identity/blocklist_entry_disable_params.rb +0 -15
- data/lib/stripe/params/identity/blocklist_entry_list_params.rb +0 -62
- data/lib/stripe/params/identity/blocklist_entry_retrieve_params.rb +0 -15
- data/lib/stripe/params/issuing/program_create_params.rb +0 -21
- data/lib/stripe/params/issuing/program_list_params.rb +0 -24
- data/lib/stripe/params/issuing/program_retrieve_params.rb +0 -15
- data/lib/stripe/params/issuing/program_update_params.rb +0 -21
- data/lib/stripe/params/payment_method_check_balance_params.rb +0 -13
- data/lib/stripe/params/product_catalog/trial_offer_create_params.rb +0 -63
- data/lib/stripe/params/radar/account_evaluation_create_params.rb +0 -81
- data/lib/stripe/params/radar/account_evaluation_retrieve_params.rb +0 -15
- data/lib/stripe/params/radar/account_evaluation_update_params.rb +0 -41
- data/lib/stripe/params/shared_payment/granted_token_create_params.rb +0 -47
- data/lib/stripe/params/shared_payment/granted_token_retrieve_params.rb +0 -15
- data/lib/stripe/params/shared_payment/granted_token_revoke_params.rb +0 -15
- data/lib/stripe/params/subscription_attach_cadence_params.rb +0 -16
- data/lib/stripe/params/subscription_pause_params.rb +0 -33
- data/lib/stripe/params/tax/location_create_params.rb +0 -54
- data/lib/stripe/params/tax/location_list_params.rb +0 -27
- data/lib/stripe/params/tax/location_retrieve_params.rb +0 -15
- data/lib/stripe/params/test_helpers/capital/financing_offer_create_params.rb +0 -39
- data/lib/stripe/params/test_helpers/capital/financing_offer_refill_params.rb +0 -39
- data/lib/stripe/params/test_helpers/shared_payment/granted_token_create_params.rb +0 -49
- data/lib/stripe/params/test_helpers/shared_payment/granted_token_revoke_params.rb +0 -17
- data/lib/stripe/params/v2/billing/custom_pricing_unit_create_params.rb +0 -26
- data/lib/stripe/params/v2/billing/custom_pricing_unit_list_params.rb +0 -24
- data/lib/stripe/params/v2/billing/custom_pricing_unit_retrieve_params.rb +0 -10
- data/lib/stripe/params/v2/billing/custom_pricing_unit_update_params.rb +0 -26
- data/lib/stripe/params/v2/billing/intent_cancel_params.rb +0 -10
- data/lib/stripe/params/v2/billing/intent_commit_params.rb +0 -17
- data/lib/stripe/params/v2/billing/intent_create_params.rb +0 -425
- data/lib/stripe/params/v2/billing/intent_list_params.rb +0 -17
- data/lib/stripe/params/v2/billing/intent_release_reservation_params.rb +0 -10
- data/lib/stripe/params/v2/billing/intent_reserve_params.rb +0 -10
- data/lib/stripe/params/v2/billing/intent_retrieve_params.rb +0 -10
- data/lib/stripe/params/v2/billing/intents/action_list_params.rb +0 -19
- data/lib/stripe/params/v2/billing/intents/action_retrieve_params.rb +0 -12
- data/lib/stripe/params/v2/billing/license_fee_create_params.rb +0 -103
- data/lib/stripe/params/v2/billing/license_fee_list_params.rb +0 -24
- data/lib/stripe/params/v2/billing/license_fee_retrieve_params.rb +0 -10
- data/lib/stripe/params/v2/billing/license_fee_subscription_retrieve_params.rb +0 -10
- data/lib/stripe/params/v2/billing/license_fee_update_params.rb +0 -84
- data/lib/stripe/params/v2/billing/license_fees/version_list_params.rb +0 -19
- data/lib/stripe/params/v2/billing/license_fees/version_retrieve_params.rb +0 -12
- data/lib/stripe/params/v2/billing/licensed_item_create_params.rb +0 -48
- data/lib/stripe/params/v2/billing/licensed_item_list_params.rb +0 -21
- data/lib/stripe/params/v2/billing/licensed_item_retrieve_params.rb +0 -10
- data/lib/stripe/params/v2/billing/licensed_item_update_params.rb +0 -48
- data/lib/stripe/params/v2/billing/metered_item_create_params.rb +0 -73
- data/lib/stripe/params/v2/billing/metered_item_list_params.rb +0 -21
- data/lib/stripe/params/v2/billing/metered_item_retrieve_params.rb +0 -10
- data/lib/stripe/params/v2/billing/metered_item_update_params.rb +0 -50
- data/lib/stripe/params/v2/billing/pricing_plan_create_params.rb +0 -39
- data/lib/stripe/params/v2/billing/pricing_plan_list_params.rb +0 -24
- data/lib/stripe/params/v2/billing/pricing_plan_retrieve_params.rb +0 -10
- data/lib/stripe/params/v2/billing/pricing_plan_subscription_list_params.rb +0 -50
- data/lib/stripe/params/v2/billing/pricing_plan_subscription_retrieve_params.rb +0 -10
- data/lib/stripe/params/v2/billing/pricing_plan_subscription_update_params.rb +0 -20
- data/lib/stripe/params/v2/billing/pricing_plan_subscriptions/component_retrieve_params.rb +0 -12
- data/lib/stripe/params/v2/billing/pricing_plan_update_params.rb +0 -39
- data/lib/stripe/params/v2/billing/pricing_plans/component_create_params.rb +0 -73
- data/lib/stripe/params/v2/billing/pricing_plans/component_delete_params.rb +0 -12
- data/lib/stripe/params/v2/billing/pricing_plans/component_list_params.rb +0 -27
- data/lib/stripe/params/v2/billing/pricing_plans/component_retrieve_params.rb +0 -12
- data/lib/stripe/params/v2/billing/pricing_plans/component_update_params.rb +0 -22
- data/lib/stripe/params/v2/billing/pricing_plans/version_list_params.rb +0 -19
- data/lib/stripe/params/v2/billing/pricing_plans/version_retrieve_params.rb +0 -12
- data/lib/stripe/params/v2/billing/rate_card_create_params.rb +0 -49
- data/lib/stripe/params/v2/billing/rate_card_list_params.rb +0 -24
- data/lib/stripe/params/v2/billing/rate_card_retrieve_params.rb +0 -10
- data/lib/stripe/params/v2/billing/rate_card_subscription_cancel_params.rb +0 -10
- data/lib/stripe/params/v2/billing/rate_card_subscription_create_params.rb +0 -26
- data/lib/stripe/params/v2/billing/rate_card_subscription_list_params.rb +0 -51
- data/lib/stripe/params/v2/billing/rate_card_subscription_retrieve_params.rb +0 -10
- data/lib/stripe/params/v2/billing/rate_card_subscription_update_params.rb +0 -17
- data/lib/stripe/params/v2/billing/rate_card_update_params.rb +0 -38
- data/lib/stripe/params/v2/billing/rate_cards/rate_create_params.rb +0 -91
- data/lib/stripe/params/v2/billing/rate_cards/rate_delete_params.rb +0 -12
- data/lib/stripe/params/v2/billing/rate_cards/rate_list_params.rb +0 -25
- data/lib/stripe/params/v2/billing/rate_cards/rate_retrieve_params.rb +0 -12
- data/lib/stripe/params/v2/billing/rate_cards/version_list_params.rb +0 -19
- data/lib/stripe/params/v2/billing/rate_cards/version_retrieve_params.rb +0 -12
- data/lib/stripe/params/v2/billing/service_action_create_params.rb +0 -278
- data/lib/stripe/params/v2/billing/service_action_retrieve_params.rb +0 -10
- data/lib/stripe/params/v2/billing/service_action_update_params.rb +0 -40
- data/lib/stripe/params/v2/core/claimable_sandbox_create_params.rb +0 -36
- data/lib/stripe/params/v2/core/claimable_sandbox_retrieve_params.rb +0 -10
- data/lib/stripe/params/v2/iam/api_key_create_params.rb +0 -51
- data/lib/stripe/params/v2/iam/api_key_expire_params.rb +0 -10
- data/lib/stripe/params/v2/iam/api_key_list_params.rb +0 -20
- data/lib/stripe/params/v2/iam/api_key_retrieve_params.rb +0 -10
- data/lib/stripe/params/v2/iam/api_key_rotate_params.rb +0 -46
- data/lib/stripe/params/v2/iam/api_key_update_params.rb +0 -20
- data/lib/stripe/params/v2/money_management/currency_conversion_create_params.rb +0 -68
- data/lib/stripe/params/v2/money_management/currency_conversion_list_params.rb +0 -20
- data/lib/stripe/params/v2/money_management/currency_conversion_retrieve_params.rb +0 -10
- data/lib/stripe/params/v2/money_management/recipient_verification_acknowledge_params.rb +0 -10
- data/lib/stripe/params/v2/money_management/recipient_verification_create_params.rb +0 -20
- data/lib/stripe/params/v2/money_management/recipient_verification_retrieve_params.rb +0 -10
- data/lib/stripe/params/v2/payments/off_session_payment_cancel_params.rb +0 -10
- data/lib/stripe/params/v2/payments/off_session_payment_capture_params.rb +0 -57
- data/lib/stripe/params/v2/payments/off_session_payment_create_params.rb +0 -161
- data/lib/stripe/params/v2/payments/off_session_payment_list_params.rb +0 -17
- data/lib/stripe/params/v2/payments/off_session_payment_retrieve_params.rb +0 -10
- data/lib/stripe/params/v2/payments/settlement_allocation_intent_cancel_params.rb +0 -10
- data/lib/stripe/params/v2/payments/settlement_allocation_intent_create_params.rb +0 -46
- data/lib/stripe/params/v2/payments/settlement_allocation_intent_retrieve_params.rb +0 -10
- data/lib/stripe/params/v2/payments/settlement_allocation_intent_submit_params.rb +0 -10
- data/lib/stripe/params/v2/payments/settlement_allocation_intent_update_params.rb +0 -31
- data/lib/stripe/params/v2/payments/settlement_allocation_intents/split_cancel_params.rb +0 -12
- data/lib/stripe/params/v2/payments/settlement_allocation_intents/split_create_params.rb +0 -39
- data/lib/stripe/params/v2/payments/settlement_allocation_intents/split_retrieve_params.rb +0 -12
- data/lib/stripe/params/v2/reporting/report_retrieve_params.rb +0 -10
- data/lib/stripe/params/v2/reporting/report_run_create_params.rb +0 -33
- data/lib/stripe/params/v2/reporting/report_run_retrieve_params.rb +0 -10
- data/lib/stripe/params/v2/tax/manual_rule_create_params.rb +0 -94
- data/lib/stripe/params/v2/tax/manual_rule_deactivate_params.rb +0 -10
- data/lib/stripe/params/v2/tax/manual_rule_list_params.rb +0 -17
- data/lib/stripe/params/v2/tax/manual_rule_retrieve_params.rb +0 -10
- data/lib/stripe/params/v2/tax/manual_rule_update_params.rb +0 -94
- data/lib/stripe/params/v2/test_helpers/money_management_recipient_verifications_params.rb +0 -24
- data/lib/stripe/resources/balance_transfer.rb +0 -139
- data/lib/stripe/resources/delegated_checkout/requested_session.rb +0 -509
- data/lib/stripe/resources/fr_meal_vouchers_onboarding.rb +0 -143
- data/lib/stripe/resources/identity/blocklist_entry.rb +0 -116
- data/lib/stripe/resources/issuing/program.rb +0 -69
- data/lib/stripe/resources/payment_method_balance.rb +0 -68
- data/lib/stripe/resources/product_catalog/trial_offer.rb +0 -103
- data/lib/stripe/resources/radar/account_evaluation.rb +0 -145
- data/lib/stripe/resources/shared_payment/granted_token.rb +0 -126
- data/lib/stripe/resources/tax/location.rb +0 -72
- data/lib/stripe/resources/transit_balance.rb +0 -45
- data/lib/stripe/resources/v2/billing/custom_pricing_unit.rb +0 -43
- data/lib/stripe/resources/v2/billing/intent.rb +0 -86
- data/lib/stripe/resources/v2/billing/intent_action.rb +0 -483
- data/lib/stripe/resources/v2/billing/license_fee.rb +0 -104
- data/lib/stripe/resources/v2/billing/license_fee_subscription.rb +0 -44
- data/lib/stripe/resources/v2/billing/license_fee_version.rb +0 -80
- data/lib/stripe/resources/v2/billing/licensed_item.rb +0 -60
- data/lib/stripe/resources/v2/billing/metered_item.rb +0 -85
- data/lib/stripe/resources/v2/billing/pricing_plan.rb +0 -51
- data/lib/stripe/resources/v2/billing/pricing_plan_component.rb +0 -94
- data/lib/stripe/resources/v2/billing/pricing_plan_subscription.rb +0 -94
- data/lib/stripe/resources/v2/billing/pricing_plan_subscription_components.rb +0 -49
- data/lib/stripe/resources/v2/billing/pricing_plan_version.rb +0 -38
- data/lib/stripe/resources/v2/billing/rate_card.rb +0 -61
- data/lib/stripe/resources/v2/billing/rate_card_rate.rb +0 -110
- data/lib/stripe/resources/v2/billing/rate_card_subscription.rb +0 -94
- data/lib/stripe/resources/v2/billing/rate_card_version.rb +0 -34
- data/lib/stripe/resources/v2/billing/service_action.rb +0 -274
- data/lib/stripe/resources/v2/core/claimable_sandbox.rb +0 -105
- data/lib/stripe/resources/v2/iam/api_key.rb +0 -129
- data/lib/stripe/resources/v2/money_management/currency_conversion.rb +0 -94
- data/lib/stripe/resources/v2/money_management/recipient_verification.rb +0 -83
- data/lib/stripe/resources/v2/payments/off_session_payment.rb +0 -186
- data/lib/stripe/resources/v2/payments/settlement_allocation_intent.rb +0 -92
- data/lib/stripe/resources/v2/payments/settlement_allocation_intent_split.rb +0 -78
- data/lib/stripe/resources/v2/reporting/report.rb +0 -116
- data/lib/stripe/resources/v2/reporting/report_run.rb +0 -128
- data/lib/stripe/resources/v2/tax/manual_rule.rb +0 -115
- data/lib/stripe/services/balance_transfer_service.rb +0 -17
- data/lib/stripe/services/delegated_checkout/requested_session_service.rb +0 -63
- data/lib/stripe/services/delegated_checkout_service.rb +0 -13
- data/lib/stripe/services/fr_meal_vouchers_onboarding_service.rb +0 -50
- data/lib/stripe/services/identity/blocklist_entry_service.rb +0 -71
- data/lib/stripe/services/issuing/program_service.rb +0 -52
- data/lib/stripe/services/product_catalog/trial_offer_service.rb +0 -19
- data/lib/stripe/services/product_catalog_service.rb +0 -13
- data/lib/stripe/services/radar/account_evaluation_service.rb +0 -41
- data/lib/stripe/services/shared_payment/granted_token_service.rb +0 -19
- data/lib/stripe/services/shared_payment_service.rb +0 -13
- data/lib/stripe/services/tax/location_service.rb +0 -45
- data/lib/stripe/services/test_helpers/capital/financing_offer_service.rb +0 -32
- data/lib/stripe/services/test_helpers/capital_service.rb +0 -15
- data/lib/stripe/services/test_helpers/shared_payment/granted_token_service.rb +0 -32
- data/lib/stripe/services/test_helpers/shared_payment_service.rb +0 -15
- data/lib/stripe/services/v2/billing/custom_pricing_unit_service.rb +0 -54
- data/lib/stripe/services/v2/billing/intent_service.rb +0 -94
- data/lib/stripe/services/v2/billing/intents/action_service.rb +0 -34
- data/lib/stripe/services/v2/billing/license_fee_service.rb +0 -61
- data/lib/stripe/services/v2/billing/license_fee_subscription_service.rb +0 -21
- data/lib/stripe/services/v2/billing/license_fees/version_service.rb +0 -34
- data/lib/stripe/services/v2/billing/licensed_item_service.rb +0 -54
- data/lib/stripe/services/v2/billing/metered_item_service.rb +0 -54
- data/lib/stripe/services/v2/billing/pricing_plan_service.rb +0 -62
- data/lib/stripe/services/v2/billing/pricing_plan_subscription_service.rb +0 -51
- data/lib/stripe/services/v2/billing/pricing_plan_subscriptions/component_service.rb +0 -23
- data/lib/stripe/services/v2/billing/pricing_plans/component_service.rb +0 -67
- data/lib/stripe/services/v2/billing/pricing_plans/version_service.rb +0 -34
- data/lib/stripe/services/v2/billing/rate_card_service.rb +0 -62
- data/lib/stripe/services/v2/billing/rate_card_subscription_service.rb +0 -65
- data/lib/stripe/services/v2/billing/rate_cards/rate_service.rb +0 -57
- data/lib/stripe/services/v2/billing/rate_cards/version_service.rb +0 -34
- data/lib/stripe/services/v2/billing/service_action_service.rb +0 -43
- data/lib/stripe/services/v2/core/claimable_sandbox_service.rb +0 -35
- data/lib/stripe/services/v2/iam/api_key_service.rb +0 -76
- data/lib/stripe/services/v2/iam_service.rb +0 -15
- data/lib/stripe/services/v2/money_management/currency_conversion_service.rb +0 -45
- data/lib/stripe/services/v2/money_management/recipient_verification_service.rb +0 -43
- data/lib/stripe/services/v2/payment_service.rb +0 -17
- data/lib/stripe/services/v2/payments/off_session_payment_service.rb +0 -65
- data/lib/stripe/services/v2/payments/settlement_allocation_intent_service.rb +0 -72
- data/lib/stripe/services/v2/payments/settlement_allocation_intents/split_service.rb +0 -45
- data/lib/stripe/services/v2/reporting/report_run_service.rb +0 -38
- data/lib/stripe/services/v2/reporting/report_service.rb +0 -23
- data/lib/stripe/services/v2/reporting_service.rb +0 -16
- data/lib/stripe/services/v2/tax/manual_rule_service.rb +0 -65
- data/lib/stripe/services/v2/tax_service.rb +0 -15
- data/lib/stripe/services/v2/test_helpers/money_management_service.rb +0 -21
|
@@ -1,116 +0,0 @@
|
|
|
1
|
-
# File generated from our OpenAPI spec
|
|
2
|
-
# frozen_string_literal: true
|
|
3
|
-
|
|
4
|
-
module Stripe
|
|
5
|
-
module Identity
|
|
6
|
-
# A BlocklistEntry represents an entry in our identity verification blocklist.
|
|
7
|
-
# It helps prevent fraudulent users from repeatedly attempting verification with similar information.
|
|
8
|
-
# When you create a BlocklistEntry, we store data from a specified VerificationReport,
|
|
9
|
-
# such as document details or facial biometrics.
|
|
10
|
-
# This allows us to compare future verification attempts against these entries.
|
|
11
|
-
# If a match is found, we categorize the new verification as unverified.
|
|
12
|
-
#
|
|
13
|
-
# To learn more, see [Identity Verification Blocklist](https://docs.stripe.com/identity/review-tools#block-list)
|
|
14
|
-
class BlocklistEntry < APIResource
|
|
15
|
-
extend Stripe::APIOperations::Create
|
|
16
|
-
extend Stripe::APIOperations::List
|
|
17
|
-
|
|
18
|
-
OBJECT_NAME = "identity.blocklist_entry"
|
|
19
|
-
def self.object_name
|
|
20
|
-
"identity.blocklist_entry"
|
|
21
|
-
end
|
|
22
|
-
|
|
23
|
-
# Time at which the object was created. Measured in seconds since the Unix epoch.
|
|
24
|
-
attr_reader :created
|
|
25
|
-
# Time at which you disabled the BlocklistEntry. Measured in seconds since the Unix epoch.
|
|
26
|
-
attr_reader :disabled_at
|
|
27
|
-
# Time at which the BlocklistEntry expires. Measured in seconds since the Unix epoch.
|
|
28
|
-
attr_reader :expires_at
|
|
29
|
-
# Unique identifier for the object.
|
|
30
|
-
attr_reader :id
|
|
31
|
-
# Has the value `true` if the object exists in live mode or the value `false` if the object exists in test mode.
|
|
32
|
-
attr_reader :livemode
|
|
33
|
-
# String representing the object's type. Objects of the same type share the same value.
|
|
34
|
-
attr_reader :object
|
|
35
|
-
# The current status of the BlocklistEntry.
|
|
36
|
-
attr_reader :status
|
|
37
|
-
# The type of BlocklistEntry.
|
|
38
|
-
attr_reader :type
|
|
39
|
-
# The verification report the BlocklistEntry was created from.
|
|
40
|
-
attr_reader :verification_report
|
|
41
|
-
# The verification session the BlocklistEntry was created from.
|
|
42
|
-
attr_reader :verification_session
|
|
43
|
-
|
|
44
|
-
# Creates a BlocklistEntry object from a verification report.
|
|
45
|
-
#
|
|
46
|
-
# A blocklist entry prevents future identity verifications that match the same identity information.
|
|
47
|
-
# You can create blocklist entries from verification reports that contain document extracted data
|
|
48
|
-
# or a selfie.
|
|
49
|
-
#
|
|
50
|
-
# Related guide: [Identity Verification Blocklist](https://docs.stripe.com/docs/identity/review-tools#add-a-blocklist-entry)
|
|
51
|
-
def self.create(params = {}, opts = {})
|
|
52
|
-
request_stripe_object(
|
|
53
|
-
method: :post,
|
|
54
|
-
path: "/v1/identity/blocklist_entries",
|
|
55
|
-
params: params,
|
|
56
|
-
opts: opts
|
|
57
|
-
)
|
|
58
|
-
end
|
|
59
|
-
|
|
60
|
-
# Disables a BlocklistEntry object.
|
|
61
|
-
#
|
|
62
|
-
# After a BlocklistEntry is disabled, it will no longer block future verifications that match
|
|
63
|
-
# the same information. This action is irreversible. To re-enable it, a new BlocklistEntry
|
|
64
|
-
# must be created using the same verification report.
|
|
65
|
-
#
|
|
66
|
-
# Related guide: [Identity Verification Blocklist](https://docs.stripe.com/docs/identity/review-tools#disable-a-blocklist-entry)
|
|
67
|
-
def disable(params = {}, opts = {})
|
|
68
|
-
request_stripe_object(
|
|
69
|
-
method: :post,
|
|
70
|
-
path: format("/v1/identity/blocklist_entries/%<id>s/disable", { id: CGI.escape(self["id"]) }),
|
|
71
|
-
params: params,
|
|
72
|
-
opts: opts
|
|
73
|
-
)
|
|
74
|
-
end
|
|
75
|
-
|
|
76
|
-
# Disables a BlocklistEntry object.
|
|
77
|
-
#
|
|
78
|
-
# After a BlocklistEntry is disabled, it will no longer block future verifications that match
|
|
79
|
-
# the same information. This action is irreversible. To re-enable it, a new BlocklistEntry
|
|
80
|
-
# must be created using the same verification report.
|
|
81
|
-
#
|
|
82
|
-
# Related guide: [Identity Verification Blocklist](https://docs.stripe.com/docs/identity/review-tools#disable-a-blocklist-entry)
|
|
83
|
-
def self.disable(id, params = {}, opts = {})
|
|
84
|
-
request_stripe_object(
|
|
85
|
-
method: :post,
|
|
86
|
-
path: format("/v1/identity/blocklist_entries/%<id>s/disable", { id: CGI.escape(id) }),
|
|
87
|
-
params: params,
|
|
88
|
-
opts: opts
|
|
89
|
-
)
|
|
90
|
-
end
|
|
91
|
-
|
|
92
|
-
# Returns a list of BlocklistEntry objects associated with your account.
|
|
93
|
-
#
|
|
94
|
-
# The blocklist entries are returned sorted by creation date, with the most recently created
|
|
95
|
-
# entries appearing first.
|
|
96
|
-
#
|
|
97
|
-
# Related guide: [Identity Verification Blocklist](https://docs.stripe.com/docs/identity/review-tools#block-list)
|
|
98
|
-
def self.list(params = {}, opts = {})
|
|
99
|
-
request_stripe_object(
|
|
100
|
-
method: :get,
|
|
101
|
-
path: "/v1/identity/blocklist_entries",
|
|
102
|
-
params: params,
|
|
103
|
-
opts: opts
|
|
104
|
-
)
|
|
105
|
-
end
|
|
106
|
-
|
|
107
|
-
def self.inner_class_types
|
|
108
|
-
@inner_class_types = {}
|
|
109
|
-
end
|
|
110
|
-
|
|
111
|
-
def self.field_remappings
|
|
112
|
-
@field_remappings = {}
|
|
113
|
-
end
|
|
114
|
-
end
|
|
115
|
-
end
|
|
116
|
-
end
|
|
@@ -1,69 +0,0 @@
|
|
|
1
|
-
# File generated from our OpenAPI spec
|
|
2
|
-
# frozen_string_literal: true
|
|
3
|
-
|
|
4
|
-
module Stripe
|
|
5
|
-
module Issuing
|
|
6
|
-
# An Issuing `Program` represents a card program that the user has access to.
|
|
7
|
-
class Program < APIResource
|
|
8
|
-
extend Stripe::APIOperations::Create
|
|
9
|
-
extend Stripe::APIOperations::List
|
|
10
|
-
include Stripe::APIOperations::Save
|
|
11
|
-
|
|
12
|
-
OBJECT_NAME = "issuing.program"
|
|
13
|
-
def self.object_name
|
|
14
|
-
"issuing.program"
|
|
15
|
-
end
|
|
16
|
-
|
|
17
|
-
# Time at which the object was created. Measured in seconds since the Unix epoch.
|
|
18
|
-
attr_reader :created
|
|
19
|
-
# Unique identifier for the object.
|
|
20
|
-
attr_reader :id
|
|
21
|
-
# Whether or not this is the "default" issuing program new cards are created on. Only one active `is_default` program at the same time.
|
|
22
|
-
attr_reader :is_default
|
|
23
|
-
# Set of [key-value pairs](https://docs.stripe.com/api/metadata) that you can attach to an object. This can be useful for storing additional information about the object in a structured format.
|
|
24
|
-
attr_reader :metadata
|
|
25
|
-
# String representing the object's type. Objects of the same type share the same value.
|
|
26
|
-
attr_reader :object
|
|
27
|
-
# The platform's Issuing Program for which this program is associated.
|
|
28
|
-
attr_reader :platform_program
|
|
29
|
-
|
|
30
|
-
# Create a Program object.
|
|
31
|
-
def self.create(params = {}, opts = {})
|
|
32
|
-
request_stripe_object(
|
|
33
|
-
method: :post,
|
|
34
|
-
path: "/v1/issuing/programs",
|
|
35
|
-
params: params,
|
|
36
|
-
opts: opts
|
|
37
|
-
)
|
|
38
|
-
end
|
|
39
|
-
|
|
40
|
-
# List all of the programs the given Issuing user has access to.
|
|
41
|
-
def self.list(params = {}, opts = {})
|
|
42
|
-
request_stripe_object(
|
|
43
|
-
method: :get,
|
|
44
|
-
path: "/v1/issuing/programs",
|
|
45
|
-
params: params,
|
|
46
|
-
opts: opts
|
|
47
|
-
)
|
|
48
|
-
end
|
|
49
|
-
|
|
50
|
-
# Updates a Program object.
|
|
51
|
-
def self.update(program, params = {}, opts = {})
|
|
52
|
-
request_stripe_object(
|
|
53
|
-
method: :post,
|
|
54
|
-
path: format("/v1/issuing/programs/%<program>s", { program: CGI.escape(program) }),
|
|
55
|
-
params: params,
|
|
56
|
-
opts: opts
|
|
57
|
-
)
|
|
58
|
-
end
|
|
59
|
-
|
|
60
|
-
def self.inner_class_types
|
|
61
|
-
@inner_class_types = {}
|
|
62
|
-
end
|
|
63
|
-
|
|
64
|
-
def self.field_remappings
|
|
65
|
-
@field_remappings = {}
|
|
66
|
-
end
|
|
67
|
-
end
|
|
68
|
-
end
|
|
69
|
-
end
|
|
@@ -1,68 +0,0 @@
|
|
|
1
|
-
# File generated from our OpenAPI spec
|
|
2
|
-
# frozen_string_literal: true
|
|
3
|
-
|
|
4
|
-
module Stripe
|
|
5
|
-
# PaymentMethodBalance objects represent balances available on a payment method.
|
|
6
|
-
# You can use v1/payment_methods/:id/check_balance to check the balance of a payment method.
|
|
7
|
-
class PaymentMethodBalance < APIResource
|
|
8
|
-
OBJECT_NAME = "payment_method_balance"
|
|
9
|
-
def self.object_name
|
|
10
|
-
"payment_method_balance"
|
|
11
|
-
end
|
|
12
|
-
|
|
13
|
-
class Balance < ::Stripe::StripeObject
|
|
14
|
-
class FrMealVoucher < ::Stripe::StripeObject
|
|
15
|
-
class Available < ::Stripe::StripeObject
|
|
16
|
-
# The amount of the balance.
|
|
17
|
-
attr_reader :amount
|
|
18
|
-
# The currency of the balance.
|
|
19
|
-
attr_reader :currency
|
|
20
|
-
|
|
21
|
-
def self.inner_class_types
|
|
22
|
-
@inner_class_types = {}
|
|
23
|
-
end
|
|
24
|
-
|
|
25
|
-
def self.field_remappings
|
|
26
|
-
@field_remappings = {}
|
|
27
|
-
end
|
|
28
|
-
end
|
|
29
|
-
# The hashes of balances and amounts for available balances.
|
|
30
|
-
attr_reader :available
|
|
31
|
-
|
|
32
|
-
def self.inner_class_types
|
|
33
|
-
@inner_class_types = { available: Available }
|
|
34
|
-
end
|
|
35
|
-
|
|
36
|
-
def self.field_remappings
|
|
37
|
-
@field_remappings = {}
|
|
38
|
-
end
|
|
39
|
-
end
|
|
40
|
-
# The available FR Meal Voucher balances.
|
|
41
|
-
attr_reader :fr_meal_voucher
|
|
42
|
-
|
|
43
|
-
def self.inner_class_types
|
|
44
|
-
@inner_class_types = { fr_meal_voucher: FrMealVoucher }
|
|
45
|
-
end
|
|
46
|
-
|
|
47
|
-
def self.field_remappings
|
|
48
|
-
@field_remappings = {}
|
|
49
|
-
end
|
|
50
|
-
end
|
|
51
|
-
# The time at which the balance was calculated. Measured in seconds since the Unix epoch.
|
|
52
|
-
attr_reader :as_of
|
|
53
|
-
# BalanceEntry contain information about every individual balance type of a card.
|
|
54
|
-
attr_reader :balance
|
|
55
|
-
# Has the value `true` if the object exists in live mode or the value `false` if the object exists in test mode.
|
|
56
|
-
attr_reader :livemode
|
|
57
|
-
# String representing the object's type. Objects of the same type share the same value.
|
|
58
|
-
attr_reader :object
|
|
59
|
-
|
|
60
|
-
def self.inner_class_types
|
|
61
|
-
@inner_class_types = { balance: Balance }
|
|
62
|
-
end
|
|
63
|
-
|
|
64
|
-
def self.field_remappings
|
|
65
|
-
@field_remappings = {}
|
|
66
|
-
end
|
|
67
|
-
end
|
|
68
|
-
end
|
|
@@ -1,103 +0,0 @@
|
|
|
1
|
-
# File generated from our OpenAPI spec
|
|
2
|
-
# frozen_string_literal: true
|
|
3
|
-
|
|
4
|
-
module Stripe
|
|
5
|
-
module ProductCatalog
|
|
6
|
-
# Resource for the TrialOffer API, used to describe a subscription item's trial period settings.
|
|
7
|
-
# Renders a TrialOffer object that describes the price, duration, end_behavior of a trial offer.
|
|
8
|
-
class TrialOffer < APIResource
|
|
9
|
-
extend Stripe::APIOperations::Create
|
|
10
|
-
|
|
11
|
-
OBJECT_NAME = "product_catalog.trial_offer"
|
|
12
|
-
def self.object_name
|
|
13
|
-
"product_catalog.trial_offer"
|
|
14
|
-
end
|
|
15
|
-
|
|
16
|
-
class Duration < ::Stripe::StripeObject
|
|
17
|
-
class Relative < ::Stripe::StripeObject
|
|
18
|
-
# The number of iterations of the price's interval for this trial offer.
|
|
19
|
-
attr_reader :iterations
|
|
20
|
-
|
|
21
|
-
def self.inner_class_types
|
|
22
|
-
@inner_class_types = {}
|
|
23
|
-
end
|
|
24
|
-
|
|
25
|
-
def self.field_remappings
|
|
26
|
-
@field_remappings = {}
|
|
27
|
-
end
|
|
28
|
-
end
|
|
29
|
-
# Attribute for field relative
|
|
30
|
-
attr_reader :relative
|
|
31
|
-
# The type of trial offer duration.
|
|
32
|
-
attr_reader :type
|
|
33
|
-
|
|
34
|
-
def self.inner_class_types
|
|
35
|
-
@inner_class_types = { relative: Relative }
|
|
36
|
-
end
|
|
37
|
-
|
|
38
|
-
def self.field_remappings
|
|
39
|
-
@field_remappings = {}
|
|
40
|
-
end
|
|
41
|
-
end
|
|
42
|
-
|
|
43
|
-
class EndBehavior < ::Stripe::StripeObject
|
|
44
|
-
class Transition < ::Stripe::StripeObject
|
|
45
|
-
# The new price to use at the end of the trial offer period.
|
|
46
|
-
attr_reader :price
|
|
47
|
-
|
|
48
|
-
def self.inner_class_types
|
|
49
|
-
@inner_class_types = {}
|
|
50
|
-
end
|
|
51
|
-
|
|
52
|
-
def self.field_remappings
|
|
53
|
-
@field_remappings = {}
|
|
54
|
-
end
|
|
55
|
-
end
|
|
56
|
-
# Attribute for field transition
|
|
57
|
-
attr_reader :transition
|
|
58
|
-
# The type of behavior when the trial offer ends.
|
|
59
|
-
attr_reader :type
|
|
60
|
-
|
|
61
|
-
def self.inner_class_types
|
|
62
|
-
@inner_class_types = { transition: Transition }
|
|
63
|
-
end
|
|
64
|
-
|
|
65
|
-
def self.field_remappings
|
|
66
|
-
@field_remappings = {}
|
|
67
|
-
end
|
|
68
|
-
end
|
|
69
|
-
# Attribute for field duration
|
|
70
|
-
attr_reader :duration
|
|
71
|
-
# Attribute for field end_behavior
|
|
72
|
-
attr_reader :end_behavior
|
|
73
|
-
# Unique identifier for the object.
|
|
74
|
-
attr_reader :id
|
|
75
|
-
# Has the value `true` if the object exists in live mode or the value `false` if the object exists in test mode.
|
|
76
|
-
attr_reader :livemode
|
|
77
|
-
# A brief, user-friendly name for the trial offer-for identification purposes.
|
|
78
|
-
attr_reader :name
|
|
79
|
-
# String representing the object's type. Objects of the same type share the same value.
|
|
80
|
-
attr_reader :object
|
|
81
|
-
# The price during the trial offer.
|
|
82
|
-
attr_reader :price
|
|
83
|
-
|
|
84
|
-
# Creates a trial offer.
|
|
85
|
-
def self.create(params = {}, opts = {})
|
|
86
|
-
request_stripe_object(
|
|
87
|
-
method: :post,
|
|
88
|
-
path: "/v1/product_catalog/trial_offers",
|
|
89
|
-
params: params,
|
|
90
|
-
opts: opts
|
|
91
|
-
)
|
|
92
|
-
end
|
|
93
|
-
|
|
94
|
-
def self.inner_class_types
|
|
95
|
-
@inner_class_types = { duration: Duration, end_behavior: EndBehavior }
|
|
96
|
-
end
|
|
97
|
-
|
|
98
|
-
def self.field_remappings
|
|
99
|
-
@field_remappings = {}
|
|
100
|
-
end
|
|
101
|
-
end
|
|
102
|
-
end
|
|
103
|
-
end
|
|
@@ -1,145 +0,0 @@
|
|
|
1
|
-
# File generated from our OpenAPI spec
|
|
2
|
-
# frozen_string_literal: true
|
|
3
|
-
|
|
4
|
-
module Stripe
|
|
5
|
-
module Radar
|
|
6
|
-
# Account Evaluation resource returned by the Radar Account Evaluations API.
|
|
7
|
-
class AccountEvaluation < APIResource
|
|
8
|
-
extend Stripe::APIOperations::Create
|
|
9
|
-
include Stripe::APIOperations::Save
|
|
10
|
-
|
|
11
|
-
OBJECT_NAME = "radar.account_evaluation"
|
|
12
|
-
def self.object_name
|
|
13
|
-
"radar.account_evaluation"
|
|
14
|
-
end
|
|
15
|
-
|
|
16
|
-
class Event < ::Stripe::StripeObject
|
|
17
|
-
class LoginFailed < ::Stripe::StripeObject
|
|
18
|
-
# The reason why this login failed.
|
|
19
|
-
attr_reader :reason
|
|
20
|
-
|
|
21
|
-
def self.inner_class_types
|
|
22
|
-
@inner_class_types = {}
|
|
23
|
-
end
|
|
24
|
-
|
|
25
|
-
def self.field_remappings
|
|
26
|
-
@field_remappings = {}
|
|
27
|
-
end
|
|
28
|
-
end
|
|
29
|
-
|
|
30
|
-
class RegistrationFailed < ::Stripe::StripeObject
|
|
31
|
-
# The reason why this registration failed.
|
|
32
|
-
attr_reader :reason
|
|
33
|
-
|
|
34
|
-
def self.inner_class_types
|
|
35
|
-
@inner_class_types = {}
|
|
36
|
-
end
|
|
37
|
-
|
|
38
|
-
def self.field_remappings
|
|
39
|
-
@field_remappings = {}
|
|
40
|
-
end
|
|
41
|
-
end
|
|
42
|
-
# Data about a failed login event.
|
|
43
|
-
attr_reader :login_failed
|
|
44
|
-
# Time at which the event occurred. Measured in seconds since the Unix epoch.
|
|
45
|
-
attr_reader :occurred_at
|
|
46
|
-
# Data about a failed registration event.
|
|
47
|
-
attr_reader :registration_failed
|
|
48
|
-
# The type of event that occurred.
|
|
49
|
-
attr_reader :type
|
|
50
|
-
|
|
51
|
-
def self.inner_class_types
|
|
52
|
-
@inner_class_types = { login_failed: LoginFailed, registration_failed: RegistrationFailed }
|
|
53
|
-
end
|
|
54
|
-
|
|
55
|
-
def self.field_remappings
|
|
56
|
-
@field_remappings = {}
|
|
57
|
-
end
|
|
58
|
-
end
|
|
59
|
-
|
|
60
|
-
class Signals < ::Stripe::StripeObject
|
|
61
|
-
class AccountSharing < ::Stripe::StripeObject
|
|
62
|
-
# Score for this signal (float between 0.0-100.0).
|
|
63
|
-
attr_reader :score
|
|
64
|
-
|
|
65
|
-
def self.inner_class_types
|
|
66
|
-
@inner_class_types = {}
|
|
67
|
-
end
|
|
68
|
-
|
|
69
|
-
def self.field_remappings
|
|
70
|
-
@field_remappings = {}
|
|
71
|
-
end
|
|
72
|
-
end
|
|
73
|
-
|
|
74
|
-
class MultiAccounting < ::Stripe::StripeObject
|
|
75
|
-
# Score for this signal (float between 0.0-100.0).
|
|
76
|
-
attr_reader :score
|
|
77
|
-
|
|
78
|
-
def self.inner_class_types
|
|
79
|
-
@inner_class_types = {}
|
|
80
|
-
end
|
|
81
|
-
|
|
82
|
-
def self.field_remappings
|
|
83
|
-
@field_remappings = {}
|
|
84
|
-
end
|
|
85
|
-
end
|
|
86
|
-
# Attribute for field account_sharing
|
|
87
|
-
attr_reader :account_sharing
|
|
88
|
-
# Attribute for field multi_accounting
|
|
89
|
-
attr_reader :multi_accounting
|
|
90
|
-
|
|
91
|
-
def self.inner_class_types
|
|
92
|
-
@inner_class_types = { account_sharing: AccountSharing, multi_accounting: MultiAccounting }
|
|
93
|
-
end
|
|
94
|
-
|
|
95
|
-
def self.field_remappings
|
|
96
|
-
@field_remappings = {}
|
|
97
|
-
end
|
|
98
|
-
end
|
|
99
|
-
# Time at which the object was created. Measured in seconds since the Unix epoch.
|
|
100
|
-
attr_reader :created_at
|
|
101
|
-
# The ID of the Stripe customer the account evaluation is associated with.
|
|
102
|
-
attr_reader :customer
|
|
103
|
-
# The list of events that were reported for this Account Evaluation object via the report API.
|
|
104
|
-
attr_reader :events
|
|
105
|
-
# Unique identifier for the object.
|
|
106
|
-
attr_reader :id
|
|
107
|
-
# Has the value `true` if the object exists in live mode or the value `false` if the object exists in test mode.
|
|
108
|
-
attr_reader :livemode
|
|
109
|
-
# String representing the object's type. Objects of the same type share the same value.
|
|
110
|
-
attr_reader :object
|
|
111
|
-
# A hash of signal objects providing Radar's evaluation for the lifecycle event.
|
|
112
|
-
attr_reader :signals
|
|
113
|
-
# The type of evaluation returned, based on the user's request.
|
|
114
|
-
attr_reader :type
|
|
115
|
-
|
|
116
|
-
# Creates a new AccountEvaluation object.
|
|
117
|
-
def self.create(params = {}, opts = {})
|
|
118
|
-
request_stripe_object(
|
|
119
|
-
method: :post,
|
|
120
|
-
path: "/v1/radar/account_evaluations",
|
|
121
|
-
params: params,
|
|
122
|
-
opts: opts
|
|
123
|
-
)
|
|
124
|
-
end
|
|
125
|
-
|
|
126
|
-
# Reports an event on an AccountEvaluation object.
|
|
127
|
-
def self.update(account_evaluation, params = {}, opts = {})
|
|
128
|
-
request_stripe_object(
|
|
129
|
-
method: :post,
|
|
130
|
-
path: format("/v1/radar/account_evaluations/%<account_evaluation>s/report_event", { account_evaluation: CGI.escape(account_evaluation) }),
|
|
131
|
-
params: params,
|
|
132
|
-
opts: opts
|
|
133
|
-
)
|
|
134
|
-
end
|
|
135
|
-
|
|
136
|
-
def self.inner_class_types
|
|
137
|
-
@inner_class_types = { events: Event, signals: Signals }
|
|
138
|
-
end
|
|
139
|
-
|
|
140
|
-
def self.field_remappings
|
|
141
|
-
@field_remappings = {}
|
|
142
|
-
end
|
|
143
|
-
end
|
|
144
|
-
end
|
|
145
|
-
end
|
|
@@ -1,126 +0,0 @@
|
|
|
1
|
-
# File generated from our OpenAPI spec
|
|
2
|
-
# frozen_string_literal: true
|
|
3
|
-
|
|
4
|
-
module Stripe
|
|
5
|
-
module SharedPayment
|
|
6
|
-
# SharedPaymentGrantedToken is the view-only resource of a SharedPaymentIssuedToken, which is a limited-use reference to a PaymentMethod.
|
|
7
|
-
# When another Stripe merchant shares a SharedPaymentIssuedToken with you, you can view attributes of the shared token using the SharedPaymentGrantedToken API, and use it with a PaymentIntent.
|
|
8
|
-
class GrantedToken < APIResource
|
|
9
|
-
OBJECT_NAME = "shared_payment.granted_token"
|
|
10
|
-
def self.object_name
|
|
11
|
-
"shared_payment.granted_token"
|
|
12
|
-
end
|
|
13
|
-
|
|
14
|
-
class UsageDetails < ::Stripe::StripeObject
|
|
15
|
-
class AmountCaptured < ::Stripe::StripeObject
|
|
16
|
-
# Three-letter [ISO currency code](https://www.iso.org/iso-4217-currency-codes.html), in lowercase. Must be a [supported currency](https://stripe.com/docs/currencies).
|
|
17
|
-
attr_reader :currency
|
|
18
|
-
# Integer value of the amount in the smallest currency unit.
|
|
19
|
-
attr_reader :value
|
|
20
|
-
|
|
21
|
-
def self.inner_class_types
|
|
22
|
-
@inner_class_types = {}
|
|
23
|
-
end
|
|
24
|
-
|
|
25
|
-
def self.field_remappings
|
|
26
|
-
@field_remappings = {}
|
|
27
|
-
end
|
|
28
|
-
end
|
|
29
|
-
# The total amount captured using this SharedPaymentToken.
|
|
30
|
-
attr_reader :amount_captured
|
|
31
|
-
|
|
32
|
-
def self.inner_class_types
|
|
33
|
-
@inner_class_types = { amount_captured: AmountCaptured }
|
|
34
|
-
end
|
|
35
|
-
|
|
36
|
-
def self.field_remappings
|
|
37
|
-
@field_remappings = {}
|
|
38
|
-
end
|
|
39
|
-
end
|
|
40
|
-
|
|
41
|
-
class UsageLimits < ::Stripe::StripeObject
|
|
42
|
-
# Three-letter [ISO currency code](https://www.iso.org/iso-4217-currency-codes.html), in lowercase. Must be a [supported currency](https://stripe.com/docs/currencies).
|
|
43
|
-
attr_reader :currency
|
|
44
|
-
# Time at which this SharedPaymentToken expires and can no longer be used to confirm a PaymentIntent.
|
|
45
|
-
attr_reader :expires_at
|
|
46
|
-
# Max amount that can be captured using this SharedPaymentToken.
|
|
47
|
-
attr_reader :max_amount
|
|
48
|
-
|
|
49
|
-
def self.inner_class_types
|
|
50
|
-
@inner_class_types = {}
|
|
51
|
-
end
|
|
52
|
-
|
|
53
|
-
def self.field_remappings
|
|
54
|
-
@field_remappings = {}
|
|
55
|
-
end
|
|
56
|
-
end
|
|
57
|
-
# Time at which the object was created. Measured in seconds since the Unix epoch.
|
|
58
|
-
attr_reader :created
|
|
59
|
-
# Time at which this SharedPaymentGrantedToken expires and can no longer be used to confirm a PaymentIntent.
|
|
60
|
-
attr_reader :deactivated_at
|
|
61
|
-
# The reason why the SharedPaymentGrantedToken has been deactivated.
|
|
62
|
-
attr_reader :deactivated_reason
|
|
63
|
-
# Unique identifier for the object.
|
|
64
|
-
attr_reader :id
|
|
65
|
-
# Has the value `true` if the object exists in live mode or the value `false` if the object exists in test mode.
|
|
66
|
-
attr_reader :livemode
|
|
67
|
-
# String representing the object's type. Objects of the same type share the same value.
|
|
68
|
-
attr_reader :object
|
|
69
|
-
# Metadata about the SharedPaymentGrantedToken.
|
|
70
|
-
attr_reader :shared_metadata
|
|
71
|
-
# Some details about how the SharedPaymentGrantedToken has been used already.
|
|
72
|
-
attr_reader :usage_details
|
|
73
|
-
# Limits on how this SharedPaymentGrantedToken can be used.
|
|
74
|
-
attr_reader :usage_limits
|
|
75
|
-
|
|
76
|
-
def test_helpers
|
|
77
|
-
TestHelpers.new(self)
|
|
78
|
-
end
|
|
79
|
-
|
|
80
|
-
class TestHelpers < APIResourceTestHelpers
|
|
81
|
-
RESOURCE_CLASS = GrantedToken
|
|
82
|
-
def self.resource_class
|
|
83
|
-
"GrantedToken"
|
|
84
|
-
end
|
|
85
|
-
|
|
86
|
-
# Creates a new test SharedPaymentGrantedToken object. This endpoint is only available in test mode and allows sellers to create SharedPaymentGrantedTokens for testing their integration
|
|
87
|
-
def self.create(params = {}, opts = {})
|
|
88
|
-
request_stripe_object(
|
|
89
|
-
method: :post,
|
|
90
|
-
path: "/v1/test_helpers/shared_payment/granted_tokens",
|
|
91
|
-
params: params,
|
|
92
|
-
opts: opts
|
|
93
|
-
)
|
|
94
|
-
end
|
|
95
|
-
|
|
96
|
-
# Revokes a test SharedPaymentGrantedToken object. This endpoint is only available in test mode and allows sellers to revoke SharedPaymentGrantedTokens for testing their integration
|
|
97
|
-
def self.revoke(shared_payment_granted_token, params = {}, opts = {})
|
|
98
|
-
request_stripe_object(
|
|
99
|
-
method: :post,
|
|
100
|
-
path: format("/v1/test_helpers/shared_payment/granted_tokens/%<shared_payment_granted_token>s/revoke", { shared_payment_granted_token: CGI.escape(shared_payment_granted_token) }),
|
|
101
|
-
params: params,
|
|
102
|
-
opts: opts
|
|
103
|
-
)
|
|
104
|
-
end
|
|
105
|
-
|
|
106
|
-
# Revokes a test SharedPaymentGrantedToken object. This endpoint is only available in test mode and allows sellers to revoke SharedPaymentGrantedTokens for testing their integration
|
|
107
|
-
def revoke(params = {}, opts = {})
|
|
108
|
-
@resource.request_stripe_object(
|
|
109
|
-
method: :post,
|
|
110
|
-
path: format("/v1/test_helpers/shared_payment/granted_tokens/%<shared_payment_granted_token>s/revoke", { shared_payment_granted_token: CGI.escape(@resource["id"]) }),
|
|
111
|
-
params: params,
|
|
112
|
-
opts: opts
|
|
113
|
-
)
|
|
114
|
-
end
|
|
115
|
-
end
|
|
116
|
-
|
|
117
|
-
def self.inner_class_types
|
|
118
|
-
@inner_class_types = { usage_details: UsageDetails, usage_limits: UsageLimits }
|
|
119
|
-
end
|
|
120
|
-
|
|
121
|
-
def self.field_remappings
|
|
122
|
-
@field_remappings = {}
|
|
123
|
-
end
|
|
124
|
-
end
|
|
125
|
-
end
|
|
126
|
-
end
|