stripe 18.2.0.pre.alpha.1 → 18.2.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/api_requestor.rb +0 -2
- data/lib/stripe/errors.rb +0 -3
- data/lib/stripe/event_types.rb +0 -356
- data/lib/stripe/object_types.rb +3 -40
- data/lib/stripe/params/account_create_params.rb +2 -34
- 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 +2 -34
- 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 +2 -93
- data/lib/stripe/params/checkout/session_update_params.rb +1 -13
- data/lib/stripe/params/identity/verification_report_list_params.rb +0 -4
- data/lib/stripe/params/invoice_add_lines_params.rb +1 -13
- data/lib/stripe/params/invoice_create_preview_params.rb +3 -122
- data/lib/stripe/params/invoice_line_item_update_params.rb +1 -13
- data/lib/stripe/params/invoice_list_params.rb +0 -4
- data/lib/stripe/params/invoice_update_lines_params.rb +1 -13
- data/lib/stripe/params/issuing/card_list_params.rb +1 -34
- data/lib/stripe/params/payment_intent_capture_params.rb +1 -1
- data/lib/stripe/params/payment_intent_confirm_params.rb +2 -40
- data/lib/stripe/params/payment_intent_create_params.rb +2 -53
- data/lib/stripe/params/payment_intent_increment_authorization_params.rb +1 -1
- data/lib/stripe/params/payment_intent_update_params.rb +1 -35
- data/lib/stripe/params/payment_link_create_params.rb +1 -13
- data/lib/stripe/params/product_create_params.rb +1 -14
- data/lib/stripe/params/product_update_params.rb +1 -14
- data/lib/stripe/params/quote_create_params.rb +2 -222
- data/lib/stripe/params/quote_update_params.rb +2 -222
- data/lib/stripe/params/reserve/hold_list_params.rb +53 -0
- data/lib/stripe/params/{issuing/program_retrieve_params.rb → reserve/hold_retrieve_params.rb} +2 -2
- data/lib/stripe/params/{identity/blocklist_entry_disable_params.rb → reserve/plan_retrieve_params.rb} +2 -2
- data/lib/stripe/params/{issuing/program_list_params.rb → reserve/release_list_params.rb} +20 -3
- data/lib/stripe/params/{identity/blocklist_entry_retrieve_params.rb → reserve/release_retrieve_params.rb} +2 -2
- 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 +0 -16
- data/lib/stripe/params/subscription_item_create_params.rb +0 -16
- data/lib/stripe/params/subscription_item_update_params.rb +0 -16
- data/lib/stripe/params/subscription_schedule_amend_params.rb +2 -41
- data/lib/stripe/params/subscription_schedule_create_params.rb +1 -69
- data/lib/stripe/params/subscription_schedule_update_params.rb +1 -69
- data/lib/stripe/params/subscription_update_params.rb +0 -16
- 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 +9 -716
- data/lib/stripe/params/v2/core/account_token_create_params.rb +1 -237
- data/lib/stripe/params/v2/core/account_update_params.rb +9 -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/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 -8
- 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 +5 -125
- data/lib/stripe/resources/account_session.rb +0 -27
- 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/discount.rb +0 -2
- data/lib/stripe/resources/identity/verification_report.rb +0 -4
- data/lib/stripe/resources/invoice.rb +0 -16
- data/lib/stripe/resources/invoice_item.rb +2 -106
- data/lib/stripe/resources/invoice_line_item.rb +3 -107
- data/lib/stripe/resources/issuing/card.rb +0 -4
- data/lib/stripe/resources/payment_intent.rb +1 -63
- data/lib/stripe/resources/payment_method.rb +0 -38
- data/lib/stripe/resources/person.rb +0 -36
- 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 -16
- data/lib/stripe/resources/quote_preview_subscription_schedule.rb +0 -94
- data/lib/stripe/resources/reserve/hold.rb +74 -0
- data/lib/stripe/resources/reserve/plan.rb +78 -0
- data/lib/stripe/resources/reserve/release.rb +77 -0
- data/lib/stripe/resources/setup_intent.rb +0 -40
- data/lib/stripe/resources/subscription.rb +1 -20
- data/lib/stripe/resources/subscription_item.rb +1 -24
- data/lib/stripe/resources/subscription_schedule.rb +0 -94
- data/lib/stripe/resources/transfer.rb +0 -4
- data/lib/stripe/resources/v2/billing/cadence.rb +0 -46
- data/lib/stripe/resources/v2/core/account.rb +5 -1073
- data/lib/stripe/resources/v2/core/event.rb +1 -50
- data/lib/stripe/resources/v2/core/vault/gb_bank_account.rb +1 -21
- data/lib/stripe/resources/v2/core/vault/us_bank_account.rb +1 -21
- data/lib/stripe/resources/v2/money_management/financial_account.rb +0 -35
- data/lib/stripe/resources/v2/money_management/outbound_payment.rb +0 -4
- 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 +1 -47
- 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 +3 -132
- 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/reserve/hold_service.rb +30 -0
- data/lib/stripe/services/reserve/plan_service.rb +19 -0
- data/lib/stripe/services/reserve/release_service.rb +30 -0
- data/lib/stripe/services/reserve_service.rb +15 -0
- data/lib/stripe/services/test_helpers_service.rb +1 -3
- data/lib/stripe/services/v1_services.rb +2 -5
- 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 +4 -47
- data/lib/stripe/stripe_client.rb +8 -1
- data/lib/stripe/stripe_event_notification_handler.rb +425 -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 +1295 -20425
- metadata +15 -306
- 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/identity/blocklist_entry_create_params.rb +0 -29
- data/lib/stripe/params/identity/blocklist_entry_list_params.rb +0 -62
- data/lib/stripe/params/issuing/program_create_params.rb +0 -21
- 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 -60
- 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 -18
- 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_update_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_update_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 -479
- 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 -101
- data/lib/stripe/resources/radar/account_evaluation.rb +0 -116
- data/lib/stripe/resources/shared_payment/granted_token.rb +0 -126
- 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/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/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
|
@@ -124,81 +124,6 @@ module Stripe
|
|
|
124
124
|
end
|
|
125
125
|
end
|
|
126
126
|
|
|
127
|
-
class CheckoutItem < ::Stripe::RequestParams
|
|
128
|
-
class PricingPlanSubscriptionItem < ::Stripe::RequestParams
|
|
129
|
-
class ComponentConfigurations < ::Stripe::RequestParams
|
|
130
|
-
class LicenseFeeComponent < ::Stripe::RequestParams
|
|
131
|
-
# Attribute for param field quantity
|
|
132
|
-
attr_accessor :quantity
|
|
133
|
-
|
|
134
|
-
def initialize(quantity: nil)
|
|
135
|
-
@quantity = quantity
|
|
136
|
-
end
|
|
137
|
-
end
|
|
138
|
-
# Attribute for param field type
|
|
139
|
-
attr_accessor :type
|
|
140
|
-
# Attribute for param field license_fee_component
|
|
141
|
-
attr_accessor :license_fee_component
|
|
142
|
-
|
|
143
|
-
def initialize(type: nil, license_fee_component: nil)
|
|
144
|
-
@type = type
|
|
145
|
-
@license_fee_component = license_fee_component
|
|
146
|
-
end
|
|
147
|
-
end
|
|
148
|
-
# Attribute for param field pricing_plan
|
|
149
|
-
attr_accessor :pricing_plan
|
|
150
|
-
# Attribute for param field pricing_plan_version
|
|
151
|
-
attr_accessor :pricing_plan_version
|
|
152
|
-
# Attribute for param field metadata
|
|
153
|
-
attr_accessor :metadata
|
|
154
|
-
# Attribute for param field component_configurations
|
|
155
|
-
attr_accessor :component_configurations
|
|
156
|
-
|
|
157
|
-
def initialize(
|
|
158
|
-
pricing_plan: nil,
|
|
159
|
-
pricing_plan_version: nil,
|
|
160
|
-
metadata: nil,
|
|
161
|
-
component_configurations: nil
|
|
162
|
-
)
|
|
163
|
-
@pricing_plan = pricing_plan
|
|
164
|
-
@pricing_plan_version = pricing_plan_version
|
|
165
|
-
@metadata = metadata
|
|
166
|
-
@component_configurations = component_configurations
|
|
167
|
-
end
|
|
168
|
-
end
|
|
169
|
-
|
|
170
|
-
class RateCardSubscriptionItem < ::Stripe::RequestParams
|
|
171
|
-
# Attribute for param field rate_card
|
|
172
|
-
attr_accessor :rate_card
|
|
173
|
-
# Attribute for param field metadata
|
|
174
|
-
attr_accessor :metadata
|
|
175
|
-
# Attribute for param field rate_card_version
|
|
176
|
-
attr_accessor :rate_card_version
|
|
177
|
-
|
|
178
|
-
def initialize(rate_card: nil, metadata: nil, rate_card_version: nil)
|
|
179
|
-
@rate_card = rate_card
|
|
180
|
-
@metadata = metadata
|
|
181
|
-
@rate_card_version = rate_card_version
|
|
182
|
-
end
|
|
183
|
-
end
|
|
184
|
-
# Attribute for param field type
|
|
185
|
-
attr_accessor :type
|
|
186
|
-
# Attribute for param field rate_card_subscription_item
|
|
187
|
-
attr_accessor :rate_card_subscription_item
|
|
188
|
-
# Attribute for param field pricing_plan_subscription_item
|
|
189
|
-
attr_accessor :pricing_plan_subscription_item
|
|
190
|
-
|
|
191
|
-
def initialize(
|
|
192
|
-
type: nil,
|
|
193
|
-
rate_card_subscription_item: nil,
|
|
194
|
-
pricing_plan_subscription_item: nil
|
|
195
|
-
)
|
|
196
|
-
@type = type
|
|
197
|
-
@rate_card_subscription_item = rate_card_subscription_item
|
|
198
|
-
@pricing_plan_subscription_item = pricing_plan_subscription_item
|
|
199
|
-
end
|
|
200
|
-
end
|
|
201
|
-
|
|
202
127
|
class ConsentCollection < ::Stripe::RequestParams
|
|
203
128
|
class PaymentMethodReuseAgreement < ::Stripe::RequestParams
|
|
204
129
|
# Determines the position and visibility of the payment method reuse agreement in the UI. When set to `auto`, Stripe's
|
|
@@ -544,14 +469,6 @@ module Stripe
|
|
|
544
469
|
|
|
545
470
|
class PriceData < ::Stripe::RequestParams
|
|
546
471
|
class ProductData < ::Stripe::RequestParams
|
|
547
|
-
class TaxDetails < ::Stripe::RequestParams
|
|
548
|
-
# A [tax code](https://docs.stripe.com/tax/tax-categories) ID.
|
|
549
|
-
attr_accessor :tax_code
|
|
550
|
-
|
|
551
|
-
def initialize(tax_code: nil)
|
|
552
|
-
@tax_code = tax_code
|
|
553
|
-
end
|
|
554
|
-
end
|
|
555
472
|
# 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.
|
|
556
473
|
attr_accessor :description
|
|
557
474
|
# A list of up to 8 URLs of images for this product, meant to be displayable to the customer.
|
|
@@ -564,8 +481,6 @@ module Stripe
|
|
|
564
481
|
attr_accessor :tax_code
|
|
565
482
|
# A label that represents units of this product. When set, this will be included in customers' receipts, invoices, Checkout, and the customer portal.
|
|
566
483
|
attr_accessor :unit_label
|
|
567
|
-
# Tax details for this product, including the [tax code](/tax/tax-codes) and an optional performance location.
|
|
568
|
-
attr_accessor :tax_details
|
|
569
484
|
|
|
570
485
|
def initialize(
|
|
571
486
|
description: nil,
|
|
@@ -573,8 +488,7 @@ module Stripe
|
|
|
573
488
|
metadata: nil,
|
|
574
489
|
name: nil,
|
|
575
490
|
tax_code: nil,
|
|
576
|
-
unit_label: nil
|
|
577
|
-
tax_details: nil
|
|
491
|
+
unit_label: nil
|
|
578
492
|
)
|
|
579
493
|
@description = description
|
|
580
494
|
@images = images
|
|
@@ -582,7 +496,6 @@ module Stripe
|
|
|
582
496
|
@name = name
|
|
583
497
|
@tax_code = tax_code
|
|
584
498
|
@unit_label = unit_label
|
|
585
|
-
@tax_details = tax_details
|
|
586
499
|
end
|
|
587
500
|
end
|
|
588
501
|
|
|
@@ -2634,8 +2547,6 @@ module Stripe
|
|
|
2634
2547
|
attr_accessor :ui_mode
|
|
2635
2548
|
# Wallet-specific configuration.
|
|
2636
2549
|
attr_accessor :wallet_options
|
|
2637
|
-
# Attribute for param field checkout_items
|
|
2638
|
-
attr_accessor :checkout_items
|
|
2639
2550
|
|
|
2640
2551
|
def initialize(
|
|
2641
2552
|
adaptive_pricing: nil,
|
|
@@ -2686,8 +2597,7 @@ module Stripe
|
|
|
2686
2597
|
success_url: nil,
|
|
2687
2598
|
tax_id_collection: nil,
|
|
2688
2599
|
ui_mode: nil,
|
|
2689
|
-
wallet_options: nil
|
|
2690
|
-
checkout_items: nil
|
|
2600
|
+
wallet_options: nil
|
|
2691
2601
|
)
|
|
2692
2602
|
@adaptive_pricing = adaptive_pricing
|
|
2693
2603
|
@after_expiration = after_expiration
|
|
@@ -2738,7 +2648,6 @@ module Stripe
|
|
|
2738
2648
|
@tax_id_collection = tax_id_collection
|
|
2739
2649
|
@ui_mode = ui_mode
|
|
2740
2650
|
@wallet_options = wallet_options
|
|
2741
|
-
@checkout_items = checkout_items
|
|
2742
2651
|
end
|
|
2743
2652
|
end
|
|
2744
2653
|
end
|
|
@@ -162,14 +162,6 @@ module Stripe
|
|
|
162
162
|
|
|
163
163
|
class PriceData < ::Stripe::RequestParams
|
|
164
164
|
class ProductData < ::Stripe::RequestParams
|
|
165
|
-
class TaxDetails < ::Stripe::RequestParams
|
|
166
|
-
# A [tax code](https://docs.stripe.com/tax/tax-categories) ID.
|
|
167
|
-
attr_accessor :tax_code
|
|
168
|
-
|
|
169
|
-
def initialize(tax_code: nil)
|
|
170
|
-
@tax_code = tax_code
|
|
171
|
-
end
|
|
172
|
-
end
|
|
173
165
|
# 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.
|
|
174
166
|
attr_accessor :description
|
|
175
167
|
# A list of up to 8 URLs of images for this product, meant to be displayable to the customer.
|
|
@@ -182,8 +174,6 @@ module Stripe
|
|
|
182
174
|
attr_accessor :tax_code
|
|
183
175
|
# A label that represents units of this product. When set, this will be included in customers' receipts, invoices, Checkout, and the customer portal.
|
|
184
176
|
attr_accessor :unit_label
|
|
185
|
-
# Tax details for this product, including the [tax code](/tax/tax-codes) and an optional performance location.
|
|
186
|
-
attr_accessor :tax_details
|
|
187
177
|
|
|
188
178
|
def initialize(
|
|
189
179
|
description: nil,
|
|
@@ -191,8 +181,7 @@ module Stripe
|
|
|
191
181
|
metadata: nil,
|
|
192
182
|
name: nil,
|
|
193
183
|
tax_code: nil,
|
|
194
|
-
unit_label: nil
|
|
195
|
-
tax_details: nil
|
|
184
|
+
unit_label: nil
|
|
196
185
|
)
|
|
197
186
|
@description = description
|
|
198
187
|
@images = images
|
|
@@ -200,7 +189,6 @@ module Stripe
|
|
|
200
189
|
@name = name
|
|
201
190
|
@tax_code = tax_code
|
|
202
191
|
@unit_label = unit_label
|
|
203
|
-
@tax_details = tax_details
|
|
204
192
|
end
|
|
205
193
|
end
|
|
206
194
|
|
|
@@ -21,8 +21,6 @@ module Stripe
|
|
|
21
21
|
@lte = lte
|
|
22
22
|
end
|
|
23
23
|
end
|
|
24
|
-
# Only return VerificationReports that were blocked by this BlocklistEntry id.
|
|
25
|
-
attr_accessor :blocked_by_entry
|
|
26
24
|
# A string to reference this user. This can be a customer ID, a session ID, or similar, and can be used to reconcile this verification with your internal systems.
|
|
27
25
|
attr_accessor :client_reference_id
|
|
28
26
|
# Only return VerificationReports that were created during the given date interval.
|
|
@@ -41,7 +39,6 @@ module Stripe
|
|
|
41
39
|
attr_accessor :verification_session
|
|
42
40
|
|
|
43
41
|
def initialize(
|
|
44
|
-
blocked_by_entry: nil,
|
|
45
42
|
client_reference_id: nil,
|
|
46
43
|
created: nil,
|
|
47
44
|
ending_before: nil,
|
|
@@ -51,7 +48,6 @@ module Stripe
|
|
|
51
48
|
type: nil,
|
|
52
49
|
verification_session: nil
|
|
53
50
|
)
|
|
54
|
-
@blocked_by_entry = blocked_by_entry
|
|
55
51
|
@client_reference_id = client_reference_id
|
|
56
52
|
@created = created
|
|
57
53
|
@ending_before = ending_before
|
|
@@ -61,14 +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 code](https://docs.stripe.com/tax/tax-categories) ID.
|
|
66
|
-
attr_accessor :tax_code
|
|
67
|
-
|
|
68
|
-
def initialize(tax_code: nil)
|
|
69
|
-
@tax_code = tax_code
|
|
70
|
-
end
|
|
71
|
-
end
|
|
72
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.
|
|
73
65
|
attr_accessor :description
|
|
74
66
|
# A list of up to 8 URLs of images for this product, meant to be displayable to the customer.
|
|
@@ -81,8 +73,6 @@ module Stripe
|
|
|
81
73
|
attr_accessor :tax_code
|
|
82
74
|
# A label that represents units of this product. When set, this will be included in customers' receipts, invoices, Checkout, and the customer portal.
|
|
83
75
|
attr_accessor :unit_label
|
|
84
|
-
# Tax details for this product, including the [tax code](/tax/tax-codes) and an optional performance location.
|
|
85
|
-
attr_accessor :tax_details
|
|
86
76
|
|
|
87
77
|
def initialize(
|
|
88
78
|
description: nil,
|
|
@@ -90,8 +80,7 @@ module Stripe
|
|
|
90
80
|
metadata: nil,
|
|
91
81
|
name: nil,
|
|
92
82
|
tax_code: nil,
|
|
93
|
-
unit_label: nil
|
|
94
|
-
tax_details: nil
|
|
83
|
+
unit_label: nil
|
|
95
84
|
)
|
|
96
85
|
@description = description
|
|
97
86
|
@images = images
|
|
@@ -99,7 +88,6 @@ module Stripe
|
|
|
99
88
|
@name = name
|
|
100
89
|
@tax_code = tax_code
|
|
101
90
|
@unit_label = unit_label
|
|
102
|
-
@tax_details = tax_details
|
|
103
91
|
end
|
|
104
92
|
end
|
|
105
93
|
# 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).
|
|
@@ -425,29 +425,6 @@ module Stripe
|
|
|
425
425
|
end
|
|
426
426
|
end
|
|
427
427
|
|
|
428
|
-
class BillingSchedulesAction < ::Stripe::RequestParams
|
|
429
|
-
class AppliesTo < ::Stripe::RequestParams
|
|
430
|
-
# The ID of the price object.
|
|
431
|
-
attr_accessor :price
|
|
432
|
-
# Controls which subscription items the billing schedule applies to.
|
|
433
|
-
attr_accessor :type
|
|
434
|
-
|
|
435
|
-
def initialize(price: nil, type: nil)
|
|
436
|
-
@price = price
|
|
437
|
-
@type = type
|
|
438
|
-
end
|
|
439
|
-
end
|
|
440
|
-
# Specify which subscription items the billing schedule applies to.
|
|
441
|
-
attr_accessor :applies_to
|
|
442
|
-
# Select the action.
|
|
443
|
-
attr_accessor :type
|
|
444
|
-
|
|
445
|
-
def initialize(applies_to: nil, type: nil)
|
|
446
|
-
@applies_to = applies_to
|
|
447
|
-
@type = type
|
|
448
|
-
end
|
|
449
|
-
end
|
|
450
|
-
|
|
451
428
|
class DiscountAction < ::Stripe::RequestParams
|
|
452
429
|
class Add < ::Stripe::RequestParams
|
|
453
430
|
class DiscountEnd < ::Stripe::RequestParams
|
|
@@ -598,8 +575,6 @@ module Stripe
|
|
|
598
575
|
attr_accessor :tax_rates
|
|
599
576
|
# Options that configure the trial on the subscription item.
|
|
600
577
|
attr_accessor :trial
|
|
601
|
-
# The ID of the trial offer to apply to the configuration item.
|
|
602
|
-
attr_accessor :trial_offer
|
|
603
578
|
|
|
604
579
|
def initialize(
|
|
605
580
|
discounts: nil,
|
|
@@ -607,8 +582,7 @@ module Stripe
|
|
|
607
582
|
price: nil,
|
|
608
583
|
quantity: nil,
|
|
609
584
|
tax_rates: nil,
|
|
610
|
-
trial: nil
|
|
611
|
-
trial_offer: nil
|
|
585
|
+
trial: nil
|
|
612
586
|
)
|
|
613
587
|
@discounts = discounts
|
|
614
588
|
@metadata = metadata
|
|
@@ -616,7 +590,6 @@ module Stripe
|
|
|
616
590
|
@quantity = quantity
|
|
617
591
|
@tax_rates = tax_rates
|
|
618
592
|
@trial = trial
|
|
619
|
-
@trial_offer = trial_offer
|
|
620
593
|
end
|
|
621
594
|
end
|
|
622
595
|
|
|
@@ -696,8 +669,6 @@ module Stripe
|
|
|
696
669
|
attr_accessor :tax_rates
|
|
697
670
|
# If an item with the `price` already exists, passing this will override the `trial` configuration on the subscription item that matches that price. Otherwise, the `items` array is cleared and a single new item is added with the supplied `trial`.
|
|
698
671
|
attr_accessor :trial
|
|
699
|
-
# The ID of the trial offer to apply to the configuration item.
|
|
700
|
-
attr_accessor :trial_offer
|
|
701
672
|
|
|
702
673
|
def initialize(
|
|
703
674
|
discounts: nil,
|
|
@@ -705,8 +676,7 @@ module Stripe
|
|
|
705
676
|
price: nil,
|
|
706
677
|
quantity: nil,
|
|
707
678
|
tax_rates: nil,
|
|
708
|
-
trial: nil
|
|
709
|
-
trial_offer: nil
|
|
679
|
+
trial: nil
|
|
710
680
|
)
|
|
711
681
|
@discounts = discounts
|
|
712
682
|
@metadata = metadata
|
|
@@ -714,7 +684,6 @@ module Stripe
|
|
|
714
684
|
@quantity = quantity
|
|
715
685
|
@tax_rates = tax_rates
|
|
716
686
|
@trial = trial
|
|
717
|
-
@trial_offer = trial_offer
|
|
718
687
|
end
|
|
719
688
|
end
|
|
720
689
|
# Details of the subscription item to add. If an item with the same `price` exists, it will be replaced by this new item. Otherwise, it adds the new item.
|
|
@@ -794,12 +763,8 @@ module Stripe
|
|
|
794
763
|
attr_accessor :amendment_start
|
|
795
764
|
# For point-in-time amendments (having no `amendment_end`), this attribute lets you set or remove whether the subscription's billing cycle anchor is reset at the `amendment_start` timestamp.For time-span based amendments (having both `amendment_start` and `amendment_end`), the only value valid is `automatic`, which removes any previously configured billing cycle anchor resets scheduled to occur during the window of time spanned by the amendment.
|
|
796
765
|
attr_accessor :billing_cycle_anchor
|
|
797
|
-
# Actions to apply to the billing schedules.
|
|
798
|
-
attr_accessor :billing_schedules_actions
|
|
799
766
|
# Changes to the coupons being redeemed or discounts being applied during the amendment time span.
|
|
800
767
|
attr_accessor :discount_actions
|
|
801
|
-
# Configures how the subscription schedule handles billing for phase transitions. Possible values are `phase_start` (default) or `billing_period_start`. `phase_start` bills based on the current state of the subscription, ignoring changes scheduled in future phases. `billing_period_start` bills predictively for upcoming phase transitions within the current billing cycle, including pricing changes and service period adjustments that will occur before the next invoice.
|
|
802
|
-
attr_accessor :effective_at
|
|
803
768
|
# Changes to the subscription items during the amendment time span.
|
|
804
769
|
attr_accessor :item_actions
|
|
805
770
|
# Instructions for how to modify phase metadata
|
|
@@ -817,9 +782,7 @@ module Stripe
|
|
|
817
782
|
amendment_end: nil,
|
|
818
783
|
amendment_start: nil,
|
|
819
784
|
billing_cycle_anchor: nil,
|
|
820
|
-
billing_schedules_actions: nil,
|
|
821
785
|
discount_actions: nil,
|
|
822
|
-
effective_at: nil,
|
|
823
786
|
item_actions: nil,
|
|
824
787
|
metadata_actions: nil,
|
|
825
788
|
proration_behavior: nil,
|
|
@@ -830,9 +793,7 @@ module Stripe
|
|
|
830
793
|
@amendment_end = amendment_end
|
|
831
794
|
@amendment_start = amendment_start
|
|
832
795
|
@billing_cycle_anchor = billing_cycle_anchor
|
|
833
|
-
@billing_schedules_actions = billing_schedules_actions
|
|
834
796
|
@discount_actions = discount_actions
|
|
835
|
-
@effective_at = effective_at
|
|
836
797
|
@item_actions = item_actions
|
|
837
798
|
@metadata_actions = metadata_actions
|
|
838
799
|
@proration_behavior = proration_behavior
|
|
@@ -862,58 +823,6 @@ module Stripe
|
|
|
862
823
|
end
|
|
863
824
|
end
|
|
864
825
|
|
|
865
|
-
class BillingSchedule < ::Stripe::RequestParams
|
|
866
|
-
class AppliesTo < ::Stripe::RequestParams
|
|
867
|
-
# The ID of the price object.
|
|
868
|
-
attr_accessor :price
|
|
869
|
-
# Controls which subscription items the billing schedule applies to.
|
|
870
|
-
attr_accessor :type
|
|
871
|
-
|
|
872
|
-
def initialize(price: nil, type: nil)
|
|
873
|
-
@price = price
|
|
874
|
-
@type = type
|
|
875
|
-
end
|
|
876
|
-
end
|
|
877
|
-
|
|
878
|
-
class BillUntil < ::Stripe::RequestParams
|
|
879
|
-
class Duration < ::Stripe::RequestParams
|
|
880
|
-
# Specifies billing duration. Either `day`, `week`, `month` or `year`.
|
|
881
|
-
attr_accessor :interval
|
|
882
|
-
# The multiplier applied to the interval.
|
|
883
|
-
attr_accessor :interval_count
|
|
884
|
-
|
|
885
|
-
def initialize(interval: nil, interval_count: nil)
|
|
886
|
-
@interval = interval
|
|
887
|
-
@interval_count = interval_count
|
|
888
|
-
end
|
|
889
|
-
end
|
|
890
|
-
# Specifies the billing period.
|
|
891
|
-
attr_accessor :duration
|
|
892
|
-
# The end date of the billing schedule.
|
|
893
|
-
attr_accessor :timestamp
|
|
894
|
-
# Describes how the billing schedule will determine the end date. Either `duration` or `timestamp`.
|
|
895
|
-
attr_accessor :type
|
|
896
|
-
|
|
897
|
-
def initialize(duration: nil, timestamp: nil, type: nil)
|
|
898
|
-
@duration = duration
|
|
899
|
-
@timestamp = timestamp
|
|
900
|
-
@type = type
|
|
901
|
-
end
|
|
902
|
-
end
|
|
903
|
-
# Configure billing schedule differently for individual subscription items.
|
|
904
|
-
attr_accessor :applies_to
|
|
905
|
-
# The end date for the billing schedule.
|
|
906
|
-
attr_accessor :bill_until
|
|
907
|
-
# Specify a key for the billing schedule. Must be unique to this field, alphanumeric, and up to 200 characters. If not provided, a unique key will be generated.
|
|
908
|
-
attr_accessor :key
|
|
909
|
-
|
|
910
|
-
def initialize(applies_to: nil, bill_until: nil, key: nil)
|
|
911
|
-
@applies_to = applies_to
|
|
912
|
-
@bill_until = bill_until
|
|
913
|
-
@key = key
|
|
914
|
-
end
|
|
915
|
-
end
|
|
916
|
-
|
|
917
826
|
class Phase < ::Stripe::RequestParams
|
|
918
827
|
class AddInvoiceItem < ::Stripe::RequestParams
|
|
919
828
|
class Discount < ::Stripe::RequestParams
|
|
@@ -1294,8 +1203,6 @@ module Stripe
|
|
|
1294
1203
|
attr_accessor :tax_rates
|
|
1295
1204
|
# Options that configure the trial on the subscription item.
|
|
1296
1205
|
attr_accessor :trial
|
|
1297
|
-
# The ID of the trial offer to apply to the configuration item.
|
|
1298
|
-
attr_accessor :trial_offer
|
|
1299
1206
|
|
|
1300
1207
|
def initialize(
|
|
1301
1208
|
billing_thresholds: nil,
|
|
@@ -1306,8 +1213,7 @@ module Stripe
|
|
|
1306
1213
|
price_data: nil,
|
|
1307
1214
|
quantity: nil,
|
|
1308
1215
|
tax_rates: nil,
|
|
1309
|
-
trial: nil
|
|
1310
|
-
trial_offer: nil
|
|
1216
|
+
trial: nil
|
|
1311
1217
|
)
|
|
1312
1218
|
@billing_thresholds = billing_thresholds
|
|
1313
1219
|
@discounts = discounts
|
|
@@ -1318,7 +1224,6 @@ module Stripe
|
|
|
1318
1224
|
@quantity = quantity
|
|
1319
1225
|
@tax_rates = tax_rates
|
|
1320
1226
|
@trial = trial
|
|
1321
|
-
@trial_offer = trial_offer
|
|
1322
1227
|
end
|
|
1323
1228
|
end
|
|
1324
1229
|
|
|
@@ -1383,8 +1288,6 @@ module Stripe
|
|
|
1383
1288
|
attr_accessor :discounts
|
|
1384
1289
|
# The number of intervals the phase should last. If set, `end_date` must not be set.
|
|
1385
1290
|
attr_accessor :duration
|
|
1386
|
-
# Configures how the subscription schedule handles billing for phase transitions. Possible values are `phase_start` (default) or `billing_period_start`. `phase_start` bills based on the current state of the subscription, ignoring changes scheduled in future phases. `billing_period_start` bills predictively for upcoming phase transitions within the current billing cycle, including pricing changes and service period adjustments that will occur before the next invoice.
|
|
1387
|
-
attr_accessor :effective_at
|
|
1388
1291
|
# The date at which this phase of the subscription schedule ends. If set, `duration` must not be set.
|
|
1389
1292
|
attr_accessor :end_date
|
|
1390
1293
|
# All invoices will be billed using the specified settings.
|
|
@@ -1425,7 +1328,6 @@ module Stripe
|
|
|
1425
1328
|
description: nil,
|
|
1426
1329
|
discounts: nil,
|
|
1427
1330
|
duration: nil,
|
|
1428
|
-
effective_at: nil,
|
|
1429
1331
|
end_date: nil,
|
|
1430
1332
|
invoice_settings: nil,
|
|
1431
1333
|
items: nil,
|
|
@@ -1452,7 +1354,6 @@ module Stripe
|
|
|
1452
1354
|
@description = description
|
|
1453
1355
|
@discounts = discounts
|
|
1454
1356
|
@duration = duration
|
|
1455
|
-
@effective_at = effective_at
|
|
1456
1357
|
@end_date = end_date
|
|
1457
1358
|
@invoice_settings = invoice_settings
|
|
1458
1359
|
@items = items
|
|
@@ -1523,8 +1424,6 @@ module Stripe
|
|
|
1523
1424
|
attr_accessor :billing_behavior
|
|
1524
1425
|
# Controls how prorations and invoices for subscriptions are calculated and orchestrated.
|
|
1525
1426
|
attr_accessor :billing_mode
|
|
1526
|
-
# Sets the billing schedules for the subscription schedule.
|
|
1527
|
-
attr_accessor :billing_schedules
|
|
1528
1427
|
# Behavior of the subscription schedule and underlying subscription when it ends. Possible values are `release` or `cancel` with the default being `release`. `release` will end the subscription schedule and keep the underlying subscription running. `cancel` will end the subscription schedule and cancel the underlying subscription.
|
|
1529
1428
|
attr_accessor :end_behavior
|
|
1530
1429
|
# List representing phases of the subscription schedule. Each phase can be customized to have different durations, plans, and coupons. If there are multiple phases, the `end_date` of one phase will always equal the `start_date` of the next phase.
|
|
@@ -1538,7 +1437,6 @@ module Stripe
|
|
|
1538
1437
|
amendments: nil,
|
|
1539
1438
|
billing_behavior: nil,
|
|
1540
1439
|
billing_mode: nil,
|
|
1541
|
-
billing_schedules: nil,
|
|
1542
1440
|
end_behavior: nil,
|
|
1543
1441
|
phases: nil,
|
|
1544
1442
|
prebilling: nil,
|
|
@@ -1547,7 +1445,6 @@ module Stripe
|
|
|
1547
1445
|
@amendments = amendments
|
|
1548
1446
|
@billing_behavior = billing_behavior
|
|
1549
1447
|
@billing_mode = billing_mode
|
|
1550
|
-
@billing_schedules = billing_schedules
|
|
1551
1448
|
@end_behavior = end_behavior
|
|
1552
1449
|
@phases = phases
|
|
1553
1450
|
@prebilling = prebilling
|
|
@@ -1638,18 +1535,6 @@ module Stripe
|
|
|
1638
1535
|
end
|
|
1639
1536
|
end
|
|
1640
1537
|
|
|
1641
|
-
class CurrentTrial < ::Stripe::RequestParams
|
|
1642
|
-
# Unix timestamp representing the end of the trial offer period. Required when the trial offer has `duration.type=timestamp`. Cannot be specified when `duration.type=relative`.
|
|
1643
|
-
attr_accessor :trial_end
|
|
1644
|
-
# The ID of the trial offer to apply to the subscription item.
|
|
1645
|
-
attr_accessor :trial_offer
|
|
1646
|
-
|
|
1647
|
-
def initialize(trial_end: nil, trial_offer: nil)
|
|
1648
|
-
@trial_end = trial_end
|
|
1649
|
-
@trial_offer = trial_offer
|
|
1650
|
-
end
|
|
1651
|
-
end
|
|
1652
|
-
|
|
1653
1538
|
class Discount < ::Stripe::RequestParams
|
|
1654
1539
|
class DiscountEnd < ::Stripe::RequestParams
|
|
1655
1540
|
class Duration < ::Stripe::RequestParams
|
|
@@ -1738,8 +1623,6 @@ module Stripe
|
|
|
1738
1623
|
attr_accessor :billing_thresholds
|
|
1739
1624
|
# Delete all usage for a given subscription item. You must pass this when deleting a usage records subscription item. `clear_usage` has no effect if the plan has a billing meter attached.
|
|
1740
1625
|
attr_accessor :clear_usage
|
|
1741
|
-
# The trial offer to apply to this subscription item.
|
|
1742
|
-
attr_accessor :current_trial
|
|
1743
1626
|
# A flag that, if set to `true`, will delete the specified item.
|
|
1744
1627
|
attr_accessor :deleted
|
|
1745
1628
|
# The coupons to redeem into discounts for the subscription item.
|
|
@@ -1762,7 +1645,6 @@ module Stripe
|
|
|
1762
1645
|
def initialize(
|
|
1763
1646
|
billing_thresholds: nil,
|
|
1764
1647
|
clear_usage: nil,
|
|
1765
|
-
current_trial: nil,
|
|
1766
1648
|
deleted: nil,
|
|
1767
1649
|
discounts: nil,
|
|
1768
1650
|
id: nil,
|
|
@@ -1775,7 +1657,6 @@ module Stripe
|
|
|
1775
1657
|
)
|
|
1776
1658
|
@billing_thresholds = billing_thresholds
|
|
1777
1659
|
@clear_usage = clear_usage
|
|
1778
|
-
@current_trial = current_trial
|
|
1779
1660
|
@deleted = deleted
|
|
1780
1661
|
@discounts = discounts
|
|
1781
1662
|
@id = id
|
|
@@ -60,14 +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 code](https://docs.stripe.com/tax/tax-categories) ID.
|
|
65
|
-
attr_accessor :tax_code
|
|
66
|
-
|
|
67
|
-
def initialize(tax_code: nil)
|
|
68
|
-
@tax_code = tax_code
|
|
69
|
-
end
|
|
70
|
-
end
|
|
71
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.
|
|
72
64
|
attr_accessor :description
|
|
73
65
|
# A list of up to 8 URLs of images for this product, meant to be displayable to the customer.
|
|
@@ -80,8 +72,6 @@ module Stripe
|
|
|
80
72
|
attr_accessor :tax_code
|
|
81
73
|
# A label that represents units of this product. When set, this will be included in customers' receipts, invoices, Checkout, and the customer portal.
|
|
82
74
|
attr_accessor :unit_label
|
|
83
|
-
# Tax details for this product, including the [tax code](/tax/tax-codes) and an optional performance location.
|
|
84
|
-
attr_accessor :tax_details
|
|
85
75
|
|
|
86
76
|
def initialize(
|
|
87
77
|
description: nil,
|
|
@@ -89,8 +79,7 @@ module Stripe
|
|
|
89
79
|
metadata: nil,
|
|
90
80
|
name: nil,
|
|
91
81
|
tax_code: nil,
|
|
92
|
-
unit_label: nil
|
|
93
|
-
tax_details: nil
|
|
82
|
+
unit_label: nil
|
|
94
83
|
)
|
|
95
84
|
@description = description
|
|
96
85
|
@images = images
|
|
@@ -98,7 +87,6 @@ module Stripe
|
|
|
98
87
|
@name = name
|
|
99
88
|
@tax_code = tax_code
|
|
100
89
|
@unit_label = unit_label
|
|
101
|
-
@tax_details = tax_details
|
|
102
90
|
end
|
|
103
91
|
end
|
|
104
92
|
# 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).
|
|
@@ -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,14 +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 code](https://docs.stripe.com/tax/tax-categories) ID.
|
|
66
|
-
attr_accessor :tax_code
|
|
67
|
-
|
|
68
|
-
def initialize(tax_code: nil)
|
|
69
|
-
@tax_code = tax_code
|
|
70
|
-
end
|
|
71
|
-
end
|
|
72
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.
|
|
73
65
|
attr_accessor :description
|
|
74
66
|
# A list of up to 8 URLs of images for this product, meant to be displayable to the customer.
|
|
@@ -81,8 +73,6 @@ module Stripe
|
|
|
81
73
|
attr_accessor :tax_code
|
|
82
74
|
# A label that represents units of this product. When set, this will be included in customers' receipts, invoices, Checkout, and the customer portal.
|
|
83
75
|
attr_accessor :unit_label
|
|
84
|
-
# Tax details for this product, including the [tax code](/tax/tax-codes) and an optional performance location.
|
|
85
|
-
attr_accessor :tax_details
|
|
86
76
|
|
|
87
77
|
def initialize(
|
|
88
78
|
description: nil,
|
|
@@ -90,8 +80,7 @@ module Stripe
|
|
|
90
80
|
metadata: nil,
|
|
91
81
|
name: nil,
|
|
92
82
|
tax_code: nil,
|
|
93
|
-
unit_label: nil
|
|
94
|
-
tax_details: nil
|
|
83
|
+
unit_label: nil
|
|
95
84
|
)
|
|
96
85
|
@description = description
|
|
97
86
|
@images = images
|
|
@@ -99,7 +88,6 @@ module Stripe
|
|
|
99
88
|
@name = name
|
|
100
89
|
@tax_code = tax_code
|
|
101
90
|
@unit_label = unit_label
|
|
102
|
-
@tax_details = tax_details
|
|
103
91
|
end
|
|
104
92
|
end
|
|
105
93
|
# 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).
|