stripe 16.1.0.pre.beta.1 → 17.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/lib/stripe/api_requestor.rb +3 -35
- data/lib/stripe/api_version.rb +2 -1
- data/lib/stripe/errors.rb +0 -63
- data/lib/stripe/event_types.rb +0 -236
- data/lib/stripe/object_types.rb +0 -58
- data/lib/stripe/params/account_create_params.rb +1 -300
- data/lib/stripe/params/account_session_create_params.rb +1 -226
- data/lib/stripe/params/account_update_params.rb +0 -262
- data/lib/stripe/params/billing/credit_balance_summary_retrieve_params.rb +1 -4
- data/lib/stripe/params/billing/credit_balance_transaction_list_params.rb +0 -4
- data/lib/stripe/params/billing/credit_grant_create_params.rb +0 -4
- data/lib/stripe/params/billing/credit_grant_list_params.rb +0 -4
- data/lib/stripe/params/billing_portal/session_create_params.rb +0 -4
- data/lib/stripe/params/charge_capture_params.rb +0 -709
- data/lib/stripe/params/charge_update_params.rb +0 -709
- data/lib/stripe/params/checkout/session_create_params.rb +3 -193
- data/lib/stripe/params/checkout/session_list_params.rb +0 -4
- data/lib/stripe/params/checkout/session_update_params.rb +1 -288
- data/lib/stripe/params/confirmation_token_create_params.rb +0 -97
- data/lib/stripe/params/coupon_create_params.rb +1 -17
- data/lib/stripe/params/credit_note_list_params.rb +0 -4
- data/lib/stripe/params/customer_session_create_params.rb +1 -4
- data/lib/stripe/params/dispute_update_params.rb +1 -10
- data/lib/stripe/params/financial_connections/account_list_params.rb +1 -4
- data/lib/stripe/params/financial_connections/session_create_params.rb +2 -34
- data/lib/stripe/params/identity/verification_session_create_params.rb +0 -4
- data/lib/stripe/params/identity/verification_session_list_params.rb +0 -4
- data/lib/stripe/params/invoice_add_lines_params.rb +1 -33
- data/lib/stripe/params/invoice_attach_payment_params.rb +1 -46
- data/lib/stripe/params/invoice_create_params.rb +2 -112
- data/lib/stripe/params/invoice_create_preview_params.rb +9 -826
- data/lib/stripe/params/invoice_item_create_params.rb +1 -37
- data/lib/stripe/params/invoice_item_list_params.rb +0 -4
- data/lib/stripe/params/invoice_item_update_params.rb +1 -33
- data/lib/stripe/params/invoice_line_item_update_params.rb +1 -33
- data/lib/stripe/params/invoice_list_params.rb +0 -4
- data/lib/stripe/params/invoice_payment_list_params.rb +1 -4
- data/lib/stripe/params/invoice_update_lines_params.rb +1 -33
- data/lib/stripe/params/invoice_update_params.rb +2 -108
- data/lib/stripe/params/issuing/cardholder_create_params.rb +1 -2
- data/lib/stripe/params/issuing/transaction_list_params.rb +0 -4
- data/lib/stripe/params/payment_intent_capture_params.rb +0 -895
- data/lib/stripe/params/payment_intent_confirm_params.rb +18 -1384
- data/lib/stripe/params/payment_intent_create_params.rb +16 -1390
- data/lib/stripe/params/payment_intent_increment_authorization_params.rb +0 -223
- data/lib/stripe/params/payment_intent_list_params.rb +0 -4
- data/lib/stripe/params/payment_intent_update_params.rb +4 -1409
- data/lib/stripe/params/payment_method_attach_params.rb +1 -4
- data/lib/stripe/params/payment_method_configuration_create_params.rb +0 -126
- data/lib/stripe/params/payment_method_configuration_update_params.rb +0 -126
- data/lib/stripe/params/payment_method_create_params.rb +0 -97
- data/lib/stripe/params/payment_method_update_params.rb +0 -19
- data/lib/stripe/params/price_update_params.rb +0 -19
- data/lib/stripe/params/promotion_code_create_params.rb +0 -4
- data/lib/stripe/params/promotion_code_list_params.rb +0 -4
- data/lib/stripe/params/quote_create_params.rb +3 -805
- data/lib/stripe/params/quote_list_params.rb +0 -8
- data/lib/stripe/params/quote_update_params.rb +4 -813
- data/lib/stripe/params/setup_intent_confirm_params.rb +3 -225
- data/lib/stripe/params/setup_intent_create_params.rb +3 -231
- data/lib/stripe/params/setup_intent_list_params.rb +0 -4
- data/lib/stripe/params/setup_intent_update_params.rb +3 -231
- data/lib/stripe/params/subscription_create_params.rb +5 -259
- data/lib/stripe/params/subscription_item_create_params.rb +2 -46
- data/lib/stripe/params/subscription_item_update_params.rb +1 -29
- data/lib/stripe/params/subscription_list_params.rb +0 -4
- data/lib/stripe/params/subscription_schedule_create_params.rb +5 -167
- data/lib/stripe/params/subscription_schedule_list_params.rb +0 -4
- data/lib/stripe/params/subscription_schedule_update_params.rb +5 -163
- data/lib/stripe/params/subscription_update_params.rb +4 -238
- data/lib/stripe/params/tax_id_create_params.rb +1 -4
- data/lib/stripe/params/tax_id_list_params.rb +1 -4
- data/lib/stripe/params/terminal/configuration_create_params.rb +0 -13
- data/lib/stripe/params/terminal/configuration_update_params.rb +0 -13
- data/lib/stripe/params/test_helpers/confirmation_token_create_params.rb +0 -97
- data/lib/stripe/params/test_helpers/treasury/received_credit_create_params.rb +1 -25
- data/lib/stripe/params/test_helpers/treasury/received_debit_create_params.rb +1 -25
- data/lib/stripe/params/transfer_create_params.rb +0 -4
- data/lib/stripe/params/treasury/financial_account_create_params.rb +1 -8
- data/lib/stripe/params/treasury/financial_account_features_update_params.rb +1 -4
- data/lib/stripe/params/treasury/financial_account_update_features_params.rb +1 -4
- data/lib/stripe/params/treasury/financial_account_update_params.rb +1 -8
- data/lib/stripe/params/treasury/outbound_transfer_create_params.rb +0 -24
- data/lib/stripe/params/treasury/received_credit_create_params.rb +1 -25
- data/lib/stripe/params/treasury/received_debit_create_params.rb +1 -25
- data/lib/stripe/params.rb +0 -169
- data/lib/stripe/request_options.rb +1 -3
- data/lib/stripe/resources/account.rb +1 -166
- data/lib/stripe/resources/account_session.rb +0 -81
- data/lib/stripe/resources/billing/credit_balance_summary.rb +0 -2
- data/lib/stripe/resources/billing/credit_grant.rb +0 -2
- data/lib/stripe/resources/billing_portal/session.rb +0 -2
- data/lib/stripe/resources/card.rb +0 -2
- data/lib/stripe/resources/cash_balance.rb +0 -2
- data/lib/stripe/resources/charge.rb +1 -234
- data/lib/stripe/resources/checkout/session.rb +4 -154
- data/lib/stripe/resources/confirmation_token.rb +0 -155
- data/lib/stripe/resources/coupon.rb +1 -26
- data/lib/stripe/resources/credit_note.rb +0 -2
- data/lib/stripe/resources/credit_note_line_item.rb +0 -18
- data/lib/stripe/resources/customer.rb +0 -2
- data/lib/stripe/resources/customer_balance_transaction.rb +0 -2
- data/lib/stripe/resources/customer_cash_balance_transaction.rb +0 -2
- data/lib/stripe/resources/customer_session.rb +0 -2
- data/lib/stripe/resources/discount.rb +0 -2
- data/lib/stripe/resources/dispute.rb +0 -22
- data/lib/stripe/resources/event.rb +1 -64
- data/lib/stripe/resources/financial_connections/account.rb +0 -27
- data/lib/stripe/resources/financial_connections/session.rb +1 -67
- data/lib/stripe/resources/identity/verification_session.rb +0 -2
- data/lib/stripe/resources/invoice.rb +1 -152
- data/lib/stripe/resources/invoice_item.rb +0 -4
- data/lib/stripe/resources/invoice_line_item.rb +0 -40
- data/lib/stripe/resources/invoice_payment.rb +0 -2
- data/lib/stripe/resources/issuing/transaction.rb +0 -2
- data/lib/stripe/resources/line_item.rb +1 -68
- data/lib/stripe/resources/mandate.rb +0 -71
- data/lib/stripe/resources/payment_intent.rb +4 -848
- data/lib/stripe/resources/payment_method.rb +0 -157
- data/lib/stripe/resources/payment_method_configuration.rb +0 -204
- data/lib/stripe/resources/price.rb +0 -20
- data/lib/stripe/resources/promotion_code.rb +0 -2
- data/lib/stripe/resources/quote.rb +2 -571
- data/lib/stripe/resources/refund.rb +0 -18
- data/lib/stripe/resources/setup_attempt.rb +0 -63
- data/lib/stripe/resources/setup_intent.rb +1 -132
- data/lib/stripe/resources/source.rb +0 -38
- data/lib/stripe/resources/subscription.rb +0 -232
- data/lib/stripe/resources/subscription_item.rb +1 -20
- data/lib/stripe/resources/subscription_schedule.rb +3 -198
- data/lib/stripe/resources/tax_id.rb +0 -4
- data/lib/stripe/resources/terminal/configuration.rb +0 -16
- data/lib/stripe/resources/terminal/reader.rb +0 -8
- data/lib/stripe/resources/transfer.rb +0 -2
- data/lib/stripe/resources/treasury/financial_account.rb +0 -2
- data/lib/stripe/resources/treasury/financial_account_features.rb +0 -2
- data/lib/stripe/resources/treasury/outbound_transfer.rb +0 -30
- data/lib/stripe/resources/treasury/received_credit.rb +0 -30
- data/lib/stripe/resources/treasury/received_debit.rb +0 -32
- data/lib/stripe/resources.rb +0 -116
- data/lib/stripe/services/billing_service.rb +1 -2
- data/lib/stripe/services/financial_connections/account_service.rb +1 -3
- data/lib/stripe/services/financial_connections_service.rb +1 -2
- data/lib/stripe/services/issuing_service.rb +1 -5
- data/lib/stripe/services/mandate_service.rb +0 -5
- data/lib/stripe/services/payment_intent_service.rb +0 -44
- data/lib/stripe/services/quote_service.rb +1 -49
- data/lib/stripe/services/subscription_schedule_service.rb +0 -11
- data/lib/stripe/services/subscription_service.rb +0 -11
- data/lib/stripe/services/tax_service.rb +1 -3
- data/lib/stripe/services/terminal_service.rb +1 -3
- data/lib/stripe/services/v1_services.rb +1 -10
- data/lib/stripe/services/v2/billing_service.rb +1 -5
- data/lib/stripe/services/v2/core_service.rb +1 -4
- data/lib/stripe/services/v2_services.rb +1 -4
- data/lib/stripe/services.rb +0 -61
- data/lib/stripe/stripe_client.rb +1 -1
- data/lib/stripe/stripe_configuration.rb +2 -9
- data/lib/stripe/stripe_object.rb +15 -9
- data/lib/stripe/util.rb +3 -9
- data/lib/stripe/version.rb +1 -1
- data/lib/stripe.rb +0 -53
- data/rbi/stripe.rbi +98094 -162674
- metadata +5 -351
- data/lib/stripe/events/v2_billing_bill_setting_updated_event.rb +0 -61
- data/lib/stripe/events/v2_core_account_closed_event.rb +0 -44
- data/lib/stripe/events/v2_core_account_created_event.rb +0 -44
- data/lib/stripe/events/v2_core_account_including_configuration_customer_capability_status_updated_event.rb +0 -63
- data/lib/stripe/events/v2_core_account_including_configuration_customer_updated_event.rb +0 -44
- data/lib/stripe/events/v2_core_account_including_configuration_merchant_capability_status_updated_event.rb +0 -63
- data/lib/stripe/events/v2_core_account_including_configuration_merchant_updated_event.rb +0 -44
- data/lib/stripe/events/v2_core_account_including_configuration_recipient_capability_status_updated_event.rb +0 -63
- data/lib/stripe/events/v2_core_account_including_configuration_recipient_updated_event.rb +0 -44
- data/lib/stripe/events/v2_core_account_including_configuration_storer_capability_status_updated_event.rb +0 -63
- data/lib/stripe/events/v2_core_account_including_configuration_storer_updated_event.rb +0 -44
- data/lib/stripe/events/v2_core_account_including_defaults_updated_event.rb +0 -44
- data/lib/stripe/events/v2_core_account_including_identity_updated_event.rb +0 -44
- data/lib/stripe/events/v2_core_account_including_requirements_updated_event.rb +0 -44
- data/lib/stripe/events/v2_core_account_link_returned_event.rb +0 -42
- data/lib/stripe/events/v2_core_account_person_created_event.rb +0 -61
- data/lib/stripe/events/v2_core_account_person_deleted_event.rb +0 -61
- data/lib/stripe/events/v2_core_account_person_updated_event.rb +0 -61
- data/lib/stripe/events/v2_core_account_updated_event.rb +0 -44
- data/lib/stripe/events/v2_money_management_adjustment_created_event.rb +0 -44
- data/lib/stripe/events/v2_money_management_financial_account_created_event.rb +0 -44
- data/lib/stripe/events/v2_money_management_financial_account_updated_event.rb +0 -44
- data/lib/stripe/events/v2_money_management_financial_address_activated_event.rb +0 -44
- data/lib/stripe/events/v2_money_management_financial_address_failed_event.rb +0 -44
- data/lib/stripe/events/v2_money_management_inbound_transfer_available_event.rb +0 -61
- data/lib/stripe/events/v2_money_management_inbound_transfer_bank_debit_failed_event.rb +0 -44
- data/lib/stripe/events/v2_money_management_inbound_transfer_bank_debit_processing_event.rb +0 -44
- data/lib/stripe/events/v2_money_management_inbound_transfer_bank_debit_queued_event.rb +0 -44
- data/lib/stripe/events/v2_money_management_inbound_transfer_bank_debit_returned_event.rb +0 -44
- data/lib/stripe/events/v2_money_management_inbound_transfer_bank_debit_succeeded_event.rb +0 -44
- data/lib/stripe/events/v2_money_management_outbound_payment_canceled_event.rb +0 -44
- data/lib/stripe/events/v2_money_management_outbound_payment_created_event.rb +0 -44
- data/lib/stripe/events/v2_money_management_outbound_payment_failed_event.rb +0 -44
- data/lib/stripe/events/v2_money_management_outbound_payment_posted_event.rb +0 -44
- data/lib/stripe/events/v2_money_management_outbound_payment_returned_event.rb +0 -44
- data/lib/stripe/events/v2_money_management_outbound_payment_updated_event.rb +0 -44
- data/lib/stripe/events/v2_money_management_outbound_transfer_canceled_event.rb +0 -44
- data/lib/stripe/events/v2_money_management_outbound_transfer_created_event.rb +0 -44
- data/lib/stripe/events/v2_money_management_outbound_transfer_failed_event.rb +0 -44
- data/lib/stripe/events/v2_money_management_outbound_transfer_posted_event.rb +0 -44
- data/lib/stripe/events/v2_money_management_outbound_transfer_returned_event.rb +0 -44
- data/lib/stripe/events/v2_money_management_outbound_transfer_updated_event.rb +0 -44
- data/lib/stripe/events/v2_money_management_payout_method_updated_event.rb +0 -44
- data/lib/stripe/events/v2_money_management_received_credit_available_event.rb +0 -61
- data/lib/stripe/events/v2_money_management_received_credit_failed_event.rb +0 -44
- data/lib/stripe/events/v2_money_management_received_credit_returned_event.rb +0 -44
- data/lib/stripe/events/v2_money_management_received_credit_succeeded_event.rb +0 -44
- data/lib/stripe/events/v2_money_management_received_debit_canceled_event.rb +0 -44
- data/lib/stripe/events/v2_money_management_received_debit_failed_event.rb +0 -44
- data/lib/stripe/events/v2_money_management_received_debit_pending_event.rb +0 -44
- data/lib/stripe/events/v2_money_management_received_debit_succeeded_event.rb +0 -44
- data/lib/stripe/events/v2_money_management_received_debit_updated_event.rb +0 -44
- data/lib/stripe/events/v2_money_management_transaction_created_event.rb +0 -44
- data/lib/stripe/events/v2_money_management_transaction_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/params/account_notice_list_params.rb +0 -25
- data/lib/stripe/params/account_notice_retrieve_params.rb +0 -13
- data/lib/stripe/params/account_notice_update_params.rb +0 -36
- data/lib/stripe/params/billing/analytics/meter_usage_retrieve_params.rb +0 -65
- data/lib/stripe/params/capital/financing_offer_list_params.rb +0 -58
- data/lib/stripe/params/capital/financing_offer_mark_delivered_params.rb +0 -15
- data/lib/stripe/params/capital/financing_offer_retrieve_params.rb +0 -15
- data/lib/stripe/params/capital/financing_summary_retrieve_params.rb +0 -15
- data/lib/stripe/params/capital/financing_transaction_list_params.rb +0 -45
- data/lib/stripe/params/capital/financing_transaction_retrieve_params.rb +0 -15
- data/lib/stripe/params/external_account_create_params.rb +0 -134
- data/lib/stripe/params/external_account_delete_params.rb +0 -6
- data/lib/stripe/params/external_account_list_params.rb +0 -25
- data/lib/stripe/params/external_account_retrieve_params.rb +0 -13
- data/lib/stripe/params/external_account_update_params.rb +0 -91
- data/lib/stripe/params/financial_connections/account_inferred_balance_list_params.rb +0 -24
- data/lib/stripe/params/financial_connections/institution_list_params.rb +0 -24
- data/lib/stripe/params/financial_connections/institution_retrieve_params.rb +0 -15
- data/lib/stripe/params/fx_quote_create_params.rb +0 -73
- data/lib/stripe/params/fx_quote_list_params.rb +0 -22
- data/lib/stripe/params/fx_quote_retrieve_params.rb +0 -13
- data/lib/stripe/params/issuing/credit_underwriting_record_correct_params.rb +0 -163
- data/lib/stripe/params/issuing/credit_underwriting_record_create_from_application_params.rb +0 -50
- data/lib/stripe/params/issuing/credit_underwriting_record_create_from_proactive_review_params.rb +0 -128
- data/lib/stripe/params/issuing/credit_underwriting_record_list_params.rb +0 -24
- data/lib/stripe/params/issuing/credit_underwriting_record_report_decision_params.rb +0 -86
- data/lib/stripe/params/issuing/credit_underwriting_record_retrieve_params.rb +0 -15
- data/lib/stripe/params/issuing/dispute_settlement_detail_list_params.rb +0 -33
- data/lib/stripe/params/issuing/dispute_settlement_detail_retrieve_params.rb +0 -15
- data/lib/stripe/params/issuing/fraud_liability_debit_list_params.rb +0 -44
- data/lib/stripe/params/issuing/fraud_liability_debit_retrieve_params.rb +0 -15
- data/lib/stripe/params/mandate_list_params.rb +0 -39
- data/lib/stripe/params/margin_create_params.rb +0 -25
- data/lib/stripe/params/margin_list_params.rb +0 -25
- data/lib/stripe/params/margin_retrieve_params.rb +0 -13
- data/lib/stripe/params/margin_update_params.rb +0 -22
- data/lib/stripe/params/order_cancel_params.rb +0 -13
- data/lib/stripe/params/order_create_params.rb +0 -1124
- data/lib/stripe/params/order_line_item_list_params.rb +0 -22
- data/lib/stripe/params/order_list_line_items_params.rb +0 -22
- data/lib/stripe/params/order_list_params.rb +0 -25
- data/lib/stripe/params/order_reopen_params.rb +0 -13
- data/lib/stripe/params/order_retrieve_params.rb +0 -13
- data/lib/stripe/params/order_submit_params.rb +0 -16
- data/lib/stripe/params/order_update_params.rb +0 -1128
- data/lib/stripe/params/payment_attempt_record_list_params.rb +0 -19
- data/lib/stripe/params/payment_attempt_record_retrieve_params.rb +0 -13
- data/lib/stripe/params/payment_intent_amount_details_line_item_list_params.rb +0 -22
- data/lib/stripe/params/payment_intent_decrement_authorization_params.rb +0 -73
- data/lib/stripe/params/payment_intent_trigger_action_params.rb +0 -27
- data/lib/stripe/params/payment_record_report_payment_attempt_canceled_params.rb +0 -19
- data/lib/stripe/params/payment_record_report_payment_attempt_failed_params.rb +0 -19
- data/lib/stripe/params/payment_record_report_payment_attempt_guaranteed_params.rb +0 -19
- data/lib/stripe/params/payment_record_report_payment_attempt_informational_params.rb +0 -93
- data/lib/stripe/params/payment_record_report_payment_attempt_params.rb +0 -186
- data/lib/stripe/params/payment_record_report_payment_params.rb +0 -252
- data/lib/stripe/params/payment_record_retrieve_params.rb +0 -13
- data/lib/stripe/params/privacy/redaction_job_cancel_params.rb +0 -15
- data/lib/stripe/params/privacy/redaction_job_create_params.rb +0 -67
- data/lib/stripe/params/privacy/redaction_job_list_params.rb +0 -27
- data/lib/stripe/params/privacy/redaction_job_retrieve_params.rb +0 -15
- data/lib/stripe/params/privacy/redaction_job_run_params.rb +0 -15
- data/lib/stripe/params/privacy/redaction_job_update_params.rb +0 -18
- data/lib/stripe/params/privacy/redaction_job_validate_params.rb +0 -15
- data/lib/stripe/params/privacy/redaction_job_validation_error_list_params.rb +0 -24
- data/lib/stripe/params/quote_line_list_params.rb +0 -22
- data/lib/stripe/params/quote_list_lines_params.rb +0 -22
- data/lib/stripe/params/quote_list_preview_invoice_lines_params.rb +0 -22
- data/lib/stripe/params/quote_mark_draft_params.rb +0 -13
- data/lib/stripe/params/quote_mark_stale_params.rb +0 -16
- data/lib/stripe/params/quote_preview_invoice_list_params.rb +0 -22
- data/lib/stripe/params/quote_preview_subscription_schedule_list_params.rb +0 -22
- data/lib/stripe/params/quote_reestimate_params.rb +0 -13
- data/lib/stripe/params/subscription_attach_cadence_params.rb +0 -16
- data/lib/stripe/params/subscription_schedule_amend_params.rb +0 -570
- data/lib/stripe/params/tax/association_find_params.rb +0 -18
- data/lib/stripe/params/tax/form_list_params.rb +0 -51
- data/lib/stripe/params/tax/form_pdf_params.rb +0 -15
- data/lib/stripe/params/tax/form_retrieve_params.rb +0 -15
- data/lib/stripe/params/terminal/onboarding_link_create_params.rb +0 -43
- data/lib/stripe/params/terminal/reader_collected_data_retrieve_params.rb +0 -15
- data/lib/stripe/params/v2/billing/bill_setting_create_params.rb +0 -74
- data/lib/stripe/params/v2/billing/bill_setting_list_params.rb +0 -21
- data/lib/stripe/params/v2/billing/bill_setting_retrieve_params.rb +0 -10
- data/lib/stripe/params/v2/billing/bill_setting_update_params.rb +0 -80
- data/lib/stripe/params/v2/billing/bill_settings/version_list_params.rb +0 -19
- data/lib/stripe/params/v2/billing/bill_settings/version_retrieve_params.rb +0 -12
- data/lib/stripe/params/v2/billing/cadence_cancel_params.rb +0 -10
- data/lib/stripe/params/v2/billing/cadence_create_params.rb +0 -253
- data/lib/stripe/params/v2/billing/cadence_list_params.rb +0 -43
- data/lib/stripe/params/v2/billing/cadence_retrieve_params.rb +0 -17
- data/lib/stripe/params/v2/billing/cadence_update_params.rb +0 -75
- data/lib/stripe/params/v2/billing/collection_setting_create_params.rb +0 -223
- data/lib/stripe/params/v2/billing/collection_setting_list_params.rb +0 -21
- data/lib/stripe/params/v2/billing/collection_setting_retrieve_params.rb +0 -10
- data/lib/stripe/params/v2/billing/collection_setting_update_params.rb +0 -229
- data/lib/stripe/params/v2/billing/collection_settings/version_list_params.rb +0 -19
- data/lib/stripe/params/v2/billing/collection_settings/version_retrieve_params.rb +0 -12
- data/lib/stripe/params/v2/billing/profile_create_params.rb +0 -37
- data/lib/stripe/params/v2/billing/profile_list_params.rb +0 -40
- data/lib/stripe/params/v2/billing/profile_retrieve_params.rb +0 -10
- data/lib/stripe/params/v2/billing/profile_update_params.rb +0 -35
- data/lib/stripe/params/v2/core/account_close_params.rb +0 -17
- data/lib/stripe/params/v2/core/account_create_params.rb +0 -2217
- data/lib/stripe/params/v2/core/account_link_create_params.rb +0 -101
- data/lib/stripe/params/v2/core/account_list_params.rb +0 -20
- data/lib/stripe/params/v2/core/account_retrieve_params.rb +0 -17
- data/lib/stripe/params/v2/core/account_update_params.rb +0 -2245
- data/lib/stripe/params/v2/core/accounts/person_create_params.rb +0 -493
- data/lib/stripe/params/v2/core/accounts/person_delete_params.rb +0 -12
- data/lib/stripe/params/v2/core/accounts/person_list_params.rb +0 -19
- data/lib/stripe/params/v2/core/accounts/person_retrieve_params.rb +0 -12
- data/lib/stripe/params/v2/core/accounts/person_update_params.rb +0 -493
- data/lib/stripe/params/v2/core/vault/gb_bank_account_acknowledge_confirmation_of_payee_params.rb +0 -12
- data/lib/stripe/params/v2/core/vault/gb_bank_account_archive_params.rb +0 -12
- data/lib/stripe/params/v2/core/vault/gb_bank_account_create_params.rb +0 -50
- data/lib/stripe/params/v2/core/vault/gb_bank_account_initiate_confirmation_of_payee_params.rb +0 -22
- data/lib/stripe/params/v2/core/vault/gb_bank_account_retrieve_params.rb +0 -12
- data/lib/stripe/params/v2/core/vault/us_bank_account_archive_params.rb +0 -12
- data/lib/stripe/params/v2/core/vault/us_bank_account_create_params.rb +0 -33
- data/lib/stripe/params/v2/core/vault/us_bank_account_retrieve_params.rb +0 -12
- data/lib/stripe/params/v2/core/vault/us_bank_account_update_params.rb +0 -22
- data/lib/stripe/params/v2/money_management/adjustment_list_params.rb +0 -48
- data/lib/stripe/params/v2/money_management/adjustment_retrieve_params.rb +0 -10
- data/lib/stripe/params/v2/money_management/financial_account_close_params.rb +0 -28
- data/lib/stripe/params/v2/money_management/financial_account_create_params.rb +0 -34
- data/lib/stripe/params/v2/money_management/financial_account_list_params.rb +0 -20
- data/lib/stripe/params/v2/money_management/financial_account_retrieve_params.rb +0 -10
- data/lib/stripe/params/v2/money_management/financial_address_create_params.rb +0 -20
- data/lib/stripe/params/v2/money_management/financial_address_list_params.rb +0 -23
- data/lib/stripe/params/v2/money_management/financial_address_retrieve_params.rb +0 -17
- data/lib/stripe/params/v2/money_management/inbound_transfer_create_params.rb +0 -50
- data/lib/stripe/params/v2/money_management/inbound_transfer_list_params.rb +0 -44
- data/lib/stripe/params/v2/money_management/inbound_transfer_retrieve_params.rb +0 -10
- data/lib/stripe/params/v2/money_management/outbound_payment_cancel_params.rb +0 -10
- data/lib/stripe/params/v2/money_management/outbound_payment_create_params.rb +0 -98
- data/lib/stripe/params/v2/money_management/outbound_payment_list_params.rb +0 -52
- data/lib/stripe/params/v2/money_management/outbound_payment_quote_create_params.rb +0 -67
- data/lib/stripe/params/v2/money_management/outbound_payment_quote_retrieve_params.rb +0 -10
- data/lib/stripe/params/v2/money_management/outbound_payment_retrieve_params.rb +0 -10
- data/lib/stripe/params/v2/money_management/outbound_setup_intent_cancel_params.rb +0 -10
- data/lib/stripe/params/v2/money_management/outbound_setup_intent_create_params.rb +0 -85
- data/lib/stripe/params/v2/money_management/outbound_setup_intent_list_params.rb +0 -17
- data/lib/stripe/params/v2/money_management/outbound_setup_intent_retrieve_params.rb +0 -10
- data/lib/stripe/params/v2/money_management/outbound_setup_intent_update_params.rb +0 -80
- data/lib/stripe/params/v2/money_management/outbound_transfer_cancel_params.rb +0 -10
- data/lib/stripe/params/v2/money_management/outbound_transfer_create_params.rb +0 -77
- data/lib/stripe/params/v2/money_management/outbound_transfer_list_params.rb +0 -48
- data/lib/stripe/params/v2/money_management/outbound_transfer_retrieve_params.rb +0 -10
- data/lib/stripe/params/v2/money_management/payout_method_archive_params.rb +0 -10
- data/lib/stripe/params/v2/money_management/payout_method_list_params.rb +0 -31
- data/lib/stripe/params/v2/money_management/payout_method_retrieve_params.rb +0 -10
- data/lib/stripe/params/v2/money_management/payout_method_unarchive_params.rb +0 -10
- data/lib/stripe/params/v2/money_management/payout_methods_bank_account_spec_retrieve_params.rb +0 -17
- data/lib/stripe/params/v2/money_management/received_credit_list_params.rb +0 -44
- data/lib/stripe/params/v2/money_management/received_credit_retrieve_params.rb +0 -10
- data/lib/stripe/params/v2/money_management/received_debit_list_params.rb +0 -17
- data/lib/stripe/params/v2/money_management/received_debit_retrieve_params.rb +0 -10
- data/lib/stripe/params/v2/money_management/transaction_entry_list_params.rb +0 -43
- data/lib/stripe/params/v2/money_management/transaction_entry_retrieve_params.rb +0 -10
- data/lib/stripe/params/v2/money_management/transaction_list_params.rb +0 -47
- data/lib/stripe/params/v2/money_management/transaction_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/test_helpers/financial_address_credit_params.rb +0 -23
- data/lib/stripe/params/v2/test_helpers/financial_address_generate_microdeposits_params.rb +0 -10
- data/lib/stripe/resources/account_notice.rb +0 -94
- data/lib/stripe/resources/billing/analytics/meter_usage.rb +0 -33
- data/lib/stripe/resources/billing/analytics/meter_usage_row.rb +0 -38
- data/lib/stripe/resources/capital/financing_offer.rb +0 -142
- data/lib/stripe/resources/capital/financing_summary.rb +0 -79
- data/lib/stripe/resources/capital/financing_transaction.rb +0 -99
- data/lib/stripe/resources/financial_connections/account_inferred_balance.rb +0 -35
- data/lib/stripe/resources/financial_connections/institution.rb +0 -127
- data/lib/stripe/resources/fx_quote.rb +0 -147
- data/lib/stripe/resources/issuing/credit_underwriting_record.rb +0 -263
- data/lib/stripe/resources/issuing/dispute_settlement_detail.rb +0 -71
- data/lib/stripe/resources/issuing/fraud_liability_debit.rb +0 -51
- data/lib/stripe/resources/issuing/settlement.rb +0 -61
- data/lib/stripe/resources/margin.rb +0 -64
- data/lib/stripe/resources/order.rb +0 -987
- data/lib/stripe/resources/payment_attempt_record.rb +0 -2102
- data/lib/stripe/resources/payment_intent_amount_details_line_item.rb +0 -128
- data/lib/stripe/resources/payment_record.rb +0 -2208
- data/lib/stripe/resources/privacy/redaction_job.rb +0 -187
- data/lib/stripe/resources/privacy/redaction_job_validation_error.rb +0 -49
- data/lib/stripe/resources/quote_line.rb +0 -521
- data/lib/stripe/resources/quote_preview_invoice.rb +0 -1150
- data/lib/stripe/resources/quote_preview_subscription_schedule.rb +0 -732
- data/lib/stripe/resources/tax/association.rb +0 -86
- data/lib/stripe/resources/tax/form.rb +0 -264
- data/lib/stripe/resources/terminal/onboarding_link.rb +0 -71
- data/lib/stripe/resources/terminal/reader_collected_data.rb +0 -47
- data/lib/stripe/resources/v2/billing/bill_setting.rb +0 -102
- data/lib/stripe/resources/v2/billing/bill_setting_version.rb +0 -90
- data/lib/stripe/resources/v2/billing/cadence.rb +0 -609
- data/lib/stripe/resources/v2/billing/collection_setting.rb +0 -274
- data/lib/stripe/resources/v2/billing/collection_setting_version.rb +0 -262
- data/lib/stripe/resources/v2/billing/profile.rb +0 -46
- data/lib/stripe/resources/v2/core/account.rb +0 -3851
- data/lib/stripe/resources/v2/core/account_link.rb +0 -123
- data/lib/stripe/resources/v2/core/account_person.rb +0 -477
- data/lib/stripe/resources/v2/core/vault/gb_bank_account.rb +0 -114
- data/lib/stripe/resources/v2/core/vault/us_bank_account.rb +0 -47
- data/lib/stripe/resources/v2/financial_address_credit_simulation.rb +0 -28
- data/lib/stripe/resources/v2/financial_address_generated_microdeposits.rb +0 -30
- data/lib/stripe/resources/v2/money_management/adjustment.rb +0 -67
- data/lib/stripe/resources/v2/money_management/financial_account.rb +0 -140
- data/lib/stripe/resources/v2/money_management/financial_address.rb +0 -132
- data/lib/stripe/resources/v2/money_management/inbound_transfer.rb +0 -148
- data/lib/stripe/resources/v2/money_management/outbound_payment.rb +0 -217
- data/lib/stripe/resources/v2/money_management/outbound_payment_quote.rb +0 -144
- data/lib/stripe/resources/v2/money_management/outbound_setup_intent.rb +0 -69
- data/lib/stripe/resources/v2/money_management/outbound_transfer.rb +0 -196
- data/lib/stripe/resources/v2/money_management/payout_method.rb +0 -109
- data/lib/stripe/resources/v2/money_management/payout_methods_bank_account_spec.rb +0 -81
- data/lib/stripe/resources/v2/money_management/received_credit.rb +0 -228
- data/lib/stripe/resources/v2/money_management/received_debit.rb +0 -136
- data/lib/stripe/resources/v2/money_management/transaction.rb +0 -116
- data/lib/stripe/resources/v2/money_management/transaction_entry.rb +0 -105
- data/lib/stripe/resources/v2/payments/off_session_payment.rb +0 -242
- data/lib/stripe/services/account_notice_service.rb +0 -39
- data/lib/stripe/services/billing/analytics/meter_usage_service.rb +0 -21
- data/lib/stripe/services/billing/analytics_service.rb +0 -15
- data/lib/stripe/services/capital/financing_offer_service.rb +0 -42
- data/lib/stripe/services/capital/financing_summary_service.rb +0 -19
- data/lib/stripe/services/capital/financing_transaction_service.rb +0 -31
- data/lib/stripe/services/capital_service.rb +0 -15
- data/lib/stripe/services/external_account_service.rb +0 -68
- data/lib/stripe/services/financial_connections/account_inferred_balance_service.rb +0 -19
- data/lib/stripe/services/financial_connections/institution_service.rb +0 -30
- data/lib/stripe/services/fx_quote_service.rb +0 -27
- data/lib/stripe/services/issuing/credit_underwriting_record_service.rb +0 -74
- data/lib/stripe/services/issuing/dispute_settlement_detail_service.rb +0 -30
- data/lib/stripe/services/issuing/fraud_liability_debit_service.rb +0 -30
- data/lib/stripe/services/margin_service.rb +0 -50
- data/lib/stripe/services/order_line_item_service.rb +0 -17
- data/lib/stripe/services/order_service.rb +0 -78
- data/lib/stripe/services/payment_attempt_record_service.rb +0 -28
- data/lib/stripe/services/payment_intent_amount_details_line_item_service.rb +0 -17
- data/lib/stripe/services/payment_record_service.rb +0 -89
- data/lib/stripe/services/privacy/redaction_job_service.rb +0 -104
- data/lib/stripe/services/privacy/redaction_job_validation_error_service.rb +0 -19
- data/lib/stripe/services/privacy_service.rb +0 -13
- data/lib/stripe/services/quote_line_service.rb +0 -17
- data/lib/stripe/services/quote_preview_invoice_service.rb +0 -17
- data/lib/stripe/services/quote_preview_subscription_schedule_service.rb +0 -17
- data/lib/stripe/services/tax/association_service.rb +0 -19
- data/lib/stripe/services/tax/form_service.rb +0 -37
- data/lib/stripe/services/terminal/onboarding_link_service.rb +0 -19
- data/lib/stripe/services/terminal/reader_collected_data_service.rb +0 -19
- data/lib/stripe/services/v2/billing/bill_setting_service.rb +0 -61
- data/lib/stripe/services/v2/billing/bill_settings/version_service.rb +0 -34
- data/lib/stripe/services/v2/billing/cadence_service.rb +0 -65
- data/lib/stripe/services/v2/billing/collection_setting_service.rb +0 -61
- data/lib/stripe/services/v2/billing/collection_settings/version_service.rb +0 -34
- data/lib/stripe/services/v2/billing/profile_service.rb +0 -54
- data/lib/stripe/services/v2/core/account_link_service.rb +0 -21
- data/lib/stripe/services/v2/core/account_service.rb +0 -76
- data/lib/stripe/services/v2/core/accounts/person_service.rb +0 -67
- data/lib/stripe/services/v2/core/vault/gb_bank_account_service.rb +0 -74
- data/lib/stripe/services/v2/core/vault/us_bank_account_service.rb +0 -68
- data/lib/stripe/services/v2/core/vault_service.rb +0 -18
- data/lib/stripe/services/v2/money_management/adjustment_service.rb +0 -32
- data/lib/stripe/services/v2/money_management/financial_account_service.rb +0 -59
- data/lib/stripe/services/v2/money_management/financial_address_service.rb +0 -46
- data/lib/stripe/services/v2/money_management/inbound_transfer_service.rb +0 -45
- data/lib/stripe/services/v2/money_management/outbound_payment_quote_service.rb +0 -34
- data/lib/stripe/services/v2/money_management/outbound_payment_service.rb +0 -62
- data/lib/stripe/services/v2/money_management/outbound_setup_intent_service.rb +0 -73
- data/lib/stripe/services/v2/money_management/outbound_transfer_service.rb +0 -60
- data/lib/stripe/services/v2/money_management/payout_method_service.rb +0 -63
- data/lib/stripe/services/v2/money_management/payout_methods_bank_account_spec_service.rb +0 -23
- data/lib/stripe/services/v2/money_management/received_credit_service.rb +0 -32
- data/lib/stripe/services/v2/money_management/received_debit_service.rb +0 -32
- data/lib/stripe/services/v2/money_management/transaction_entry_service.rb +0 -32
- data/lib/stripe/services/v2/money_management/transaction_service.rb +0 -32
- data/lib/stripe/services/v2/money_management_service.rb +0 -31
- 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/test_helper_service.rb +0 -15
- data/lib/stripe/services/v2/test_helpers/financial_address_service.rb +0 -36
@@ -201,36 +201,15 @@ module Stripe
|
|
201
201
|
@field_remappings = {}
|
202
202
|
end
|
203
203
|
end
|
204
|
-
|
205
|
-
class TaxId < Stripe::StripeObject
|
206
|
-
# The type of the tax ID, one of `ad_nrt`, `ar_cuit`, `eu_vat`, `bo_tin`, `br_cnpj`, `br_cpf`, `cn_tin`, `co_nit`, `cr_tin`, `do_rcn`, `ec_ruc`, `eu_oss_vat`, `hr_oib`, `pe_ruc`, `ro_tin`, `rs_pib`, `sv_nit`, `uy_ruc`, `ve_rif`, `vn_tin`, `gb_vat`, `nz_gst`, `au_abn`, `au_arn`, `in_gst`, `no_vat`, `no_voec`, `za_vat`, `ch_vat`, `mx_rfc`, `sg_uen`, `ru_inn`, `ru_kpp`, `ca_bn`, `hk_br`, `es_cif`, `tw_vat`, `th_vat`, `jp_cn`, `jp_rn`, `jp_trn`, `li_uid`, `li_vat`, `my_itn`, `us_ein`, `kr_brn`, `ca_qst`, `ca_gst_hst`, `ca_pst_bc`, `ca_pst_mb`, `ca_pst_sk`, `my_sst`, `sg_gst`, `ae_trn`, `cl_tin`, `sa_vat`, `id_npwp`, `my_frp`, `il_vat`, `ge_vat`, `ua_vat`, `is_vat`, `bg_uic`, `hu_tin`, `si_tin`, `ke_pin`, `tr_tin`, `eg_tin`, `ph_tin`, `al_tin`, `bh_vat`, `kz_bin`, `ng_tin`, `om_vat`, `de_stn`, `ch_uid`, `tz_vat`, `uz_vat`, `uz_tin`, `md_vat`, `ma_vat`, `by_tin`, `ao_tin`, `bs_tin`, `bb_tin`, `cd_nif`, `mr_nif`, `me_pib`, `zw_tin`, `ba_tin`, `gn_nif`, `mk_vat`, `sr_fin`, `sn_ninea`, `am_tin`, `np_pan`, `tj_tin`, `ug_tin`, `zm_tin`, `kh_tin`, `aw_tin`, `az_tin`, `bd_bin`, `bj_ifu`, `et_tin`, `kg_tin`, `la_tin`, `cm_niu`, `cv_nif`, `bf_ifu`, or `unknown`
|
207
|
-
attr_reader :type
|
208
|
-
# The value of the tax ID.
|
209
|
-
attr_reader :value
|
210
|
-
|
211
|
-
def self.inner_class_types
|
212
|
-
@inner_class_types = {}
|
213
|
-
end
|
214
|
-
|
215
|
-
def self.field_remappings
|
216
|
-
@field_remappings = {}
|
217
|
-
end
|
218
|
-
end
|
219
204
|
# Customer’s business name for this Checkout Session
|
220
205
|
attr_reader :business_name
|
221
|
-
# Customer’s email for this Checkout Session
|
222
|
-
attr_reader :email
|
223
206
|
# Customer’s individual name for this Checkout Session
|
224
207
|
attr_reader :individual_name
|
225
|
-
# Customer’s phone number for this Checkout Session
|
226
|
-
attr_reader :phone
|
227
208
|
# Shipping information for this Checkout Session.
|
228
209
|
attr_reader :shipping_details
|
229
|
-
# Customer’s tax ids for this Checkout Session.
|
230
|
-
attr_reader :tax_ids
|
231
210
|
|
232
211
|
def self.inner_class_types
|
233
|
-
@inner_class_types = { shipping_details: ShippingDetails
|
212
|
+
@inner_class_types = { shipping_details: ShippingDetails }
|
234
213
|
end
|
235
214
|
|
236
215
|
def self.field_remappings
|
@@ -1031,8 +1010,6 @@ module Stripe
|
|
1031
1010
|
# Attribute for field installments
|
1032
1011
|
attr_reader :installments
|
1033
1012
|
# Request ability to [capture beyond the standard authorization validity window](/payments/extended-authorization) for this CheckoutSession.
|
1034
|
-
attr_reader :request_decremental_authorization
|
1035
|
-
# Request ability to [capture beyond the standard authorization validity window](/payments/extended-authorization) for this CheckoutSession.
|
1036
1013
|
attr_reader :request_extended_authorization
|
1037
1014
|
# Request ability to [increment the authorization](/payments/incremental-authorization) for this CheckoutSession.
|
1038
1015
|
attr_reader :request_incremental_authorization
|
@@ -1488,8 +1465,6 @@ module Stripe
|
|
1488
1465
|
#
|
1489
1466
|
# When processing card payments, Stripe uses `setup_future_usage` to help you comply with regional legislation and network rules, such as [SCA](/strong-customer-authentication).
|
1490
1467
|
attr_reader :setup_future_usage
|
1491
|
-
# The Stripe connected account IDs of the sellers on the platform for this transaction (optional). Only allowed when [separate charges and transfers](https://stripe.com/docs/connect/separate-charges-and-transfers) are used.
|
1492
|
-
attr_reader :subsellers
|
1493
1468
|
|
1494
1469
|
def self.inner_class_types
|
1495
1470
|
@inner_class_types = {}
|
@@ -1500,84 +1475,11 @@ module Stripe
|
|
1500
1475
|
end
|
1501
1476
|
end
|
1502
1477
|
|
1503
|
-
class Payto < Stripe::StripeObject
|
1504
|
-
class MandateOptions < Stripe::StripeObject
|
1505
|
-
# Amount that will be collected. It is required when `amount_type` is `fixed`.
|
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.
|
1508
|
-
attr_reader :amount_type
|
1509
|
-
# Date, in YYYY-MM-DD format, after which payments will not be collected. Defaults to no end date.
|
1510
|
-
attr_reader :end_date
|
1511
|
-
# The periodicity at which payments will be collected.
|
1512
|
-
attr_reader :payment_schedule
|
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
|
-
attr_reader :payments_per_period
|
1515
|
-
# The purpose for which payments are made. Defaults to retail.
|
1516
|
-
attr_reader :purpose
|
1517
|
-
# Date, in YYYY-MM-DD format, from which payments will be collected. Defaults to confirmation time.
|
1518
|
-
attr_reader :start_date
|
1519
|
-
|
1520
|
-
def self.inner_class_types
|
1521
|
-
@inner_class_types = {}
|
1522
|
-
end
|
1523
|
-
|
1524
|
-
def self.field_remappings
|
1525
|
-
@field_remappings = {}
|
1526
|
-
end
|
1527
|
-
end
|
1528
|
-
# Attribute for field mandate_options
|
1529
|
-
attr_reader :mandate_options
|
1530
|
-
# Indicates that you intend to make future payments with this PaymentIntent's payment method.
|
1531
|
-
#
|
1532
|
-
# If you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](/api/payment_methods/attach) the payment method to a Customer after the transaction completes.
|
1533
|
-
#
|
1534
|
-
# If the payment method is `card_present` and isn't a digital wallet, Stripe creates and attaches a [generated_card](/api/charges/object#charge_object-payment_method_details-card_present-generated_card) payment method representing the card to the Customer instead.
|
1535
|
-
#
|
1536
|
-
# When processing card payments, Stripe uses `setup_future_usage` to help you comply with regional legislation and network rules, such as [SCA](/strong-customer-authentication).
|
1537
|
-
attr_reader :setup_future_usage
|
1538
|
-
|
1539
|
-
def self.inner_class_types
|
1540
|
-
@inner_class_types = { mandate_options: MandateOptions }
|
1541
|
-
end
|
1542
|
-
|
1543
|
-
def self.field_remappings
|
1544
|
-
@field_remappings = {}
|
1545
|
-
end
|
1546
|
-
end
|
1547
|
-
|
1548
1478
|
class Pix < Stripe::StripeObject
|
1549
|
-
class MandateOptions < Stripe::StripeObject
|
1550
|
-
# Amount to be charged for future payments.
|
1551
|
-
attr_reader :amount
|
1552
|
-
# Determines if the amount includes the IOF tax.
|
1553
|
-
attr_reader :amount_includes_iof
|
1554
|
-
# Type of amount.
|
1555
|
-
attr_reader :amount_type
|
1556
|
-
# Three-letter [ISO currency code](https://www.iso.org/iso-4217-currency-codes.html), in lowercase.
|
1557
|
-
attr_reader :currency
|
1558
|
-
# Date when the mandate expires and no further payments will be charged, in `YYYY-MM-DD`.
|
1559
|
-
attr_reader :end_date
|
1560
|
-
# Schedule at which the future payments will be charged.
|
1561
|
-
attr_reader :payment_schedule
|
1562
|
-
# Subscription name displayed to buyers in their bank app.
|
1563
|
-
attr_reader :reference
|
1564
|
-
# Start date of the mandate, in `YYYY-MM-DD`.
|
1565
|
-
attr_reader :start_date
|
1566
|
-
|
1567
|
-
def self.inner_class_types
|
1568
|
-
@inner_class_types = {}
|
1569
|
-
end
|
1570
|
-
|
1571
|
-
def self.field_remappings
|
1572
|
-
@field_remappings = {}
|
1573
|
-
end
|
1574
|
-
end
|
1575
1479
|
# Determines if the amount includes the IOF tax.
|
1576
1480
|
attr_reader :amount_includes_iof
|
1577
1481
|
# The number of seconds after which Pix payment will expire.
|
1578
1482
|
attr_reader :expires_after_seconds
|
1579
|
-
# Attribute for field mandate_options
|
1580
|
-
attr_reader :mandate_options
|
1581
1483
|
# Indicates that you intend to make future payments with this PaymentIntent's payment method.
|
1582
1484
|
#
|
1583
1485
|
# If you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](/api/payment_methods/attach) the payment method to a Customer after the transaction completes.
|
@@ -1588,7 +1490,7 @@ module Stripe
|
|
1588
1490
|
attr_reader :setup_future_usage
|
1589
1491
|
|
1590
1492
|
def self.inner_class_types
|
1591
|
-
@inner_class_types = {
|
1493
|
+
@inner_class_types = {}
|
1592
1494
|
end
|
1593
1495
|
|
1594
1496
|
def self.field_remappings
|
@@ -1715,21 +1617,6 @@ module Stripe
|
|
1715
1617
|
class Filters < Stripe::StripeObject
|
1716
1618
|
# The account subcategories to use to filter for possible accounts to link. Valid subcategories are `checking` and `savings`.
|
1717
1619
|
attr_reader :account_subcategories
|
1718
|
-
# The institution to use to filter for possible accounts to link.
|
1719
|
-
attr_reader :institution
|
1720
|
-
|
1721
|
-
def self.inner_class_types
|
1722
|
-
@inner_class_types = {}
|
1723
|
-
end
|
1724
|
-
|
1725
|
-
def self.field_remappings
|
1726
|
-
@field_remappings = {}
|
1727
|
-
end
|
1728
|
-
end
|
1729
|
-
|
1730
|
-
class ManualEntry < Stripe::StripeObject
|
1731
|
-
# Settings for configuring manual entry of account details.
|
1732
|
-
attr_reader :mode
|
1733
1620
|
|
1734
1621
|
def self.inner_class_types
|
1735
1622
|
@inner_class_types = {}
|
@@ -1741,8 +1628,6 @@ module Stripe
|
|
1741
1628
|
end
|
1742
1629
|
# Attribute for field filters
|
1743
1630
|
attr_reader :filters
|
1744
|
-
# Attribute for field manual_entry
|
1745
|
-
attr_reader :manual_entry
|
1746
1631
|
# The list of permissions to request. The `payment_method` permission must be included.
|
1747
1632
|
attr_reader :permissions
|
1748
1633
|
# Data features requested to be retrieved upon account creation.
|
@@ -1751,7 +1636,7 @@ module Stripe
|
|
1751
1636
|
attr_reader :return_url
|
1752
1637
|
|
1753
1638
|
def self.inner_class_types
|
1754
|
-
@inner_class_types = { filters: Filters
|
1639
|
+
@inner_class_types = { filters: Filters }
|
1755
1640
|
end
|
1756
1641
|
|
1757
1642
|
def self.field_remappings
|
@@ -1845,8 +1730,6 @@ module Stripe
|
|
1845
1730
|
attr_reader :paynow
|
1846
1731
|
# Attribute for field paypal
|
1847
1732
|
attr_reader :paypal
|
1848
|
-
# Attribute for field payto
|
1849
|
-
attr_reader :payto
|
1850
1733
|
# Attribute for field pix
|
1851
1734
|
attr_reader :pix
|
1852
1735
|
# Attribute for field revolut_pay
|
@@ -1898,7 +1781,6 @@ module Stripe
|
|
1898
1781
|
payco: Payco,
|
1899
1782
|
paynow: Paynow,
|
1900
1783
|
paypal: Paypal,
|
1901
|
-
payto: Payto,
|
1902
1784
|
pix: Pix,
|
1903
1785
|
revolut_pay: RevolutPay,
|
1904
1786
|
samsung_pay: SamsungPay,
|
@@ -1916,36 +1798,6 @@ module Stripe
|
|
1916
1798
|
end
|
1917
1799
|
|
1918
1800
|
class Permissions < Stripe::StripeObject
|
1919
|
-
class Update < Stripe::StripeObject
|
1920
|
-
# Determines which entity is allowed to update the line items.
|
1921
|
-
#
|
1922
|
-
# Default is `client_only`. Stripe Checkout client will automatically update the line items. If set to `server_only`, only your server is allowed to update the line items.
|
1923
|
-
#
|
1924
|
-
# When set to `server_only`, you must add the onLineItemsChange event handler when initializing the Stripe Checkout client and manually update the line items from your server using the Stripe API.
|
1925
|
-
attr_reader :line_items
|
1926
|
-
# Determines which entity is allowed to update the shipping details.
|
1927
|
-
#
|
1928
|
-
# Default is `client_only`. Stripe Checkout client will automatically update the shipping details. If set to `server_only`, only your server is allowed to update the shipping details.
|
1929
|
-
#
|
1930
|
-
# When set to `server_only`, you must add the onShippingDetailsChange event handler when initializing the Stripe Checkout client and manually update the shipping details from your server using the Stripe API.
|
1931
|
-
attr_reader :shipping_details
|
1932
|
-
|
1933
|
-
def self.inner_class_types
|
1934
|
-
@inner_class_types = {}
|
1935
|
-
end
|
1936
|
-
|
1937
|
-
def self.field_remappings
|
1938
|
-
@field_remappings = {}
|
1939
|
-
end
|
1940
|
-
end
|
1941
|
-
# Permissions for updating the Checkout Session.
|
1942
|
-
attr_reader :update
|
1943
|
-
# Determines which entity is allowed to update the line items.
|
1944
|
-
#
|
1945
|
-
# Default is `client_only`. Stripe Checkout client will automatically update the line items. If set to `server_only`, only your server is allowed to update the line items.
|
1946
|
-
#
|
1947
|
-
# When set to `server_only`, you must add the onLineItemsChange event handler when initializing the Stripe Checkout client and manually update the line items from your server using the Stripe API.
|
1948
|
-
attr_reader :update_line_items
|
1949
1801
|
# Determines which entity is allowed to update the shipping details.
|
1950
1802
|
#
|
1951
1803
|
# Default is `client_only`. Stripe Checkout client will automatically update the shipping details. If set to `server_only`, only your server is allowed to update the shipping details.
|
@@ -1954,7 +1806,7 @@ module Stripe
|
|
1954
1806
|
attr_reader :update_shipping_details
|
1955
1807
|
|
1956
1808
|
def self.inner_class_types
|
1957
|
-
@inner_class_types = {
|
1809
|
+
@inner_class_types = {}
|
1958
1810
|
end
|
1959
1811
|
|
1960
1812
|
def self.field_remappings
|
@@ -2234,8 +2086,6 @@ module Stripe
|
|
2234
2086
|
# during the payment flow unless an existing customer was provided when
|
2235
2087
|
# the Session was created.
|
2236
2088
|
attr_reader :customer
|
2237
|
-
# The ID of the account for this Session.
|
2238
|
-
attr_reader :customer_account
|
2239
2089
|
# Configure whether a Checkout Session creates a Customer when the Checkout Session completes.
|
2240
2090
|
attr_reader :customer_creation
|
2241
2091
|
# The customer details including the customer's tax exempt status and the customer's tax IDs. Customer's address details are not present on Sessions in `setup` mode.
|
@@ -114,8 +114,6 @@ module Stripe
|
|
114
114
|
|
115
115
|
class PaymentMethodPreview < Stripe::StripeObject
|
116
116
|
class AcssDebit < Stripe::StripeObject
|
117
|
-
# Account number of the bank account.
|
118
|
-
attr_reader :account_number
|
119
117
|
# Name of the bank associated with the bank account.
|
120
118
|
attr_reader :bank_name
|
121
119
|
# Uniquely identifies this particular bank account. You can use this attribute to check whether two bank accounts are the same.
|
@@ -934,16 +932,6 @@ module Stripe
|
|
934
932
|
end
|
935
933
|
end
|
936
934
|
|
937
|
-
class Gopay < Stripe::StripeObject
|
938
|
-
def self.inner_class_types
|
939
|
-
@inner_class_types = {}
|
940
|
-
end
|
941
|
-
|
942
|
-
def self.field_remappings
|
943
|
-
@field_remappings = {}
|
944
|
-
end
|
945
|
-
end
|
946
|
-
|
947
935
|
class Grabpay < Stripe::StripeObject
|
948
936
|
def self.inner_class_types
|
949
937
|
@inner_class_types = {}
|
@@ -954,25 +942,6 @@ module Stripe
|
|
954
942
|
end
|
955
943
|
end
|
956
944
|
|
957
|
-
class IdBankTransfer < Stripe::StripeObject
|
958
|
-
# Attribute for field bank
|
959
|
-
attr_reader :bank
|
960
|
-
# Attribute for field bank_code
|
961
|
-
attr_reader :bank_code
|
962
|
-
# Attribute for field bank_name
|
963
|
-
attr_reader :bank_name
|
964
|
-
# Attribute for field display_name
|
965
|
-
attr_reader :display_name
|
966
|
-
|
967
|
-
def self.inner_class_types
|
968
|
-
@inner_class_types = {}
|
969
|
-
end
|
970
|
-
|
971
|
-
def self.field_remappings
|
972
|
-
@field_remappings = {}
|
973
|
-
end
|
974
|
-
end
|
975
|
-
|
976
945
|
class Ideal < Stripe::StripeObject
|
977
946
|
# 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`.
|
978
947
|
attr_reader :bank
|
@@ -1246,43 +1215,11 @@ module Stripe
|
|
1246
1215
|
class Paypal < Stripe::StripeObject
|
1247
1216
|
# Two-letter ISO code representing the buyer's country. Values are provided by PayPal directly (if supported) at the time of authorization or settlement. They cannot be set or mutated.
|
1248
1217
|
attr_reader :country
|
1249
|
-
# Uniquely identifies this particular PayPal account. You can use this attribute to check whether two PayPal accounts are the same.
|
1250
|
-
attr_reader :fingerprint
|
1251
1218
|
# Owner's email. Values are provided by PayPal directly
|
1252
1219
|
# (if supported) at the time of authorization or settlement. They cannot be set or mutated.
|
1253
1220
|
attr_reader :payer_email
|
1254
1221
|
# PayPal account PayerID. This identifier uniquely identifies the PayPal customer.
|
1255
1222
|
attr_reader :payer_id
|
1256
|
-
# Owner's verified email. Values are verified or provided by PayPal directly
|
1257
|
-
# (if supported) at the time of authorization or settlement. They cannot be set or mutated.
|
1258
|
-
attr_reader :verified_email
|
1259
|
-
|
1260
|
-
def self.inner_class_types
|
1261
|
-
@inner_class_types = {}
|
1262
|
-
end
|
1263
|
-
|
1264
|
-
def self.field_remappings
|
1265
|
-
@field_remappings = {}
|
1266
|
-
end
|
1267
|
-
end
|
1268
|
-
|
1269
|
-
class Paypay < Stripe::StripeObject
|
1270
|
-
def self.inner_class_types
|
1271
|
-
@inner_class_types = {}
|
1272
|
-
end
|
1273
|
-
|
1274
|
-
def self.field_remappings
|
1275
|
-
@field_remappings = {}
|
1276
|
-
end
|
1277
|
-
end
|
1278
|
-
|
1279
|
-
class Payto < Stripe::StripeObject
|
1280
|
-
# Bank-State-Branch number of the bank account.
|
1281
|
-
attr_reader :bsb_number
|
1282
|
-
# Last four digits of the bank account number.
|
1283
|
-
attr_reader :last4
|
1284
|
-
# The PayID alias for the bank account.
|
1285
|
-
attr_reader :pay_id
|
1286
1223
|
|
1287
1224
|
def self.inner_class_types
|
1288
1225
|
@inner_class_types = {}
|
@@ -1313,45 +1250,6 @@ module Stripe
|
|
1313
1250
|
end
|
1314
1251
|
end
|
1315
1252
|
|
1316
|
-
class Qris < Stripe::StripeObject
|
1317
|
-
def self.inner_class_types
|
1318
|
-
@inner_class_types = {}
|
1319
|
-
end
|
1320
|
-
|
1321
|
-
def self.field_remappings
|
1322
|
-
@field_remappings = {}
|
1323
|
-
end
|
1324
|
-
end
|
1325
|
-
|
1326
|
-
class Rechnung < Stripe::StripeObject
|
1327
|
-
class Dob < Stripe::StripeObject
|
1328
|
-
# The day of birth, between 1 and 31.
|
1329
|
-
attr_reader :day
|
1330
|
-
# The month of birth, between 1 and 12.
|
1331
|
-
attr_reader :month
|
1332
|
-
# The four-digit year of birth.
|
1333
|
-
attr_reader :year
|
1334
|
-
|
1335
|
-
def self.inner_class_types
|
1336
|
-
@inner_class_types = {}
|
1337
|
-
end
|
1338
|
-
|
1339
|
-
def self.field_remappings
|
1340
|
-
@field_remappings = {}
|
1341
|
-
end
|
1342
|
-
end
|
1343
|
-
# Attribute for field dob
|
1344
|
-
attr_reader :dob
|
1345
|
-
|
1346
|
-
def self.inner_class_types
|
1347
|
-
@inner_class_types = { dob: Dob }
|
1348
|
-
end
|
1349
|
-
|
1350
|
-
def self.field_remappings
|
1351
|
-
@field_remappings = {}
|
1352
|
-
end
|
1353
|
-
end
|
1354
|
-
|
1355
1253
|
class RevolutPay < Stripe::StripeObject
|
1356
1254
|
def self.inner_class_types
|
1357
1255
|
@inner_class_types = {}
|
@@ -1419,16 +1317,6 @@ module Stripe
|
|
1419
1317
|
end
|
1420
1318
|
end
|
1421
1319
|
|
1422
|
-
class Shopeepay < Stripe::StripeObject
|
1423
|
-
def self.inner_class_types
|
1424
|
-
@inner_class_types = {}
|
1425
|
-
end
|
1426
|
-
|
1427
|
-
def self.field_remappings
|
1428
|
-
@field_remappings = {}
|
1429
|
-
end
|
1430
|
-
end
|
1431
|
-
|
1432
1320
|
class Sofort < Stripe::StripeObject
|
1433
1321
|
# Two-letter ISO code representing the country the bank account is located in.
|
1434
1322
|
attr_reader :country
|
@@ -1442,21 +1330,6 @@ module Stripe
|
|
1442
1330
|
end
|
1443
1331
|
end
|
1444
1332
|
|
1445
|
-
class StripeBalance < Stripe::StripeObject
|
1446
|
-
# The connected account ID whose Stripe balance to use as the source of payment
|
1447
|
-
attr_reader :account
|
1448
|
-
# The [source_type](https://docs.stripe.com/api/balance/balance_object#balance_object-available-source_types) of the balance
|
1449
|
-
attr_reader :source_type
|
1450
|
-
|
1451
|
-
def self.inner_class_types
|
1452
|
-
@inner_class_types = {}
|
1453
|
-
end
|
1454
|
-
|
1455
|
-
def self.field_remappings
|
1456
|
-
@field_remappings = {}
|
1457
|
-
end
|
1458
|
-
end
|
1459
|
-
|
1460
1333
|
class Swish < Stripe::StripeObject
|
1461
1334
|
def self.inner_class_types
|
1462
1335
|
@inner_class_types = {}
|
@@ -1521,8 +1394,6 @@ module Stripe
|
|
1521
1394
|
end
|
1522
1395
|
# Account holder type: individual or company.
|
1523
1396
|
attr_reader :account_holder_type
|
1524
|
-
# Account number of the bank account.
|
1525
|
-
attr_reader :account_number
|
1526
1397
|
# Account type: checkings or savings. Defaults to checking if omitted.
|
1527
1398
|
attr_reader :account_type
|
1528
1399
|
# The name of the bank.
|
@@ -1606,8 +1477,6 @@ module Stripe
|
|
1606
1477
|
attr_reader :crypto
|
1607
1478
|
# The ID of the Customer to which this PaymentMethod is saved. This will not be set when the PaymentMethod has not been saved to a Customer.
|
1608
1479
|
attr_reader :customer
|
1609
|
-
# Attribute for field customer_account
|
1610
|
-
attr_reader :customer_account
|
1611
1480
|
# Attribute for field customer_balance
|
1612
1481
|
attr_reader :customer_balance
|
1613
1482
|
# Attribute for field eps
|
@@ -1616,12 +1485,8 @@ module Stripe
|
|
1616
1485
|
attr_reader :fpx
|
1617
1486
|
# Attribute for field giropay
|
1618
1487
|
attr_reader :giropay
|
1619
|
-
# Attribute for field gopay
|
1620
|
-
attr_reader :gopay
|
1621
1488
|
# Attribute for field grabpay
|
1622
1489
|
attr_reader :grabpay
|
1623
|
-
# Attribute for field id_bank_transfer
|
1624
|
-
attr_reader :id_bank_transfer
|
1625
1490
|
# Attribute for field ideal
|
1626
1491
|
attr_reader :ideal
|
1627
1492
|
# Attribute for field interac_present
|
@@ -1658,18 +1523,10 @@ module Stripe
|
|
1658
1523
|
attr_reader :paynow
|
1659
1524
|
# Attribute for field paypal
|
1660
1525
|
attr_reader :paypal
|
1661
|
-
# Attribute for field paypay
|
1662
|
-
attr_reader :paypay
|
1663
|
-
# Attribute for field payto
|
1664
|
-
attr_reader :payto
|
1665
1526
|
# Attribute for field pix
|
1666
1527
|
attr_reader :pix
|
1667
1528
|
# Attribute for field promptpay
|
1668
1529
|
attr_reader :promptpay
|
1669
|
-
# Attribute for field qris
|
1670
|
-
attr_reader :qris
|
1671
|
-
# Attribute for field rechnung
|
1672
|
-
attr_reader :rechnung
|
1673
1530
|
# Attribute for field revolut_pay
|
1674
1531
|
attr_reader :revolut_pay
|
1675
1532
|
# Attribute for field samsung_pay
|
@@ -1678,12 +1535,8 @@ module Stripe
|
|
1678
1535
|
attr_reader :satispay
|
1679
1536
|
# Attribute for field sepa_debit
|
1680
1537
|
attr_reader :sepa_debit
|
1681
|
-
# Attribute for field shopeepay
|
1682
|
-
attr_reader :shopeepay
|
1683
1538
|
# Attribute for field sofort
|
1684
1539
|
attr_reader :sofort
|
1685
|
-
# Attribute for field stripe_balance
|
1686
|
-
attr_reader :stripe_balance
|
1687
1540
|
# Attribute for field swish
|
1688
1541
|
attr_reader :swish
|
1689
1542
|
# Attribute for field twint
|
@@ -1720,9 +1573,7 @@ module Stripe
|
|
1720
1573
|
eps: Eps,
|
1721
1574
|
fpx: Fpx,
|
1722
1575
|
giropay: Giropay,
|
1723
|
-
gopay: Gopay,
|
1724
1576
|
grabpay: Grabpay,
|
1725
|
-
id_bank_transfer: IdBankTransfer,
|
1726
1577
|
ideal: Ideal,
|
1727
1578
|
interac_present: InteracPresent,
|
1728
1579
|
kakao_pay: KakaoPay,
|
@@ -1741,19 +1592,13 @@ module Stripe
|
|
1741
1592
|
payco: Payco,
|
1742
1593
|
paynow: Paynow,
|
1743
1594
|
paypal: Paypal,
|
1744
|
-
paypay: Paypay,
|
1745
|
-
payto: Payto,
|
1746
1595
|
pix: Pix,
|
1747
1596
|
promptpay: Promptpay,
|
1748
|
-
qris: Qris,
|
1749
|
-
rechnung: Rechnung,
|
1750
1597
|
revolut_pay: RevolutPay,
|
1751
1598
|
samsung_pay: SamsungPay,
|
1752
1599
|
satispay: Satispay,
|
1753
1600
|
sepa_debit: SepaDebit,
|
1754
|
-
shopeepay: Shopeepay,
|
1755
1601
|
sofort: Sofort,
|
1756
|
-
stripe_balance: StripeBalance,
|
1757
1602
|
swish: Swish,
|
1758
1603
|
twint: Twint,
|
1759
1604
|
us_bank_account: UsBankAccount,
|
@@ -41,23 +41,6 @@ module Stripe
|
|
41
41
|
@field_remappings = {}
|
42
42
|
end
|
43
43
|
end
|
44
|
-
|
45
|
-
class Script < Stripe::StripeObject
|
46
|
-
# The configuration values of the script. The keys and values are specific to the script implementation.
|
47
|
-
attr_reader :configuration
|
48
|
-
# The name of the script used to calculate the discount.
|
49
|
-
attr_reader :display_name
|
50
|
-
# The script implementation ID for this coupon.
|
51
|
-
attr_reader :id
|
52
|
-
|
53
|
-
def self.inner_class_types
|
54
|
-
@inner_class_types = {}
|
55
|
-
end
|
56
|
-
|
57
|
-
def self.field_remappings
|
58
|
-
@field_remappings = {}
|
59
|
-
end
|
60
|
-
end
|
61
44
|
# Amount (in the `currency` specified) that will be taken off the subtotal of any invoices for this customer.
|
62
45
|
attr_reader :amount_off
|
63
46
|
# Attribute for field applies_to
|
@@ -88,12 +71,8 @@ module Stripe
|
|
88
71
|
attr_reader :percent_off
|
89
72
|
# Date after which the coupon can no longer be redeemed.
|
90
73
|
attr_reader :redeem_by
|
91
|
-
# Configuration of the [script](https://docs.stripe.com/billing/subscriptions/script-coupons) used to calculate the discount.
|
92
|
-
attr_reader :script
|
93
74
|
# Number of times this coupon has been applied to a customer.
|
94
75
|
attr_reader :times_redeemed
|
95
|
-
# One of `amount_off`, `percent_off`, or `script`. Describes the type of coupon logic used to calculate the discount.
|
96
|
-
attr_reader :type
|
97
76
|
# Taking account of the above properties, whether this coupon can still be applied to a customer.
|
98
77
|
attr_reader :valid
|
99
78
|
# Always true for a deleted object
|
@@ -142,11 +121,7 @@ module Stripe
|
|
142
121
|
end
|
143
122
|
|
144
123
|
def self.inner_class_types
|
145
|
-
@inner_class_types = {
|
146
|
-
applies_to: AppliesTo,
|
147
|
-
currency_options: CurrencyOptions,
|
148
|
-
script: Script,
|
149
|
-
}
|
124
|
+
@inner_class_types = { applies_to: AppliesTo, currency_options: CurrencyOptions }
|
150
125
|
end
|
151
126
|
|
152
127
|
def self.field_remappings
|
@@ -149,8 +149,6 @@ module Stripe
|
|
149
149
|
attr_reader :currency
|
150
150
|
# ID of the customer.
|
151
151
|
attr_reader :customer
|
152
|
-
# ID of the account.
|
153
|
-
attr_reader :customer_account
|
154
152
|
# Customer balance transaction related to this credit note.
|
155
153
|
attr_reader :customer_balance_transaction
|
156
154
|
# The integer amount in cents (or local equivalent) representing the total amount of discount that was credited.
|
@@ -43,21 +43,6 @@ module Stripe
|
|
43
43
|
end
|
44
44
|
end
|
45
45
|
|
46
|
-
class TaxCalculationReference < Stripe::StripeObject
|
47
|
-
# The calculation identifier for tax calculation response.
|
48
|
-
attr_reader :calculation_id
|
49
|
-
# The calculation identifier for tax calculation response line item.
|
50
|
-
attr_reader :calculation_item_id
|
51
|
-
|
52
|
-
def self.inner_class_types
|
53
|
-
@inner_class_types = {}
|
54
|
-
end
|
55
|
-
|
56
|
-
def self.field_remappings
|
57
|
-
@field_remappings = {}
|
58
|
-
end
|
59
|
-
end
|
60
|
-
|
61
46
|
class Tax < Stripe::StripeObject
|
62
47
|
class TaxRateDetails < Stripe::StripeObject
|
63
48
|
# Attribute for field tax_rate
|
@@ -112,8 +97,6 @@ module Stripe
|
|
112
97
|
attr_reader :pretax_credit_amounts
|
113
98
|
# The number of units of product being credited.
|
114
99
|
attr_reader :quantity
|
115
|
-
# The tax calculation identifiers of the line item.
|
116
|
-
attr_reader :tax_calculation_reference
|
117
100
|
# The tax rates which apply to the line item.
|
118
101
|
attr_reader :tax_rates
|
119
102
|
# The tax information of the line item.
|
@@ -129,7 +112,6 @@ module Stripe
|
|
129
112
|
@inner_class_types = {
|
130
113
|
discount_amounts: DiscountAmount,
|
131
114
|
pretax_credit_amounts: PretaxCreditAmount,
|
132
|
-
tax_calculation_reference: TaxCalculationReference,
|
133
115
|
taxes: Tax,
|
134
116
|
}
|
135
117
|
end
|
@@ -180,8 +180,6 @@ module Stripe
|
|
180
180
|
attr_reader :created
|
181
181
|
# Three-letter [ISO code for the currency](https://stripe.com/docs/currencies) the customer can be charged in for recurring billing purposes.
|
182
182
|
attr_reader :currency
|
183
|
-
# Attribute for field customer_account
|
184
|
-
attr_reader :customer_account
|
185
183
|
# ID of the default payment source for the customer.
|
186
184
|
#
|
187
185
|
# If you use payment methods created through the PaymentMethods API, see the [invoice_settings.default_payment_method](https://stripe.com/docs/api/customers/object#customer_object-invoice_settings-default_payment_method) field instead.
|
@@ -28,8 +28,6 @@ module Stripe
|
|
28
28
|
attr_reader :currency
|
29
29
|
# The ID of the customer the transaction belongs to.
|
30
30
|
attr_reader :customer
|
31
|
-
# Attribute for field customer_account
|
32
|
-
attr_reader :customer_account
|
33
31
|
# An arbitrary string attached to the object. Often useful for displaying to users.
|
34
32
|
attr_reader :description
|
35
33
|
# The customer's `balance` after the transaction was applied. A negative value decreases the amount due on the customer's next invoice. A positive value increases the amount due on the customer's next invoice.
|
@@ -193,8 +193,6 @@ module Stripe
|
|
193
193
|
attr_reader :currency
|
194
194
|
# The customer whose available cash balance changed as a result of this transaction.
|
195
195
|
attr_reader :customer
|
196
|
-
# Attribute for field customer_account
|
197
|
-
attr_reader :customer_account
|
198
196
|
# The total available cash balance for the specified currency after this transaction was applied. Represented in the [smallest currency unit](https://stripe.com/docs/currencies#zero-decimal).
|
199
197
|
attr_reader :ending_balance
|
200
198
|
# Attribute for field funded
|
@@ -116,8 +116,6 @@ module Stripe
|
|
116
116
|
attr_reader :created
|
117
117
|
# The Customer the Customer Session was created for.
|
118
118
|
attr_reader :customer
|
119
|
-
# The Account that the Customer Session was created for.
|
120
|
-
attr_reader :customer_account
|
121
119
|
# The timestamp at which this Customer Session will expire.
|
122
120
|
attr_reader :expires_at
|
123
121
|
# Has the value `true` if the object exists in live mode or the value `false` if the object exists in test mode.
|
@@ -30,8 +30,6 @@ module Stripe
|
|
30
30
|
attr_reader :checkout_session
|
31
31
|
# The ID of the customer associated with this discount.
|
32
32
|
attr_reader :customer
|
33
|
-
# The ID of the account associated with this discount.
|
34
|
-
attr_reader :customer_account
|
35
33
|
# If the coupon has a duration of `repeating`, the date that this discount will end. If the coupon has a duration of `once` or `forever`, this attribute will be null.
|
36
34
|
attr_reader :end
|
37
35
|
# The ID of the discount object. Discounts cannot be fetched by ID. Use `expand[]=discounts` in API calls to expand discount IDs in an array.
|