stripe 17.2.0.pre.alpha.2 → 17.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_version.rb +1 -1
- data/lib/stripe/event_types.rb +0 -804
- data/lib/stripe/object_types.rb +0 -26
- 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/charge_capture_params.rb +8 -2
- data/lib/stripe/params/charge_update_params.rb +8 -2
- 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_list_params.rb +0 -4
- data/lib/stripe/params/payment_intent_capture_params.rb +29 -13
- data/lib/stripe/params/payment_intent_confirm_params.rb +29 -34
- data/lib/stripe/params/payment_intent_create_params.rb +29 -34
- data/lib/stripe/params/payment_intent_increment_authorization_params.rb +29 -13
- data/lib/stripe/params/payment_intent_update_params.rb +29 -34
- 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/transfer_create_params.rb +1 -5
- 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 -703
- data/lib/stripe/params/v2/core/account_update_params.rb +8 -689
- 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 +0 -4
- data/lib/stripe/params/v2/money_management/outbound_setup_intent_create_params.rb +1 -19
- data/lib/stripe/params/v2/money_management/outbound_transfer_create_params.rb +0 -4
- data/lib/stripe/params.rb +0 -82
- 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/card.rb +1 -18
- data/lib/stripe/resources/charge.rb +0 -16
- data/lib/stripe/resources/checkout/session.rb +0 -92
- data/lib/stripe/resources/confirmation_token.rb +0 -18
- data/lib/stripe/resources/identity/verification_report.rb +0 -4
- data/lib/stripe/resources/invoice_item.rb +2 -90
- data/lib/stripe/resources/invoice_line_item.rb +1 -91
- data/lib/stripe/resources/payment_intent.rb +17 -51
- data/lib/stripe/resources/payment_intent_amount_details_line_item.rb +13 -7
- data/lib/stripe/resources/payment_method.rb +0 -38
- data/lib/stripe/resources/setup_intent.rb +0 -40
- 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 +4 -1065
- data/lib/stripe/resources/v2/core/event.rb +0 -4
- data/lib/stripe/resources/v2/money_management/outbound_payment.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 -29
- data/lib/stripe/resources/v2/money_management/received_credit.rb +0 -2
- data/lib/stripe/resources/v2/money_management/received_debit.rb +0 -4
- data/lib/stripe/resources.rb +0 -274
- data/lib/stripe/services/identity_service.rb +1 -2
- data/lib/stripe/services/payment_method_service.rb +0 -11
- data/lib/stripe/services/v1_services.rb +1 -2
- 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 -3
- data/lib/stripe/services/v2/test_helper_service.rb +1 -2
- data/lib/stripe/services/v2_services.rb +1 -2
- data/lib/stripe/services.rb +0 -26
- data/lib/stripe/version.rb +1 -1
- data/rbi/stripe.rbi +751 -12909
- metadata +2 -384
- data/lib/stripe/events/v1_account_updated_event.rb +0 -44
- data/lib/stripe/events/v1_application_fee_created_event.rb +0 -44
- data/lib/stripe/events/v1_application_fee_refunded_event.rb +0 -44
- data/lib/stripe/events/v1_billing_portal_configuration_created_event.rb +0 -44
- data/lib/stripe/events/v1_billing_portal_configuration_updated_event.rb +0 -44
- data/lib/stripe/events/v1_capability_updated_event.rb +0 -44
- data/lib/stripe/events/v1_charge_captured_event.rb +0 -44
- data/lib/stripe/events/v1_charge_dispute_closed_event.rb +0 -44
- data/lib/stripe/events/v1_charge_dispute_created_event.rb +0 -44
- data/lib/stripe/events/v1_charge_dispute_funds_reinstated_event.rb +0 -44
- data/lib/stripe/events/v1_charge_dispute_funds_withdrawn_event.rb +0 -44
- data/lib/stripe/events/v1_charge_dispute_updated_event.rb +0 -44
- data/lib/stripe/events/v1_charge_expired_event.rb +0 -44
- data/lib/stripe/events/v1_charge_failed_event.rb +0 -44
- data/lib/stripe/events/v1_charge_pending_event.rb +0 -44
- data/lib/stripe/events/v1_charge_refund_updated_event.rb +0 -44
- data/lib/stripe/events/v1_charge_refunded_event.rb +0 -44
- data/lib/stripe/events/v1_charge_succeeded_event.rb +0 -44
- data/lib/stripe/events/v1_charge_updated_event.rb +0 -44
- data/lib/stripe/events/v1_checkout_session_async_payment_failed_event.rb +0 -44
- data/lib/stripe/events/v1_checkout_session_async_payment_succeeded_event.rb +0 -44
- data/lib/stripe/events/v1_checkout_session_completed_event.rb +0 -44
- data/lib/stripe/events/v1_checkout_session_expired_event.rb +0 -44
- data/lib/stripe/events/v1_climate_order_canceled_event.rb +0 -44
- data/lib/stripe/events/v1_climate_order_created_event.rb +0 -44
- data/lib/stripe/events/v1_climate_order_delayed_event.rb +0 -44
- data/lib/stripe/events/v1_climate_order_delivered_event.rb +0 -44
- data/lib/stripe/events/v1_climate_order_product_substituted_event.rb +0 -44
- data/lib/stripe/events/v1_climate_product_created_event.rb +0 -44
- data/lib/stripe/events/v1_climate_product_pricing_updated_event.rb +0 -44
- data/lib/stripe/events/v1_coupon_created_event.rb +0 -44
- data/lib/stripe/events/v1_coupon_deleted_event.rb +0 -44
- data/lib/stripe/events/v1_coupon_updated_event.rb +0 -44
- data/lib/stripe/events/v1_credit_note_created_event.rb +0 -44
- data/lib/stripe/events/v1_credit_note_updated_event.rb +0 -44
- data/lib/stripe/events/v1_credit_note_voided_event.rb +0 -44
- data/lib/stripe/events/v1_customer_created_event.rb +0 -44
- data/lib/stripe/events/v1_customer_deleted_event.rb +0 -44
- data/lib/stripe/events/v1_customer_subscription_created_event.rb +0 -44
- data/lib/stripe/events/v1_customer_subscription_deleted_event.rb +0 -44
- data/lib/stripe/events/v1_customer_subscription_paused_event.rb +0 -44
- data/lib/stripe/events/v1_customer_subscription_pending_update_applied_event.rb +0 -44
- data/lib/stripe/events/v1_customer_subscription_pending_update_expired_event.rb +0 -44
- data/lib/stripe/events/v1_customer_subscription_resumed_event.rb +0 -44
- data/lib/stripe/events/v1_customer_subscription_trial_will_end_event.rb +0 -44
- data/lib/stripe/events/v1_customer_subscription_updated_event.rb +0 -44
- data/lib/stripe/events/v1_customer_tax_id_created_event.rb +0 -44
- data/lib/stripe/events/v1_customer_tax_id_deleted_event.rb +0 -44
- data/lib/stripe/events/v1_customer_tax_id_updated_event.rb +0 -44
- data/lib/stripe/events/v1_customer_updated_event.rb +0 -44
- data/lib/stripe/events/v1_file_created_event.rb +0 -44
- data/lib/stripe/events/v1_financial_connections_account_created_event.rb +0 -44
- data/lib/stripe/events/v1_financial_connections_account_deactivated_event.rb +0 -44
- data/lib/stripe/events/v1_financial_connections_account_disconnected_event.rb +0 -44
- data/lib/stripe/events/v1_financial_connections_account_reactivated_event.rb +0 -44
- data/lib/stripe/events/v1_financial_connections_account_refreshed_balance_event.rb +0 -44
- data/lib/stripe/events/v1_financial_connections_account_refreshed_ownership_event.rb +0 -44
- data/lib/stripe/events/v1_financial_connections_account_refreshed_transactions_event.rb +0 -44
- data/lib/stripe/events/v1_identity_verification_session_canceled_event.rb +0 -44
- data/lib/stripe/events/v1_identity_verification_session_created_event.rb +0 -44
- data/lib/stripe/events/v1_identity_verification_session_processing_event.rb +0 -44
- data/lib/stripe/events/v1_identity_verification_session_redacted_event.rb +0 -44
- data/lib/stripe/events/v1_identity_verification_session_requires_input_event.rb +0 -44
- data/lib/stripe/events/v1_identity_verification_session_verified_event.rb +0 -44
- data/lib/stripe/events/v1_invoice_created_event.rb +0 -44
- data/lib/stripe/events/v1_invoice_deleted_event.rb +0 -44
- data/lib/stripe/events/v1_invoice_finalization_failed_event.rb +0 -44
- data/lib/stripe/events/v1_invoice_finalized_event.rb +0 -44
- data/lib/stripe/events/v1_invoice_marked_uncollectible_event.rb +0 -44
- data/lib/stripe/events/v1_invoice_overdue_event.rb +0 -44
- data/lib/stripe/events/v1_invoice_overpaid_event.rb +0 -44
- data/lib/stripe/events/v1_invoice_paid_event.rb +0 -44
- data/lib/stripe/events/v1_invoice_payment_action_required_event.rb +0 -44
- data/lib/stripe/events/v1_invoice_payment_failed_event.rb +0 -44
- data/lib/stripe/events/v1_invoice_payment_paid_event.rb +0 -44
- data/lib/stripe/events/v1_invoice_payment_succeeded_event.rb +0 -44
- data/lib/stripe/events/v1_invoice_sent_event.rb +0 -44
- data/lib/stripe/events/v1_invoice_upcoming_event.rb +0 -44
- data/lib/stripe/events/v1_invoice_updated_event.rb +0 -44
- data/lib/stripe/events/v1_invoice_voided_event.rb +0 -44
- data/lib/stripe/events/v1_invoice_will_be_due_event.rb +0 -44
- data/lib/stripe/events/v1_invoiceitem_created_event.rb +0 -44
- data/lib/stripe/events/v1_invoiceitem_deleted_event.rb +0 -44
- data/lib/stripe/events/v1_issuing_authorization_created_event.rb +0 -44
- data/lib/stripe/events/v1_issuing_authorization_request_event.rb +0 -44
- data/lib/stripe/events/v1_issuing_authorization_updated_event.rb +0 -44
- data/lib/stripe/events/v1_issuing_card_created_event.rb +0 -44
- data/lib/stripe/events/v1_issuing_card_updated_event.rb +0 -44
- data/lib/stripe/events/v1_issuing_cardholder_created_event.rb +0 -44
- data/lib/stripe/events/v1_issuing_cardholder_updated_event.rb +0 -44
- data/lib/stripe/events/v1_issuing_dispute_closed_event.rb +0 -44
- data/lib/stripe/events/v1_issuing_dispute_created_event.rb +0 -44
- data/lib/stripe/events/v1_issuing_dispute_funds_reinstated_event.rb +0 -44
- data/lib/stripe/events/v1_issuing_dispute_funds_rescinded_event.rb +0 -44
- data/lib/stripe/events/v1_issuing_dispute_submitted_event.rb +0 -44
- data/lib/stripe/events/v1_issuing_dispute_updated_event.rb +0 -44
- data/lib/stripe/events/v1_issuing_personalization_design_activated_event.rb +0 -44
- data/lib/stripe/events/v1_issuing_personalization_design_deactivated_event.rb +0 -44
- data/lib/stripe/events/v1_issuing_personalization_design_rejected_event.rb +0 -44
- data/lib/stripe/events/v1_issuing_personalization_design_updated_event.rb +0 -44
- data/lib/stripe/events/v1_issuing_token_created_event.rb +0 -44
- data/lib/stripe/events/v1_issuing_token_updated_event.rb +0 -44
- data/lib/stripe/events/v1_issuing_transaction_created_event.rb +0 -44
- data/lib/stripe/events/v1_issuing_transaction_purchase_details_receipt_updated_event.rb +0 -44
- data/lib/stripe/events/v1_issuing_transaction_updated_event.rb +0 -44
- data/lib/stripe/events/v1_mandate_updated_event.rb +0 -44
- data/lib/stripe/events/v1_payment_intent_amount_capturable_updated_event.rb +0 -44
- data/lib/stripe/events/v1_payment_intent_canceled_event.rb +0 -44
- data/lib/stripe/events/v1_payment_intent_created_event.rb +0 -44
- data/lib/stripe/events/v1_payment_intent_partially_funded_event.rb +0 -44
- data/lib/stripe/events/v1_payment_intent_payment_failed_event.rb +0 -44
- data/lib/stripe/events/v1_payment_intent_processing_event.rb +0 -44
- data/lib/stripe/events/v1_payment_intent_requires_action_event.rb +0 -44
- data/lib/stripe/events/v1_payment_intent_succeeded_event.rb +0 -44
- data/lib/stripe/events/v1_payment_link_created_event.rb +0 -44
- data/lib/stripe/events/v1_payment_link_updated_event.rb +0 -44
- data/lib/stripe/events/v1_payment_method_attached_event.rb +0 -44
- data/lib/stripe/events/v1_payment_method_automatically_updated_event.rb +0 -44
- data/lib/stripe/events/v1_payment_method_detached_event.rb +0 -44
- data/lib/stripe/events/v1_payment_method_updated_event.rb +0 -44
- data/lib/stripe/events/v1_payout_canceled_event.rb +0 -44
- data/lib/stripe/events/v1_payout_created_event.rb +0 -44
- data/lib/stripe/events/v1_payout_failed_event.rb +0 -44
- data/lib/stripe/events/v1_payout_paid_event.rb +0 -44
- data/lib/stripe/events/v1_payout_reconciliation_completed_event.rb +0 -44
- data/lib/stripe/events/v1_payout_updated_event.rb +0 -44
- data/lib/stripe/events/v1_person_created_event.rb +0 -44
- data/lib/stripe/events/v1_person_deleted_event.rb +0 -44
- data/lib/stripe/events/v1_person_updated_event.rb +0 -44
- data/lib/stripe/events/v1_plan_created_event.rb +0 -44
- data/lib/stripe/events/v1_plan_deleted_event.rb +0 -44
- data/lib/stripe/events/v1_plan_updated_event.rb +0 -44
- data/lib/stripe/events/v1_price_created_event.rb +0 -44
- data/lib/stripe/events/v1_price_deleted_event.rb +0 -44
- data/lib/stripe/events/v1_price_updated_event.rb +0 -44
- data/lib/stripe/events/v1_product_created_event.rb +0 -44
- data/lib/stripe/events/v1_product_deleted_event.rb +0 -44
- data/lib/stripe/events/v1_product_updated_event.rb +0 -44
- data/lib/stripe/events/v1_promotion_code_created_event.rb +0 -44
- data/lib/stripe/events/v1_promotion_code_updated_event.rb +0 -44
- data/lib/stripe/events/v1_quote_accepted_event.rb +0 -44
- data/lib/stripe/events/v1_quote_canceled_event.rb +0 -44
- data/lib/stripe/events/v1_quote_created_event.rb +0 -44
- data/lib/stripe/events/v1_quote_finalized_event.rb +0 -44
- data/lib/stripe/events/v1_radar_early_fraud_warning_created_event.rb +0 -44
- data/lib/stripe/events/v1_radar_early_fraud_warning_updated_event.rb +0 -44
- data/lib/stripe/events/v1_refund_created_event.rb +0 -44
- data/lib/stripe/events/v1_refund_failed_event.rb +0 -44
- data/lib/stripe/events/v1_refund_updated_event.rb +0 -44
- data/lib/stripe/events/v1_review_closed_event.rb +0 -44
- data/lib/stripe/events/v1_review_opened_event.rb +0 -44
- data/lib/stripe/events/v1_setup_intent_canceled_event.rb +0 -44
- data/lib/stripe/events/v1_setup_intent_created_event.rb +0 -44
- data/lib/stripe/events/v1_setup_intent_requires_action_event.rb +0 -44
- data/lib/stripe/events/v1_setup_intent_setup_failed_event.rb +0 -44
- data/lib/stripe/events/v1_setup_intent_succeeded_event.rb +0 -44
- data/lib/stripe/events/v1_sigma_scheduled_query_run_created_event.rb +0 -44
- data/lib/stripe/events/v1_source_canceled_event.rb +0 -44
- data/lib/stripe/events/v1_source_chargeable_event.rb +0 -44
- data/lib/stripe/events/v1_source_failed_event.rb +0 -44
- data/lib/stripe/events/v1_source_refund_attributes_required_event.rb +0 -44
- data/lib/stripe/events/v1_subscription_schedule_aborted_event.rb +0 -44
- data/lib/stripe/events/v1_subscription_schedule_canceled_event.rb +0 -44
- data/lib/stripe/events/v1_subscription_schedule_completed_event.rb +0 -44
- data/lib/stripe/events/v1_subscription_schedule_created_event.rb +0 -44
- data/lib/stripe/events/v1_subscription_schedule_expiring_event.rb +0 -44
- data/lib/stripe/events/v1_subscription_schedule_released_event.rb +0 -44
- data/lib/stripe/events/v1_subscription_schedule_updated_event.rb +0 -44
- data/lib/stripe/events/v1_tax_rate_created_event.rb +0 -44
- data/lib/stripe/events/v1_tax_rate_updated_event.rb +0 -44
- data/lib/stripe/events/v1_terminal_reader_action_failed_event.rb +0 -44
- data/lib/stripe/events/v1_terminal_reader_action_succeeded_event.rb +0 -44
- data/lib/stripe/events/v1_terminal_reader_action_updated_event.rb +0 -44
- data/lib/stripe/events/v1_test_helpers_test_clock_advancing_event.rb +0 -44
- data/lib/stripe/events/v1_test_helpers_test_clock_created_event.rb +0 -44
- data/lib/stripe/events/v1_test_helpers_test_clock_deleted_event.rb +0 -44
- data/lib/stripe/events/v1_test_helpers_test_clock_internal_failure_event.rb +0 -44
- data/lib/stripe/events/v1_test_helpers_test_clock_ready_event.rb +0 -44
- data/lib/stripe/events/v1_topup_canceled_event.rb +0 -44
- data/lib/stripe/events/v1_topup_created_event.rb +0 -44
- data/lib/stripe/events/v1_topup_failed_event.rb +0 -44
- data/lib/stripe/events/v1_topup_reversed_event.rb +0 -44
- data/lib/stripe/events/v1_topup_succeeded_event.rb +0 -44
- data/lib/stripe/events/v1_transfer_created_event.rb +0 -44
- data/lib/stripe/events/v1_transfer_reversed_event.rb +0 -44
- data/lib/stripe/events/v1_transfer_updated_event.rb +0 -44
- 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 -66
- data/lib/stripe/events/v2_core_health_api_error_resolved_event.rb +0 -66
- data/lib/stripe/events/v2_core_health_api_latency_firing_event.rb +0 -64
- data/lib/stripe/events/v2_core_health_api_latency_resolved_event.rb +0 -64
- 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_event_generation_failure_resolved_event.rb +0 -66
- data/lib/stripe/events/v2_core_health_fraud_rate_increased_event.rb +0 -64
- data/lib/stripe/events/v2_core_health_issuing_authorization_request_errors_firing_event.rb +0 -62
- data/lib/stripe/events/v2_core_health_issuing_authorization_request_errors_resolved_event.rb +0 -64
- data/lib/stripe/events/v2_core_health_issuing_authorization_request_timeout_firing_event.rb +0 -64
- data/lib/stripe/events/v2_core_health_issuing_authorization_request_timeout_resolved_event.rb +0 -64
- data/lib/stripe/events/v2_core_health_payment_method_error_firing_event.rb +0 -62
- data/lib/stripe/events/v2_core_health_payment_method_error_resolved_event.rb +0 -62
- 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/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/payment_method_check_balance_params.rb +0 -13
- 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 -254
- 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/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/tax/automatic_rule_create_params.rb +0 -20
- data/lib/stripe/params/v2/tax/automatic_rule_deactivate_params.rb +0 -10
- data/lib/stripe/params/v2/tax/automatic_rule_find_params.rb +0 -17
- data/lib/stripe/params/v2/tax/automatic_rule_retrieve_params.rb +0 -10
- data/lib/stripe/params/v2/tax/automatic_rule_update_params.rb +0 -17
- data/lib/stripe/params/v2/test_helpers/money_management_recipient_verifications_params.rb +0 -24
- data/lib/stripe/resources/delegated_checkout/requested_session.rb +0 -402
- data/lib/stripe/resources/identity/blocklist_entry.rb +0 -116
- data/lib/stripe/resources/payment_method_balance.rb +0 -68
- 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 -244
- data/lib/stripe/resources/v2/core/claimable_sandbox.rb +0 -105
- data/lib/stripe/resources/v2/money_management/recipient_verification.rb +0 -83
- data/lib/stripe/resources/v2/tax/automatic_rule.rb +0 -39
- 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/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/recipient_verification_service.rb +0 -43
- data/lib/stripe/services/v2/tax/automatic_rule_service.rb +0 -65
- data/lib/stripe/services/v2/tax_service.rb +0 -15
- data/lib/stripe/services/v2/test_helpers/money_management_service.rb +0 -21
|
@@ -1,402 +0,0 @@
|
|
|
1
|
-
# File generated from our OpenAPI spec
|
|
2
|
-
# frozen_string_literal: true
|
|
3
|
-
|
|
4
|
-
module Stripe
|
|
5
|
-
module DelegatedCheckout
|
|
6
|
-
# A requested session is a session that has been requested by a customer.
|
|
7
|
-
class RequestedSession < APIResource
|
|
8
|
-
extend Stripe::APIOperations::Create
|
|
9
|
-
include Stripe::APIOperations::Save
|
|
10
|
-
|
|
11
|
-
OBJECT_NAME = "delegated_checkout.requested_session"
|
|
12
|
-
def self.object_name
|
|
13
|
-
"delegated_checkout.requested_session"
|
|
14
|
-
end
|
|
15
|
-
|
|
16
|
-
class FulfillmentDetails < ::Stripe::StripeObject
|
|
17
|
-
class Address < ::Stripe::StripeObject
|
|
18
|
-
# City, district, suburb, town, or village.
|
|
19
|
-
attr_reader :city
|
|
20
|
-
# Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)).
|
|
21
|
-
attr_reader :country
|
|
22
|
-
# Address line 1, such as the street, PO Box, or company name.
|
|
23
|
-
attr_reader :line1
|
|
24
|
-
# Address line 2, such as the apartment, suite, unit, or building.
|
|
25
|
-
attr_reader :line2
|
|
26
|
-
# ZIP or postal code.
|
|
27
|
-
attr_reader :postal_code
|
|
28
|
-
# State, county, province, or region.
|
|
29
|
-
attr_reader :state
|
|
30
|
-
|
|
31
|
-
def self.inner_class_types
|
|
32
|
-
@inner_class_types = {}
|
|
33
|
-
end
|
|
34
|
-
|
|
35
|
-
def self.field_remappings
|
|
36
|
-
@field_remappings = {}
|
|
37
|
-
end
|
|
38
|
-
end
|
|
39
|
-
|
|
40
|
-
class FulfillmentOption < ::Stripe::StripeObject
|
|
41
|
-
class Shipping < ::Stripe::StripeObject
|
|
42
|
-
class ShippingOption < ::Stripe::StripeObject
|
|
43
|
-
# The description of the shipping option.
|
|
44
|
-
attr_reader :description
|
|
45
|
-
# The display name of the shipping option.
|
|
46
|
-
attr_reader :display_name
|
|
47
|
-
# The earliest delivery time of the shipping option.
|
|
48
|
-
attr_reader :earliest_delivery_time
|
|
49
|
-
# The key of the shipping option.
|
|
50
|
-
attr_reader :key
|
|
51
|
-
# The latest delivery time of the shipping option.
|
|
52
|
-
attr_reader :latest_delivery_time
|
|
53
|
-
# The shipping amount of the shipping option.
|
|
54
|
-
attr_reader :shipping_amount
|
|
55
|
-
|
|
56
|
-
def self.inner_class_types
|
|
57
|
-
@inner_class_types = {}
|
|
58
|
-
end
|
|
59
|
-
|
|
60
|
-
def self.field_remappings
|
|
61
|
-
@field_remappings = {}
|
|
62
|
-
end
|
|
63
|
-
end
|
|
64
|
-
# The shipping options.
|
|
65
|
-
attr_reader :shipping_options
|
|
66
|
-
|
|
67
|
-
def self.inner_class_types
|
|
68
|
-
@inner_class_types = { shipping_options: ShippingOption }
|
|
69
|
-
end
|
|
70
|
-
|
|
71
|
-
def self.field_remappings
|
|
72
|
-
@field_remappings = {}
|
|
73
|
-
end
|
|
74
|
-
end
|
|
75
|
-
# The shipping option.
|
|
76
|
-
attr_reader :shipping
|
|
77
|
-
# The type of the fulfillment option.
|
|
78
|
-
attr_reader :type
|
|
79
|
-
|
|
80
|
-
def self.inner_class_types
|
|
81
|
-
@inner_class_types = { shipping: Shipping }
|
|
82
|
-
end
|
|
83
|
-
|
|
84
|
-
def self.field_remappings
|
|
85
|
-
@field_remappings = {}
|
|
86
|
-
end
|
|
87
|
-
end
|
|
88
|
-
|
|
89
|
-
class SelectedFulfillmentOption < ::Stripe::StripeObject
|
|
90
|
-
class Shipping < ::Stripe::StripeObject
|
|
91
|
-
# The shipping option.
|
|
92
|
-
attr_reader :shipping_option
|
|
93
|
-
|
|
94
|
-
def self.inner_class_types
|
|
95
|
-
@inner_class_types = {}
|
|
96
|
-
end
|
|
97
|
-
|
|
98
|
-
def self.field_remappings
|
|
99
|
-
@field_remappings = {}
|
|
100
|
-
end
|
|
101
|
-
end
|
|
102
|
-
# The shipping option.
|
|
103
|
-
attr_reader :shipping
|
|
104
|
-
# The type of the selected fulfillment option.
|
|
105
|
-
attr_reader :type
|
|
106
|
-
|
|
107
|
-
def self.inner_class_types
|
|
108
|
-
@inner_class_types = { shipping: Shipping }
|
|
109
|
-
end
|
|
110
|
-
|
|
111
|
-
def self.field_remappings
|
|
112
|
-
@field_remappings = {}
|
|
113
|
-
end
|
|
114
|
-
end
|
|
115
|
-
# The fulfillment address.
|
|
116
|
-
attr_reader :address
|
|
117
|
-
# The email address for the fulfillment details.
|
|
118
|
-
attr_reader :email
|
|
119
|
-
# The fulfillment options.
|
|
120
|
-
attr_reader :fulfillment_options
|
|
121
|
-
# The name for the fulfillment details.
|
|
122
|
-
attr_reader :name
|
|
123
|
-
# The phone number for the fulfillment details.
|
|
124
|
-
attr_reader :phone
|
|
125
|
-
# The fulfillment option.
|
|
126
|
-
attr_reader :selected_fulfillment_option
|
|
127
|
-
|
|
128
|
-
def self.inner_class_types
|
|
129
|
-
@inner_class_types = {
|
|
130
|
-
address: Address,
|
|
131
|
-
fulfillment_options: FulfillmentOption,
|
|
132
|
-
selected_fulfillment_option: SelectedFulfillmentOption,
|
|
133
|
-
}
|
|
134
|
-
end
|
|
135
|
-
|
|
136
|
-
def self.field_remappings
|
|
137
|
-
@field_remappings = {}
|
|
138
|
-
end
|
|
139
|
-
end
|
|
140
|
-
|
|
141
|
-
class LineItemDetail < ::Stripe::StripeObject
|
|
142
|
-
# The description of the line item.
|
|
143
|
-
attr_reader :description
|
|
144
|
-
# The images of the line item.
|
|
145
|
-
attr_reader :images
|
|
146
|
-
# The key of the line item.
|
|
147
|
-
attr_reader :key
|
|
148
|
-
# The name of the line item.
|
|
149
|
-
attr_reader :name
|
|
150
|
-
# The quantity of the line item.
|
|
151
|
-
attr_reader :quantity
|
|
152
|
-
# The SKU ID of the line item.
|
|
153
|
-
attr_reader :sku_id
|
|
154
|
-
# The unit amount of the line item.
|
|
155
|
-
attr_reader :unit_amount
|
|
156
|
-
|
|
157
|
-
def self.inner_class_types
|
|
158
|
-
@inner_class_types = {}
|
|
159
|
-
end
|
|
160
|
-
|
|
161
|
-
def self.field_remappings
|
|
162
|
-
@field_remappings = {}
|
|
163
|
-
end
|
|
164
|
-
end
|
|
165
|
-
|
|
166
|
-
class OrderDetails < ::Stripe::StripeObject
|
|
167
|
-
# The URL to the order status.
|
|
168
|
-
attr_reader :order_status_url
|
|
169
|
-
# The seller's order identifier.
|
|
170
|
-
attr_reader :order_id
|
|
171
|
-
|
|
172
|
-
def self.inner_class_types
|
|
173
|
-
@inner_class_types = {}
|
|
174
|
-
end
|
|
175
|
-
|
|
176
|
-
def self.field_remappings
|
|
177
|
-
@field_remappings = {}
|
|
178
|
-
end
|
|
179
|
-
end
|
|
180
|
-
|
|
181
|
-
class SellerDetails < ::Stripe::StripeObject
|
|
182
|
-
def self.inner_class_types
|
|
183
|
-
@inner_class_types = {}
|
|
184
|
-
end
|
|
185
|
-
|
|
186
|
-
def self.field_remappings
|
|
187
|
-
@field_remappings = {}
|
|
188
|
-
end
|
|
189
|
-
end
|
|
190
|
-
|
|
191
|
-
class TotalDetails < ::Stripe::StripeObject
|
|
192
|
-
# The amount discount of the total details.
|
|
193
|
-
attr_reader :amount_discount
|
|
194
|
-
# The amount fulfillment of the total details.
|
|
195
|
-
attr_reader :amount_fulfillment
|
|
196
|
-
# The amount tax of the total details.
|
|
197
|
-
attr_reader :amount_tax
|
|
198
|
-
|
|
199
|
-
def self.inner_class_types
|
|
200
|
-
@inner_class_types = {}
|
|
201
|
-
end
|
|
202
|
-
|
|
203
|
-
def self.field_remappings
|
|
204
|
-
@field_remappings = {}
|
|
205
|
-
end
|
|
206
|
-
end
|
|
207
|
-
|
|
208
|
-
class PaymentMethodPreview < ::Stripe::StripeObject
|
|
209
|
-
class BillingDetails < ::Stripe::StripeObject
|
|
210
|
-
class Address < ::Stripe::StripeObject
|
|
211
|
-
# City, district, suburb, town, or village.
|
|
212
|
-
attr_reader :city
|
|
213
|
-
# Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)).
|
|
214
|
-
attr_reader :country
|
|
215
|
-
# Address line 1, such as the street, PO Box, or company name.
|
|
216
|
-
attr_reader :line1
|
|
217
|
-
# Address line 2, such as the apartment, suite, unit, or building.
|
|
218
|
-
attr_reader :line2
|
|
219
|
-
# ZIP or postal code.
|
|
220
|
-
attr_reader :postal_code
|
|
221
|
-
# State, county, province, or region.
|
|
222
|
-
attr_reader :state
|
|
223
|
-
|
|
224
|
-
def self.inner_class_types
|
|
225
|
-
@inner_class_types = {}
|
|
226
|
-
end
|
|
227
|
-
|
|
228
|
-
def self.field_remappings
|
|
229
|
-
@field_remappings = {}
|
|
230
|
-
end
|
|
231
|
-
end
|
|
232
|
-
# The billing address.
|
|
233
|
-
attr_reader :address
|
|
234
|
-
# The email address for the billing details.
|
|
235
|
-
attr_reader :email
|
|
236
|
-
# The name for the billing details.
|
|
237
|
-
attr_reader :name
|
|
238
|
-
# The phone number for the billing details.
|
|
239
|
-
attr_reader :phone
|
|
240
|
-
|
|
241
|
-
def self.inner_class_types
|
|
242
|
-
@inner_class_types = { address: Address }
|
|
243
|
-
end
|
|
244
|
-
|
|
245
|
-
def self.field_remappings
|
|
246
|
-
@field_remappings = {}
|
|
247
|
-
end
|
|
248
|
-
end
|
|
249
|
-
|
|
250
|
-
class Card < ::Stripe::StripeObject
|
|
251
|
-
# The expiry month of the card.
|
|
252
|
-
attr_reader :exp_month
|
|
253
|
-
# The expiry year of the card.
|
|
254
|
-
attr_reader :exp_year
|
|
255
|
-
# The last 4 digits of the card number.
|
|
256
|
-
attr_reader :last4
|
|
257
|
-
|
|
258
|
-
def self.inner_class_types
|
|
259
|
-
@inner_class_types = {}
|
|
260
|
-
end
|
|
261
|
-
|
|
262
|
-
def self.field_remappings
|
|
263
|
-
@field_remappings = {}
|
|
264
|
-
end
|
|
265
|
-
end
|
|
266
|
-
# The billing details of the payment method.
|
|
267
|
-
attr_reader :billing_details
|
|
268
|
-
# The card details of the payment method.
|
|
269
|
-
attr_reader :card
|
|
270
|
-
# The type of the payment method.
|
|
271
|
-
attr_reader :type
|
|
272
|
-
|
|
273
|
-
def self.inner_class_types
|
|
274
|
-
@inner_class_types = { billing_details: BillingDetails, card: Card }
|
|
275
|
-
end
|
|
276
|
-
|
|
277
|
-
def self.field_remappings
|
|
278
|
-
@field_remappings = {}
|
|
279
|
-
end
|
|
280
|
-
end
|
|
281
|
-
# The subtotal amount of the requested session.
|
|
282
|
-
attr_reader :amount_subtotal
|
|
283
|
-
# The total amount of the requested session.
|
|
284
|
-
attr_reader :amount_total
|
|
285
|
-
# Time at which the object was created. Measured in seconds since the Unix epoch.
|
|
286
|
-
attr_reader :created_at
|
|
287
|
-
# 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).
|
|
288
|
-
attr_reader :currency
|
|
289
|
-
# The customer for this requested session.
|
|
290
|
-
attr_reader :customer
|
|
291
|
-
# Time at which the requested session expires. Measured in seconds since the Unix epoch.
|
|
292
|
-
attr_reader :expires_at
|
|
293
|
-
# The details of the fulfillment.
|
|
294
|
-
attr_reader :fulfillment_details
|
|
295
|
-
# Unique identifier for the object.
|
|
296
|
-
attr_reader :id
|
|
297
|
-
# The line items to be purchased.
|
|
298
|
-
attr_reader :line_item_details
|
|
299
|
-
# Has the value `true` if the object exists in live mode or the value `false` if the object exists in test mode.
|
|
300
|
-
attr_reader :livemode
|
|
301
|
-
# Set of [key-value pairs](https://stripe.com/docs/api/metadata) that you can attach to an object. This can be useful for storing additional information about the object in a structured format.
|
|
302
|
-
attr_reader :metadata
|
|
303
|
-
# String representing the object's type. Objects of the same type share the same value.
|
|
304
|
-
attr_reader :object
|
|
305
|
-
# The details of the order.
|
|
306
|
-
attr_reader :order_details
|
|
307
|
-
# The payment method used for the requested session.
|
|
308
|
-
attr_reader :payment_method
|
|
309
|
-
# Attribute for field seller_details
|
|
310
|
-
attr_reader :seller_details
|
|
311
|
-
# Whether or not the payment method should be saved for future use.
|
|
312
|
-
attr_reader :setup_future_usage
|
|
313
|
-
# The metadata shared with the seller.
|
|
314
|
-
attr_reader :shared_metadata
|
|
315
|
-
# The SPT used for payment.
|
|
316
|
-
attr_reader :shared_payment_issued_token
|
|
317
|
-
# The status of the requested session.
|
|
318
|
-
attr_reader :status
|
|
319
|
-
# Attribute for field total_details
|
|
320
|
-
attr_reader :total_details
|
|
321
|
-
# Time at which the object was last updated. Measured in seconds since the Unix epoch.
|
|
322
|
-
attr_reader :updated_at
|
|
323
|
-
# The preview of the payment method to be created when the requested session is confirmed.
|
|
324
|
-
attr_reader :payment_method_preview
|
|
325
|
-
|
|
326
|
-
# Confirms a requested session
|
|
327
|
-
def confirm(params = {}, opts = {})
|
|
328
|
-
request_stripe_object(
|
|
329
|
-
method: :post,
|
|
330
|
-
path: format("/v1/delegated_checkout/requested_sessions/%<requested_session>s/confirm", { requested_session: CGI.escape(self["id"]) }),
|
|
331
|
-
params: params,
|
|
332
|
-
opts: opts
|
|
333
|
-
)
|
|
334
|
-
end
|
|
335
|
-
|
|
336
|
-
# Confirms a requested session
|
|
337
|
-
def self.confirm(requested_session, params = {}, opts = {})
|
|
338
|
-
request_stripe_object(
|
|
339
|
-
method: :post,
|
|
340
|
-
path: format("/v1/delegated_checkout/requested_sessions/%<requested_session>s/confirm", { requested_session: CGI.escape(requested_session) }),
|
|
341
|
-
params: params,
|
|
342
|
-
opts: opts
|
|
343
|
-
)
|
|
344
|
-
end
|
|
345
|
-
|
|
346
|
-
# Creates a requested session
|
|
347
|
-
def self.create(params = {}, opts = {})
|
|
348
|
-
request_stripe_object(
|
|
349
|
-
method: :post,
|
|
350
|
-
path: "/v1/delegated_checkout/requested_sessions",
|
|
351
|
-
params: params,
|
|
352
|
-
opts: opts
|
|
353
|
-
)
|
|
354
|
-
end
|
|
355
|
-
|
|
356
|
-
# Expires a requested session
|
|
357
|
-
def expire(params = {}, opts = {})
|
|
358
|
-
request_stripe_object(
|
|
359
|
-
method: :post,
|
|
360
|
-
path: format("/v1/delegated_checkout/requested_sessions/%<requested_session>s/expire", { requested_session: CGI.escape(self["id"]) }),
|
|
361
|
-
params: params,
|
|
362
|
-
opts: opts
|
|
363
|
-
)
|
|
364
|
-
end
|
|
365
|
-
|
|
366
|
-
# Expires a requested session
|
|
367
|
-
def self.expire(requested_session, params = {}, opts = {})
|
|
368
|
-
request_stripe_object(
|
|
369
|
-
method: :post,
|
|
370
|
-
path: format("/v1/delegated_checkout/requested_sessions/%<requested_session>s/expire", { requested_session: CGI.escape(requested_session) }),
|
|
371
|
-
params: params,
|
|
372
|
-
opts: opts
|
|
373
|
-
)
|
|
374
|
-
end
|
|
375
|
-
|
|
376
|
-
# Updates a requested session
|
|
377
|
-
def self.update(requested_session, params = {}, opts = {})
|
|
378
|
-
request_stripe_object(
|
|
379
|
-
method: :post,
|
|
380
|
-
path: format("/v1/delegated_checkout/requested_sessions/%<requested_session>s", { requested_session: CGI.escape(requested_session) }),
|
|
381
|
-
params: params,
|
|
382
|
-
opts: opts
|
|
383
|
-
)
|
|
384
|
-
end
|
|
385
|
-
|
|
386
|
-
def self.inner_class_types
|
|
387
|
-
@inner_class_types = {
|
|
388
|
-
fulfillment_details: FulfillmentDetails,
|
|
389
|
-
line_item_details: LineItemDetail,
|
|
390
|
-
order_details: OrderDetails,
|
|
391
|
-
seller_details: SellerDetails,
|
|
392
|
-
total_details: TotalDetails,
|
|
393
|
-
payment_method_preview: PaymentMethodPreview,
|
|
394
|
-
}
|
|
395
|
-
end
|
|
396
|
-
|
|
397
|
-
def self.field_remappings
|
|
398
|
-
@field_remappings = {}
|
|
399
|
-
end
|
|
400
|
-
end
|
|
401
|
-
end
|
|
402
|
-
end
|
|
@@ -1,116 +0,0 @@
|
|
|
1
|
-
# File generated from our OpenAPI spec
|
|
2
|
-
# frozen_string_literal: true
|
|
3
|
-
|
|
4
|
-
module Stripe
|
|
5
|
-
module Identity
|
|
6
|
-
# A BlocklistEntry represents an entry in our identity verification blocklist.
|
|
7
|
-
# It helps prevent fraudulent users from repeatedly attempting verification with similar information.
|
|
8
|
-
# When you create a BlocklistEntry, we store data from a specified VerificationReport,
|
|
9
|
-
# such as document details or facial biometrics.
|
|
10
|
-
# This allows us to compare future verification attempts against these entries.
|
|
11
|
-
# If a match is found, we categorize the new verification as unverified.
|
|
12
|
-
#
|
|
13
|
-
# To learn more, see [Identity Verification Blocklist](https://stripe.com/docs/identity/review-tools#block-list)
|
|
14
|
-
class BlocklistEntry < APIResource
|
|
15
|
-
extend Stripe::APIOperations::Create
|
|
16
|
-
extend Stripe::APIOperations::List
|
|
17
|
-
|
|
18
|
-
OBJECT_NAME = "identity.blocklist_entry"
|
|
19
|
-
def self.object_name
|
|
20
|
-
"identity.blocklist_entry"
|
|
21
|
-
end
|
|
22
|
-
|
|
23
|
-
# Time at which the object was created. Measured in seconds since the Unix epoch.
|
|
24
|
-
attr_reader :created
|
|
25
|
-
# Time at which you disabled the BlocklistEntry. Measured in seconds since the Unix epoch.
|
|
26
|
-
attr_reader :disabled_at
|
|
27
|
-
# Time at which the BlocklistEntry expires. Measured in seconds since the Unix epoch.
|
|
28
|
-
attr_reader :expires_at
|
|
29
|
-
# Unique identifier for the object.
|
|
30
|
-
attr_reader :id
|
|
31
|
-
# Has the value `true` if the object exists in live mode or the value `false` if the object exists in test mode.
|
|
32
|
-
attr_reader :livemode
|
|
33
|
-
# String representing the object's type. Objects of the same type share the same value.
|
|
34
|
-
attr_reader :object
|
|
35
|
-
# The current status of the BlocklistEntry.
|
|
36
|
-
attr_reader :status
|
|
37
|
-
# The type of BlocklistEntry.
|
|
38
|
-
attr_reader :type
|
|
39
|
-
# The verification report the BlocklistEntry was created from.
|
|
40
|
-
attr_reader :verification_report
|
|
41
|
-
# The verification session the BlocklistEntry was created from.
|
|
42
|
-
attr_reader :verification_session
|
|
43
|
-
|
|
44
|
-
# Creates a BlocklistEntry object from a verification report.
|
|
45
|
-
#
|
|
46
|
-
# A blocklist entry prevents future identity verifications that match the same identity information.
|
|
47
|
-
# You can create blocklist entries from verification reports that contain document extracted data
|
|
48
|
-
# or a selfie.
|
|
49
|
-
#
|
|
50
|
-
# Related guide: [Identity Verification Blocklist](https://docs.stripe.com/docs/identity/review-tools#add-a-blocklist-entry)
|
|
51
|
-
def self.create(params = {}, opts = {})
|
|
52
|
-
request_stripe_object(
|
|
53
|
-
method: :post,
|
|
54
|
-
path: "/v1/identity/blocklist_entries",
|
|
55
|
-
params: params,
|
|
56
|
-
opts: opts
|
|
57
|
-
)
|
|
58
|
-
end
|
|
59
|
-
|
|
60
|
-
# Disables a BlocklistEntry object.
|
|
61
|
-
#
|
|
62
|
-
# After a BlocklistEntry is disabled, it will no longer block future verifications that match
|
|
63
|
-
# the same information. This action is irreversible. To re-enable it, a new BlocklistEntry
|
|
64
|
-
# must be created using the same verification report.
|
|
65
|
-
#
|
|
66
|
-
# Related guide: [Identity Verification Blocklist](https://docs.stripe.com/docs/identity/review-tools#disable-a-blocklist-entry)
|
|
67
|
-
def disable(params = {}, opts = {})
|
|
68
|
-
request_stripe_object(
|
|
69
|
-
method: :post,
|
|
70
|
-
path: format("/v1/identity/blocklist_entries/%<id>s/disable", { id: CGI.escape(self["id"]) }),
|
|
71
|
-
params: params,
|
|
72
|
-
opts: opts
|
|
73
|
-
)
|
|
74
|
-
end
|
|
75
|
-
|
|
76
|
-
# Disables a BlocklistEntry object.
|
|
77
|
-
#
|
|
78
|
-
# After a BlocklistEntry is disabled, it will no longer block future verifications that match
|
|
79
|
-
# the same information. This action is irreversible. To re-enable it, a new BlocklistEntry
|
|
80
|
-
# must be created using the same verification report.
|
|
81
|
-
#
|
|
82
|
-
# Related guide: [Identity Verification Blocklist](https://docs.stripe.com/docs/identity/review-tools#disable-a-blocklist-entry)
|
|
83
|
-
def self.disable(id, params = {}, opts = {})
|
|
84
|
-
request_stripe_object(
|
|
85
|
-
method: :post,
|
|
86
|
-
path: format("/v1/identity/blocklist_entries/%<id>s/disable", { id: CGI.escape(id) }),
|
|
87
|
-
params: params,
|
|
88
|
-
opts: opts
|
|
89
|
-
)
|
|
90
|
-
end
|
|
91
|
-
|
|
92
|
-
# Returns a list of BlocklistEntry objects associated with your account.
|
|
93
|
-
#
|
|
94
|
-
# The blocklist entries are returned sorted by creation date, with the most recently created
|
|
95
|
-
# entries appearing first.
|
|
96
|
-
#
|
|
97
|
-
# Related guide: [Identity Verification Blocklist](https://docs.stripe.com/docs/identity/review-tools#block-list)
|
|
98
|
-
def self.list(params = {}, opts = {})
|
|
99
|
-
request_stripe_object(
|
|
100
|
-
method: :get,
|
|
101
|
-
path: "/v1/identity/blocklist_entries",
|
|
102
|
-
params: params,
|
|
103
|
-
opts: opts
|
|
104
|
-
)
|
|
105
|
-
end
|
|
106
|
-
|
|
107
|
-
def self.inner_class_types
|
|
108
|
-
@inner_class_types = {}
|
|
109
|
-
end
|
|
110
|
-
|
|
111
|
-
def self.field_remappings
|
|
112
|
-
@field_remappings = {}
|
|
113
|
-
end
|
|
114
|
-
end
|
|
115
|
-
end
|
|
116
|
-
end
|
|
@@ -1,68 +0,0 @@
|
|
|
1
|
-
# File generated from our OpenAPI spec
|
|
2
|
-
# frozen_string_literal: true
|
|
3
|
-
|
|
4
|
-
module Stripe
|
|
5
|
-
# PaymentMethodBalance objects represent balances available on a payment method.
|
|
6
|
-
# You can use v1/payment_methods/:id/check_balance to check the balance of a payment method.
|
|
7
|
-
class PaymentMethodBalance < APIResource
|
|
8
|
-
OBJECT_NAME = "payment_method_balance"
|
|
9
|
-
def self.object_name
|
|
10
|
-
"payment_method_balance"
|
|
11
|
-
end
|
|
12
|
-
|
|
13
|
-
class Balance < ::Stripe::StripeObject
|
|
14
|
-
class FrMealVoucher < ::Stripe::StripeObject
|
|
15
|
-
class Available < ::Stripe::StripeObject
|
|
16
|
-
# The amount of the balance.
|
|
17
|
-
attr_reader :amount
|
|
18
|
-
# The currency of the balance.
|
|
19
|
-
attr_reader :currency
|
|
20
|
-
|
|
21
|
-
def self.inner_class_types
|
|
22
|
-
@inner_class_types = {}
|
|
23
|
-
end
|
|
24
|
-
|
|
25
|
-
def self.field_remappings
|
|
26
|
-
@field_remappings = {}
|
|
27
|
-
end
|
|
28
|
-
end
|
|
29
|
-
# The hashes of balances and amounts for available balances.
|
|
30
|
-
attr_reader :available
|
|
31
|
-
|
|
32
|
-
def self.inner_class_types
|
|
33
|
-
@inner_class_types = { available: Available }
|
|
34
|
-
end
|
|
35
|
-
|
|
36
|
-
def self.field_remappings
|
|
37
|
-
@field_remappings = {}
|
|
38
|
-
end
|
|
39
|
-
end
|
|
40
|
-
# The available FR Meal Voucher balances.
|
|
41
|
-
attr_reader :fr_meal_voucher
|
|
42
|
-
|
|
43
|
-
def self.inner_class_types
|
|
44
|
-
@inner_class_types = { fr_meal_voucher: FrMealVoucher }
|
|
45
|
-
end
|
|
46
|
-
|
|
47
|
-
def self.field_remappings
|
|
48
|
-
@field_remappings = {}
|
|
49
|
-
end
|
|
50
|
-
end
|
|
51
|
-
# The time at which the balance was calculated. Measured in seconds since the Unix epoch.
|
|
52
|
-
attr_reader :as_of
|
|
53
|
-
# BalanceEntry contain information about every individual balance type of a card.
|
|
54
|
-
attr_reader :balance
|
|
55
|
-
# Has the value `true` if the object exists in live mode or the value `false` if the object exists in test mode.
|
|
56
|
-
attr_reader :livemode
|
|
57
|
-
# String representing the object's type. Objects of the same type share the same value.
|
|
58
|
-
attr_reader :object
|
|
59
|
-
|
|
60
|
-
def self.inner_class_types
|
|
61
|
-
@inner_class_types = { balance: Balance }
|
|
62
|
-
end
|
|
63
|
-
|
|
64
|
-
def self.field_remappings
|
|
65
|
-
@field_remappings = {}
|
|
66
|
-
end
|
|
67
|
-
end
|
|
68
|
-
end
|
|
@@ -1,43 +0,0 @@
|
|
|
1
|
-
# File generated from our OpenAPI spec
|
|
2
|
-
# frozen_string_literal: true
|
|
3
|
-
|
|
4
|
-
module Stripe
|
|
5
|
-
module V2
|
|
6
|
-
module Billing
|
|
7
|
-
# The Custom Pricing Unit object.
|
|
8
|
-
class CustomPricingUnit < APIResource
|
|
9
|
-
OBJECT_NAME = "v2.billing.custom_pricing_unit"
|
|
10
|
-
def self.object_name
|
|
11
|
-
"v2.billing.custom_pricing_unit"
|
|
12
|
-
end
|
|
13
|
-
|
|
14
|
-
# Whether the custom pricing unit is active.
|
|
15
|
-
attr_reader :active
|
|
16
|
-
# Timestamp of when the object was created.
|
|
17
|
-
attr_reader :created
|
|
18
|
-
# Description that customers will see in the invoice line item.
|
|
19
|
-
# Maximum length of 10 characters.
|
|
20
|
-
attr_reader :display_name
|
|
21
|
-
# Unique identifier for the object.
|
|
22
|
-
attr_reader :id
|
|
23
|
-
# An internal key you can use to search for a particular Custom Pricing Unit.
|
|
24
|
-
# Maximum length of 200 characters.
|
|
25
|
-
attr_reader :lookup_key
|
|
26
|
-
# Set of [key-value pairs](/docs/api/metadata) that you can attach to an object. This can be useful for storing additional information about the object in a structured format.
|
|
27
|
-
attr_reader :metadata
|
|
28
|
-
# String representing the object's type. Objects of the same type share the same value of the object field.
|
|
29
|
-
attr_reader :object
|
|
30
|
-
# Has the value `true` if the object exists in live mode or the value `false` if the object exists in test mode.
|
|
31
|
-
attr_reader :livemode
|
|
32
|
-
|
|
33
|
-
def self.inner_class_types
|
|
34
|
-
@inner_class_types = {}
|
|
35
|
-
end
|
|
36
|
-
|
|
37
|
-
def self.field_remappings
|
|
38
|
-
@field_remappings = {}
|
|
39
|
-
end
|
|
40
|
-
end
|
|
41
|
-
end
|
|
42
|
-
end
|
|
43
|
-
end
|