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
|
@@ -60,17 +60,6 @@ module Stripe
|
|
|
60
60
|
|
|
61
61
|
class PriceData < ::Stripe::RequestParams
|
|
62
62
|
class ProductData < ::Stripe::RequestParams
|
|
63
|
-
class TaxDetails < ::Stripe::RequestParams
|
|
64
|
-
# A tax location ID. Depending on the [tax code](/tax/tax-for-tickets/reference/tax-location-performance), this is required, optional, or not supported.
|
|
65
|
-
attr_accessor :performance_location
|
|
66
|
-
# A [tax code](https://docs.stripe.com/tax/tax-categories) ID.
|
|
67
|
-
attr_accessor :tax_code
|
|
68
|
-
|
|
69
|
-
def initialize(performance_location: nil, tax_code: nil)
|
|
70
|
-
@performance_location = performance_location
|
|
71
|
-
@tax_code = tax_code
|
|
72
|
-
end
|
|
73
|
-
end
|
|
74
63
|
# The product's description, meant to be displayable to the customer. Use this field to optionally store a long form explanation of the product being sold for your own rendering purposes.
|
|
75
64
|
attr_accessor :description
|
|
76
65
|
# A list of up to 8 URLs of images for this product, meant to be displayable to the customer.
|
|
@@ -81,8 +70,6 @@ module Stripe
|
|
|
81
70
|
attr_accessor :name
|
|
82
71
|
# A [tax code](https://docs.stripe.com/tax/tax-categories) ID.
|
|
83
72
|
attr_accessor :tax_code
|
|
84
|
-
# Tax details for this product, including the [tax code](/tax/tax-codes) and an optional performance location.
|
|
85
|
-
attr_accessor :tax_details
|
|
86
73
|
# A label that represents units of this product. When set, this will be included in customers' receipts, invoices, Checkout, and the customer portal.
|
|
87
74
|
attr_accessor :unit_label
|
|
88
75
|
|
|
@@ -92,7 +79,6 @@ module Stripe
|
|
|
92
79
|
metadata: nil,
|
|
93
80
|
name: nil,
|
|
94
81
|
tax_code: nil,
|
|
95
|
-
tax_details: nil,
|
|
96
82
|
unit_label: nil
|
|
97
83
|
)
|
|
98
84
|
@description = description
|
|
@@ -100,7 +86,6 @@ module Stripe
|
|
|
100
86
|
@metadata = metadata
|
|
101
87
|
@name = name
|
|
102
88
|
@tax_code = tax_code
|
|
103
|
-
@tax_details = tax_details
|
|
104
89
|
@unit_label = unit_label
|
|
105
90
|
end
|
|
106
91
|
end
|
|
@@ -38,8 +38,6 @@ module Stripe
|
|
|
38
38
|
@lte = lte
|
|
39
39
|
end
|
|
40
40
|
end
|
|
41
|
-
# Only return invoices for the cadence specified by this billing cadence ID.
|
|
42
|
-
attr_accessor :billing_cadence
|
|
43
41
|
# The collection method of the invoice to retrieve. Either `charge_automatically` or `send_invoice`.
|
|
44
42
|
attr_accessor :collection_method
|
|
45
43
|
# Only return invoices that were created during the given date interval.
|
|
@@ -64,7 +62,6 @@ module Stripe
|
|
|
64
62
|
attr_accessor :subscription
|
|
65
63
|
|
|
66
64
|
def initialize(
|
|
67
|
-
billing_cadence: nil,
|
|
68
65
|
collection_method: nil,
|
|
69
66
|
created: nil,
|
|
70
67
|
customer: nil,
|
|
@@ -77,7 +74,6 @@ module Stripe
|
|
|
77
74
|
status: nil,
|
|
78
75
|
subscription: nil
|
|
79
76
|
)
|
|
80
|
-
@billing_cadence = billing_cadence
|
|
81
77
|
@collection_method = collection_method
|
|
82
78
|
@created = created
|
|
83
79
|
@customer = customer
|
|
@@ -61,17 +61,6 @@ module Stripe
|
|
|
61
61
|
|
|
62
62
|
class PriceData < ::Stripe::RequestParams
|
|
63
63
|
class ProductData < ::Stripe::RequestParams
|
|
64
|
-
class TaxDetails < ::Stripe::RequestParams
|
|
65
|
-
# A tax location ID. Depending on the [tax code](/tax/tax-for-tickets/reference/tax-location-performance), this is required, optional, or not supported.
|
|
66
|
-
attr_accessor :performance_location
|
|
67
|
-
# A [tax code](https://docs.stripe.com/tax/tax-categories) ID.
|
|
68
|
-
attr_accessor :tax_code
|
|
69
|
-
|
|
70
|
-
def initialize(performance_location: nil, tax_code: nil)
|
|
71
|
-
@performance_location = performance_location
|
|
72
|
-
@tax_code = tax_code
|
|
73
|
-
end
|
|
74
|
-
end
|
|
75
64
|
# The product's description, meant to be displayable to the customer. Use this field to optionally store a long form explanation of the product being sold for your own rendering purposes.
|
|
76
65
|
attr_accessor :description
|
|
77
66
|
# A list of up to 8 URLs of images for this product, meant to be displayable to the customer.
|
|
@@ -82,8 +71,6 @@ module Stripe
|
|
|
82
71
|
attr_accessor :name
|
|
83
72
|
# A [tax code](https://docs.stripe.com/tax/tax-categories) ID.
|
|
84
73
|
attr_accessor :tax_code
|
|
85
|
-
# Tax details for this product, including the [tax code](/tax/tax-codes) and an optional performance location.
|
|
86
|
-
attr_accessor :tax_details
|
|
87
74
|
# A label that represents units of this product. When set, this will be included in customers' receipts, invoices, Checkout, and the customer portal.
|
|
88
75
|
attr_accessor :unit_label
|
|
89
76
|
|
|
@@ -93,7 +80,6 @@ module Stripe
|
|
|
93
80
|
metadata: nil,
|
|
94
81
|
name: nil,
|
|
95
82
|
tax_code: nil,
|
|
96
|
-
tax_details: nil,
|
|
97
83
|
unit_label: nil
|
|
98
84
|
)
|
|
99
85
|
@description = description
|
|
@@ -101,7 +87,6 @@ module Stripe
|
|
|
101
87
|
@metadata = metadata
|
|
102
88
|
@name = name
|
|
103
89
|
@tax_code = tax_code
|
|
104
|
-
@tax_details = tax_details
|
|
105
90
|
@unit_label = unit_label
|
|
106
91
|
end
|
|
107
92
|
end
|
|
@@ -21,35 +21,6 @@ module Stripe
|
|
|
21
21
|
@lte = lte
|
|
22
22
|
end
|
|
23
23
|
end
|
|
24
|
-
|
|
25
|
-
class Wallets < ::Stripe::RequestParams
|
|
26
|
-
class ApplePay < ::Stripe::RequestParams
|
|
27
|
-
# Query by Apple Pay primary account identifier.
|
|
28
|
-
attr_accessor :primary_account_identifier
|
|
29
|
-
|
|
30
|
-
def initialize(primary_account_identifier: nil)
|
|
31
|
-
@primary_account_identifier = primary_account_identifier
|
|
32
|
-
end
|
|
33
|
-
end
|
|
34
|
-
|
|
35
|
-
class GooglePay < ::Stripe::RequestParams
|
|
36
|
-
# Query by Google Pay primary account identifier.
|
|
37
|
-
attr_accessor :primary_account_identifier
|
|
38
|
-
|
|
39
|
-
def initialize(primary_account_identifier: nil)
|
|
40
|
-
@primary_account_identifier = primary_account_identifier
|
|
41
|
-
end
|
|
42
|
-
end
|
|
43
|
-
# Filter cards by Apple Pay wallet details.
|
|
44
|
-
attr_accessor :apple_pay
|
|
45
|
-
# Filter cards by Google Pay wallet details.
|
|
46
|
-
attr_accessor :google_pay
|
|
47
|
-
|
|
48
|
-
def initialize(apple_pay: nil, google_pay: nil)
|
|
49
|
-
@apple_pay = apple_pay
|
|
50
|
-
@google_pay = google_pay
|
|
51
|
-
end
|
|
52
|
-
end
|
|
53
24
|
# Only return cards belonging to the Cardholder with the provided ID.
|
|
54
25
|
attr_accessor :cardholder
|
|
55
26
|
# Only return cards that were issued during the given date interval.
|
|
@@ -74,8 +45,6 @@ module Stripe
|
|
|
74
45
|
attr_accessor :status
|
|
75
46
|
# Only return cards that have the given type. One of `virtual` or `physical`.
|
|
76
47
|
attr_accessor :type
|
|
77
|
-
# Filter cards by wallet settings.
|
|
78
|
-
attr_accessor :wallets
|
|
79
48
|
|
|
80
49
|
def initialize(
|
|
81
50
|
cardholder: nil,
|
|
@@ -89,8 +58,7 @@ module Stripe
|
|
|
89
58
|
personalization_design: nil,
|
|
90
59
|
starting_after: nil,
|
|
91
60
|
status: nil,
|
|
92
|
-
type: nil
|
|
93
|
-
wallets: nil
|
|
61
|
+
type: nil
|
|
94
62
|
)
|
|
95
63
|
@cardholder = cardholder
|
|
96
64
|
@created = created
|
|
@@ -104,7 +72,6 @@ module Stripe
|
|
|
104
72
|
@starting_after = starting_after
|
|
105
73
|
@status = status
|
|
106
74
|
@type = type
|
|
107
|
-
@wallets = wallets
|
|
108
75
|
end
|
|
109
76
|
end
|
|
110
77
|
end
|
|
@@ -3,15 +3,6 @@
|
|
|
3
3
|
|
|
4
4
|
module Stripe
|
|
5
5
|
class PaymentIntentConfirmParams < ::Stripe::RequestParams
|
|
6
|
-
class AllocatedFunds < ::Stripe::RequestParams
|
|
7
|
-
# Whether Allocated Funds creation is enabled for this PaymentIntent.
|
|
8
|
-
attr_accessor :enabled
|
|
9
|
-
|
|
10
|
-
def initialize(enabled: nil)
|
|
11
|
-
@enabled = enabled
|
|
12
|
-
end
|
|
13
|
-
end
|
|
14
|
-
|
|
15
6
|
class AmountDetails < ::Stripe::RequestParams
|
|
16
7
|
class LineItem < ::Stripe::RequestParams
|
|
17
8
|
class PaymentMethodOptions < ::Stripe::RequestParams
|
|
@@ -261,23 +252,6 @@ module Stripe
|
|
|
261
252
|
end
|
|
262
253
|
|
|
263
254
|
class PaymentDetails < ::Stripe::RequestParams
|
|
264
|
-
class Benefit < ::Stripe::RequestParams
|
|
265
|
-
class FrMealVoucher < ::Stripe::RequestParams
|
|
266
|
-
# The 14-digit SIRET of the meal voucher acceptor.
|
|
267
|
-
attr_accessor :siret
|
|
268
|
-
|
|
269
|
-
def initialize(siret: nil)
|
|
270
|
-
@siret = siret
|
|
271
|
-
end
|
|
272
|
-
end
|
|
273
|
-
# French meal voucher benefit details for this PaymentIntent.
|
|
274
|
-
attr_accessor :fr_meal_voucher
|
|
275
|
-
|
|
276
|
-
def initialize(fr_meal_voucher: nil)
|
|
277
|
-
@fr_meal_voucher = fr_meal_voucher
|
|
278
|
-
end
|
|
279
|
-
end
|
|
280
|
-
|
|
281
255
|
class CarRental < ::Stripe::RequestParams
|
|
282
256
|
class Affiliate < ::Stripe::RequestParams
|
|
283
257
|
# The name of the affiliate that originated the purchase.
|
|
@@ -1869,8 +1843,6 @@ module Stripe
|
|
|
1869
1843
|
@starts_at = starts_at
|
|
1870
1844
|
end
|
|
1871
1845
|
end
|
|
1872
|
-
# Benefit details for this PaymentIntent
|
|
1873
|
-
attr_accessor :benefit
|
|
1874
1846
|
# Car rental details for this PaymentIntent.
|
|
1875
1847
|
attr_accessor :car_rental
|
|
1876
1848
|
# Car rental data for this PaymentIntent.
|
|
@@ -1899,7 +1871,6 @@ module Stripe
|
|
|
1899
1871
|
attr_accessor :subscription
|
|
1900
1872
|
|
|
1901
1873
|
def initialize(
|
|
1902
|
-
benefit: nil,
|
|
1903
1874
|
car_rental: nil,
|
|
1904
1875
|
car_rental_data: nil,
|
|
1905
1876
|
customer_reference: nil,
|
|
@@ -1911,7 +1882,6 @@ module Stripe
|
|
|
1911
1882
|
order_reference: nil,
|
|
1912
1883
|
subscription: nil
|
|
1913
1884
|
)
|
|
1914
|
-
@benefit = benefit
|
|
1915
1885
|
@car_rental = car_rental
|
|
1916
1886
|
@car_rental_data = car_rental_data
|
|
1917
1887
|
@customer_reference = customer_reference
|
|
@@ -5575,8 +5545,6 @@ module Stripe
|
|
|
5575
5545
|
@tracking_number = tracking_number
|
|
5576
5546
|
end
|
|
5577
5547
|
end
|
|
5578
|
-
# Allocated Funds configuration for this PaymentIntent.
|
|
5579
|
-
attr_accessor :allocated_funds
|
|
5580
5548
|
# Provides industry-specific information about the amount.
|
|
5581
5549
|
attr_accessor :amount_details
|
|
5582
5550
|
# The amount of the application fee (if any) that will be requested to be applied to the payment and transferred to the application owner's Stripe account. The amount of the application fee collected will be capped at the total amount captured. For more information, see the PaymentIntents [use case for connected accounts](https://docs.stripe.com/payments/connected-accounts).
|
|
@@ -5634,15 +5602,12 @@ module Stripe
|
|
|
5634
5602
|
#
|
|
5635
5603
|
# If you've already set `setup_future_usage` and you're performing a request using a publishable key, you can only update the value from `on_session` to `off_session`.
|
|
5636
5604
|
attr_accessor :setup_future_usage
|
|
5637
|
-
# ID of the SharedPaymentToken used to confirm this PaymentIntent.
|
|
5638
|
-
attr_accessor :shared_payment_granted_token
|
|
5639
5605
|
# Shipping information for this PaymentIntent.
|
|
5640
5606
|
attr_accessor :shipping
|
|
5641
5607
|
# Set to `true` when confirming server-side and using Stripe.js, iOS, or Android client-side SDKs to handle the next actions.
|
|
5642
5608
|
attr_accessor :use_stripe_sdk
|
|
5643
5609
|
|
|
5644
5610
|
def initialize(
|
|
5645
|
-
allocated_funds: nil,
|
|
5646
5611
|
amount_details: nil,
|
|
5647
5612
|
application_fee_amount: nil,
|
|
5648
5613
|
capture_method: nil,
|
|
@@ -5664,11 +5629,9 @@ module Stripe
|
|
|
5664
5629
|
receipt_email: nil,
|
|
5665
5630
|
return_url: nil,
|
|
5666
5631
|
setup_future_usage: nil,
|
|
5667
|
-
shared_payment_granted_token: nil,
|
|
5668
5632
|
shipping: nil,
|
|
5669
5633
|
use_stripe_sdk: nil
|
|
5670
5634
|
)
|
|
5671
|
-
@allocated_funds = allocated_funds
|
|
5672
5635
|
@amount_details = amount_details
|
|
5673
5636
|
@application_fee_amount = application_fee_amount
|
|
5674
5637
|
@capture_method = capture_method
|
|
@@ -5690,7 +5653,6 @@ module Stripe
|
|
|
5690
5653
|
@receipt_email = receipt_email
|
|
5691
5654
|
@return_url = return_url
|
|
5692
5655
|
@setup_future_usage = setup_future_usage
|
|
5693
|
-
@shared_payment_granted_token = shared_payment_granted_token
|
|
5694
5656
|
@shipping = shipping
|
|
5695
5657
|
@use_stripe_sdk = use_stripe_sdk
|
|
5696
5658
|
end
|
|
@@ -3,15 +3,6 @@
|
|
|
3
3
|
|
|
4
4
|
module Stripe
|
|
5
5
|
class PaymentIntentCreateParams < ::Stripe::RequestParams
|
|
6
|
-
class AllocatedFunds < ::Stripe::RequestParams
|
|
7
|
-
# Whether Allocated Funds creation is enabled for this PaymentIntent.
|
|
8
|
-
attr_accessor :enabled
|
|
9
|
-
|
|
10
|
-
def initialize(enabled: nil)
|
|
11
|
-
@enabled = enabled
|
|
12
|
-
end
|
|
13
|
-
end
|
|
14
|
-
|
|
15
6
|
class AmountDetails < ::Stripe::RequestParams
|
|
16
7
|
class LineItem < ::Stripe::RequestParams
|
|
17
8
|
class PaymentMethodOptions < ::Stripe::RequestParams
|
|
@@ -275,23 +266,6 @@ module Stripe
|
|
|
275
266
|
end
|
|
276
267
|
|
|
277
268
|
class PaymentDetails < ::Stripe::RequestParams
|
|
278
|
-
class Benefit < ::Stripe::RequestParams
|
|
279
|
-
class FrMealVoucher < ::Stripe::RequestParams
|
|
280
|
-
# The 14-digit SIRET of the meal voucher acceptor.
|
|
281
|
-
attr_accessor :siret
|
|
282
|
-
|
|
283
|
-
def initialize(siret: nil)
|
|
284
|
-
@siret = siret
|
|
285
|
-
end
|
|
286
|
-
end
|
|
287
|
-
# French meal voucher benefit details for this PaymentIntent.
|
|
288
|
-
attr_accessor :fr_meal_voucher
|
|
289
|
-
|
|
290
|
-
def initialize(fr_meal_voucher: nil)
|
|
291
|
-
@fr_meal_voucher = fr_meal_voucher
|
|
292
|
-
end
|
|
293
|
-
end
|
|
294
|
-
|
|
295
269
|
class CarRental < ::Stripe::RequestParams
|
|
296
270
|
class Affiliate < ::Stripe::RequestParams
|
|
297
271
|
# The name of the affiliate that originated the purchase.
|
|
@@ -1883,8 +1857,6 @@ module Stripe
|
|
|
1883
1857
|
@starts_at = starts_at
|
|
1884
1858
|
end
|
|
1885
1859
|
end
|
|
1886
|
-
# Benefit details for this PaymentIntent
|
|
1887
|
-
attr_accessor :benefit
|
|
1888
1860
|
# Car rental details for this PaymentIntent.
|
|
1889
1861
|
attr_accessor :car_rental
|
|
1890
1862
|
# Car rental data for this PaymentIntent.
|
|
@@ -1913,7 +1885,6 @@ module Stripe
|
|
|
1913
1885
|
attr_accessor :subscription
|
|
1914
1886
|
|
|
1915
1887
|
def initialize(
|
|
1916
|
-
benefit: nil,
|
|
1917
1888
|
car_rental: nil,
|
|
1918
1889
|
car_rental_data: nil,
|
|
1919
1890
|
customer_reference: nil,
|
|
@@ -1925,7 +1896,6 @@ module Stripe
|
|
|
1925
1896
|
order_reference: nil,
|
|
1926
1897
|
subscription: nil
|
|
1927
1898
|
)
|
|
1928
|
-
@benefit = benefit
|
|
1929
1899
|
@car_rental = car_rental
|
|
1930
1900
|
@car_rental_data = car_rental_data
|
|
1931
1901
|
@customer_reference = customer_reference
|
|
@@ -5530,15 +5500,6 @@ module Stripe
|
|
|
5530
5500
|
end
|
|
5531
5501
|
end
|
|
5532
5502
|
|
|
5533
|
-
class PaymentsOrchestration < ::Stripe::RequestParams
|
|
5534
|
-
# Whether this feature is enabled.
|
|
5535
|
-
attr_accessor :enabled
|
|
5536
|
-
|
|
5537
|
-
def initialize(enabled: nil)
|
|
5538
|
-
@enabled = enabled
|
|
5539
|
-
end
|
|
5540
|
-
end
|
|
5541
|
-
|
|
5542
5503
|
class RadarOptions < ::Stripe::RequestParams
|
|
5543
5504
|
# A [Radar Session](https://docs.stripe.com/radar/radar-session) is a snapshot of the browser metadata and device details that help Radar make more accurate predictions on your payments.
|
|
5544
5505
|
attr_accessor :session
|
|
@@ -5619,8 +5580,6 @@ module Stripe
|
|
|
5619
5580
|
@destination = destination
|
|
5620
5581
|
end
|
|
5621
5582
|
end
|
|
5622
|
-
# Allocated Funds configuration for this PaymentIntent.
|
|
5623
|
-
attr_accessor :allocated_funds
|
|
5624
5583
|
# Amount intended to be collected by this PaymentIntent. A positive integer representing how much to charge in the [smallest currency unit](https://docs.stripe.com/currencies#zero-decimal) (e.g., 100 cents to charge $1.00 or 100 to charge ¥100, a zero-decimal currency). The minimum amount is $0.50 US or [equivalent in charge currency](https://docs.stripe.com/currencies#minimum-and-maximum-charge-amounts). The amount value supports up to eight digits (e.g., a value of 99999999 for a USD charge of $999,999.99).
|
|
5625
5584
|
attr_accessor :amount
|
|
5626
5585
|
# Provides industry-specific information about the amount.
|
|
@@ -5693,8 +5652,6 @@ module Stripe
|
|
|
5693
5652
|
attr_accessor :payment_method_options
|
|
5694
5653
|
# The list of payment method types (for example, a card) that this PaymentIntent can use. If you don't provide this, Stripe will dynamically show relevant payment methods from your [payment method settings](https://dashboard.stripe.com/settings/payment_methods). A list of valid payment method types can be found [here](https://docs.stripe.com/api/payment_methods/object#payment_method_object-type).
|
|
5695
5654
|
attr_accessor :payment_method_types
|
|
5696
|
-
# When you enable this parameter, this PaymentIntent will route your payment to processors that you configure in the dashboard.
|
|
5697
|
-
attr_accessor :payments_orchestration
|
|
5698
5655
|
# Options to configure Radar. Learn more about [Radar Sessions](https://docs.stripe.com/radar/radar-session).
|
|
5699
5656
|
attr_accessor :radar_options
|
|
5700
5657
|
# Email address to send the receipt to. If you specify `receipt_email` for a payment in live mode, you send a receipt regardless of your [email settings](https://dashboard.stripe.com/account/emails).
|
|
@@ -5711,8 +5668,6 @@ module Stripe
|
|
|
5711
5668
|
#
|
|
5712
5669
|
# When processing card payments, Stripe uses `setup_future_usage` to help you comply with regional legislation and network rules, such as [SCA](/strong-customer-authentication).
|
|
5713
5670
|
attr_accessor :setup_future_usage
|
|
5714
|
-
# ID of the SharedPaymentToken used to confirm this PaymentIntent.
|
|
5715
|
-
attr_accessor :shared_payment_granted_token
|
|
5716
5671
|
# Shipping information for this PaymentIntent.
|
|
5717
5672
|
attr_accessor :shipping
|
|
5718
5673
|
# Text that appears on the customer's statement as the statement descriptor for a non-card charge. This value overrides the account's default statement descriptor. For information about requirements, including the 22-character limit, see [the Statement Descriptor docs](https://docs.stripe.com/get-started/account/statement-descriptors).
|
|
@@ -5730,7 +5685,6 @@ module Stripe
|
|
|
5730
5685
|
attr_accessor :use_stripe_sdk
|
|
5731
5686
|
|
|
5732
5687
|
def initialize(
|
|
5733
|
-
allocated_funds: nil,
|
|
5734
5688
|
amount: nil,
|
|
5735
5689
|
amount_details: nil,
|
|
5736
5690
|
application_fee_amount: nil,
|
|
@@ -5759,13 +5713,11 @@ module Stripe
|
|
|
5759
5713
|
payment_method_data: nil,
|
|
5760
5714
|
payment_method_options: nil,
|
|
5761
5715
|
payment_method_types: nil,
|
|
5762
|
-
payments_orchestration: nil,
|
|
5763
5716
|
radar_options: nil,
|
|
5764
5717
|
receipt_email: nil,
|
|
5765
5718
|
return_url: nil,
|
|
5766
5719
|
secret_key_confirmation: nil,
|
|
5767
5720
|
setup_future_usage: nil,
|
|
5768
|
-
shared_payment_granted_token: nil,
|
|
5769
5721
|
shipping: nil,
|
|
5770
5722
|
statement_descriptor: nil,
|
|
5771
5723
|
statement_descriptor_suffix: nil,
|
|
@@ -5773,7 +5725,6 @@ module Stripe
|
|
|
5773
5725
|
transfer_group: nil,
|
|
5774
5726
|
use_stripe_sdk: nil
|
|
5775
5727
|
)
|
|
5776
|
-
@allocated_funds = allocated_funds
|
|
5777
5728
|
@amount = amount
|
|
5778
5729
|
@amount_details = amount_details
|
|
5779
5730
|
@application_fee_amount = application_fee_amount
|
|
@@ -5802,13 +5753,11 @@ module Stripe
|
|
|
5802
5753
|
@payment_method_data = payment_method_data
|
|
5803
5754
|
@payment_method_options = payment_method_options
|
|
5804
5755
|
@payment_method_types = payment_method_types
|
|
5805
|
-
@payments_orchestration = payments_orchestration
|
|
5806
5756
|
@radar_options = radar_options
|
|
5807
5757
|
@receipt_email = receipt_email
|
|
5808
5758
|
@return_url = return_url
|
|
5809
5759
|
@secret_key_confirmation = secret_key_confirmation
|
|
5810
5760
|
@setup_future_usage = setup_future_usage
|
|
5811
|
-
@shared_payment_granted_token = shared_payment_granted_token
|
|
5812
5761
|
@shipping = shipping
|
|
5813
5762
|
@statement_descriptor = statement_descriptor
|
|
5814
5763
|
@statement_descriptor_suffix = statement_descriptor_suffix
|
|
@@ -3,15 +3,6 @@
|
|
|
3
3
|
|
|
4
4
|
module Stripe
|
|
5
5
|
class PaymentIntentUpdateParams < ::Stripe::RequestParams
|
|
6
|
-
class AllocatedFunds < ::Stripe::RequestParams
|
|
7
|
-
# Whether Allocated Funds creation is enabled for this PaymentIntent.
|
|
8
|
-
attr_accessor :enabled
|
|
9
|
-
|
|
10
|
-
def initialize(enabled: nil)
|
|
11
|
-
@enabled = enabled
|
|
12
|
-
end
|
|
13
|
-
end
|
|
14
|
-
|
|
15
6
|
class AmountDetails < ::Stripe::RequestParams
|
|
16
7
|
class LineItem < ::Stripe::RequestParams
|
|
17
8
|
class PaymentMethodOptions < ::Stripe::RequestParams
|
|
@@ -253,23 +244,6 @@ module Stripe
|
|
|
253
244
|
end
|
|
254
245
|
|
|
255
246
|
class PaymentDetails < ::Stripe::RequestParams
|
|
256
|
-
class Benefit < ::Stripe::RequestParams
|
|
257
|
-
class FrMealVoucher < ::Stripe::RequestParams
|
|
258
|
-
# The 14-digit SIRET of the meal voucher acceptor.
|
|
259
|
-
attr_accessor :siret
|
|
260
|
-
|
|
261
|
-
def initialize(siret: nil)
|
|
262
|
-
@siret = siret
|
|
263
|
-
end
|
|
264
|
-
end
|
|
265
|
-
# French meal voucher benefit details for this PaymentIntent.
|
|
266
|
-
attr_accessor :fr_meal_voucher
|
|
267
|
-
|
|
268
|
-
def initialize(fr_meal_voucher: nil)
|
|
269
|
-
@fr_meal_voucher = fr_meal_voucher
|
|
270
|
-
end
|
|
271
|
-
end
|
|
272
|
-
|
|
273
247
|
class CarRental < ::Stripe::RequestParams
|
|
274
248
|
class Affiliate < ::Stripe::RequestParams
|
|
275
249
|
# The name of the affiliate that originated the purchase.
|
|
@@ -1861,8 +1835,6 @@ module Stripe
|
|
|
1861
1835
|
@starts_at = starts_at
|
|
1862
1836
|
end
|
|
1863
1837
|
end
|
|
1864
|
-
# Benefit details for this PaymentIntent
|
|
1865
|
-
attr_accessor :benefit
|
|
1866
1838
|
# Car rental details for this PaymentIntent.
|
|
1867
1839
|
attr_accessor :car_rental
|
|
1868
1840
|
# Car rental data for this PaymentIntent.
|
|
@@ -1891,7 +1863,6 @@ module Stripe
|
|
|
1891
1863
|
attr_accessor :subscription
|
|
1892
1864
|
|
|
1893
1865
|
def initialize(
|
|
1894
|
-
benefit: nil,
|
|
1895
1866
|
car_rental: nil,
|
|
1896
1867
|
car_rental_data: nil,
|
|
1897
1868
|
customer_reference: nil,
|
|
@@ -1903,7 +1874,6 @@ module Stripe
|
|
|
1903
1874
|
order_reference: nil,
|
|
1904
1875
|
subscription: nil
|
|
1905
1876
|
)
|
|
1906
|
-
@benefit = benefit
|
|
1907
1877
|
@car_rental = car_rental
|
|
1908
1878
|
@car_rental_data = car_rental_data
|
|
1909
1879
|
@customer_reference = customer_reference
|
|
@@ -5567,8 +5537,6 @@ module Stripe
|
|
|
5567
5537
|
@amount = amount
|
|
5568
5538
|
end
|
|
5569
5539
|
end
|
|
5570
|
-
# Allocated Funds configuration for this PaymentIntent.
|
|
5571
|
-
attr_accessor :allocated_funds
|
|
5572
5540
|
# Amount intended to be collected by this PaymentIntent. A positive integer representing how much to charge in the [smallest currency unit](https://docs.stripe.com/currencies#zero-decimal) (e.g., 100 cents to charge $1.00 or 100 to charge ¥100, a zero-decimal currency). The minimum amount is $0.50 US or [equivalent in charge currency](https://docs.stripe.com/currencies#minimum-and-maximum-charge-amounts). The amount value supports up to eight digits (e.g., a value of 99999999 for a USD charge of $999,999.99).
|
|
5573
5541
|
attr_accessor :amount
|
|
5574
5542
|
# Provides industry-specific information about the amount.
|
|
@@ -5645,7 +5613,6 @@ module Stripe
|
|
|
5645
5613
|
attr_accessor :transfer_group
|
|
5646
5614
|
|
|
5647
5615
|
def initialize(
|
|
5648
|
-
allocated_funds: nil,
|
|
5649
5616
|
amount: nil,
|
|
5650
5617
|
amount_details: nil,
|
|
5651
5618
|
application_fee_amount: nil,
|
|
@@ -5674,7 +5641,6 @@ module Stripe
|
|
|
5674
5641
|
transfer_data: nil,
|
|
5675
5642
|
transfer_group: nil
|
|
5676
5643
|
)
|
|
5677
|
-
@allocated_funds = allocated_funds
|
|
5678
5644
|
@amount = amount
|
|
5679
5645
|
@amount_details = amount_details
|
|
5680
5646
|
@application_fee_amount = application_fee_amount
|
|
@@ -343,17 +343,6 @@ module Stripe
|
|
|
343
343
|
|
|
344
344
|
class PriceData < ::Stripe::RequestParams
|
|
345
345
|
class ProductData < ::Stripe::RequestParams
|
|
346
|
-
class TaxDetails < ::Stripe::RequestParams
|
|
347
|
-
# A tax location ID. Depending on the [tax code](/tax/tax-for-tickets/reference/tax-location-performance), this is required, optional, or not supported.
|
|
348
|
-
attr_accessor :performance_location
|
|
349
|
-
# A [tax code](https://docs.stripe.com/tax/tax-categories) ID.
|
|
350
|
-
attr_accessor :tax_code
|
|
351
|
-
|
|
352
|
-
def initialize(performance_location: nil, tax_code: nil)
|
|
353
|
-
@performance_location = performance_location
|
|
354
|
-
@tax_code = tax_code
|
|
355
|
-
end
|
|
356
|
-
end
|
|
357
346
|
# The product's description, meant to be displayable to the customer. Use this field to optionally store a long form explanation of the product being sold for your own rendering purposes.
|
|
358
347
|
attr_accessor :description
|
|
359
348
|
# A list of up to 8 URLs of images for this product, meant to be displayable to the customer.
|
|
@@ -364,8 +353,6 @@ module Stripe
|
|
|
364
353
|
attr_accessor :name
|
|
365
354
|
# A [tax code](https://docs.stripe.com/tax/tax-categories) ID.
|
|
366
355
|
attr_accessor :tax_code
|
|
367
|
-
# Tax details for this product, including the [tax code](/tax/tax-codes) and an optional performance location.
|
|
368
|
-
attr_accessor :tax_details
|
|
369
356
|
# A label that represents units of this product. When set, this will be included in customers' receipts, invoices, Checkout, and the customer portal.
|
|
370
357
|
attr_accessor :unit_label
|
|
371
358
|
|
|
@@ -375,7 +362,6 @@ module Stripe
|
|
|
375
362
|
metadata: nil,
|
|
376
363
|
name: nil,
|
|
377
364
|
tax_code: nil,
|
|
378
|
-
tax_details: nil,
|
|
379
365
|
unit_label: nil
|
|
380
366
|
)
|
|
381
367
|
@description = description
|
|
@@ -383,7 +369,6 @@ module Stripe
|
|
|
383
369
|
@metadata = metadata
|
|
384
370
|
@name = name
|
|
385
371
|
@tax_code = tax_code
|
|
386
|
-
@tax_details = tax_details
|
|
387
372
|
@unit_label = unit_label
|
|
388
373
|
end
|
|
389
374
|
end
|
|
@@ -4,17 +4,6 @@
|
|
|
4
4
|
module Stripe
|
|
5
5
|
class PlanCreateParams < ::Stripe::RequestParams
|
|
6
6
|
class Product < ::Stripe::RequestParams
|
|
7
|
-
class TaxDetails < ::Stripe::RequestParams
|
|
8
|
-
# A tax location ID. Depending on the [tax code](/tax/tax-for-tickets/reference/tax-location-performance), this is required, optional, or not supported.
|
|
9
|
-
attr_accessor :performance_location
|
|
10
|
-
# A [tax code](https://docs.stripe.com/tax/tax-categories) ID.
|
|
11
|
-
attr_accessor :tax_code
|
|
12
|
-
|
|
13
|
-
def initialize(performance_location: nil, tax_code: nil)
|
|
14
|
-
@performance_location = performance_location
|
|
15
|
-
@tax_code = tax_code
|
|
16
|
-
end
|
|
17
|
-
end
|
|
18
7
|
# Whether the product is currently available for purchase. Defaults to `true`.
|
|
19
8
|
attr_accessor :active
|
|
20
9
|
# The identifier for the product. Must be unique. If not provided, an identifier will be randomly generated.
|
|
@@ -29,8 +18,6 @@ module Stripe
|
|
|
29
18
|
attr_accessor :statement_descriptor
|
|
30
19
|
# A [tax code](https://docs.stripe.com/tax/tax-categories) ID.
|
|
31
20
|
attr_accessor :tax_code
|
|
32
|
-
# Tax details for this product, including the [tax code](/tax/tax-codes) and an optional performance location.
|
|
33
|
-
attr_accessor :tax_details
|
|
34
21
|
# A label that represents units of this product. When set, this will be included in customers' receipts, invoices, Checkout, and the customer portal.
|
|
35
22
|
attr_accessor :unit_label
|
|
36
23
|
|
|
@@ -41,7 +28,6 @@ module Stripe
|
|
|
41
28
|
name: nil,
|
|
42
29
|
statement_descriptor: nil,
|
|
43
30
|
tax_code: nil,
|
|
44
|
-
tax_details: nil,
|
|
45
31
|
unit_label: nil
|
|
46
32
|
)
|
|
47
33
|
@active = active
|
|
@@ -50,7 +36,6 @@ module Stripe
|
|
|
50
36
|
@name = name
|
|
51
37
|
@statement_descriptor = statement_descriptor
|
|
52
38
|
@tax_code = tax_code
|
|
53
|
-
@tax_details = tax_details
|
|
54
39
|
@unit_label = unit_label
|
|
55
40
|
end
|
|
56
41
|
end
|
|
@@ -93,17 +93,6 @@ module Stripe
|
|
|
93
93
|
end
|
|
94
94
|
|
|
95
95
|
class ProductData < ::Stripe::RequestParams
|
|
96
|
-
class TaxDetails < ::Stripe::RequestParams
|
|
97
|
-
# A tax location ID. Depending on the [tax code](/tax/tax-for-tickets/reference/tax-location-performance), this is required, optional, or not supported.
|
|
98
|
-
attr_accessor :performance_location
|
|
99
|
-
# A [tax code](https://docs.stripe.com/tax/tax-categories) ID.
|
|
100
|
-
attr_accessor :tax_code
|
|
101
|
-
|
|
102
|
-
def initialize(performance_location: nil, tax_code: nil)
|
|
103
|
-
@performance_location = performance_location
|
|
104
|
-
@tax_code = tax_code
|
|
105
|
-
end
|
|
106
|
-
end
|
|
107
96
|
# Whether the product is currently available for purchase. Defaults to `true`.
|
|
108
97
|
attr_accessor :active
|
|
109
98
|
# The identifier for the product. Must be unique. If not provided, an identifier will be randomly generated.
|
|
@@ -118,8 +107,6 @@ module Stripe
|
|
|
118
107
|
attr_accessor :statement_descriptor
|
|
119
108
|
# A [tax code](https://docs.stripe.com/tax/tax-categories) ID.
|
|
120
109
|
attr_accessor :tax_code
|
|
121
|
-
# Tax details for this product, including the [tax code](/tax/tax-codes) and an optional performance location.
|
|
122
|
-
attr_accessor :tax_details
|
|
123
110
|
# A label that represents units of this product. When set, this will be included in customers' receipts, invoices, Checkout, and the customer portal.
|
|
124
111
|
attr_accessor :unit_label
|
|
125
112
|
|
|
@@ -130,7 +117,6 @@ module Stripe
|
|
|
130
117
|
name: nil,
|
|
131
118
|
statement_descriptor: nil,
|
|
132
119
|
tax_code: nil,
|
|
133
|
-
tax_details: nil,
|
|
134
120
|
unit_label: nil
|
|
135
121
|
)
|
|
136
122
|
@active = active
|
|
@@ -139,7 +125,6 @@ module Stripe
|
|
|
139
125
|
@name = name
|
|
140
126
|
@statement_descriptor = statement_descriptor
|
|
141
127
|
@tax_code = tax_code
|
|
142
|
-
@tax_details = tax_details
|
|
143
128
|
@unit_label = unit_label
|
|
144
129
|
end
|
|
145
130
|
end
|
|
@@ -168,18 +168,6 @@ module Stripe
|
|
|
168
168
|
@width = width
|
|
169
169
|
end
|
|
170
170
|
end
|
|
171
|
-
|
|
172
|
-
class TaxDetails < ::Stripe::RequestParams
|
|
173
|
-
# A tax location ID. Depending on the [tax code](/tax/tax-for-tickets/reference/tax-location-performance), this is required, optional, or not supported.
|
|
174
|
-
attr_accessor :performance_location
|
|
175
|
-
# A [tax code](https://docs.stripe.com/tax/tax-categories) ID.
|
|
176
|
-
attr_accessor :tax_code
|
|
177
|
-
|
|
178
|
-
def initialize(performance_location: nil, tax_code: nil)
|
|
179
|
-
@performance_location = performance_location
|
|
180
|
-
@tax_code = tax_code
|
|
181
|
-
end
|
|
182
|
-
end
|
|
183
171
|
# Whether the product is currently available for purchase. Defaults to `true`.
|
|
184
172
|
attr_accessor :active
|
|
185
173
|
# Data used to generate a new [Price](https://docs.stripe.com/api/prices) object. This Price will be set as the default price for this product.
|
|
@@ -209,8 +197,6 @@ module Stripe
|
|
|
209
197
|
attr_accessor :statement_descriptor
|
|
210
198
|
# A [tax code](https://docs.stripe.com/tax/tax-categories) ID.
|
|
211
199
|
attr_accessor :tax_code
|
|
212
|
-
# Tax details for this product, including the [tax code](/tax/tax-codes) and an optional performance location.
|
|
213
|
-
attr_accessor :tax_details
|
|
214
200
|
# The type of the product. Defaults to `service` if not explicitly specified, enabling use of this product with Subscriptions and Plans. Set this parameter to `good` to use this product with Orders and SKUs. On API versions before `2018-02-05`, this field defaults to `good` for compatibility reasons.
|
|
215
201
|
attr_accessor :type
|
|
216
202
|
# A label that represents units of this product. When set, this will be included in customers' receipts, invoices, Checkout, and the customer portal.
|
|
@@ -232,7 +218,6 @@ module Stripe
|
|
|
232
218
|
shippable: nil,
|
|
233
219
|
statement_descriptor: nil,
|
|
234
220
|
tax_code: nil,
|
|
235
|
-
tax_details: nil,
|
|
236
221
|
type: nil,
|
|
237
222
|
unit_label: nil,
|
|
238
223
|
url: nil
|
|
@@ -250,7 +235,6 @@ module Stripe
|
|
|
250
235
|
@shippable = shippable
|
|
251
236
|
@statement_descriptor = statement_descriptor
|
|
252
237
|
@tax_code = tax_code
|
|
253
|
-
@tax_details = tax_details
|
|
254
238
|
@type = type
|
|
255
239
|
@unit_label = unit_label
|
|
256
240
|
@url = url
|