stripe 18.1.0.pre.alpha.2 → 18.1.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 -284
- data/lib/stripe/object_types.rb +0 -33
- 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_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 -80
- data/lib/stripe/params/identity/verification_report_list_params.rb +0 -4
- data/lib/stripe/params/invoice_create_preview_params.rb +7 -126
- data/lib/stripe/params/invoice_list_params.rb +0 -4
- data/lib/stripe/params/payment_intent_confirm_params.rb +0 -34
- data/lib/stripe/params/payment_intent_create_params.rb +0 -34
- data/lib/stripe/params/payment_intent_update_params.rb +0 -34
- data/lib/stripe/params/quote_create_params.rb +3 -223
- data/lib/stripe/params/quote_update_params.rb +3 -223
- 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 +1 -17
- data/lib/stripe/params/subscription_item_create_params.rb +1 -17
- data/lib/stripe/params/subscription_item_update_params.rb +1 -17
- data/lib/stripe/params/subscription_schedule_amend_params.rb +3 -42
- data/lib/stripe/params/subscription_schedule_create_params.rb +4 -72
- data/lib/stripe/params/subscription_schedule_update_params.rb +4 -72
- data/lib/stripe/params/subscription_update_params.rb +1 -17
- 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 +8 -725
- data/lib/stripe/params/v2/core/account_token_create_params.rb +1 -259
- data/lib/stripe/params/v2/core/account_update_params.rb +8 -711
- data/lib/stripe/params/v2/money_management/financial_address_create_params.rb +1 -12
- data/lib/stripe/params/v2/money_management/inbound_transfer_create_params.rb +0 -12
- data/lib/stripe/params/v2/money_management/outbound_payment_create_params.rb +0 -16
- data/lib/stripe/params/v2/money_management/outbound_payment_quote_create_params.rb +0 -12
- 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 -16
- data/lib/stripe/params/v2/test_helpers/financial_address_credit_params.rb +0 -11
- data/lib/stripe/params.rb +0 -100
- 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 +1 -107
- data/lib/stripe/resources/payment_intent.rb +0 -44
- 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/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 +6 -1095
- data/lib/stripe/resources/v2/financial_address_generated_microdeposits.rb +1 -15
- data/lib/stripe/resources/v2/money_management/adjustment.rb +1 -16
- data/lib/stripe/resources/v2/money_management/financial_account.rb +1 -49
- data/lib/stripe/resources/v2/money_management/inbound_transfer.rb +3 -52
- data/lib/stripe/resources/v2/money_management/outbound_payment.rb +2 -48
- data/lib/stripe/resources/v2/money_management/outbound_payment_quote.rb +3 -61
- data/lib/stripe/resources/v2/money_management/outbound_transfer.rb +2 -48
- data/lib/stripe/resources/v2/money_management/payout_method.rb +1 -29
- data/lib/stripe/resources/v2/money_management/received_credit.rb +0 -34
- data/lib/stripe/resources/v2/money_management/received_debit.rb +0 -36
- data/lib/stripe/resources/v2/money_management/transaction.rb +1 -65
- data/lib/stripe/resources/v2/money_management/transaction_entry.rb +1 -49
- data/lib/stripe/resources.rb +0 -107
- 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/test_helpers_service.rb +1 -2
- data/lib/stripe/services/v1_services.rb +1 -3
- 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 -3
- data/lib/stripe/services.rb +0 -35
- data/lib/stripe/version.rb +1 -1
- data/rbi/stripe.rbi +431 -17910
- metadata +2 -244
- 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 -68
- data/lib/stripe/events/v2_core_health_api_error_resolved_event.rb +0 -68
- data/lib/stripe/events/v2_core_health_api_latency_firing_event.rb +0 -66
- data/lib/stripe/events/v2_core_health_api_latency_resolved_event.rb +0 -66
- 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 -64
- data/lib/stripe/events/v2_core_health_payment_method_error_resolved_event.rb +0 -64
- 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_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_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 -55
- 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_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/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/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/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 -355
- 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/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/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/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 -434
- 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/radar/account_evaluation.rb +0 -116
- 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 -395
- 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/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/reporting/report.rb +0 -116
- data/lib/stripe/resources/v2/reporting/report_run.rb +0 -128
- 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/radar/account_evaluation_service.rb +0 -41
- 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/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/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 -15
- data/lib/stripe/services/v2/payments/off_session_payment_service.rb +0 -65
- 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/test_helpers/money_management_service.rb +0 -21
|
@@ -1,55 +0,0 @@
|
|
|
1
|
-
# File generated from our OpenAPI spec
|
|
2
|
-
# frozen_string_literal: true
|
|
3
|
-
|
|
4
|
-
module Stripe
|
|
5
|
-
module DelegatedCheckout
|
|
6
|
-
class RequestedSessionConfirmParams < ::Stripe::RequestParams
|
|
7
|
-
class RiskDetails < ::Stripe::RequestParams
|
|
8
|
-
class ClientDeviceMetadataDetails < ::Stripe::RequestParams
|
|
9
|
-
# The radar session.
|
|
10
|
-
attr_accessor :radar_session
|
|
11
|
-
# The referrer of the client device.
|
|
12
|
-
attr_accessor :referrer
|
|
13
|
-
# The remote IP address of the client device.
|
|
14
|
-
attr_accessor :remote_ip
|
|
15
|
-
# The time on page in milliseconds.
|
|
16
|
-
attr_accessor :time_on_page_ms
|
|
17
|
-
# The user agent of the client device.
|
|
18
|
-
attr_accessor :user_agent
|
|
19
|
-
|
|
20
|
-
def initialize(
|
|
21
|
-
radar_session: nil,
|
|
22
|
-
referrer: nil,
|
|
23
|
-
remote_ip: nil,
|
|
24
|
-
time_on_page_ms: nil,
|
|
25
|
-
user_agent: nil
|
|
26
|
-
)
|
|
27
|
-
@radar_session = radar_session
|
|
28
|
-
@referrer = referrer
|
|
29
|
-
@remote_ip = remote_ip
|
|
30
|
-
@time_on_page_ms = time_on_page_ms
|
|
31
|
-
@user_agent = user_agent
|
|
32
|
-
end
|
|
33
|
-
end
|
|
34
|
-
# The client device metadata details for this requested session.
|
|
35
|
-
attr_accessor :client_device_metadata_details
|
|
36
|
-
|
|
37
|
-
def initialize(client_device_metadata_details: nil)
|
|
38
|
-
@client_device_metadata_details = client_device_metadata_details
|
|
39
|
-
end
|
|
40
|
-
end
|
|
41
|
-
# Specifies which fields in the response should be expanded.
|
|
42
|
-
attr_accessor :expand
|
|
43
|
-
# The PaymentMethod to use with the requested session.
|
|
44
|
-
attr_accessor :payment_method
|
|
45
|
-
# Risk details/signals associated with the requested session
|
|
46
|
-
attr_accessor :risk_details
|
|
47
|
-
|
|
48
|
-
def initialize(expand: nil, payment_method: nil, risk_details: nil)
|
|
49
|
-
@expand = expand
|
|
50
|
-
@payment_method = payment_method
|
|
51
|
-
@risk_details = risk_details
|
|
52
|
-
end
|
|
53
|
-
end
|
|
54
|
-
end
|
|
55
|
-
end
|
|
@@ -1,205 +0,0 @@
|
|
|
1
|
-
# File generated from our OpenAPI spec
|
|
2
|
-
# frozen_string_literal: true
|
|
3
|
-
|
|
4
|
-
module Stripe
|
|
5
|
-
module DelegatedCheckout
|
|
6
|
-
class RequestedSessionCreateParams < ::Stripe::RequestParams
|
|
7
|
-
class FulfillmentDetails < ::Stripe::RequestParams
|
|
8
|
-
class Address < ::Stripe::RequestParams
|
|
9
|
-
# City, district, suburb, town, or village.
|
|
10
|
-
attr_accessor :city
|
|
11
|
-
# Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)).
|
|
12
|
-
attr_accessor :country
|
|
13
|
-
# Address line 1, such as the street, PO Box, or company name.
|
|
14
|
-
attr_accessor :line1
|
|
15
|
-
# Address line 2, such as the apartment, suite, unit, or building.
|
|
16
|
-
attr_accessor :line2
|
|
17
|
-
# ZIP or postal code.
|
|
18
|
-
attr_accessor :postal_code
|
|
19
|
-
# State, county, province, or region.
|
|
20
|
-
attr_accessor :state
|
|
21
|
-
|
|
22
|
-
def initialize(
|
|
23
|
-
city: nil,
|
|
24
|
-
country: nil,
|
|
25
|
-
line1: nil,
|
|
26
|
-
line2: nil,
|
|
27
|
-
postal_code: nil,
|
|
28
|
-
state: nil
|
|
29
|
-
)
|
|
30
|
-
@city = city
|
|
31
|
-
@country = country
|
|
32
|
-
@line1 = line1
|
|
33
|
-
@line2 = line2
|
|
34
|
-
@postal_code = postal_code
|
|
35
|
-
@state = state
|
|
36
|
-
end
|
|
37
|
-
end
|
|
38
|
-
# The customer's address.
|
|
39
|
-
attr_accessor :address
|
|
40
|
-
# The customer's email address.
|
|
41
|
-
attr_accessor :email
|
|
42
|
-
# The customer's name.
|
|
43
|
-
attr_accessor :name
|
|
44
|
-
# The customer's phone number.
|
|
45
|
-
attr_accessor :phone
|
|
46
|
-
|
|
47
|
-
def initialize(address: nil, email: nil, name: nil, phone: nil)
|
|
48
|
-
@address = address
|
|
49
|
-
@email = email
|
|
50
|
-
@name = name
|
|
51
|
-
@phone = phone
|
|
52
|
-
end
|
|
53
|
-
end
|
|
54
|
-
|
|
55
|
-
class LineItemDetail < ::Stripe::RequestParams
|
|
56
|
-
# The quantity of the line item.
|
|
57
|
-
attr_accessor :quantity
|
|
58
|
-
# The SKU ID of the line item.
|
|
59
|
-
attr_accessor :sku_id
|
|
60
|
-
|
|
61
|
-
def initialize(quantity: nil, sku_id: nil)
|
|
62
|
-
@quantity = quantity
|
|
63
|
-
@sku_id = sku_id
|
|
64
|
-
end
|
|
65
|
-
end
|
|
66
|
-
|
|
67
|
-
class PaymentMethodData < ::Stripe::RequestParams
|
|
68
|
-
class BillingDetails < ::Stripe::RequestParams
|
|
69
|
-
class Address < ::Stripe::RequestParams
|
|
70
|
-
# City, district, suburb, town, or village.
|
|
71
|
-
attr_accessor :city
|
|
72
|
-
# Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)).
|
|
73
|
-
attr_accessor :country
|
|
74
|
-
# Address line 1, such as the street, PO Box, or company name.
|
|
75
|
-
attr_accessor :line1
|
|
76
|
-
# Address line 2, such as the apartment, suite, unit, or building.
|
|
77
|
-
attr_accessor :line2
|
|
78
|
-
# ZIP or postal code.
|
|
79
|
-
attr_accessor :postal_code
|
|
80
|
-
# State, county, province, or region.
|
|
81
|
-
attr_accessor :state
|
|
82
|
-
|
|
83
|
-
def initialize(
|
|
84
|
-
city: nil,
|
|
85
|
-
country: nil,
|
|
86
|
-
line1: nil,
|
|
87
|
-
line2: nil,
|
|
88
|
-
postal_code: nil,
|
|
89
|
-
state: nil
|
|
90
|
-
)
|
|
91
|
-
@city = city
|
|
92
|
-
@country = country
|
|
93
|
-
@line1 = line1
|
|
94
|
-
@line2 = line2
|
|
95
|
-
@postal_code = postal_code
|
|
96
|
-
@state = state
|
|
97
|
-
end
|
|
98
|
-
end
|
|
99
|
-
# The address for the billing details.
|
|
100
|
-
attr_accessor :address
|
|
101
|
-
# The email for the billing details.
|
|
102
|
-
attr_accessor :email
|
|
103
|
-
# The name for the billing details.
|
|
104
|
-
attr_accessor :name
|
|
105
|
-
# The phone for the billing details.
|
|
106
|
-
attr_accessor :phone
|
|
107
|
-
|
|
108
|
-
def initialize(address: nil, email: nil, name: nil, phone: nil)
|
|
109
|
-
@address = address
|
|
110
|
-
@email = email
|
|
111
|
-
@name = name
|
|
112
|
-
@phone = phone
|
|
113
|
-
end
|
|
114
|
-
end
|
|
115
|
-
|
|
116
|
-
class Card < ::Stripe::RequestParams
|
|
117
|
-
# The CVC of the card.
|
|
118
|
-
attr_accessor :cvc
|
|
119
|
-
# The expiration month of the card.
|
|
120
|
-
attr_accessor :exp_month
|
|
121
|
-
# The expiration year of the card.
|
|
122
|
-
attr_accessor :exp_year
|
|
123
|
-
# The number of the card.
|
|
124
|
-
attr_accessor :number
|
|
125
|
-
|
|
126
|
-
def initialize(cvc: nil, exp_month: nil, exp_year: nil, number: nil)
|
|
127
|
-
@cvc = cvc
|
|
128
|
-
@exp_month = exp_month
|
|
129
|
-
@exp_year = exp_year
|
|
130
|
-
@number = number
|
|
131
|
-
end
|
|
132
|
-
end
|
|
133
|
-
# The billing details for the payment method data.
|
|
134
|
-
attr_accessor :billing_details
|
|
135
|
-
# The card for the payment method data.
|
|
136
|
-
attr_accessor :card
|
|
137
|
-
# The type of the payment method data.
|
|
138
|
-
attr_accessor :type
|
|
139
|
-
|
|
140
|
-
def initialize(billing_details: nil, card: nil, type: nil)
|
|
141
|
-
@billing_details = billing_details
|
|
142
|
-
@card = card
|
|
143
|
-
@type = type
|
|
144
|
-
end
|
|
145
|
-
end
|
|
146
|
-
|
|
147
|
-
class SellerDetails < ::Stripe::RequestParams
|
|
148
|
-
# The network profile for the seller.
|
|
149
|
-
attr_accessor :network_profile
|
|
150
|
-
|
|
151
|
-
def initialize(network_profile: nil)
|
|
152
|
-
@network_profile = network_profile
|
|
153
|
-
end
|
|
154
|
-
end
|
|
155
|
-
# The currency for this requested session.
|
|
156
|
-
attr_accessor :currency
|
|
157
|
-
# The customer for this requested session.
|
|
158
|
-
attr_accessor :customer
|
|
159
|
-
# Specifies which fields in the response should be expanded.
|
|
160
|
-
attr_accessor :expand
|
|
161
|
-
# The details of the fulfillment.
|
|
162
|
-
attr_accessor :fulfillment_details
|
|
163
|
-
# The details of the line items.
|
|
164
|
-
attr_accessor :line_item_details
|
|
165
|
-
# The metadata for this requested session.
|
|
166
|
-
attr_accessor :metadata
|
|
167
|
-
# The payment method for this requested session.
|
|
168
|
-
attr_accessor :payment_method
|
|
169
|
-
# The payment method data for this requested session.
|
|
170
|
-
attr_accessor :payment_method_data
|
|
171
|
-
# The details of the seller.
|
|
172
|
-
attr_accessor :seller_details
|
|
173
|
-
# The setup future usage for this requested session.
|
|
174
|
-
attr_accessor :setup_future_usage
|
|
175
|
-
# The shared metadata for this requested session.
|
|
176
|
-
attr_accessor :shared_metadata
|
|
177
|
-
|
|
178
|
-
def initialize(
|
|
179
|
-
currency: nil,
|
|
180
|
-
customer: nil,
|
|
181
|
-
expand: nil,
|
|
182
|
-
fulfillment_details: nil,
|
|
183
|
-
line_item_details: nil,
|
|
184
|
-
metadata: nil,
|
|
185
|
-
payment_method: nil,
|
|
186
|
-
payment_method_data: nil,
|
|
187
|
-
seller_details: nil,
|
|
188
|
-
setup_future_usage: nil,
|
|
189
|
-
shared_metadata: nil
|
|
190
|
-
)
|
|
191
|
-
@currency = currency
|
|
192
|
-
@customer = customer
|
|
193
|
-
@expand = expand
|
|
194
|
-
@fulfillment_details = fulfillment_details
|
|
195
|
-
@line_item_details = line_item_details
|
|
196
|
-
@metadata = metadata
|
|
197
|
-
@payment_method = payment_method
|
|
198
|
-
@payment_method_data = payment_method_data
|
|
199
|
-
@seller_details = seller_details
|
|
200
|
-
@setup_future_usage = setup_future_usage
|
|
201
|
-
@shared_metadata = shared_metadata
|
|
202
|
-
end
|
|
203
|
-
end
|
|
204
|
-
end
|
|
205
|
-
end
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
# File generated from our OpenAPI spec
|
|
2
|
-
# frozen_string_literal: true
|
|
3
|
-
|
|
4
|
-
module Stripe
|
|
5
|
-
module DelegatedCheckout
|
|
6
|
-
class RequestedSessionExpireParams < ::Stripe::RequestParams
|
|
7
|
-
# Specifies which fields in the response should be expanded.
|
|
8
|
-
attr_accessor :expand
|
|
9
|
-
|
|
10
|
-
def initialize(expand: nil)
|
|
11
|
-
@expand = expand
|
|
12
|
-
end
|
|
13
|
-
end
|
|
14
|
-
end
|
|
15
|
-
end
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
# File generated from our OpenAPI spec
|
|
2
|
-
# frozen_string_literal: true
|
|
3
|
-
|
|
4
|
-
module Stripe
|
|
5
|
-
module DelegatedCheckout
|
|
6
|
-
class RequestedSessionRetrieveParams < ::Stripe::RequestParams
|
|
7
|
-
# Specifies which fields in the response should be expanded.
|
|
8
|
-
attr_accessor :expand
|
|
9
|
-
|
|
10
|
-
def initialize(expand: nil)
|
|
11
|
-
@expand = expand
|
|
12
|
-
end
|
|
13
|
-
end
|
|
14
|
-
end
|
|
15
|
-
end
|
|
@@ -1,209 +0,0 @@
|
|
|
1
|
-
# File generated from our OpenAPI spec
|
|
2
|
-
# frozen_string_literal: true
|
|
3
|
-
|
|
4
|
-
module Stripe
|
|
5
|
-
module DelegatedCheckout
|
|
6
|
-
class RequestedSessionUpdateParams < ::Stripe::RequestParams
|
|
7
|
-
class FulfillmentDetails < ::Stripe::RequestParams
|
|
8
|
-
class Address < ::Stripe::RequestParams
|
|
9
|
-
# City, district, suburb, town, or village.
|
|
10
|
-
attr_accessor :city
|
|
11
|
-
# Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)).
|
|
12
|
-
attr_accessor :country
|
|
13
|
-
# Address line 1, such as the street, PO Box, or company name.
|
|
14
|
-
attr_accessor :line1
|
|
15
|
-
# Address line 2, such as the apartment, suite, unit, or building.
|
|
16
|
-
attr_accessor :line2
|
|
17
|
-
# ZIP or postal code.
|
|
18
|
-
attr_accessor :postal_code
|
|
19
|
-
# State, county, province, or region.
|
|
20
|
-
attr_accessor :state
|
|
21
|
-
|
|
22
|
-
def initialize(
|
|
23
|
-
city: nil,
|
|
24
|
-
country: nil,
|
|
25
|
-
line1: nil,
|
|
26
|
-
line2: nil,
|
|
27
|
-
postal_code: nil,
|
|
28
|
-
state: nil
|
|
29
|
-
)
|
|
30
|
-
@city = city
|
|
31
|
-
@country = country
|
|
32
|
-
@line1 = line1
|
|
33
|
-
@line2 = line2
|
|
34
|
-
@postal_code = postal_code
|
|
35
|
-
@state = state
|
|
36
|
-
end
|
|
37
|
-
end
|
|
38
|
-
|
|
39
|
-
class SelectedFulfillmentOption < ::Stripe::RequestParams
|
|
40
|
-
class Shipping < ::Stripe::RequestParams
|
|
41
|
-
# The shipping option identifer.
|
|
42
|
-
attr_accessor :shipping_option
|
|
43
|
-
|
|
44
|
-
def initialize(shipping_option: nil)
|
|
45
|
-
@shipping_option = shipping_option
|
|
46
|
-
end
|
|
47
|
-
end
|
|
48
|
-
# The shipping fulfillment option.
|
|
49
|
-
attr_accessor :shipping
|
|
50
|
-
# The type of fulfillment option.
|
|
51
|
-
attr_accessor :type
|
|
52
|
-
|
|
53
|
-
def initialize(shipping: nil, type: nil)
|
|
54
|
-
@shipping = shipping
|
|
55
|
-
@type = type
|
|
56
|
-
end
|
|
57
|
-
end
|
|
58
|
-
# The customer's address.
|
|
59
|
-
attr_accessor :address
|
|
60
|
-
# The customer's email address.
|
|
61
|
-
attr_accessor :email
|
|
62
|
-
# The customer's name.
|
|
63
|
-
attr_accessor :name
|
|
64
|
-
# The customer's phone number.
|
|
65
|
-
attr_accessor :phone
|
|
66
|
-
# The fulfillment option to select.
|
|
67
|
-
attr_accessor :selected_fulfillment_option
|
|
68
|
-
|
|
69
|
-
def initialize(
|
|
70
|
-
address: nil,
|
|
71
|
-
email: nil,
|
|
72
|
-
name: nil,
|
|
73
|
-
phone: nil,
|
|
74
|
-
selected_fulfillment_option: nil
|
|
75
|
-
)
|
|
76
|
-
@address = address
|
|
77
|
-
@email = email
|
|
78
|
-
@name = name
|
|
79
|
-
@phone = phone
|
|
80
|
-
@selected_fulfillment_option = selected_fulfillment_option
|
|
81
|
-
end
|
|
82
|
-
end
|
|
83
|
-
|
|
84
|
-
class LineItemDetail < ::Stripe::RequestParams
|
|
85
|
-
# The key of the line item.
|
|
86
|
-
attr_accessor :key
|
|
87
|
-
# The quantity of the line item.
|
|
88
|
-
attr_accessor :quantity
|
|
89
|
-
|
|
90
|
-
def initialize(key: nil, quantity: nil)
|
|
91
|
-
@key = key
|
|
92
|
-
@quantity = quantity
|
|
93
|
-
end
|
|
94
|
-
end
|
|
95
|
-
|
|
96
|
-
class PaymentMethodData < ::Stripe::RequestParams
|
|
97
|
-
class BillingDetails < ::Stripe::RequestParams
|
|
98
|
-
class Address < ::Stripe::RequestParams
|
|
99
|
-
# City, district, suburb, town, or village.
|
|
100
|
-
attr_accessor :city
|
|
101
|
-
# Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)).
|
|
102
|
-
attr_accessor :country
|
|
103
|
-
# Address line 1, such as the street, PO Box, or company name.
|
|
104
|
-
attr_accessor :line1
|
|
105
|
-
# Address line 2, such as the apartment, suite, unit, or building.
|
|
106
|
-
attr_accessor :line2
|
|
107
|
-
# ZIP or postal code.
|
|
108
|
-
attr_accessor :postal_code
|
|
109
|
-
# State, county, province, or region.
|
|
110
|
-
attr_accessor :state
|
|
111
|
-
|
|
112
|
-
def initialize(
|
|
113
|
-
city: nil,
|
|
114
|
-
country: nil,
|
|
115
|
-
line1: nil,
|
|
116
|
-
line2: nil,
|
|
117
|
-
postal_code: nil,
|
|
118
|
-
state: nil
|
|
119
|
-
)
|
|
120
|
-
@city = city
|
|
121
|
-
@country = country
|
|
122
|
-
@line1 = line1
|
|
123
|
-
@line2 = line2
|
|
124
|
-
@postal_code = postal_code
|
|
125
|
-
@state = state
|
|
126
|
-
end
|
|
127
|
-
end
|
|
128
|
-
# The address for the billing details.
|
|
129
|
-
attr_accessor :address
|
|
130
|
-
# The email for the billing details.
|
|
131
|
-
attr_accessor :email
|
|
132
|
-
# The name for the billing details.
|
|
133
|
-
attr_accessor :name
|
|
134
|
-
# The phone for the billing details.
|
|
135
|
-
attr_accessor :phone
|
|
136
|
-
|
|
137
|
-
def initialize(address: nil, email: nil, name: nil, phone: nil)
|
|
138
|
-
@address = address
|
|
139
|
-
@email = email
|
|
140
|
-
@name = name
|
|
141
|
-
@phone = phone
|
|
142
|
-
end
|
|
143
|
-
end
|
|
144
|
-
|
|
145
|
-
class Card < ::Stripe::RequestParams
|
|
146
|
-
# The CVC of the card.
|
|
147
|
-
attr_accessor :cvc
|
|
148
|
-
# The expiration month of the card.
|
|
149
|
-
attr_accessor :exp_month
|
|
150
|
-
# The expiration year of the card.
|
|
151
|
-
attr_accessor :exp_year
|
|
152
|
-
# The number of the card.
|
|
153
|
-
attr_accessor :number
|
|
154
|
-
|
|
155
|
-
def initialize(cvc: nil, exp_month: nil, exp_year: nil, number: nil)
|
|
156
|
-
@cvc = cvc
|
|
157
|
-
@exp_month = exp_month
|
|
158
|
-
@exp_year = exp_year
|
|
159
|
-
@number = number
|
|
160
|
-
end
|
|
161
|
-
end
|
|
162
|
-
# The billing details for the payment method data.
|
|
163
|
-
attr_accessor :billing_details
|
|
164
|
-
# The card for the payment method data.
|
|
165
|
-
attr_accessor :card
|
|
166
|
-
# The type of the payment method data.
|
|
167
|
-
attr_accessor :type
|
|
168
|
-
|
|
169
|
-
def initialize(billing_details: nil, card: nil, type: nil)
|
|
170
|
-
@billing_details = billing_details
|
|
171
|
-
@card = card
|
|
172
|
-
@type = type
|
|
173
|
-
end
|
|
174
|
-
end
|
|
175
|
-
# Specifies which fields in the response should be expanded.
|
|
176
|
-
attr_accessor :expand
|
|
177
|
-
# The details of the fulfillment.
|
|
178
|
-
attr_accessor :fulfillment_details
|
|
179
|
-
# The details of the line items.
|
|
180
|
-
attr_accessor :line_item_details
|
|
181
|
-
# The metadata for this requested session.
|
|
182
|
-
attr_accessor :metadata
|
|
183
|
-
# The payment method for this requested session.
|
|
184
|
-
attr_accessor :payment_method
|
|
185
|
-
# The payment method data for this requested session.
|
|
186
|
-
attr_accessor :payment_method_data
|
|
187
|
-
# The shared metadata for this requested session.
|
|
188
|
-
attr_accessor :shared_metadata
|
|
189
|
-
|
|
190
|
-
def initialize(
|
|
191
|
-
expand: nil,
|
|
192
|
-
fulfillment_details: nil,
|
|
193
|
-
line_item_details: nil,
|
|
194
|
-
metadata: nil,
|
|
195
|
-
payment_method: nil,
|
|
196
|
-
payment_method_data: nil,
|
|
197
|
-
shared_metadata: nil
|
|
198
|
-
)
|
|
199
|
-
@expand = expand
|
|
200
|
-
@fulfillment_details = fulfillment_details
|
|
201
|
-
@line_item_details = line_item_details
|
|
202
|
-
@metadata = metadata
|
|
203
|
-
@payment_method = payment_method
|
|
204
|
-
@payment_method_data = payment_method_data
|
|
205
|
-
@shared_metadata = shared_metadata
|
|
206
|
-
end
|
|
207
|
-
end
|
|
208
|
-
end
|
|
209
|
-
end
|
|
@@ -1,29 +0,0 @@
|
|
|
1
|
-
# File generated from our OpenAPI spec
|
|
2
|
-
# frozen_string_literal: true
|
|
3
|
-
|
|
4
|
-
module Stripe
|
|
5
|
-
module Identity
|
|
6
|
-
class BlocklistEntryCreateParams < ::Stripe::RequestParams
|
|
7
|
-
# When true, the created BlocklistEntry will be used to retroactively unverify matching verifications.
|
|
8
|
-
attr_accessor :check_existing_verifications
|
|
9
|
-
# The type of blocklist entry to be created.
|
|
10
|
-
attr_accessor :entry_type
|
|
11
|
-
# Specifies which fields in the response should be expanded.
|
|
12
|
-
attr_accessor :expand
|
|
13
|
-
# The identifier of the VerificationReport to create the BlocklistEntry from.
|
|
14
|
-
attr_accessor :verification_report
|
|
15
|
-
|
|
16
|
-
def initialize(
|
|
17
|
-
check_existing_verifications: nil,
|
|
18
|
-
entry_type: nil,
|
|
19
|
-
expand: nil,
|
|
20
|
-
verification_report: nil
|
|
21
|
-
)
|
|
22
|
-
@check_existing_verifications = check_existing_verifications
|
|
23
|
-
@entry_type = entry_type
|
|
24
|
-
@expand = expand
|
|
25
|
-
@verification_report = verification_report
|
|
26
|
-
end
|
|
27
|
-
end
|
|
28
|
-
end
|
|
29
|
-
end
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
# File generated from our OpenAPI spec
|
|
2
|
-
# frozen_string_literal: true
|
|
3
|
-
|
|
4
|
-
module Stripe
|
|
5
|
-
module Identity
|
|
6
|
-
class BlocklistEntryDisableParams < ::Stripe::RequestParams
|
|
7
|
-
# Specifies which fields in the response should be expanded.
|
|
8
|
-
attr_accessor :expand
|
|
9
|
-
|
|
10
|
-
def initialize(expand: nil)
|
|
11
|
-
@expand = expand
|
|
12
|
-
end
|
|
13
|
-
end
|
|
14
|
-
end
|
|
15
|
-
end
|
|
@@ -1,62 +0,0 @@
|
|
|
1
|
-
# File generated from our OpenAPI spec
|
|
2
|
-
# frozen_string_literal: true
|
|
3
|
-
|
|
4
|
-
module Stripe
|
|
5
|
-
module Identity
|
|
6
|
-
class BlocklistEntryListParams < ::Stripe::RequestParams
|
|
7
|
-
class Created < ::Stripe::RequestParams
|
|
8
|
-
# Minimum value to filter by (exclusive)
|
|
9
|
-
attr_accessor :gt
|
|
10
|
-
# Minimum value to filter by (inclusive)
|
|
11
|
-
attr_accessor :gte
|
|
12
|
-
# Maximum value to filter by (exclusive)
|
|
13
|
-
attr_accessor :lt
|
|
14
|
-
# Maximum value to filter by (inclusive)
|
|
15
|
-
attr_accessor :lte
|
|
16
|
-
|
|
17
|
-
def initialize(gt: nil, gte: nil, lt: nil, lte: nil)
|
|
18
|
-
@gt = gt
|
|
19
|
-
@gte = gte
|
|
20
|
-
@lt = lt
|
|
21
|
-
@lte = lte
|
|
22
|
-
end
|
|
23
|
-
end
|
|
24
|
-
# Only return BlocklistEntries that were created during the given date interval.
|
|
25
|
-
attr_accessor :created
|
|
26
|
-
# A cursor for use in pagination. `ending_before` is an object ID that defines your place in the list. For instance, if you make a list request and receive 100 objects, starting with `obj_bar`, your subsequent call can include `ending_before=obj_bar` in order to fetch the previous page of the list.
|
|
27
|
-
attr_accessor :ending_before
|
|
28
|
-
# Specifies which fields in the response should be expanded.
|
|
29
|
-
attr_accessor :expand
|
|
30
|
-
# A limit on the number of objects to be returned. Limit can range between 1 and 100, and the default is 10.
|
|
31
|
-
attr_accessor :limit
|
|
32
|
-
# A cursor for use in pagination. `starting_after` is an object ID that defines your place in the list. For instance, if you make a list request and receive 100 objects, ending with `obj_foo`, your subsequent call can include `starting_after=obj_foo` in order to fetch the next page of the list.
|
|
33
|
-
attr_accessor :starting_after
|
|
34
|
-
# Only return blocklist entries with the specified status.
|
|
35
|
-
attr_accessor :status
|
|
36
|
-
# Only return blocklist entries of the specified type.
|
|
37
|
-
attr_accessor :type
|
|
38
|
-
# Only return blocklist entries created from this verification report.
|
|
39
|
-
attr_accessor :verification_report
|
|
40
|
-
|
|
41
|
-
def initialize(
|
|
42
|
-
created: nil,
|
|
43
|
-
ending_before: nil,
|
|
44
|
-
expand: nil,
|
|
45
|
-
limit: nil,
|
|
46
|
-
starting_after: nil,
|
|
47
|
-
status: nil,
|
|
48
|
-
type: nil,
|
|
49
|
-
verification_report: nil
|
|
50
|
-
)
|
|
51
|
-
@created = created
|
|
52
|
-
@ending_before = ending_before
|
|
53
|
-
@expand = expand
|
|
54
|
-
@limit = limit
|
|
55
|
-
@starting_after = starting_after
|
|
56
|
-
@status = status
|
|
57
|
-
@type = type
|
|
58
|
-
@verification_report = verification_report
|
|
59
|
-
end
|
|
60
|
-
end
|
|
61
|
-
end
|
|
62
|
-
end
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
# File generated from our OpenAPI spec
|
|
2
|
-
# frozen_string_literal: true
|
|
3
|
-
|
|
4
|
-
module Stripe
|
|
5
|
-
module Identity
|
|
6
|
-
class BlocklistEntryRetrieveParams < ::Stripe::RequestParams
|
|
7
|
-
# Specifies which fields in the response should be expanded.
|
|
8
|
-
attr_accessor :expand
|
|
9
|
-
|
|
10
|
-
def initialize(expand: nil)
|
|
11
|
-
@expand = expand
|
|
12
|
-
end
|
|
13
|
-
end
|
|
14
|
-
end
|
|
15
|
-
end
|
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
# File generated from our OpenAPI spec
|
|
2
|
-
# frozen_string_literal: true
|
|
3
|
-
|
|
4
|
-
module Stripe
|
|
5
|
-
module Issuing
|
|
6
|
-
class ProgramCreateParams < ::Stripe::RequestParams
|
|
7
|
-
# Specifies which fields in the response should be expanded.
|
|
8
|
-
attr_accessor :expand
|
|
9
|
-
# If true, makes the specified program the default for the given account.
|
|
10
|
-
attr_accessor :is_default
|
|
11
|
-
# The program to use as the parent for the new program to create.
|
|
12
|
-
attr_accessor :platform_program
|
|
13
|
-
|
|
14
|
-
def initialize(expand: nil, is_default: nil, platform_program: nil)
|
|
15
|
-
@expand = expand
|
|
16
|
-
@is_default = is_default
|
|
17
|
-
@platform_program = platform_program
|
|
18
|
-
end
|
|
19
|
-
end
|
|
20
|
-
end
|
|
21
|
-
end
|
|
@@ -1,24 +0,0 @@
|
|
|
1
|
-
# File generated from our OpenAPI spec
|
|
2
|
-
# frozen_string_literal: true
|
|
3
|
-
|
|
4
|
-
module Stripe
|
|
5
|
-
module Issuing
|
|
6
|
-
class ProgramListParams < ::Stripe::RequestParams
|
|
7
|
-
# A cursor for use in pagination. `ending_before` is an object ID that defines your place in the list. For instance, if you make a list request and receive 100 objects, starting with `obj_bar`, your subsequent call can include `ending_before=obj_bar` in order to fetch the previous page of the list.
|
|
8
|
-
attr_accessor :ending_before
|
|
9
|
-
# Specifies which fields in the response should be expanded.
|
|
10
|
-
attr_accessor :expand
|
|
11
|
-
# A limit on the number of objects to be returned. Limit can range between 1 and 100, and the default is 10.
|
|
12
|
-
attr_accessor :limit
|
|
13
|
-
# A cursor for use in pagination. `starting_after` is an object ID that defines your place in the list. For instance, if you make a list request and receive 100 objects, ending with `obj_foo`, your subsequent call can include `starting_after=obj_foo` in order to fetch the next page of the list.
|
|
14
|
-
attr_accessor :starting_after
|
|
15
|
-
|
|
16
|
-
def initialize(ending_before: nil, expand: nil, limit: nil, starting_after: nil)
|
|
17
|
-
@ending_before = ending_before
|
|
18
|
-
@expand = expand
|
|
19
|
-
@limit = limit
|
|
20
|
-
@starting_after = starting_after
|
|
21
|
-
end
|
|
22
|
-
end
|
|
23
|
-
end
|
|
24
|
-
end
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
# File generated from our OpenAPI spec
|
|
2
|
-
# frozen_string_literal: true
|
|
3
|
-
|
|
4
|
-
module Stripe
|
|
5
|
-
module Issuing
|
|
6
|
-
class ProgramRetrieveParams < ::Stripe::RequestParams
|
|
7
|
-
# Specifies which fields in the response should be expanded.
|
|
8
|
-
attr_accessor :expand
|
|
9
|
-
|
|
10
|
-
def initialize(expand: nil)
|
|
11
|
-
@expand = expand
|
|
12
|
-
end
|
|
13
|
-
end
|
|
14
|
-
end
|
|
15
|
-
end
|