stripe 17.3.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/api_version.rb +1 -1
- data/lib/stripe/event_types.rb +0 -841
- data/lib/stripe/events/v2_core_health_event_generation_failure_resolved_event.rb +21 -9
- data/lib/stripe/object_types.rb +2 -30
- data/lib/stripe/params/account_create_params.rb +19 -34
- data/lib/stripe/params/account_person_create_params.rb +1 -33
- data/lib/stripe/params/account_person_update_params.rb +1 -33
- data/lib/stripe/params/account_update_params.rb +19 -34
- data/lib/stripe/params/billing/alert_create_params.rb +1 -121
- data/lib/stripe/params/billing/alert_list_params.rb +0 -4
- data/lib/stripe/params/billing/analytics/meter_usage_retrieve_params.rb +3 -7
- 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 +941 -2
- data/lib/stripe/params/charge_update_params.rb +941 -2
- data/lib/stripe/params/checkout/session_create_params.rb +4 -83
- data/lib/stripe/params/customer_balance_transaction_list_params.rb +21 -1
- data/lib/stripe/params/customer_session_create_params.rb +1 -1
- data/lib/stripe/params/identity/verification_report_list_params.rb +0 -4
- data/lib/stripe/params/invoice_create_preview_params.rb +1 -57
- data/lib/stripe/params/invoice_list_params.rb +0 -4
- data/lib/stripe/params/invoice_payment_list_params.rb +22 -0
- data/lib/stripe/params/issuing/authorization_create_params.rb +16 -1
- data/lib/stripe/params/order_create_params.rb +938 -1
- data/lib/stripe/params/order_update_params.rb +938 -1
- data/lib/stripe/params/payment_intent_capture_params.rb +962 -13
- data/lib/stripe/params/payment_intent_confirm_params.rb +1913 -53
- data/lib/stripe/params/payment_intent_create_params.rb +1913 -53
- data/lib/stripe/params/payment_intent_increment_authorization_params.rb +29 -13
- data/lib/stripe/params/payment_intent_update_params.rb +1913 -53
- data/lib/stripe/params/payment_method_list_params.rb +8 -0
- data/lib/stripe/params/quote_create_params.rb +2 -210
- data/lib/stripe/params/quote_update_params.rb +2 -210
- data/lib/stripe/params/setup_intent_confirm_params.rb +3 -32
- data/lib/stripe/params/setup_intent_create_params.rb +3 -32
- data/lib/stripe/params/setup_intent_update_params.rb +4 -33
- data/lib/stripe/params/subscription_schedule_create_params.rb +2 -62
- data/lib/stripe/params/subscription_schedule_update_params.rb +2 -62
- data/lib/stripe/params/tax/registration_create_params.rb +1 -1
- data/lib/stripe/params/terminal/configuration_create_params.rb +9 -9
- data/lib/stripe/params/terminal/configuration_update_params.rb +9 -9
- data/lib/stripe/params/test_helpers/issuing/authorization_create_params.rb +16 -1
- data/lib/stripe/params/token_create_params.rb +2 -66
- 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/billing/collection_setting_create_params.rb +2 -2
- data/lib/stripe/params/v2/billing/collection_setting_update_params.rb +2 -2
- data/lib/stripe/params/v2/core/account_create_params.rb +97 -699
- data/lib/stripe/params/v2/core/account_token_create_params.rb +1001 -0
- data/lib/stripe/params/v2/core/{claimable_sandbox_retrieve_params.rb → account_token_retrieve_params.rb} +1 -1
- data/lib/stripe/params/v2/core/account_update_params.rb +98 -686
- data/lib/stripe/params/v2/core/accounts/person_create_params.rb +4 -0
- data/lib/stripe/params/v2/core/accounts/person_token_create_params.rb +487 -0
- data/lib/stripe/params/v2/{billing/rate_cards/version_retrieve_params.rb → core/accounts/person_token_retrieve_params.rb} +3 -3
- data/lib/stripe/params/v2/core/accounts/person_update_params.rb +4 -0
- data/lib/stripe/params/v2/core/event_list_params.rb +21 -21
- 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 +4 -93
- data/lib/stripe/resources/account.rb +19 -1
- data/lib/stripe/resources/application_fee.rb +0 -2
- data/lib/stripe/resources/balance.rb +0 -83
- data/lib/stripe/resources/bank_account.rb +2 -2
- 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/billing_portal/configuration.rb +2 -0
- data/lib/stripe/resources/capital/financing_offer.rb +6 -47
- data/lib/stripe/resources/capital/financing_summary.rb +7 -7
- data/lib/stripe/resources/card.rb +1 -18
- data/lib/stripe/resources/charge.rb +3 -19
- data/lib/stripe/resources/checkout/session.rb +3 -95
- data/lib/stripe/resources/confirmation_token.rb +1 -19
- data/lib/stripe/resources/discount.rb +0 -2
- data/lib/stripe/resources/financial_connections/account.rb +22 -0
- data/lib/stripe/resources/identity/verification_report.rb +0 -4
- data/lib/stripe/resources/invoice.rb +1 -17
- data/lib/stripe/resources/invoice_item.rb +2 -106
- data/lib/stripe/resources/invoice_line_item.rb +1 -107
- data/lib/stripe/resources/issuing/card.rb +18 -0
- data/lib/stripe/resources/mandate.rb +3 -3
- data/lib/stripe/resources/payment_attempt_record.rb +8 -6
- data/lib/stripe/resources/payment_intent.rb +22 -54
- data/lib/stripe/resources/payment_intent_amount_details_line_item.rb +13 -7
- data/lib/stripe/resources/payment_method.rb +1 -39
- data/lib/stripe/resources/payment_record.rb +8 -6
- data/lib/stripe/resources/person.rb +0 -36
- data/lib/stripe/resources/quote.rb +1 -348
- data/lib/stripe/resources/quote_preview_invoice.rb +1 -17
- data/lib/stripe/resources/quote_preview_subscription_schedule.rb +0 -174
- data/lib/stripe/resources/refund.rb +31 -0
- data/lib/stripe/resources/setup_attempt.rb +1 -1
- data/lib/stripe/resources/setup_intent.rb +3 -43
- data/lib/stripe/resources/subscription.rb +3 -106
- data/lib/stripe/resources/subscription_schedule.rb +0 -174
- data/lib/stripe/resources/transfer.rb +0 -4
- data/lib/stripe/resources/v2/billing/cadence.rb +2 -48
- data/lib/stripe/resources/v2/billing/collection_setting.rb +2 -2
- data/lib/stripe/resources/v2/billing/collection_setting_version.rb +2 -2
- data/lib/stripe/resources/v2/billing/meter_event.rb +2 -1
- data/lib/stripe/resources/v2/core/account.rb +295 -1053
- data/lib/stripe/resources/v2/core/account_person_token.rb +37 -0
- data/lib/stripe/resources/v2/core/account_token.rb +37 -0
- data/lib/stripe/resources/v2/core/event.rb +0 -2
- 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 +2 -288
- 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/test_helpers_service.rb +1 -2
- 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/account_service.rb +2 -1
- data/lib/stripe/services/v2/core/account_token_service.rb +32 -0
- data/lib/stripe/services/v2/core/accounts/person_token_service.rb +34 -0
- data/lib/stripe/services/v2/core_service.rb +2 -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 -3
- data/lib/stripe/services.rb +2 -32
- data/lib/stripe/util.rb +2 -5
- data/lib/stripe/version.rb +1 -1
- data/rbi/stripe.rbi +20644 -16929
- metadata +10 -415
- 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_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/events/v2_payments_off_session_payment_authorization_attempt_failed_event.rb +0 -44
- data/lib/stripe/events/v2_payments_off_session_payment_authorization_attempt_started_event.rb +0 -46
- 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/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/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/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/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 -61
- data/lib/stripe/params/v2/payments/off_session_payment_create_params.rb +0 -237
- 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/delegated_checkout/requested_session.rb +0 -420
- 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/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 -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/payments/off_session_payment.rb +0 -242
- 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/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/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/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
|
@@ -1504,15 +1504,15 @@ module Stripe
|
|
|
1504
1504
|
class MandateOptions < ::Stripe::StripeObject
|
|
1505
1505
|
# Amount that will be collected. It is required when `amount_type` is `fixed`.
|
|
1506
1506
|
attr_reader :amount
|
|
1507
|
-
# The type of amount that will be collected. The amount charged must be exact or up to the value of `amount` param for `fixed` or `maximum` type respectively.
|
|
1507
|
+
# The type of amount that will be collected. The amount charged must be exact or up to the value of `amount` param for `fixed` or `maximum` type respectively. Defaults to `maximum`.
|
|
1508
1508
|
attr_reader :amount_type
|
|
1509
1509
|
# Date, in YYYY-MM-DD format, after which payments will not be collected. Defaults to no end date.
|
|
1510
1510
|
attr_reader :end_date
|
|
1511
|
-
# The periodicity at which payments will be collected.
|
|
1511
|
+
# The periodicity at which payments will be collected. Defaults to `adhoc`.
|
|
1512
1512
|
attr_reader :payment_schedule
|
|
1513
1513
|
# The number of payments that will be made during a payment period. Defaults to 1 except for when `payment_schedule` is `adhoc`. In that case, it defaults to no limit.
|
|
1514
1514
|
attr_reader :payments_per_period
|
|
1515
|
-
# The purpose for which payments are made.
|
|
1515
|
+
# The purpose for which payments are made. Has a default value based on your merchant category code.
|
|
1516
1516
|
attr_reader :purpose
|
|
1517
1517
|
# Date, in YYYY-MM-DD format, from which payments will be collected. Defaults to confirmation time.
|
|
1518
1518
|
attr_reader :start_date
|
|
@@ -2209,95 +2209,6 @@ module Stripe
|
|
|
2209
2209
|
@field_remappings = {}
|
|
2210
2210
|
end
|
|
2211
2211
|
end
|
|
2212
|
-
|
|
2213
|
-
class CheckoutItem < ::Stripe::StripeObject
|
|
2214
|
-
class PricingPlanSubscriptionItem < ::Stripe::StripeObject
|
|
2215
|
-
class ComponentConfigurations < ::Stripe::StripeObject
|
|
2216
|
-
class LicenseFeeComponent < ::Stripe::StripeObject
|
|
2217
|
-
# Attribute for field quantity
|
|
2218
|
-
attr_reader :quantity
|
|
2219
|
-
|
|
2220
|
-
def self.inner_class_types
|
|
2221
|
-
@inner_class_types = {}
|
|
2222
|
-
end
|
|
2223
|
-
|
|
2224
|
-
def self.field_remappings
|
|
2225
|
-
@field_remappings = {}
|
|
2226
|
-
end
|
|
2227
|
-
end
|
|
2228
|
-
# Attribute for field type
|
|
2229
|
-
attr_reader :type
|
|
2230
|
-
# Attribute for field license_fee_component
|
|
2231
|
-
attr_reader :license_fee_component
|
|
2232
|
-
|
|
2233
|
-
def self.inner_class_types
|
|
2234
|
-
@inner_class_types = { license_fee_component: LicenseFeeComponent }
|
|
2235
|
-
end
|
|
2236
|
-
|
|
2237
|
-
def self.field_remappings
|
|
2238
|
-
@field_remappings = {}
|
|
2239
|
-
end
|
|
2240
|
-
end
|
|
2241
|
-
# Attribute for field pricing_plan
|
|
2242
|
-
attr_reader :pricing_plan
|
|
2243
|
-
# Attribute for field pricing_plan_version
|
|
2244
|
-
attr_reader :pricing_plan_version
|
|
2245
|
-
# Attribute for field metadata
|
|
2246
|
-
attr_reader :metadata
|
|
2247
|
-
# Attribute for field component_configurations
|
|
2248
|
-
attr_reader :component_configurations
|
|
2249
|
-
# Attribute for field pricing_plan_subscription
|
|
2250
|
-
attr_reader :pricing_plan_subscription
|
|
2251
|
-
# Attribute for field billing_cadence
|
|
2252
|
-
attr_reader :billing_cadence
|
|
2253
|
-
|
|
2254
|
-
def self.inner_class_types
|
|
2255
|
-
@inner_class_types = { component_configurations: ComponentConfigurations }
|
|
2256
|
-
end
|
|
2257
|
-
|
|
2258
|
-
def self.field_remappings
|
|
2259
|
-
@field_remappings = {}
|
|
2260
|
-
end
|
|
2261
|
-
end
|
|
2262
|
-
|
|
2263
|
-
class RateCardSubscriptionItem < ::Stripe::StripeObject
|
|
2264
|
-
# Attribute for field rate_card
|
|
2265
|
-
attr_reader :rate_card
|
|
2266
|
-
# Attribute for field metadata
|
|
2267
|
-
attr_reader :metadata
|
|
2268
|
-
# Attribute for field rate_card_version
|
|
2269
|
-
attr_reader :rate_card_version
|
|
2270
|
-
# Attribute for field billing_cadence
|
|
2271
|
-
attr_reader :billing_cadence
|
|
2272
|
-
# Attribute for field rate_card_subscription
|
|
2273
|
-
attr_reader :rate_card_subscription
|
|
2274
|
-
|
|
2275
|
-
def self.inner_class_types
|
|
2276
|
-
@inner_class_types = {}
|
|
2277
|
-
end
|
|
2278
|
-
|
|
2279
|
-
def self.field_remappings
|
|
2280
|
-
@field_remappings = {}
|
|
2281
|
-
end
|
|
2282
|
-
end
|
|
2283
|
-
# Attribute for field type
|
|
2284
|
-
attr_reader :type
|
|
2285
|
-
# Attribute for field rate_card_subscription_item
|
|
2286
|
-
attr_reader :rate_card_subscription_item
|
|
2287
|
-
# Attribute for field pricing_plan_subscription_item
|
|
2288
|
-
attr_reader :pricing_plan_subscription_item
|
|
2289
|
-
|
|
2290
|
-
def self.inner_class_types
|
|
2291
|
-
@inner_class_types = {
|
|
2292
|
-
rate_card_subscription_item: RateCardSubscriptionItem,
|
|
2293
|
-
pricing_plan_subscription_item: PricingPlanSubscriptionItem,
|
|
2294
|
-
}
|
|
2295
|
-
end
|
|
2296
|
-
|
|
2297
|
-
def self.field_remappings
|
|
2298
|
-
@field_remappings = {}
|
|
2299
|
-
end
|
|
2300
|
-
end
|
|
2301
2212
|
# Settings for price localization with [Adaptive Pricing](https://docs.stripe.com/payments/checkout/adaptive-pricing).
|
|
2302
2213
|
attr_reader :adaptive_pricing
|
|
2303
2214
|
# When set, provides configuration for actions to take if this Checkout Session expires.
|
|
@@ -2449,8 +2360,6 @@ module Stripe
|
|
|
2449
2360
|
attr_reader :url
|
|
2450
2361
|
# Wallet-specific configuration for this Checkout Session.
|
|
2451
2362
|
attr_reader :wallet_options
|
|
2452
|
-
# Attribute for field checkout_items
|
|
2453
|
-
attr_reader :checkout_items
|
|
2454
2363
|
|
|
2455
2364
|
# Creates a Checkout Session object.
|
|
2456
2365
|
def self.create(params = {}, opts = {})
|
|
@@ -2557,7 +2466,6 @@ module Stripe
|
|
|
2557
2466
|
tax_id_collection: TaxIdCollection,
|
|
2558
2467
|
total_details: TotalDetails,
|
|
2559
2468
|
wallet_options: WalletOptions,
|
|
2560
|
-
checkout_items: CheckoutItem,
|
|
2561
2469
|
}
|
|
2562
2470
|
end
|
|
2563
2471
|
|
|
@@ -307,21 +307,6 @@ module Stripe
|
|
|
307
307
|
end
|
|
308
308
|
|
|
309
309
|
class Card < ::Stripe::StripeObject
|
|
310
|
-
class Benefits < ::Stripe::StripeObject
|
|
311
|
-
# Issuer of this benefit card
|
|
312
|
-
attr_reader :issuer
|
|
313
|
-
# Available benefit programs for this card
|
|
314
|
-
attr_reader :programs
|
|
315
|
-
|
|
316
|
-
def self.inner_class_types
|
|
317
|
-
@inner_class_types = {}
|
|
318
|
-
end
|
|
319
|
-
|
|
320
|
-
def self.field_remappings
|
|
321
|
-
@field_remappings = {}
|
|
322
|
-
end
|
|
323
|
-
end
|
|
324
|
-
|
|
325
310
|
class Checks < ::Stripe::StripeObject
|
|
326
311
|
# If a address line1 was provided, results of the check, one of `pass`, `fail`, `unavailable`, or `unchecked`.
|
|
327
312
|
attr_reader :address_line1_check
|
|
@@ -735,8 +720,6 @@ module Stripe
|
|
|
735
720
|
@field_remappings = {}
|
|
736
721
|
end
|
|
737
722
|
end
|
|
738
|
-
# Attribute for field benefits
|
|
739
|
-
attr_reader :benefits
|
|
740
723
|
# Card brand. Can be `amex`, `cartes_bancaires`, `diners`, `discover`, `eftpos_au`, `jcb`, `link`, `mastercard`, `unionpay`, `visa` or `unknown`.
|
|
741
724
|
attr_reader :brand
|
|
742
725
|
# Checks on Card address and CVC if provided.
|
|
@@ -776,7 +759,6 @@ module Stripe
|
|
|
776
759
|
|
|
777
760
|
def self.inner_class_types
|
|
778
761
|
@inner_class_types = {
|
|
779
|
-
benefits: Benefits,
|
|
780
762
|
checks: Checks,
|
|
781
763
|
generated_from: GeneratedFrom,
|
|
782
764
|
networks: Networks,
|
|
@@ -992,7 +974,7 @@ module Stripe
|
|
|
992
974
|
end
|
|
993
975
|
|
|
994
976
|
class Ideal < ::Stripe::StripeObject
|
|
995
|
-
# The customer's bank, if provided. Can be one of `abn_amro`, `asn_bank`, `bunq`, `buut`, `handelsbanken`, `ing`, `knab`, `moneyou`, `n26`, `nn`, `rabobank`, `regiobank`, `revolut`, `sns_bank`, `triodos_bank`, `van_lanschot`, or `yoursafe`.
|
|
977
|
+
# The customer's bank, if provided. Can be one of `abn_amro`, `asn_bank`, `bunq`, `buut`, `finom`, `handelsbanken`, `ing`, `knab`, `moneyou`, `n26`, `nn`, `rabobank`, `regiobank`, `revolut`, `sns_bank`, `triodos_bank`, `van_lanschot`, or `yoursafe`.
|
|
996
978
|
attr_reader :bank
|
|
997
979
|
# The Bank Identifier Code of the customer's bank, if the bank was provided.
|
|
998
980
|
attr_reader :bic
|
|
@@ -52,8 +52,6 @@ module Stripe
|
|
|
52
52
|
attr_reader :subscription
|
|
53
53
|
# The subscription item that this coupon is applied to, if it is applied to a particular subscription item.
|
|
54
54
|
attr_reader :subscription_item
|
|
55
|
-
# The subscription schedule that this coupon is applied to, if it is applied to a particular subscription schedule.
|
|
56
|
-
attr_reader :schedule
|
|
57
55
|
# Always true for a deleted object
|
|
58
56
|
attr_reader :deleted
|
|
59
57
|
|
|
@@ -34,6 +34,25 @@ module Stripe
|
|
|
34
34
|
end
|
|
35
35
|
end
|
|
36
36
|
|
|
37
|
+
class AccountNumber < ::Stripe::StripeObject
|
|
38
|
+
# When the account number is expected to expire, if applicable.
|
|
39
|
+
attr_reader :expected_expiry_date
|
|
40
|
+
# The type of account number associated with the account.
|
|
41
|
+
attr_reader :identifier_type
|
|
42
|
+
# Whether the account number is currently active and usable for transactions.
|
|
43
|
+
attr_reader :status
|
|
44
|
+
# The payment networks that the account number can be used for.
|
|
45
|
+
attr_reader :supported_networks
|
|
46
|
+
|
|
47
|
+
def self.inner_class_types
|
|
48
|
+
@inner_class_types = {}
|
|
49
|
+
end
|
|
50
|
+
|
|
51
|
+
def self.field_remappings
|
|
52
|
+
@field_remappings = {}
|
|
53
|
+
end
|
|
54
|
+
end
|
|
55
|
+
|
|
37
56
|
class Balance < ::Stripe::StripeObject
|
|
38
57
|
class Cash < ::Stripe::StripeObject
|
|
39
58
|
# The funds available to the account holder. Typically this is the current balance after subtracting any outbound pending transactions and adding any inbound pending transactions.
|
|
@@ -163,6 +182,8 @@ module Stripe
|
|
|
163
182
|
end
|
|
164
183
|
# The account holder that this account belongs to.
|
|
165
184
|
attr_reader :account_holder
|
|
185
|
+
# Details about the account numbers.
|
|
186
|
+
attr_reader :account_numbers
|
|
166
187
|
# The most recent information about the account's balance.
|
|
167
188
|
attr_reader :balance
|
|
168
189
|
# The state of the most recent attempt to refresh the account balance.
|
|
@@ -330,6 +351,7 @@ module Stripe
|
|
|
330
351
|
def self.inner_class_types
|
|
331
352
|
@inner_class_types = {
|
|
332
353
|
account_holder: AccountHolder,
|
|
354
|
+
account_numbers: AccountNumber,
|
|
333
355
|
balance: Balance,
|
|
334
356
|
balance_refresh: BalanceRefresh,
|
|
335
357
|
inferred_balances_refresh: InferredBalancesRefresh,
|
|
@@ -113,8 +113,6 @@ module Stripe
|
|
|
113
113
|
end
|
|
114
114
|
# Address as it appears in the document.
|
|
115
115
|
attr_reader :address
|
|
116
|
-
# If document was not verified due to extracted data being on the blocklist, this is the token of the BlocklistEntry that blocked it
|
|
117
|
-
attr_reader :blocked_by_entry
|
|
118
116
|
# Date of birth as it appears in the document.
|
|
119
117
|
attr_reader :dob
|
|
120
118
|
# Details on the verification error. Present when status is `unverified`.
|
|
@@ -335,8 +333,6 @@ module Stripe
|
|
|
335
333
|
@field_remappings = {}
|
|
336
334
|
end
|
|
337
335
|
end
|
|
338
|
-
# If selfie was not verified due to being on the blocklist, this is the token of the BlocklistEntry that blocked it
|
|
339
|
-
attr_reader :blocked_by_entry
|
|
340
336
|
# ID of the [File](https://stripe.com/docs/api/files) holding the image of the identity document used in this check.
|
|
341
337
|
attr_reader :document
|
|
342
338
|
# Details on the verification error. Present when status is `unverified`.
|
|
@@ -356,19 +356,6 @@ module Stripe
|
|
|
356
356
|
end
|
|
357
357
|
end
|
|
358
358
|
|
|
359
|
-
class ScheduleDetails < ::Stripe::StripeObject
|
|
360
|
-
# The schedule that generated this invoice
|
|
361
|
-
attr_reader :schedule
|
|
362
|
-
|
|
363
|
-
def self.inner_class_types
|
|
364
|
-
@inner_class_types = {}
|
|
365
|
-
end
|
|
366
|
-
|
|
367
|
-
def self.field_remappings
|
|
368
|
-
@field_remappings = {}
|
|
369
|
-
end
|
|
370
|
-
end
|
|
371
|
-
|
|
372
359
|
class SubscriptionDetails < ::Stripe::StripeObject
|
|
373
360
|
class PauseCollection < ::Stripe::StripeObject
|
|
374
361
|
# The payment collection behavior for this subscription while paused. One of `keep_as_draft`, `mark_uncollectible`, or `void`.
|
|
@@ -410,15 +397,12 @@ module Stripe
|
|
|
410
397
|
attr_reader :subscription_details
|
|
411
398
|
# The type of parent that generated this invoice
|
|
412
399
|
attr_reader :type
|
|
413
|
-
# Details about the schedule that generated this invoice
|
|
414
|
-
attr_reader :schedule_details
|
|
415
400
|
|
|
416
401
|
def self.inner_class_types
|
|
417
402
|
@inner_class_types = {
|
|
418
403
|
billing_cadence_details: BillingCadenceDetails,
|
|
419
404
|
quote_details: QuoteDetails,
|
|
420
405
|
subscription_details: SubscriptionDetails,
|
|
421
|
-
schedule_details: ScheduleDetails,
|
|
422
406
|
}
|
|
423
407
|
end
|
|
424
408
|
|
|
@@ -997,7 +981,7 @@ module Stripe
|
|
|
997
981
|
# * `subscription_cycle`: A subscription advanced into a new period.
|
|
998
982
|
# * `subscription_threshold`: A subscription reached a billing threshold.
|
|
999
983
|
# * `subscription_update`: A subscription was updated.
|
|
1000
|
-
# * `upcoming`: Reserved for
|
|
984
|
+
# * `upcoming`: Reserved for upcoming invoices created through the Create Preview Invoice API or when an `invoice.upcoming` event is generated for an upcoming invoice on a subscription.
|
|
1001
985
|
attr_reader :billing_reason
|
|
1002
986
|
# Either `charge_automatically`, or `send_invoice`. When charging automatically, Stripe will attempt to pay this invoice using the default source attached to the customer. When sending an invoice, Stripe will email this invoice to the customer with payment instructions.
|
|
1003
987
|
attr_reader :collection_method
|
|
@@ -22,57 +22,6 @@ module Stripe
|
|
|
22
22
|
end
|
|
23
23
|
|
|
24
24
|
class Parent < ::Stripe::StripeObject
|
|
25
|
-
class LicenseFeeSubscriptionDetails < ::Stripe::StripeObject
|
|
26
|
-
# The license fee subscription that generated this invoice item
|
|
27
|
-
attr_reader :license_fee_subscription
|
|
28
|
-
# The license fee version that generated this invoice item
|
|
29
|
-
attr_reader :license_fee_version
|
|
30
|
-
# The pricing plan subscription that manages the license fee subscription
|
|
31
|
-
attr_reader :pricing_plan_subscription
|
|
32
|
-
# The pricing plan version at the time this invoice item was generated
|
|
33
|
-
attr_reader :pricing_plan_version
|
|
34
|
-
|
|
35
|
-
def self.inner_class_types
|
|
36
|
-
@inner_class_types = {}
|
|
37
|
-
end
|
|
38
|
-
|
|
39
|
-
def self.field_remappings
|
|
40
|
-
@field_remappings = {}
|
|
41
|
-
end
|
|
42
|
-
end
|
|
43
|
-
|
|
44
|
-
class RateCardSubscriptionDetails < ::Stripe::StripeObject
|
|
45
|
-
# The pricing plan subscription that manages the rate card subscription
|
|
46
|
-
attr_reader :pricing_plan_subscription
|
|
47
|
-
# The pricing plan version at the time this invoice item was generated
|
|
48
|
-
attr_reader :pricing_plan_version
|
|
49
|
-
# The rate card subscription that generated this invoice item
|
|
50
|
-
attr_reader :rate_card_subscription
|
|
51
|
-
# The rate card version that generated this invoice item
|
|
52
|
-
attr_reader :rate_card_version
|
|
53
|
-
|
|
54
|
-
def self.inner_class_types
|
|
55
|
-
@inner_class_types = {}
|
|
56
|
-
end
|
|
57
|
-
|
|
58
|
-
def self.field_remappings
|
|
59
|
-
@field_remappings = {}
|
|
60
|
-
end
|
|
61
|
-
end
|
|
62
|
-
|
|
63
|
-
class ScheduleDetails < ::Stripe::StripeObject
|
|
64
|
-
# The subscription schedule that generated this invoice item
|
|
65
|
-
attr_reader :schedule
|
|
66
|
-
|
|
67
|
-
def self.inner_class_types
|
|
68
|
-
@inner_class_types = {}
|
|
69
|
-
end
|
|
70
|
-
|
|
71
|
-
def self.field_remappings
|
|
72
|
-
@field_remappings = {}
|
|
73
|
-
end
|
|
74
|
-
end
|
|
75
|
-
|
|
76
25
|
class SubscriptionDetails < ::Stripe::StripeObject
|
|
77
26
|
# The subscription that generated this invoice item
|
|
78
27
|
attr_reader :subscription
|
|
@@ -87,24 +36,13 @@ module Stripe
|
|
|
87
36
|
@field_remappings = {}
|
|
88
37
|
end
|
|
89
38
|
end
|
|
90
|
-
# Details about the license fee subscription that generated this invoice item
|
|
91
|
-
attr_reader :license_fee_subscription_details
|
|
92
|
-
# Details about the rate card subscription that generated this invoice item
|
|
93
|
-
attr_reader :rate_card_subscription_details
|
|
94
39
|
# Details about the subscription that generated this invoice item
|
|
95
40
|
attr_reader :subscription_details
|
|
96
41
|
# The type of parent that generated this invoice item
|
|
97
42
|
attr_reader :type
|
|
98
|
-
# Details about the subscription schedule that generated this invoice item
|
|
99
|
-
attr_reader :schedule_details
|
|
100
43
|
|
|
101
44
|
def self.inner_class_types
|
|
102
|
-
@inner_class_types = {
|
|
103
|
-
license_fee_subscription_details: LicenseFeeSubscriptionDetails,
|
|
104
|
-
rate_card_subscription_details: RateCardSubscriptionDetails,
|
|
105
|
-
subscription_details: SubscriptionDetails,
|
|
106
|
-
schedule_details: ScheduleDetails,
|
|
107
|
-
}
|
|
45
|
+
@inner_class_types = { subscription_details: SubscriptionDetails }
|
|
108
46
|
end
|
|
109
47
|
|
|
110
48
|
def self.field_remappings
|
|
@@ -128,23 +66,6 @@ module Stripe
|
|
|
128
66
|
end
|
|
129
67
|
|
|
130
68
|
class Pricing < ::Stripe::StripeObject
|
|
131
|
-
class LicenseFeeDetails < ::Stripe::StripeObject
|
|
132
|
-
# The ID of the license fee this item is associated with
|
|
133
|
-
attr_reader :license_fee
|
|
134
|
-
# The version of the license fee this item is associated with
|
|
135
|
-
attr_reader :license_fee_version
|
|
136
|
-
# The ID of the licensed item this item is associated with
|
|
137
|
-
attr_reader :licensed_item
|
|
138
|
-
|
|
139
|
-
def self.inner_class_types
|
|
140
|
-
@inner_class_types = {}
|
|
141
|
-
end
|
|
142
|
-
|
|
143
|
-
def self.field_remappings
|
|
144
|
-
@field_remappings = {}
|
|
145
|
-
end
|
|
146
|
-
end
|
|
147
|
-
|
|
148
69
|
class PriceDetails < ::Stripe::StripeObject
|
|
149
70
|
# The ID of the price this item is associated with.
|
|
150
71
|
attr_reader :price
|
|
@@ -159,40 +80,15 @@ module Stripe
|
|
|
159
80
|
@field_remappings = {}
|
|
160
81
|
end
|
|
161
82
|
end
|
|
162
|
-
|
|
163
|
-
class RateCardRateDetails < ::Stripe::StripeObject
|
|
164
|
-
# The ID of billable item this item is associated with
|
|
165
|
-
attr_reader :metered_item
|
|
166
|
-
# The ID of the rate card this item is associated with
|
|
167
|
-
attr_reader :rate_card
|
|
168
|
-
# The ID of the rate card rate this item is associated with
|
|
169
|
-
attr_reader :rate_card_rate
|
|
170
|
-
|
|
171
|
-
def self.inner_class_types
|
|
172
|
-
@inner_class_types = {}
|
|
173
|
-
end
|
|
174
|
-
|
|
175
|
-
def self.field_remappings
|
|
176
|
-
@field_remappings = {}
|
|
177
|
-
end
|
|
178
|
-
end
|
|
179
|
-
# Attribute for field license_fee_details
|
|
180
|
-
attr_reader :license_fee_details
|
|
181
83
|
# Attribute for field price_details
|
|
182
84
|
attr_reader :price_details
|
|
183
|
-
# Attribute for field rate_card_rate_details
|
|
184
|
-
attr_reader :rate_card_rate_details
|
|
185
85
|
# The type of the pricing details.
|
|
186
86
|
attr_reader :type
|
|
187
87
|
# The unit amount (in the `currency` specified) of the item which contains a decimal value with at most 12 decimal places.
|
|
188
88
|
attr_reader :unit_amount_decimal
|
|
189
89
|
|
|
190
90
|
def self.inner_class_types
|
|
191
|
-
@inner_class_types = {
|
|
192
|
-
license_fee_details: LicenseFeeDetails,
|
|
193
|
-
price_details: PriceDetails,
|
|
194
|
-
rate_card_rate_details: RateCardRateDetails,
|
|
195
|
-
}
|
|
91
|
+
@inner_class_types = { price_details: PriceDetails }
|
|
196
92
|
end
|
|
197
93
|
|
|
198
94
|
def self.field_remappings
|
|
@@ -89,61 +89,6 @@ module Stripe
|
|
|
89
89
|
end
|
|
90
90
|
end
|
|
91
91
|
|
|
92
|
-
class LicenseFeeSubscriptionDetails < ::Stripe::StripeObject
|
|
93
|
-
# The invoice item that generated this line item
|
|
94
|
-
attr_reader :invoice_item
|
|
95
|
-
# The license fee subscription that generated this line item
|
|
96
|
-
attr_reader :license_fee_subscription
|
|
97
|
-
# The license fee version at the time this line item was generated
|
|
98
|
-
attr_reader :license_fee_version
|
|
99
|
-
# The pricing plan subscription that manages the license fee subscription
|
|
100
|
-
attr_reader :pricing_plan_subscription
|
|
101
|
-
# The pricing plan version at the time this line item was generated
|
|
102
|
-
attr_reader :pricing_plan_version
|
|
103
|
-
|
|
104
|
-
def self.inner_class_types
|
|
105
|
-
@inner_class_types = {}
|
|
106
|
-
end
|
|
107
|
-
|
|
108
|
-
def self.field_remappings
|
|
109
|
-
@field_remappings = {}
|
|
110
|
-
end
|
|
111
|
-
end
|
|
112
|
-
|
|
113
|
-
class RateCardSubscriptionDetails < ::Stripe::StripeObject
|
|
114
|
-
# The invoice item that generated this line item
|
|
115
|
-
attr_reader :invoice_item
|
|
116
|
-
# The pricing plan subscription that manages the rate card subscription
|
|
117
|
-
attr_reader :pricing_plan_subscription
|
|
118
|
-
# The pricing plan version at the time this line item was generated
|
|
119
|
-
attr_reader :pricing_plan_version
|
|
120
|
-
# The rate card subscription that generated this line item
|
|
121
|
-
attr_reader :rate_card_subscription
|
|
122
|
-
# The rate card version at the time this line item was generated
|
|
123
|
-
attr_reader :rate_card_version
|
|
124
|
-
|
|
125
|
-
def self.inner_class_types
|
|
126
|
-
@inner_class_types = {}
|
|
127
|
-
end
|
|
128
|
-
|
|
129
|
-
def self.field_remappings
|
|
130
|
-
@field_remappings = {}
|
|
131
|
-
end
|
|
132
|
-
end
|
|
133
|
-
|
|
134
|
-
class ScheduleDetails < ::Stripe::StripeObject
|
|
135
|
-
# The subscription schedule that generated this line item
|
|
136
|
-
attr_reader :schedule
|
|
137
|
-
|
|
138
|
-
def self.inner_class_types
|
|
139
|
-
@inner_class_types = {}
|
|
140
|
-
end
|
|
141
|
-
|
|
142
|
-
def self.field_remappings
|
|
143
|
-
@field_remappings = {}
|
|
144
|
-
end
|
|
145
|
-
end
|
|
146
|
-
|
|
147
92
|
class SubscriptionItemDetails < ::Stripe::StripeObject
|
|
148
93
|
class ProrationDetails < ::Stripe::StripeObject
|
|
149
94
|
class CreditedItems < ::Stripe::StripeObject
|
|
@@ -192,24 +137,15 @@ module Stripe
|
|
|
192
137
|
end
|
|
193
138
|
# Details about the invoice item that generated this line item
|
|
194
139
|
attr_reader :invoice_item_details
|
|
195
|
-
# Details about the license fee subscription that generated this line item
|
|
196
|
-
attr_reader :license_fee_subscription_details
|
|
197
|
-
# Details about the rate card subscription that generated this line item
|
|
198
|
-
attr_reader :rate_card_subscription_details
|
|
199
140
|
# Details about the subscription item that generated this line item
|
|
200
141
|
attr_reader :subscription_item_details
|
|
201
142
|
# The type of parent that generated this line item
|
|
202
143
|
attr_reader :type
|
|
203
|
-
# Details about the subscription schedule that generated this line item
|
|
204
|
-
attr_reader :schedule_details
|
|
205
144
|
|
|
206
145
|
def self.inner_class_types
|
|
207
146
|
@inner_class_types = {
|
|
208
147
|
invoice_item_details: InvoiceItemDetails,
|
|
209
|
-
license_fee_subscription_details: LicenseFeeSubscriptionDetails,
|
|
210
|
-
rate_card_subscription_details: RateCardSubscriptionDetails,
|
|
211
148
|
subscription_item_details: SubscriptionItemDetails,
|
|
212
|
-
schedule_details: ScheduleDetails,
|
|
213
149
|
}
|
|
214
150
|
end
|
|
215
151
|
|
|
@@ -255,23 +191,6 @@ module Stripe
|
|
|
255
191
|
end
|
|
256
192
|
|
|
257
193
|
class Pricing < ::Stripe::StripeObject
|
|
258
|
-
class LicenseFeeDetails < ::Stripe::StripeObject
|
|
259
|
-
# The ID of the license fee this item is associated with
|
|
260
|
-
attr_reader :license_fee
|
|
261
|
-
# The version of the license fee this item is associated with
|
|
262
|
-
attr_reader :license_fee_version
|
|
263
|
-
# The ID of the licensed item this item is associated with
|
|
264
|
-
attr_reader :licensed_item
|
|
265
|
-
|
|
266
|
-
def self.inner_class_types
|
|
267
|
-
@inner_class_types = {}
|
|
268
|
-
end
|
|
269
|
-
|
|
270
|
-
def self.field_remappings
|
|
271
|
-
@field_remappings = {}
|
|
272
|
-
end
|
|
273
|
-
end
|
|
274
|
-
|
|
275
194
|
class PriceDetails < ::Stripe::StripeObject
|
|
276
195
|
# The ID of the price this item is associated with.
|
|
277
196
|
attr_reader :price
|
|
@@ -286,40 +205,15 @@ module Stripe
|
|
|
286
205
|
@field_remappings = {}
|
|
287
206
|
end
|
|
288
207
|
end
|
|
289
|
-
|
|
290
|
-
class RateCardRateDetails < ::Stripe::StripeObject
|
|
291
|
-
# The ID of billable item this item is associated with
|
|
292
|
-
attr_reader :metered_item
|
|
293
|
-
# The ID of the rate card this item is associated with
|
|
294
|
-
attr_reader :rate_card
|
|
295
|
-
# The ID of the rate card rate this item is associated with
|
|
296
|
-
attr_reader :rate_card_rate
|
|
297
|
-
|
|
298
|
-
def self.inner_class_types
|
|
299
|
-
@inner_class_types = {}
|
|
300
|
-
end
|
|
301
|
-
|
|
302
|
-
def self.field_remappings
|
|
303
|
-
@field_remappings = {}
|
|
304
|
-
end
|
|
305
|
-
end
|
|
306
|
-
# Attribute for field license_fee_details
|
|
307
|
-
attr_reader :license_fee_details
|
|
308
208
|
# Attribute for field price_details
|
|
309
209
|
attr_reader :price_details
|
|
310
|
-
# Attribute for field rate_card_rate_details
|
|
311
|
-
attr_reader :rate_card_rate_details
|
|
312
210
|
# The type of the pricing details.
|
|
313
211
|
attr_reader :type
|
|
314
212
|
# The unit amount (in the `currency` specified) of the item which contains a decimal value with at most 12 decimal places.
|
|
315
213
|
attr_reader :unit_amount_decimal
|
|
316
214
|
|
|
317
215
|
def self.inner_class_types
|
|
318
|
-
@inner_class_types = {
|
|
319
|
-
license_fee_details: LicenseFeeDetails,
|
|
320
|
-
price_details: PriceDetails,
|
|
321
|
-
rate_card_rate_details: RateCardRateDetails,
|
|
322
|
-
}
|
|
216
|
+
@inner_class_types = { price_details: PriceDetails }
|
|
323
217
|
end
|
|
324
218
|
|
|
325
219
|
def self.field_remappings
|
|
@@ -14,6 +14,21 @@ module Stripe
|
|
|
14
14
|
"issuing.card"
|
|
15
15
|
end
|
|
16
16
|
|
|
17
|
+
class LatestFraudWarning < ::Stripe::StripeObject
|
|
18
|
+
# Timestamp of the most recent fraud warning.
|
|
19
|
+
attr_reader :started_at
|
|
20
|
+
# The type of fraud warning that most recently took place on this card. This field updates with every new fraud warning, so the value changes over time. If populated, cancel and reissue the card.
|
|
21
|
+
attr_reader :type
|
|
22
|
+
|
|
23
|
+
def self.inner_class_types
|
|
24
|
+
@inner_class_types = {}
|
|
25
|
+
end
|
|
26
|
+
|
|
27
|
+
def self.field_remappings
|
|
28
|
+
@field_remappings = {}
|
|
29
|
+
end
|
|
30
|
+
end
|
|
31
|
+
|
|
17
32
|
class Shipping < ::Stripe::StripeObject
|
|
18
33
|
class Address < ::Stripe::StripeObject
|
|
19
34
|
# City, district, suburb, town, or village.
|
|
@@ -237,6 +252,8 @@ module Stripe
|
|
|
237
252
|
attr_reader :id
|
|
238
253
|
# The last 4 digits of the card number.
|
|
239
254
|
attr_reader :last4
|
|
255
|
+
# Stripe’s assessment of whether this card’s details have been compromised. If this property isn't null, cancel and reissue the card to prevent fraudulent activity risk.
|
|
256
|
+
attr_reader :latest_fraud_warning
|
|
240
257
|
# Has the value `true` if the object exists in live mode or the value `false` if the object exists in test mode.
|
|
241
258
|
attr_reader :livemode
|
|
242
259
|
# 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.
|
|
@@ -399,6 +416,7 @@ module Stripe
|
|
|
399
416
|
|
|
400
417
|
def self.inner_class_types
|
|
401
418
|
@inner_class_types = {
|
|
419
|
+
latest_fraud_warning: LatestFraudWarning,
|
|
402
420
|
shipping: Shipping,
|
|
403
421
|
spending_controls: SpendingControls,
|
|
404
422
|
wallets: Wallets,
|
|
@@ -234,15 +234,15 @@ module Stripe
|
|
|
234
234
|
class Payto < ::Stripe::StripeObject
|
|
235
235
|
# Amount that will be collected. It is required when `amount_type` is `fixed`.
|
|
236
236
|
attr_reader :amount
|
|
237
|
-
# The type of amount that will be collected. The amount charged must be exact or up to the value of `amount` param for `fixed` or `maximum` type respectively.
|
|
237
|
+
# The type of amount that will be collected. The amount charged must be exact or up to the value of `amount` param for `fixed` or `maximum` type respectively. Defaults to `maximum`.
|
|
238
238
|
attr_reader :amount_type
|
|
239
239
|
# Date, in YYYY-MM-DD format, after which payments will not be collected. Defaults to no end date.
|
|
240
240
|
attr_reader :end_date
|
|
241
|
-
# The periodicity at which payments will be collected.
|
|
241
|
+
# The periodicity at which payments will be collected. Defaults to `adhoc`.
|
|
242
242
|
attr_reader :payment_schedule
|
|
243
243
|
# The number of payments that will be made during a payment period. Defaults to 1 except for when `payment_schedule` is `adhoc`. In that case, it defaults to no limit.
|
|
244
244
|
attr_reader :payments_per_period
|
|
245
|
-
# The purpose for which payments are made.
|
|
245
|
+
# The purpose for which payments are made. Has a default value based on your merchant category code.
|
|
246
246
|
attr_reader :purpose
|
|
247
247
|
# Date, in YYYY-MM-DD format, from which payments will be collected. Defaults to confirmation time.
|
|
248
248
|
attr_reader :start_date
|