stripe 15.6.0.pre.beta.1 → 16.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 +5 -34
- data/lib/stripe/api_resource.rb +3 -0
- data/lib/stripe/api_version.rb +2 -1
- data/lib/stripe/errors.rb +0 -60
- data/lib/stripe/event_types.rb +20 -108
- data/lib/stripe/events/unknown_event_notification.rb +19 -0
- data/lib/stripe/events/v1_billing_meter_error_report_triggered_event.rb +115 -15
- data/lib/stripe/events/v1_billing_meter_no_meter_found_event.rb +93 -6
- data/lib/stripe/events/v2_core_event_destination_ping_event.rb +35 -12
- data/lib/stripe/object_types.rb +2 -54
- data/lib/stripe/params/account_capability_list_params.rb +13 -0
- data/lib/stripe/params/account_capability_retrieve_params.rb +13 -0
- data/lib/stripe/params/account_capability_update_params.rb +18 -0
- data/lib/stripe/params/account_create_params.rb +2083 -0
- data/lib/stripe/params/account_delete_params.rb +6 -0
- data/lib/stripe/params/account_external_account_create_params.rb +134 -0
- data/lib/stripe/params/account_external_account_delete_params.rb +6 -0
- data/lib/stripe/params/account_external_account_list_params.rb +25 -0
- data/lib/stripe/params/account_external_account_retrieve_params.rb +13 -0
- data/lib/stripe/params/account_external_account_update_params.rb +91 -0
- data/lib/stripe/params/account_link_create_params.rb +52 -0
- data/lib/stripe/params/account_list_params.rb +42 -0
- data/lib/stripe/params/account_login_link_create_params.rb +13 -0
- data/lib/stripe/params/account_person_create_params.rb +435 -0
- data/lib/stripe/params/account_person_delete_params.rb +6 -0
- data/lib/stripe/params/account_person_list_params.rb +61 -0
- data/lib/stripe/params/account_person_retrieve_params.rb +13 -0
- data/lib/stripe/params/account_person_update_params.rb +435 -0
- data/lib/stripe/params/account_persons_params.rb +61 -0
- data/lib/stripe/params/account_reject_params.rb +16 -0
- data/lib/stripe/params/account_retrieve_current_params.rb +13 -0
- data/lib/stripe/params/account_retrieve_params.rb +13 -0
- data/lib/stripe/params/account_session_create_params.rb +598 -0
- data/lib/stripe/params/account_update_params.rb +2030 -0
- data/lib/stripe/params/apple_pay_domain_create_params.rb +16 -0
- data/lib/stripe/params/apple_pay_domain_delete_params.rb +6 -0
- data/lib/stripe/params/apple_pay_domain_list_params.rb +31 -0
- data/lib/stripe/params/apple_pay_domain_retrieve_params.rb +13 -0
- data/lib/stripe/params/application_fee_list_params.rb +52 -0
- data/lib/stripe/params/application_fee_refund_create_params.rb +19 -0
- data/lib/stripe/params/application_fee_refund_list_params.rb +22 -0
- data/lib/stripe/params/application_fee_refund_retrieve_params.rb +13 -0
- data/lib/stripe/params/application_fee_refund_update_params.rb +16 -0
- data/lib/stripe/params/application_fee_retrieve_params.rb +13 -0
- data/lib/stripe/params/apps/secret_create_params.rb +38 -0
- data/lib/stripe/params/apps/secret_delete_where_params.rb +32 -0
- data/lib/stripe/params/apps/secret_find_params.rb +32 -0
- data/lib/stripe/{services/quote_line_service.rb → params/apps/secret_list_params.rb} +17 -14
- data/lib/stripe/params/balance_retrieve_params.rb +13 -0
- data/lib/stripe/params/balance_settings_retrieve_params.rb +13 -0
- data/lib/stripe/params/balance_settings_update_params.rb +67 -0
- data/lib/stripe/params/balance_transaction_list_params.rb +64 -0
- data/lib/stripe/params/balance_transaction_retrieve_params.rb +13 -0
- data/lib/stripe/params/billing/alert_activate_params.rb +15 -0
- data/lib/stripe/params/billing/alert_archive_params.rb +15 -0
- data/lib/stripe/params/billing/alert_create_params.rb +52 -0
- data/lib/stripe/params/billing/alert_deactivate_params.rb +15 -0
- data/lib/stripe/params/billing/alert_list_params.rb +37 -0
- data/lib/stripe/params/billing/alert_retrieve_params.rb +15 -0
- data/lib/stripe/params/billing/credit_balance_summary_retrieve_params.rb +54 -0
- data/lib/stripe/params/billing/credit_balance_transaction_list_params.rb +37 -0
- data/lib/stripe/params/billing/credit_balance_transaction_retrieve_params.rb +15 -0
- data/lib/stripe/params/billing/credit_grant_create_params.rb +103 -0
- data/lib/stripe/params/billing/credit_grant_expire_params.rb +15 -0
- data/lib/stripe/params/billing/credit_grant_list_params.rb +33 -0
- data/lib/stripe/params/billing/credit_grant_retrieve_params.rb +15 -0
- data/lib/stripe/params/billing/credit_grant_update_params.rb +21 -0
- data/lib/stripe/params/billing/credit_grant_void_grant_params.rb +15 -0
- data/lib/stripe/params/billing/meter_create_params.rb +70 -0
- data/lib/stripe/params/billing/meter_deactivate_params.rb +15 -0
- data/lib/stripe/params/billing/meter_event_adjustment_create_params.rb +32 -0
- data/lib/stripe/params/billing/meter_event_create_params.rb +27 -0
- data/lib/stripe/params/billing/meter_event_summary_list_params.rb +45 -0
- data/lib/stripe/params/billing/meter_list_params.rb +27 -0
- data/lib/stripe/params/billing/meter_reactivate_params.rb +15 -0
- data/lib/stripe/params/billing/meter_retrieve_params.rb +15 -0
- data/lib/stripe/params/billing/meter_update_params.rb +18 -0
- data/lib/stripe/params/billing_portal/configuration_create_params.rb +225 -0
- data/lib/stripe/params/billing_portal/configuration_list_params.rb +37 -0
- data/lib/stripe/params/billing_portal/configuration_retrieve_params.rb +15 -0
- data/lib/stripe/params/billing_portal/configuration_update_params.rb +231 -0
- data/lib/stripe/params/billing_portal/session_create_params.rb +179 -0
- data/lib/stripe/params/charge_capture_params.rb +57 -0
- data/lib/stripe/params/charge_create_params.rb +172 -0
- data/lib/stripe/params/charge_list_params.rb +60 -0
- data/lib/stripe/params/charge_retrieve_params.rb +13 -0
- data/lib/stripe/params/charge_search_params.rb +22 -0
- data/lib/stripe/params/charge_update_params.rb +102 -0
- data/lib/stripe/params/checkout/session_create_params.rb +2445 -0
- data/lib/stripe/params/checkout/session_expire_params.rb +15 -0
- data/lib/stripe/{services/quote_preview_subscription_schedule_service.rb → params/checkout/session_line_item_list_params.rb} +2 -13
- data/lib/stripe/{services/order_line_item_service.rb → params/checkout/session_list_line_items_params.rb} +2 -13
- data/lib/stripe/params/checkout/session_list_params.rb +83 -0
- data/lib/stripe/params/checkout/session_retrieve_params.rb +15 -0
- data/lib/stripe/params/checkout/session_update_params.rb +179 -0
- data/lib/stripe/params/climate/order_cancel_params.rb +15 -0
- data/lib/stripe/params/climate/order_create_params.rb +49 -0
- data/lib/stripe/params/climate/order_list_params.rb +24 -0
- data/lib/stripe/params/climate/order_retrieve_params.rb +15 -0
- data/lib/stripe/params/climate/order_update_params.rb +29 -0
- data/lib/stripe/params/climate/product_list_params.rb +24 -0
- data/lib/stripe/params/climate/product_retrieve_params.rb +15 -0
- data/lib/stripe/params/climate/supplier_list_params.rb +24 -0
- data/lib/stripe/params/climate/supplier_retrieve_params.rb +15 -0
- data/lib/stripe/params/confirmation_token_create_params.rb +650 -0
- data/lib/stripe/params/confirmation_token_retrieve_params.rb +13 -0
- data/lib/stripe/params/country_spec_list_params.rb +22 -0
- data/lib/stripe/params/country_spec_retrieve_params.rb +13 -0
- data/lib/stripe/params/coupon_create_params.rb +80 -0
- data/lib/stripe/params/coupon_delete_params.rb +6 -0
- data/lib/stripe/params/coupon_list_params.rb +42 -0
- data/lib/stripe/params/coupon_retrieve_params.rb +13 -0
- data/lib/stripe/params/coupon_update_params.rb +30 -0
- data/lib/stripe/params/credit_note_create_params.rb +144 -0
- data/lib/stripe/params/credit_note_line_item_list_params.rb +22 -0
- data/lib/stripe/params/credit_note_list_params.rb +56 -0
- data/lib/stripe/params/credit_note_list_preview_line_items_params.rb +156 -0
- data/lib/stripe/params/credit_note_preview_lines_list_params.rb +156 -0
- data/lib/stripe/params/credit_note_preview_params.rb +144 -0
- data/lib/stripe/params/credit_note_retrieve_params.rb +13 -0
- data/lib/stripe/params/credit_note_update_params.rb +19 -0
- data/lib/stripe/params/credit_note_void_credit_note_params.rb +13 -0
- data/lib/stripe/params/customer_balance_transaction_create_params.rb +25 -0
- data/lib/stripe/params/customer_balance_transaction_list_params.rb +22 -0
- data/lib/stripe/params/customer_balance_transaction_retrieve_params.rb +13 -0
- data/lib/stripe/params/customer_balance_transaction_update_params.rb +19 -0
- data/lib/stripe/params/customer_cash_balance_retrieve_params.rb +13 -0
- data/lib/stripe/params/customer_cash_balance_transaction_list_params.rb +22 -0
- data/lib/stripe/params/customer_cash_balance_transaction_retrieve_params.rb +13 -0
- data/lib/stripe/params/customer_cash_balance_update_params.rb +24 -0
- data/lib/stripe/params/customer_create_funding_instructions_params.rb +46 -0
- data/lib/stripe/params/customer_create_params.rb +259 -0
- data/lib/stripe/params/customer_delete_discount_params.rb +6 -0
- data/lib/stripe/params/customer_delete_params.rb +6 -0
- data/lib/stripe/params/customer_fund_cash_balance_params.rb +22 -0
- data/lib/stripe/params/customer_funding_instructions_create_params.rb +46 -0
- data/lib/stripe/params/customer_list_params.rb +56 -0
- data/lib/stripe/params/customer_list_payment_methods_params.rb +35 -0
- data/lib/stripe/params/customer_payment_method_list_params.rb +35 -0
- data/lib/stripe/params/customer_payment_method_retrieve_params.rb +13 -0
- data/lib/stripe/params/customer_payment_source_create_params.rb +22 -0
- data/lib/stripe/params/customer_payment_source_delete_params.rb +13 -0
- data/lib/stripe/params/customer_payment_source_list_params.rb +25 -0
- data/lib/stripe/params/customer_payment_source_retrieve_params.rb +13 -0
- data/lib/stripe/params/customer_payment_source_update_params.rb +114 -0
- data/lib/stripe/params/customer_payment_source_verify_params.rb +16 -0
- data/lib/stripe/params/customer_retrieve_params.rb +13 -0
- data/lib/stripe/params/customer_retrieve_payment_method_params.rb +13 -0
- data/lib/stripe/params/customer_search_params.rb +22 -0
- data/lib/stripe/params/customer_session_create_params.rb +100 -0
- data/lib/stripe/params/customer_tax_id_create_params.rb +19 -0
- data/lib/stripe/params/customer_tax_id_delete_params.rb +6 -0
- data/lib/stripe/params/customer_tax_id_list_params.rb +22 -0
- data/lib/stripe/params/customer_tax_id_retrieve_params.rb +13 -0
- data/lib/stripe/params/customer_update_params.rb +243 -0
- data/lib/stripe/params/dispute_close_params.rb +13 -0
- data/lib/stripe/params/dispute_list_params.rb +56 -0
- data/lib/stripe/params/dispute_retrieve_params.rb +13 -0
- data/lib/stripe/params/dispute_update_params.rb +308 -0
- data/lib/stripe/params/entitlements/active_entitlement_list_params.rb +33 -0
- data/lib/stripe/params/entitlements/active_entitlement_retrieve_params.rb +15 -0
- data/lib/stripe/params/entitlements/feature_create_params.rb +24 -0
- data/lib/stripe/params/entitlements/feature_list_params.rb +37 -0
- data/lib/stripe/params/entitlements/feature_retrieve_params.rb +15 -0
- data/lib/stripe/params/entitlements/feature_update_params.rb +24 -0
- data/lib/stripe/params/ephemeral_key_create_params.rb +31 -0
- data/lib/stripe/params/ephemeral_key_delete_params.rb +13 -0
- data/lib/stripe/params/event_list_params.rb +60 -0
- data/lib/stripe/params/event_retrieve_params.rb +13 -0
- data/lib/stripe/params/exchange_rate_list_params.rb +22 -0
- data/lib/stripe/params/exchange_rate_retrieve_params.rb +13 -0
- data/lib/stripe/params/file_create_params.rb +36 -0
- data/lib/stripe/params/file_link_create_params.rb +22 -0
- data/lib/stripe/params/file_link_list_params.rb +56 -0
- data/lib/stripe/params/file_link_retrieve_params.rb +13 -0
- data/lib/stripe/params/file_link_update_params.rb +19 -0
- data/lib/stripe/params/file_list_params.rb +52 -0
- data/lib/stripe/params/file_retrieve_params.rb +13 -0
- data/lib/stripe/params/financial_connections/account_disconnect_params.rb +15 -0
- data/lib/stripe/params/financial_connections/account_list_owners_params.rb +33 -0
- data/lib/stripe/params/financial_connections/account_list_params.rb +48 -0
- data/lib/stripe/params/financial_connections/account_owner_list_params.rb +33 -0
- data/lib/stripe/params/financial_connections/account_refresh_account_params.rb +18 -0
- data/lib/stripe/params/financial_connections/account_refresh_params.rb +18 -0
- data/lib/stripe/params/financial_connections/account_retrieve_params.rb +15 -0
- data/lib/stripe/params/financial_connections/account_subscribe_params.rb +18 -0
- data/lib/stripe/params/financial_connections/account_unsubscribe_params.rb +18 -0
- data/lib/stripe/params/financial_connections/session_create_params.rb +65 -0
- data/lib/stripe/params/financial_connections/session_retrieve_params.rb +15 -0
- data/lib/stripe/params/financial_connections/transaction_list_params.rb +67 -0
- data/lib/stripe/params/financial_connections/transaction_retrieve_params.rb +15 -0
- data/lib/stripe/params/forwarding/request_create_params.rb +59 -0
- data/lib/stripe/params/forwarding/request_list_params.rb +44 -0
- data/lib/stripe/params/forwarding/request_retrieve_params.rb +15 -0
- data/lib/stripe/params/identity/verification_report_list_params.rb +62 -0
- data/lib/stripe/params/identity/verification_report_retrieve_params.rb +15 -0
- data/lib/stripe/params/identity/verification_session_cancel_params.rb +15 -0
- data/lib/stripe/params/identity/verification_session_create_params.rb +107 -0
- data/lib/stripe/params/identity/verification_session_list_params.rb +62 -0
- data/lib/stripe/params/identity/verification_session_redact_params.rb +15 -0
- data/lib/stripe/params/identity/verification_session_retrieve_params.rb +15 -0
- data/lib/stripe/params/identity/verification_session_update_params.rb +69 -0
- data/lib/stripe/params/invoice_add_lines_params.rb +231 -0
- data/lib/stripe/params/invoice_attach_payment_params.rb +16 -0
- data/lib/stripe/params/invoice_create_params.rb +589 -0
- data/lib/stripe/params/invoice_create_preview_params.rb +993 -0
- data/lib/stripe/params/invoice_delete_params.rb +6 -0
- data/lib/stripe/params/invoice_finalize_invoice_params.rb +16 -0
- data/lib/stripe/params/invoice_item_create_params.rb +145 -0
- data/lib/stripe/params/invoice_item_delete_params.rb +6 -0
- data/lib/stripe/params/invoice_item_list_params.rb +60 -0
- data/lib/stripe/params/invoice_item_retrieve_params.rb +13 -0
- data/lib/stripe/params/invoice_item_update_params.rb +129 -0
- data/lib/stripe/params/invoice_line_item_list_params.rb +22 -0
- data/lib/stripe/params/invoice_line_item_update_params.rb +217 -0
- data/lib/stripe/params/invoice_list_params.rb +86 -0
- data/lib/stripe/params/invoice_mark_uncollectible_params.rb +13 -0
- data/lib/stripe/params/invoice_pay_params.rb +41 -0
- data/lib/stripe/params/invoice_payment_list_params.rb +50 -0
- data/lib/stripe/params/invoice_payment_retrieve_params.rb +13 -0
- data/lib/stripe/params/invoice_remove_lines_params.rb +30 -0
- data/lib/stripe/params/invoice_rendering_template_archive_params.rb +13 -0
- data/lib/stripe/params/invoice_rendering_template_list_params.rb +25 -0
- data/lib/stripe/params/invoice_rendering_template_retrieve_params.rb +16 -0
- data/lib/stripe/params/invoice_rendering_template_unarchive_params.rb +13 -0
- data/lib/stripe/params/invoice_retrieve_params.rb +13 -0
- data/lib/stripe/params/invoice_search_params.rb +22 -0
- data/lib/stripe/params/invoice_send_invoice_params.rb +13 -0
- data/lib/stripe/params/invoice_update_lines_params.rb +231 -0
- data/lib/stripe/params/invoice_update_params.rb +557 -0
- data/lib/stripe/params/invoice_void_invoice_params.rb +13 -0
- data/lib/stripe/params/issuing/authorization_approve_params.rb +21 -0
- data/lib/stripe/params/issuing/authorization_capture_params.rb +265 -0
- data/lib/stripe/params/issuing/authorization_create_params.rb +357 -0
- data/lib/stripe/params/issuing/authorization_decline_params.rb +18 -0
- data/lib/stripe/params/issuing/authorization_expire_params.rb +15 -0
- data/lib/stripe/params/issuing/authorization_finalize_amount_params.rb +143 -0
- data/lib/stripe/params/issuing/authorization_increment_params.rb +21 -0
- data/lib/stripe/params/issuing/authorization_list_params.rb +62 -0
- data/lib/stripe/params/issuing/authorization_respond_params.rb +18 -0
- data/lib/stripe/params/issuing/authorization_retrieve_params.rb +15 -0
- data/lib/stripe/params/issuing/authorization_reverse_params.rb +18 -0
- data/lib/stripe/params/issuing/authorization_update_params.rb +18 -0
- data/lib/stripe/params/issuing/card_create_params.rb +213 -0
- data/lib/stripe/params/issuing/card_deliver_card_params.rb +15 -0
- data/lib/stripe/params/issuing/card_fail_card_params.rb +15 -0
- data/lib/stripe/params/issuing/card_list_params.rb +78 -0
- data/lib/stripe/params/issuing/card_retrieve_params.rb +15 -0
- data/lib/stripe/params/issuing/card_return_card_params.rb +15 -0
- data/lib/stripe/params/issuing/card_ship_card_params.rb +15 -0
- data/lib/stripe/params/issuing/card_submit_card_params.rb +15 -0
- data/lib/stripe/params/issuing/card_update_params.rb +181 -0
- data/lib/stripe/params/issuing/cardholder_create_params.rb +238 -0
- data/lib/stripe/params/issuing/cardholder_list_params.rb +66 -0
- data/lib/stripe/params/issuing/cardholder_retrieve_params.rb +15 -0
- data/lib/stripe/params/issuing/cardholder_update_params.rb +230 -0
- data/lib/stripe/params/issuing/dispute_create_params.rb +297 -0
- data/lib/stripe/params/issuing/dispute_list_params.rb +58 -0
- data/lib/stripe/params/issuing/dispute_retrieve_params.rb +15 -0
- data/lib/stripe/params/issuing/dispute_submit_params.rb +18 -0
- data/lib/stripe/params/issuing/dispute_update_params.rb +275 -0
- data/lib/stripe/params/issuing/personalization_design_activate_params.rb +15 -0
- data/lib/stripe/params/issuing/personalization_design_create_params.rb +75 -0
- data/lib/stripe/params/issuing/personalization_design_deactivate_params.rb +15 -0
- data/lib/stripe/params/issuing/personalization_design_list_params.rb +52 -0
- data/lib/stripe/params/issuing/personalization_design_reject_params.rb +29 -0
- data/lib/stripe/params/issuing/personalization_design_retrieve_params.rb +15 -0
- data/lib/stripe/params/issuing/personalization_design_update_params.rb +75 -0
- data/lib/stripe/params/issuing/physical_bundle_list_params.rb +37 -0
- data/lib/stripe/params/issuing/physical_bundle_retrieve_params.rb +15 -0
- data/lib/stripe/params/issuing/token_list_params.rb +58 -0
- data/lib/stripe/params/issuing/token_retrieve_params.rb +15 -0
- data/lib/stripe/params/issuing/token_update_params.rb +18 -0
- data/lib/stripe/params/issuing/transaction_create_force_capture_params.rb +316 -0
- data/lib/stripe/params/issuing/transaction_create_unlinked_refund_params.rb +316 -0
- data/lib/stripe/params/issuing/transaction_list_params.rb +62 -0
- data/lib/stripe/params/issuing/transaction_refund_params.rb +18 -0
- data/lib/stripe/params/issuing/transaction_retrieve_params.rb +15 -0
- data/lib/stripe/params/issuing/transaction_update_params.rb +18 -0
- data/lib/stripe/params/mandate_retrieve_params.rb +13 -0
- data/lib/stripe/params/payment_intent_apply_customer_balance_params.rb +23 -0
- data/lib/stripe/params/payment_intent_cancel_params.rb +16 -0
- data/lib/stripe/params/payment_intent_capture_params.rb +54 -0
- data/lib/stripe/params/payment_intent_confirm_params.rb +2379 -0
- data/lib/stripe/params/payment_intent_create_params.rb +2480 -0
- data/lib/stripe/params/payment_intent_increment_authorization_params.rb +48 -0
- data/lib/stripe/params/payment_intent_list_params.rb +52 -0
- data/lib/stripe/params/payment_intent_retrieve_params.rb +16 -0
- data/lib/stripe/params/payment_intent_search_params.rb +22 -0
- data/lib/stripe/params/payment_intent_update_params.rb +2353 -0
- data/lib/stripe/params/payment_intent_verify_microdeposits_params.rb +19 -0
- data/lib/stripe/params/payment_link_create_params.rb +776 -0
- data/lib/stripe/params/payment_link_line_item_list_params.rb +22 -0
- data/lib/stripe/params/payment_link_list_line_items_params.rb +22 -0
- data/lib/stripe/params/payment_link_list_params.rb +25 -0
- data/lib/stripe/params/payment_link_retrieve_params.rb +13 -0
- data/lib/stripe/params/payment_link_update_params.rb +564 -0
- data/lib/stripe/params/payment_method_attach_params.rb +16 -0
- data/lib/stripe/params/payment_method_configuration_create_params.rb +1135 -0
- data/lib/stripe/params/payment_method_configuration_list_params.rb +31 -0
- data/lib/stripe/params/payment_method_configuration_retrieve_params.rb +13 -0
- data/lib/stripe/params/payment_method_configuration_update_params.rb +1135 -0
- data/lib/stripe/params/payment_method_create_params.rb +583 -0
- data/lib/stripe/params/payment_method_detach_params.rb +13 -0
- data/lib/stripe/params/payment_method_domain_create_params.rb +19 -0
- data/lib/stripe/params/payment_method_domain_list_params.rb +35 -0
- data/lib/stripe/params/payment_method_domain_retrieve_params.rb +13 -0
- data/lib/stripe/params/payment_method_domain_update_params.rb +16 -0
- data/lib/stripe/params/payment_method_domain_validate_params.rb +13 -0
- data/lib/stripe/params/payment_method_list_params.rb +35 -0
- data/lib/stripe/params/payment_method_retrieve_params.rb +13 -0
- data/lib/stripe/params/payment_method_update_params.rb +120 -0
- data/lib/stripe/params/payout_cancel_params.rb +13 -0
- data/lib/stripe/params/payout_create_params.rb +51 -0
- data/lib/stripe/params/payout_list_params.rb +78 -0
- data/lib/stripe/params/payout_retrieve_params.rb +13 -0
- data/lib/stripe/params/payout_reverse_params.rb +16 -0
- data/lib/stripe/params/payout_update_params.rb +16 -0
- data/lib/stripe/params/plan_create_params.rb +158 -0
- data/lib/stripe/params/plan_delete_params.rb +6 -0
- data/lib/stripe/params/plan_list_params.rb +56 -0
- data/lib/stripe/params/plan_retrieve_params.rb +13 -0
- data/lib/stripe/params/plan_update_params.rb +35 -0
- data/lib/stripe/params/price_create_params.rb +278 -0
- data/lib/stripe/params/price_list_params.rb +87 -0
- data/lib/stripe/params/price_retrieve_params.rb +13 -0
- data/lib/stripe/params/price_search_params.rb +22 -0
- data/lib/stripe/params/price_update_params.rb +113 -0
- data/lib/stripe/params/product_create_params.rb +243 -0
- data/lib/stripe/params/product_delete_params.rb +6 -0
- data/lib/stripe/params/product_feature_create_params.rb +16 -0
- data/lib/stripe/params/product_feature_delete_params.rb +6 -0
- data/lib/stripe/params/product_feature_list_params.rb +22 -0
- data/lib/stripe/params/product_feature_retrieve_params.rb +13 -0
- data/lib/stripe/params/product_list_params.rb +68 -0
- data/lib/stripe/params/product_retrieve_params.rb +13 -0
- data/lib/stripe/params/product_search_params.rb +22 -0
- data/lib/stripe/params/product_update_params.rb +96 -0
- data/lib/stripe/params/promotion_code_create_params.rb +91 -0
- data/lib/stripe/params/promotion_code_list_params.rb +64 -0
- data/lib/stripe/params/promotion_code_retrieve_params.rb +13 -0
- data/lib/stripe/params/promotion_code_update_params.rb +38 -0
- data/lib/stripe/params/quote_accept_params.rb +13 -0
- data/lib/stripe/params/quote_cancel_params.rb +13 -0
- data/lib/stripe/params/quote_computed_upfront_line_items_list_params.rb +22 -0
- data/lib/stripe/params/quote_create_params.rb +301 -0
- data/lib/stripe/params/quote_finalize_quote_params.rb +16 -0
- data/lib/stripe/params/quote_line_item_list_params.rb +22 -0
- data/lib/stripe/params/quote_list_computed_upfront_line_items_params.rb +22 -0
- data/lib/stripe/params/quote_list_line_items_params.rb +22 -0
- data/lib/stripe/params/quote_list_params.rb +39 -0
- data/lib/stripe/params/quote_pdf_params.rb +13 -0
- data/lib/stripe/params/quote_retrieve_params.rb +13 -0
- data/lib/stripe/params/quote_update_params.rb +263 -0
- data/lib/stripe/params/radar/early_fraud_warning_list_params.rb +58 -0
- data/lib/stripe/params/radar/early_fraud_warning_retrieve_params.rb +15 -0
- data/lib/stripe/params/radar/value_list_create_params.rb +27 -0
- data/lib/stripe/params/radar/value_list_delete_params.rb +8 -0
- data/lib/stripe/params/radar/value_list_item_create_params.rb +21 -0
- data/lib/stripe/params/radar/value_list_item_delete_params.rb +8 -0
- data/lib/stripe/params/radar/value_list_item_list_params.rb +58 -0
- data/lib/stripe/params/radar/value_list_item_retrieve_params.rb +15 -0
- data/lib/stripe/params/radar/value_list_list_params.rb +58 -0
- data/lib/stripe/params/radar/value_list_retrieve_params.rb +15 -0
- data/lib/stripe/params/radar/value_list_update_params.rb +24 -0
- data/lib/stripe/params/refund_cancel_params.rb +13 -0
- data/lib/stripe/params/refund_create_params.rb +59 -0
- data/lib/stripe/params/refund_expire_params.rb +13 -0
- data/lib/stripe/params/refund_list_params.rb +56 -0
- data/lib/stripe/params/refund_retrieve_params.rb +13 -0
- data/lib/stripe/params/refund_update_params.rb +16 -0
- data/lib/stripe/params/reporting/report_run_create_params.rb +59 -0
- data/lib/stripe/params/reporting/report_run_list_params.rb +44 -0
- data/lib/stripe/params/reporting/report_run_retrieve_params.rb +15 -0
- data/lib/stripe/params/reporting/report_type_list_params.rb +15 -0
- data/lib/stripe/params/reporting/report_type_retrieve_params.rb +15 -0
- data/lib/stripe/params/review_approve_params.rb +13 -0
- data/lib/stripe/params/review_list_params.rb +42 -0
- data/lib/stripe/params/review_retrieve_params.rb +13 -0
- data/lib/stripe/params/setup_attempt_list_params.rb +55 -0
- data/lib/stripe/params/setup_intent_cancel_params.rb +16 -0
- data/lib/stripe/params/setup_intent_confirm_params.rb +1050 -0
- data/lib/stripe/params/setup_intent_create_params.rb +1130 -0
- data/lib/stripe/params/setup_intent_list_params.rb +62 -0
- data/lib/stripe/params/setup_intent_retrieve_params.rb +16 -0
- data/lib/stripe/params/setup_intent_update_params.rb +1025 -0
- data/lib/stripe/params/setup_intent_verify_microdeposits_params.rb +19 -0
- data/lib/stripe/params/shipping_rate_create_params.rb +103 -0
- data/lib/stripe/params/shipping_rate_list_params.rb +56 -0
- data/lib/stripe/params/shipping_rate_retrieve_params.rb +13 -0
- data/lib/stripe/params/shipping_rate_update_params.rb +44 -0
- data/lib/stripe/params/sigma/scheduled_query_run_list_params.rb +24 -0
- data/lib/stripe/params/sigma/scheduled_query_run_retrieve_params.rb +15 -0
- data/lib/stripe/params/source_create_params.rb +317 -0
- data/lib/stripe/params/source_detach_params.rb +13 -0
- data/lib/stripe/params/source_retrieve_params.rb +16 -0
- data/lib/stripe/params/source_transaction_list_params.rb +22 -0
- data/lib/stripe/params/source_update_params.rb +259 -0
- data/lib/stripe/params/source_verify_params.rb +16 -0
- data/lib/stripe/params/subscription_cancel_params.rb +33 -0
- data/lib/stripe/params/subscription_create_params.rb +704 -0
- data/lib/stripe/params/subscription_delete_discount_params.rb +6 -0
- data/lib/stripe/params/subscription_item_create_params.rb +134 -0
- data/lib/stripe/params/subscription_item_delete_params.rb +19 -0
- data/lib/stripe/params/subscription_item_list_params.rb +31 -0
- data/lib/stripe/params/subscription_item_retrieve_params.rb +13 -0
- data/lib/stripe/params/subscription_item_update_params.rb +134 -0
- data/lib/stripe/params/subscription_list_params.rb +129 -0
- data/lib/stripe/params/subscription_migrate_params.rb +35 -0
- data/lib/stripe/params/subscription_resume_params.rb +27 -0
- data/lib/stripe/params/subscription_retrieve_params.rb +13 -0
- data/lib/stripe/params/subscription_schedule_cancel_params.rb +19 -0
- data/lib/stripe/params/subscription_schedule_create_params.rb +590 -0
- data/lib/stripe/params/subscription_schedule_list_params.rb +122 -0
- data/lib/stripe/params/subscription_schedule_release_params.rb +16 -0
- data/lib/stripe/params/subscription_schedule_retrieve_params.rb +13 -0
- data/lib/stripe/params/subscription_schedule_update_params.rb +562 -0
- data/lib/stripe/params/subscription_search_params.rb +22 -0
- data/lib/stripe/params/subscription_update_params.rb +683 -0
- data/lib/stripe/params/tax/calculation_create_params.rb +206 -0
- data/lib/stripe/params/tax/calculation_line_item_list_params.rb +24 -0
- data/lib/stripe/{services/quote_preview_invoice_service.rb → params/tax/calculation_list_line_items_params.rb} +2 -13
- data/lib/stripe/params/tax/calculation_retrieve_params.rb +15 -0
- data/lib/stripe/params/tax/registration_create_params.rb +2018 -0
- data/lib/stripe/params/tax/registration_list_params.rb +27 -0
- data/lib/stripe/params/tax/registration_retrieve_params.rb +15 -0
- data/lib/stripe/params/tax/registration_update_params.rb +21 -0
- data/lib/stripe/params/tax/settings_retrieve_params.rb +15 -0
- data/lib/stripe/params/tax/settings_update_params.rb +71 -0
- data/lib/stripe/params/tax/transaction_create_from_calculation_params.rb +27 -0
- data/lib/stripe/params/tax/transaction_create_reversal_params.rb +87 -0
- data/lib/stripe/params/tax/transaction_line_item_list_params.rb +24 -0
- data/lib/stripe/{services/payment_intent_amount_details_line_item_service.rb → params/tax/transaction_list_line_items_params.rb} +2 -13
- data/lib/stripe/params/tax/transaction_retrieve_params.rb +15 -0
- data/lib/stripe/params/tax_code_list_params.rb +22 -0
- data/lib/stripe/params/tax_code_retrieve_params.rb +13 -0
- data/lib/stripe/params/tax_id_create_params.rb +36 -0
- data/lib/stripe/params/tax_id_delete_params.rb +6 -0
- data/lib/stripe/params/tax_id_list_params.rb +39 -0
- data/lib/stripe/params/tax_id_retrieve_params.rb +13 -0
- data/lib/stripe/params/tax_rate_create_params.rb +55 -0
- data/lib/stripe/params/tax_rate_list_params.rb +56 -0
- data/lib/stripe/params/tax_rate_retrieve_params.rb +13 -0
- data/lib/stripe/params/tax_rate_update_params.rb +47 -0
- data/lib/stripe/params/terminal/configuration_create_params.rb +593 -0
- data/lib/stripe/params/terminal/configuration_delete_params.rb +8 -0
- data/lib/stripe/params/terminal/configuration_list_params.rb +33 -0
- data/lib/stripe/params/terminal/configuration_retrieve_params.rb +15 -0
- data/lib/stripe/params/terminal/configuration_update_params.rb +593 -0
- data/lib/stripe/params/terminal/connection_token_create_params.rb +18 -0
- data/lib/stripe/params/terminal/location_create_params.rb +153 -0
- data/lib/stripe/params/terminal/location_delete_params.rb +8 -0
- data/lib/stripe/params/terminal/location_list_params.rb +24 -0
- data/lib/stripe/params/terminal/location_retrieve_params.rb +15 -0
- data/lib/stripe/params/terminal/location_update_params.rb +153 -0
- data/lib/stripe/params/terminal/reader_cancel_action_params.rb +15 -0
- data/lib/stripe/params/terminal/reader_collect_inputs_params.rb +96 -0
- data/lib/stripe/params/terminal/reader_collect_payment_method_params.rb +51 -0
- data/lib/stripe/params/terminal/reader_confirm_payment_intent_params.rb +29 -0
- data/lib/stripe/params/terminal/reader_create_params.rb +27 -0
- data/lib/stripe/params/terminal/reader_delete_params.rb +8 -0
- data/lib/stripe/params/terminal/reader_list_params.rb +45 -0
- data/lib/stripe/params/terminal/reader_present_payment_method_params.rb +72 -0
- data/lib/stripe/params/terminal/reader_process_payment_intent_params.rb +55 -0
- data/lib/stripe/params/terminal/reader_process_setup_intent_params.rb +32 -0
- data/lib/stripe/params/terminal/reader_refund_payment_params.rb +53 -0
- data/lib/stripe/params/terminal/reader_retrieve_params.rb +15 -0
- data/lib/stripe/params/terminal/reader_set_reader_display_params.rb +52 -0
- data/lib/stripe/params/terminal/reader_succeed_input_collection_params.rb +18 -0
- data/lib/stripe/params/terminal/reader_timeout_input_collection_params.rb +15 -0
- data/lib/stripe/params/terminal/reader_update_params.rb +21 -0
- data/lib/stripe/params/test_helpers/confirmation_token_create_params.rb +652 -0
- data/lib/stripe/params/test_helpers/customer_fund_cash_balance_params.rb +24 -0
- data/lib/stripe/params/test_helpers/issuing/authorization_capture_params.rb +267 -0
- data/lib/stripe/params/test_helpers/issuing/authorization_create_params.rb +359 -0
- data/lib/stripe/params/test_helpers/issuing/authorization_expire_params.rb +17 -0
- data/lib/stripe/params/test_helpers/issuing/authorization_finalize_amount_params.rb +145 -0
- data/lib/stripe/params/test_helpers/issuing/authorization_increment_params.rb +23 -0
- data/lib/stripe/params/test_helpers/issuing/authorization_respond_params.rb +20 -0
- data/lib/stripe/params/test_helpers/issuing/authorization_reverse_params.rb +20 -0
- data/lib/stripe/params/test_helpers/issuing/card_deliver_card_params.rb +17 -0
- data/lib/stripe/params/test_helpers/issuing/card_fail_card_params.rb +17 -0
- data/lib/stripe/params/test_helpers/issuing/card_return_card_params.rb +17 -0
- data/lib/stripe/params/test_helpers/issuing/card_ship_card_params.rb +17 -0
- data/lib/stripe/params/test_helpers/issuing/card_submit_card_params.rb +17 -0
- data/lib/stripe/params/test_helpers/issuing/personalization_design_activate_params.rb +17 -0
- data/lib/stripe/params/test_helpers/issuing/personalization_design_deactivate_params.rb +17 -0
- data/lib/stripe/params/test_helpers/issuing/personalization_design_reject_params.rb +31 -0
- data/lib/stripe/params/test_helpers/issuing/transaction_create_force_capture_params.rb +318 -0
- data/lib/stripe/params/test_helpers/issuing/transaction_create_unlinked_refund_params.rb +318 -0
- data/lib/stripe/params/test_helpers/issuing/transaction_refund_params.rb +20 -0
- data/lib/stripe/params/test_helpers/refund_expire_params.rb +15 -0
- data/lib/stripe/params/test_helpers/terminal/reader_present_payment_method_params.rb +74 -0
- data/lib/stripe/params/test_helpers/terminal/reader_succeed_input_collection_params.rb +20 -0
- data/lib/stripe/params/test_helpers/terminal/reader_timeout_input_collection_params.rb +17 -0
- data/lib/stripe/params/test_helpers/test_clock_advance_params.rb +18 -0
- data/lib/stripe/params/test_helpers/test_clock_create_params.rb +21 -0
- data/lib/stripe/params/test_helpers/test_clock_delete_params.rb +8 -0
- data/lib/stripe/params/test_helpers/test_clock_list_params.rb +24 -0
- data/lib/stripe/params/test_helpers/test_clock_retrieve_params.rb +15 -0
- data/lib/stripe/params/test_helpers/treasury/inbound_transfer_fail_params.rb +28 -0
- data/lib/stripe/params/test_helpers/treasury/inbound_transfer_return_inbound_transfer_params.rb +17 -0
- data/lib/stripe/params/test_helpers/treasury/inbound_transfer_succeed_params.rb +17 -0
- data/lib/stripe/params/test_helpers/treasury/outbound_payment_fail_params.rb +17 -0
- data/lib/stripe/params/test_helpers/treasury/outbound_payment_post_params.rb +17 -0
- data/lib/stripe/params/test_helpers/treasury/outbound_payment_return_outbound_payment_params.rb +28 -0
- data/lib/stripe/params/test_helpers/treasury/outbound_payment_update_params.rb +57 -0
- data/lib/stripe/params/test_helpers/treasury/outbound_transfer_fail_params.rb +17 -0
- data/lib/stripe/params/test_helpers/treasury/outbound_transfer_post_params.rb +17 -0
- data/lib/stripe/params/test_helpers/treasury/outbound_transfer_return_outbound_transfer_params.rb +28 -0
- data/lib/stripe/params/test_helpers/treasury/outbound_transfer_update_params.rb +57 -0
- data/lib/stripe/params/test_helpers/treasury/received_credit_create_params.rb +68 -0
- data/lib/stripe/params/test_helpers/treasury/received_debit_create_params.rb +68 -0
- data/lib/stripe/params/token_create_params.rb +1191 -0
- data/lib/stripe/params/token_retrieve_params.rb +13 -0
- data/lib/stripe/params/topup_cancel_params.rb +13 -0
- data/lib/stripe/params/topup_create_params.rb +43 -0
- data/lib/stripe/params/topup_list_params.rb +74 -0
- data/lib/stripe/params/topup_retrieve_params.rb +13 -0
- data/lib/stripe/params/topup_update_params.rb +19 -0
- data/lib/stripe/params/transfer_create_params.rb +47 -0
- data/lib/stripe/params/transfer_list_params.rb +56 -0
- data/lib/stripe/params/transfer_retrieve_params.rb +13 -0
- data/lib/stripe/params/transfer_reversal_create_params.rb +31 -0
- data/lib/stripe/params/transfer_reversal_list_params.rb +22 -0
- data/lib/stripe/params/transfer_reversal_retrieve_params.rb +13 -0
- data/lib/stripe/params/transfer_reversal_update_params.rb +16 -0
- data/lib/stripe/params/transfer_update_params.rb +19 -0
- data/lib/stripe/params/treasury/credit_reversal_create_params.rb +21 -0
- data/lib/stripe/params/treasury/credit_reversal_list_params.rb +41 -0
- data/lib/stripe/params/treasury/credit_reversal_retrieve_params.rb +15 -0
- data/lib/stripe/params/treasury/debit_reversal_create_params.rb +21 -0
- data/lib/stripe/params/treasury/debit_reversal_list_params.rb +45 -0
- data/lib/stripe/params/treasury/debit_reversal_retrieve_params.rb +15 -0
- data/lib/stripe/params/treasury/financial_account_close_params.rb +32 -0
- data/lib/stripe/params/treasury/financial_account_create_params.rb +201 -0
- data/lib/stripe/params/treasury/financial_account_features_retrieve_params.rb +15 -0
- data/lib/stripe/params/treasury/financial_account_features_update_params.rb +163 -0
- data/lib/stripe/params/treasury/financial_account_list_params.rb +54 -0
- data/lib/stripe/params/treasury/financial_account_retrieve_features_params.rb +15 -0
- data/lib/stripe/params/treasury/financial_account_retrieve_params.rb +15 -0
- data/lib/stripe/params/treasury/financial_account_update_features_params.rb +163 -0
- data/lib/stripe/params/treasury/financial_account_update_params.rb +216 -0
- data/lib/stripe/params/treasury/inbound_transfer_cancel_params.rb +15 -0
- data/lib/stripe/params/treasury/inbound_transfer_create_params.rb +45 -0
- data/lib/stripe/params/treasury/inbound_transfer_fail_params.rb +26 -0
- data/lib/stripe/params/treasury/inbound_transfer_list_params.rb +37 -0
- data/lib/stripe/params/treasury/inbound_transfer_retrieve_params.rb +15 -0
- data/lib/stripe/params/treasury/inbound_transfer_return_inbound_transfer_params.rb +15 -0
- data/lib/stripe/params/treasury/inbound_transfer_succeed_params.rb +15 -0
- data/lib/stripe/params/treasury/outbound_payment_cancel_params.rb +15 -0
- data/lib/stripe/params/treasury/outbound_payment_create_params.rb +190 -0
- data/lib/stripe/params/treasury/outbound_payment_fail_params.rb +15 -0
- data/lib/stripe/params/treasury/outbound_payment_list_params.rb +62 -0
- data/lib/stripe/params/treasury/outbound_payment_post_params.rb +15 -0
- data/lib/stripe/params/treasury/outbound_payment_retrieve_params.rb +15 -0
- data/lib/stripe/params/treasury/outbound_payment_return_outbound_payment_params.rb +26 -0
- data/lib/stripe/params/treasury/outbound_payment_update_params.rb +55 -0
- data/lib/stripe/params/treasury/outbound_transfer_cancel_params.rb +15 -0
- data/lib/stripe/params/treasury/outbound_transfer_create_params.rb +81 -0
- data/lib/stripe/params/treasury/outbound_transfer_fail_params.rb +15 -0
- data/lib/stripe/params/treasury/outbound_transfer_list_params.rb +37 -0
- data/lib/stripe/params/treasury/outbound_transfer_post_params.rb +15 -0
- data/lib/stripe/params/treasury/outbound_transfer_retrieve_params.rb +15 -0
- data/lib/stripe/params/treasury/outbound_transfer_return_outbound_transfer_params.rb +26 -0
- data/lib/stripe/params/treasury/outbound_transfer_update_params.rb +55 -0
- data/lib/stripe/params/treasury/received_credit_create_params.rb +66 -0
- data/lib/stripe/params/treasury/received_credit_list_params.rb +49 -0
- data/lib/stripe/params/treasury/received_credit_retrieve_params.rb +15 -0
- data/lib/stripe/params/treasury/received_debit_create_params.rb +66 -0
- data/lib/stripe/params/treasury/received_debit_list_params.rb +37 -0
- data/lib/stripe/params/treasury/received_debit_retrieve_params.rb +15 -0
- data/lib/stripe/params/treasury/transaction_entry_list_params.rb +84 -0
- data/lib/stripe/params/treasury/transaction_entry_retrieve_params.rb +15 -0
- data/lib/stripe/params/treasury/transaction_list_params.rb +92 -0
- data/lib/stripe/params/treasury/transaction_retrieve_params.rb +15 -0
- data/lib/stripe/params/v2/billing/meter_event_adjustment_create_params.rb +31 -0
- data/lib/stripe/params/v2/billing/meter_event_create_params.rb +33 -0
- data/lib/stripe/params/v2/billing/meter_event_session_create_params.rb +10 -0
- data/lib/stripe/params/v2/billing/meter_event_stream_create_params.rb +41 -0
- data/lib/stripe/params/v2/core/event_destination_create_params.rb +79 -0
- data/lib/stripe/params/v2/core/event_destination_delete_params.rb +10 -0
- data/lib/stripe/params/v2/core/event_destination_disable_params.rb +10 -0
- data/lib/stripe/params/v2/core/event_destination_enable_params.rb +10 -0
- data/lib/stripe/params/v2/core/event_destination_list_params.rb +20 -0
- data/lib/stripe/params/v2/core/event_destination_ping_params.rb +10 -0
- data/lib/stripe/params/v2/core/event_destination_retrieve_params.rb +17 -0
- data/lib/stripe/params/v2/core/event_destination_update_params.rb +47 -0
- data/lib/stripe/params/v2/core/event_list_params.rb +22 -0
- data/lib/stripe/params/v2/core/event_retrieve_params.rb +10 -0
- data/lib/stripe/params/webhook_endpoint_create_params.rb +39 -0
- data/lib/stripe/params/webhook_endpoint_delete_params.rb +6 -0
- data/lib/stripe/params/webhook_endpoint_list_params.rb +22 -0
- data/lib/stripe/params/webhook_endpoint_retrieve_params.rb +13 -0
- data/lib/stripe/params/webhook_endpoint_update_params.rb +35 -0
- data/lib/stripe/params.rb +588 -0
- data/lib/stripe/request_options.rb +14 -5
- data/lib/stripe/resources/account.rb +437 -4906
- data/lib/stripe/resources/account_link.rb +8 -47
- data/lib/stripe/resources/account_session.rb +338 -910
- data/lib/stripe/resources/apple_pay_domain.rb +8 -40
- data/lib/stripe/resources/application.rb +8 -0
- data/lib/stripe/resources/application_fee.rb +12 -44
- data/lib/stripe/resources/application_fee_refund.rb +8 -0
- data/lib/stripe/resources/apps/secret.rb +12 -112
- data/lib/stripe/resources/balance.rb +159 -0
- data/lib/stripe/resources/balance_settings.rb +40 -60
- data/lib/stripe/resources/balance_transaction.rb +12 -56
- data/lib/stripe/resources/bank_account.rb +40 -0
- data/lib/stripe/resources/billing/alert.rb +20 -100
- data/lib/stripe/resources/billing/alert_triggered.rb +8 -0
- data/lib/stripe/resources/billing/credit_balance_summary.rb +48 -2
- data/lib/stripe/resources/billing/credit_balance_transaction.rb +73 -33
- data/lib/stripe/resources/billing/credit_grant.rb +42 -161
- data/lib/stripe/resources/billing/meter.rb +40 -116
- data/lib/stripe/resources/billing/meter_event.rb +8 -20
- data/lib/stripe/resources/billing/meter_event_adjustment.rb +12 -22
- data/lib/stripe/resources/billing/meter_event_summary.rb +8 -0
- data/lib/stripe/resources/billing_portal/configuration.rb +120 -473
- data/lib/stripe/resources/billing_portal/session.rb +98 -176
- data/lib/stripe/resources/capability.rb +56 -0
- data/lib/stripe/resources/card.rb +17 -3
- data/lib/stripe/resources/cash_balance.rb +16 -2
- data/lib/stripe/resources/charge.rb +949 -1945
- data/lib/stripe/resources/checkout/session.rb +1038 -2991
- data/lib/stripe/resources/climate/order.rb +28 -89
- data/lib/stripe/resources/climate/product.rb +13 -15
- data/lib/stripe/resources/climate/supplier.rb +13 -15
- data/lib/stripe/resources/confirmation_token.rb +883 -841
- data/lib/stripe/resources/connect_collection_transfer.rb +8 -0
- data/lib/stripe/resources/country_spec.rb +29 -15
- data/lib/stripe/resources/coupon.rb +19 -166
- data/lib/stripe/resources/credit_note.rb +66 -510
- data/lib/stripe/resources/credit_note_line_item.rb +43 -8
- data/lib/stripe/resources/customer.rb +81 -677
- data/lib/stripe/resources/customer_balance_transaction.rb +8 -2
- data/lib/stripe/resources/customer_cash_balance_transaction.rb +108 -2
- data/lib/stripe/resources/customer_session.rb +49 -98
- data/lib/stripe/resources/discount.rb +24 -6
- data/lib/stripe/resources/dispute.rb +159 -376
- data/lib/stripe/resources/entitlements/active_entitlement.rb +8 -26
- data/lib/stripe/resources/entitlements/active_entitlement_summary.rb +8 -0
- data/lib/stripe/resources/entitlements/feature.rb +8 -66
- data/lib/stripe/resources/ephemeral_key.rb +8 -8
- data/lib/stripe/resources/event.rb +16 -79
- data/lib/stripe/resources/exchange_rate.rb +18 -17
- data/lib/stripe/resources/file.rb +8 -79
- data/lib/stripe/resources/file_link.rb +8 -84
- data/lib/stripe/resources/financial_connections/account.rb +65 -130
- data/lib/stripe/resources/financial_connections/account_owner.rb +8 -0
- data/lib/stripe/resources/financial_connections/account_ownership.rb +8 -0
- data/lib/stripe/resources/financial_connections/session.rb +20 -115
- data/lib/stripe/resources/financial_connections/transaction.rb +12 -57
- data/lib/stripe/resources/forwarding/request.rb +48 -93
- data/lib/stripe/resources/funding_instructions.rb +217 -24
- data/lib/stripe/resources/identity/verification_report.rb +165 -56
- data/lib/stripe/resources/identity/verification_session.rb +124 -247
- data/lib/stripe/resources/invoice.rb +500 -4017
- data/lib/stripe/resources/invoice_item.rb +69 -385
- data/lib/stripe/resources/invoice_line_item.rb +124 -251
- data/lib/stripe/resources/invoice_payment.rb +20 -47
- data/lib/stripe/resources/invoice_rendering_template.rb +8 -38
- data/lib/stripe/resources/issuing/authorization.rb +173 -836
- data/lib/stripe/resources/issuing/card.rb +98 -499
- data/lib/stripe/resources/issuing/cardholder.rb +108 -515
- data/lib/stripe/resources/issuing/dispute.rb +93 -620
- data/lib/stripe/resources/issuing/personalization_design.rb +32 -221
- data/lib/stripe/resources/issuing/physical_bundle.rb +13 -28
- data/lib/stripe/resources/issuing/token.rb +57 -60
- data/lib/stripe/resources/issuing/transaction.rb +147 -702
- data/lib/stripe/resources/line_item.rb +22 -35
- data/lib/stripe/resources/login_link.rb +8 -0
- data/lib/stripe/resources/mandate.rb +219 -94
- data/lib/stripe/resources/payment_intent.rb +1241 -13361
- data/lib/stripe/resources/payment_link.rb +333 -1357
- data/lib/stripe/resources/payment_method.rb +796 -966
- data/lib/stripe/resources/payment_method_configuration.rb +862 -2528
- data/lib/stripe/resources/payment_method_domain.rb +107 -63
- data/lib/stripe/resources/payout.rb +12 -150
- data/lib/stripe/resources/person.rb +184 -4
- data/lib/stripe/resources/plan.rb +20 -235
- data/lib/stripe/resources/price.rb +65 -509
- data/lib/stripe/resources/product.rb +23 -411
- data/lib/stripe/resources/product_feature.rb +8 -0
- data/lib/stripe/resources/promotion_code.rb +40 -182
- data/lib/stripe/resources/quote.rb +280 -2743
- data/lib/stripe/resources/radar/early_fraud_warning.rb +8 -51
- data/lib/stripe/resources/radar/value_list.rb +8 -92
- data/lib/stripe/resources/radar/value_list_item.rb +8 -68
- data/lib/stripe/resources/refund.rb +365 -159
- data/lib/stripe/resources/reporting/report_run.rb +12 -93
- data/lib/stripe/resources/reporting/report_type.rb +8 -8
- data/lib/stripe/resources/reserve_transaction.rb +8 -0
- data/lib/stripe/resources/reversal.rb +8 -0
- data/lib/stripe/resources/review.rb +20 -43
- data/lib/stripe/resources/setup_attempt.rb +284 -87
- data/lib/stripe/resources/setup_intent.rb +358 -4143
- data/lib/stripe/resources/shipping_rate.rb +44 -187
- data/lib/stripe/resources/sigma/scheduled_query_run.rb +13 -15
- data/lib/stripe/resources/source.rb +267 -611
- data/lib/stripe/resources/source_mandate_notification.rb +32 -0
- data/lib/stripe/resources/source_transaction.rb +54 -0
- data/lib/stripe/resources/subscription.rb +266 -1931
- data/lib/stripe/resources/subscription_item.rb +12 -379
- data/lib/stripe/resources/subscription_schedule.rb +230 -2273
- data/lib/stripe/resources/tax/calculation.rb +111 -220
- data/lib/stripe/resources/tax/calculation_line_item.rb +32 -0
- data/lib/stripe/resources/tax/registration.rb +1274 -2096
- data/lib/stripe/resources/tax/settings.rb +61 -64
- data/lib/stripe/resources/tax/transaction.rb +95 -122
- data/lib/stripe/resources/tax/transaction_line_item.rb +16 -0
- data/lib/stripe/resources/tax_code.rb +8 -17
- data/lib/stripe/resources/tax_deducted_at_source.rb +8 -0
- data/lib/stripe/resources/tax_id.rb +20 -75
- data/lib/stripe/resources/tax_rate.rb +12 -142
- data/lib/stripe/resources/terminal/configuration.rb +301 -1205
- data/lib/stripe/resources/terminal/connection_token.rb +8 -11
- data/lib/stripe/resources/terminal/location.rb +72 -126
- data/lib/stripe/resources/terminal/reader.rb +237 -509
- data/lib/stripe/resources/test_helpers/test_clock.rb +20 -43
- data/lib/stripe/resources/token.rb +8 -1191
- data/lib/stripe/resources/topup.rb +8 -132
- data/lib/stripe/resources/transfer.rb +8 -115
- data/lib/stripe/resources/treasury/credit_reversal.rb +12 -46
- data/lib/stripe/resources/treasury/debit_reversal.rb +20 -50
- data/lib/stripe/resources/treasury/financial_account.rb +55 -658
- data/lib/stripe/resources/treasury/financial_account_features.rb +192 -2
- data/lib/stripe/resources/treasury/inbound_transfer.rb +67 -115
- data/lib/stripe/resources/treasury/outbound_payment.rb +104 -334
- data/lib/stripe/resources/treasury/outbound_transfer.rb +93 -235
- data/lib/stripe/resources/treasury/received_credit.rb +76 -136
- data/lib/stripe/resources/treasury/received_debit.rb +68 -126
- data/lib/stripe/resources/treasury/transaction.rb +32 -82
- data/lib/stripe/resources/treasury/transaction_entry.rb +20 -74
- data/lib/stripe/resources/v2/billing/meter_event.rb +8 -0
- data/lib/stripe/resources/v2/billing/meter_event_adjustment.rb +16 -0
- data/lib/stripe/resources/v2/billing/meter_event_session.rb +8 -0
- data/lib/stripe/resources/v2/core/event.rb +67 -0
- data/lib/stripe/resources/v2/core/event_destination.rb +119 -0
- data/lib/stripe/resources/v2/core/event_notification.rb +62 -0
- data/lib/stripe/resources/v2/deleted_object.rb +21 -0
- data/lib/stripe/resources/webhook_endpoint.rb +8 -85
- data/lib/stripe/resources.rb +3 -110
- data/lib/stripe/services/account_capability_service.rb +0 -32
- data/lib/stripe/services/account_external_account_service.rb +0 -249
- data/lib/stripe/services/account_link_service.rb +0 -48
- data/lib/stripe/services/account_login_link_service.rb +0 -9
- data/lib/stripe/services/account_person_service.rb +0 -958
- data/lib/stripe/services/account_service.rb +0 -4710
- data/lib/stripe/services/account_session_service.rb +0 -862
- data/lib/stripe/services/apple_pay_domain_service.rb +0 -50
- data/lib/stripe/services/application_fee_refund_service.rb +0 -54
- data/lib/stripe/services/application_fee_service.rb +0 -57
- data/lib/stripe/services/apps/secret_service.rb +0 -116
- data/lib/stripe/services/balance_service.rb +0 -9
- data/lib/stripe/services/balance_settings_service.rb +0 -69
- data/lib/stripe/services/balance_transaction_service.rb +0 -69
- data/lib/stripe/services/billing/alert_service.rb +0 -113
- data/lib/stripe/services/billing/credit_balance_summary_service.rb +0 -51
- data/lib/stripe/services/billing/credit_balance_transaction_service.rb +0 -44
- data/lib/stripe/services/billing/credit_grant_service.rb +0 -174
- data/lib/stripe/services/billing/meter_event_adjustment_service.rb +0 -26
- data/lib/stripe/services/billing/meter_event_service.rb +0 -21
- data/lib/stripe/services/billing/meter_event_summary_service.rb +0 -39
- data/lib/stripe/services/billing/meter_service.rb +0 -130
- data/lib/stripe/services/billing_portal/configuration_service.rb +0 -486
- data/lib/stripe/services/billing_portal/session_service.rb +0 -177
- data/lib/stripe/services/billing_service.rb +1 -2
- data/lib/stripe/services/charge_service.rb +0 -1820
- data/lib/stripe/services/checkout/session_line_item_service.rb +0 -18
- data/lib/stripe/services/checkout/session_service.rb +0 -2882
- data/lib/stripe/services/climate/order_service.rb +0 -102
- data/lib/stripe/services/climate/product_service.rb +0 -27
- data/lib/stripe/services/climate/supplier_service.rb +0 -27
- data/lib/stripe/services/confirmation_token_service.rb +0 -9
- data/lib/stripe/services/country_spec_service.rb +0 -27
- data/lib/stripe/services/coupon_service.rb +0 -167
- data/lib/stripe/services/credit_note_line_item_service.rb +0 -18
- data/lib/stripe/services/credit_note_preview_lines_service.rb +0 -152
- data/lib/stripe/services/credit_note_service.rb +0 -369
- data/lib/stripe/services/customer_balance_transaction_service.rb +0 -63
- data/lib/stripe/services/customer_cash_balance_service.rb +0 -29
- data/lib/stripe/services/customer_cash_balance_transaction_service.rb +0 -27
- data/lib/stripe/services/customer_funding_instructions_service.rb +0 -42
- data/lib/stripe/services/customer_payment_method_service.rb +0 -40
- data/lib/stripe/services/customer_payment_source_service.rb +0 -179
- data/lib/stripe/services/customer_service.rb +0 -575
- data/lib/stripe/services/customer_session_service.rb +0 -99
- data/lib/stripe/services/customer_tax_id_service.rb +0 -44
- data/lib/stripe/services/dispute_service.rb +0 -374
- data/lib/stripe/services/entitlements/active_entitlement_service.rb +0 -36
- data/lib/stripe/services/entitlements/feature_service.rb +0 -76
- data/lib/stripe/services/ephemeral_key_service.rb +0 -36
- data/lib/stripe/services/event_service.rb +0 -65
- data/lib/stripe/services/exchange_rate_service.rb +4 -27
- data/lib/stripe/services/file_link_service.rb +0 -94
- data/lib/stripe/services/file_service.rb +0 -89
- data/lib/stripe/services/financial_connections/account_owner_service.rb +0 -27
- data/lib/stripe/services/financial_connections/account_service.rb +1 -102
- data/lib/stripe/services/financial_connections/session_service.rb +0 -100
- data/lib/stripe/services/financial_connections/transaction_service.rb +0 -70
- data/lib/stripe/services/financial_connections_service.rb +1 -2
- data/lib/stripe/services/forwarding/request_service.rb +0 -106
- data/lib/stripe/services/identity/verification_report_service.rb +0 -65
- data/lib/stripe/services/identity/verification_session_service.rb +0 -255
- data/lib/stripe/services/invoice_item_service.rb +0 -405
- data/lib/stripe/services/invoice_line_item_service.rb +0 -253
- data/lib/stripe/services/invoice_payment_service.rb +0 -58
- data/lib/stripe/services/invoice_rendering_template_service.rb +0 -51
- data/lib/stripe/services/invoice_service.rb +0 -3836
- data/lib/stripe/services/issuing/authorization_service.rb +0 -104
- data/lib/stripe/services/issuing/card_service.rb +0 -463
- data/lib/stripe/services/issuing/cardholder_service.rb +0 -526
- data/lib/stripe/services/issuing/dispute_service.rb +0 -633
- data/lib/stripe/services/issuing/personalization_design_service.rb +0 -193
- data/lib/stripe/services/issuing/physical_bundle_service.rb +0 -40
- data/lib/stripe/services/issuing/token_service.rb +0 -73
- data/lib/stripe/services/issuing/transaction_service.rb +0 -81
- data/lib/stripe/services/issuing_service.rb +1 -5
- data/lib/stripe/services/mandate_service.rb +0 -49
- data/lib/stripe/services/payment_intent_service.rb +0 -12747
- data/lib/stripe/services/payment_link_line_item_service.rb +0 -18
- data/lib/stripe/services/payment_link_service.rb +0 -1352
- data/lib/stripe/services/payment_method_configuration_service.rb +0 -2466
- data/lib/stripe/services/payment_method_domain_service.rb +0 -76
- data/lib/stripe/services/payment_method_service.rb +0 -881
- data/lib/stripe/services/payout_service.rb +0 -163
- data/lib/stripe/services/plan_service.rb +0 -248
- data/lib/stripe/services/price_service.rb +0 -512
- data/lib/stripe/services/product_feature_service.rb +0 -41
- data/lib/stripe/services/product_service.rb +0 -424
- data/lib/stripe/services/promotion_code_service.rb +1 -187
- data/lib/stripe/services/quote_computed_upfront_line_items_service.rb +0 -18
- data/lib/stripe/services/quote_line_item_service.rb +0 -18
- data/lib/stripe/services/quote_service.rb +1 -2344
- data/lib/stripe/services/radar/early_fraud_warning_service.rb +0 -61
- data/lib/stripe/services/radar/value_list_item_service.rb +0 -78
- data/lib/stripe/services/radar/value_list_service.rb +0 -102
- data/lib/stripe/services/refund_service.rb +0 -137
- data/lib/stripe/services/reporting/report_run_service.rb +0 -106
- data/lib/stripe/services/reporting/report_type_service.rb +0 -18
- data/lib/stripe/services/review_service.rb +0 -56
- data/lib/stripe/services/setup_attempt_service.rb +0 -51
- data/lib/stripe/services/setup_intent_service.rb +0 -3957
- data/lib/stripe/services/shipping_rate_service.rb +0 -200
- data/lib/stripe/services/sigma/scheduled_query_run_service.rb +0 -27
- data/lib/stripe/services/source_service.rb +0 -601
- data/lib/stripe/services/source_transaction_service.rb +0 -18
- data/lib/stripe/services/subscription_item_service.rb +0 -383
- data/lib/stripe/services/subscription_schedule_service.rb +0 -2196
- data/lib/stripe/services/subscription_service.rb +0 -1894
- data/lib/stripe/services/tax/calculation_line_item_service.rb +0 -18
- data/lib/stripe/services/tax/calculation_service.rb +0 -209
- data/lib/stripe/services/tax/registration_service.rb +0 -2063
- data/lib/stripe/services/tax/settings_service.rb +0 -74
- data/lib/stripe/services/tax/transaction_line_item_service.rb +0 -18
- data/lib/stripe/services/tax/transaction_service.rb +0 -111
- data/lib/stripe/services/tax_code_service.rb +0 -27
- data/lib/stripe/services/tax_id_service.rb +0 -84
- data/lib/stripe/services/tax_rate_service.rb +0 -155
- data/lib/stripe/services/tax_service.rb +1 -3
- data/lib/stripe/services/terminal/configuration_service.rb +0 -1212
- data/lib/stripe/services/terminal/connection_token_service.rb +0 -12
- data/lib/stripe/services/terminal/location_service.rb +0 -143
- data/lib/stripe/services/terminal/reader_service.rb +0 -427
- data/lib/stripe/services/terminal_service.rb +1 -3
- data/lib/stripe/services/test_helpers/confirmation_token_service.rb +0 -738
- data/lib/stripe/services/test_helpers/customer_service.rb +0 -18
- data/lib/stripe/services/test_helpers/issuing/authorization_service.rb +0 -745
- data/lib/stripe/services/test_helpers/issuing/card_service.rb +0 -45
- data/lib/stripe/services/test_helpers/issuing/personalization_design_service.rb +0 -41
- data/lib/stripe/services/test_helpers/issuing/transaction_service.rb +0 -632
- data/lib/stripe/services/test_helpers/refund_service.rb +0 -9
- data/lib/stripe/services/test_helpers/terminal/reader_service.rb +0 -87
- data/lib/stripe/services/test_helpers/test_clock_service.rb +0 -56
- data/lib/stripe/services/test_helpers/treasury/inbound_transfer_service.rb +0 -38
- data/lib/stripe/services/test_helpers/treasury/outbound_payment_service.rb +0 -87
- data/lib/stripe/services/test_helpers/treasury/outbound_transfer_service.rb +0 -87
- data/lib/stripe/services/test_helpers/treasury/received_credit_service.rb +0 -84
- data/lib/stripe/services/test_helpers/treasury/received_debit_service.rb +0 -84
- data/lib/stripe/services/token_service.rb +0 -1201
- data/lib/stripe/services/topup_service.rb +0 -142
- data/lib/stripe/services/transfer_reversal_service.rb +0 -66
- data/lib/stripe/services/transfer_service.rb +0 -123
- data/lib/stripe/services/treasury/credit_reversal_service.rb +0 -59
- data/lib/stripe/services/treasury/debit_reversal_service.rb +0 -63
- data/lib/stripe/services/treasury/financial_account_features_service.rb +0 -169
- data/lib/stripe/services/treasury/financial_account_service.rb +0 -502
- data/lib/stripe/services/treasury/inbound_transfer_service.rb +0 -88
- data/lib/stripe/services/treasury/outbound_payment_service.rb +0 -258
- data/lib/stripe/services/treasury/outbound_transfer_service.rb +0 -148
- data/lib/stripe/services/treasury/received_credit_service.rb +0 -52
- data/lib/stripe/services/treasury/received_debit_service.rb +0 -40
- data/lib/stripe/services/treasury/transaction_entry_service.rb +0 -87
- data/lib/stripe/services/treasury/transaction_service.rb +0 -95
- data/lib/stripe/services/v1_services.rb +1 -10
- data/lib/stripe/services/v2/billing/meter_event_adjustment_service.rb +0 -23
- data/lib/stripe/services/v2/billing/meter_event_service.rb +0 -25
- data/lib/stripe/services/v2/billing/meter_event_session_service.rb +0 -2
- data/lib/stripe/services/v2/billing/meter_event_stream_service.rb +0 -33
- data/lib/stripe/services/v2/core/event_destination_service.rb +0 -137
- data/lib/stripe/services/v2/core/event_service.rb +0 -16
- data/lib/stripe/services/v2/core_service.rb +1 -4
- data/lib/stripe/services/v2_services.rb +1 -4
- data/lib/stripe/services/webhook_endpoint_service.rb +0 -95
- data/lib/stripe/services.rb +0 -54
- data/lib/stripe/stripe_client.rb +8 -5
- data/lib/stripe/stripe_configuration.rb +2 -9
- data/lib/stripe/stripe_context.rb +68 -0
- data/lib/stripe/stripe_object.rb +34 -10
- data/lib/stripe/util.rb +25 -20
- data/lib/stripe/version.rb +1 -1
- data/lib/stripe.rb +3 -54
- data/rbi/stripe/resources/v2/core/event_notification.rbi +43 -0
- data/rbi/stripe/stripe_client.rbi +17 -0
- data/rbi/stripe.rbi +121931 -190301
- metadata +599 -189
- data/API_VERSION +0 -1
- data/CHANGELOG.md +0 -2780
- data/CODE_OF_CONDUCT.md +0 -77
- data/CONTRIBUTING.md +0 -25
- data/CONTRIBUTORS +0 -3
- data/Gemfile +0 -41
- data/History.txt +0 -1
- data/LICENSE +0 -21
- data/Makefile +0 -22
- data/OPENAPI_VERSION +0 -1
- data/README.md +0 -424
- data/Rakefile +0 -34
- data/VERSION +0 -1
- data/examples/README.md +0 -16
- data/examples/example_template.rb +0 -36
- data/examples/meter_event_stream.rb +0 -57
- data/examples/thinevent_webhook_handler.rb +0 -39
- data/justfile +0 -43
- data/lib/stripe/events/v2_core_account_closed_event.rb +0 -21
- data/lib/stripe/events/v2_core_account_created_event.rb +0 -21
- data/lib/stripe/events/v2_core_account_including_configuration_customer_capability_status_updated_event.rb +0 -23
- data/lib/stripe/events/v2_core_account_including_configuration_customer_updated_event.rb +0 -21
- data/lib/stripe/events/v2_core_account_including_configuration_merchant_capability_status_updated_event.rb +0 -23
- data/lib/stripe/events/v2_core_account_including_configuration_merchant_updated_event.rb +0 -21
- data/lib/stripe/events/v2_core_account_including_configuration_recipient_capability_status_updated_event.rb +0 -23
- data/lib/stripe/events/v2_core_account_including_configuration_recipient_updated_event.rb +0 -21
- data/lib/stripe/events/v2_core_account_including_configuration_storer_capability_status_updated_event.rb +0 -23
- data/lib/stripe/events/v2_core_account_including_configuration_storer_updated_event.rb +0 -21
- data/lib/stripe/events/v2_core_account_including_defaults_updated_event.rb +0 -21
- data/lib/stripe/events/v2_core_account_including_identity_updated_event.rb +0 -21
- data/lib/stripe/events/v2_core_account_including_requirements_updated_event.rb +0 -21
- data/lib/stripe/events/v2_core_account_link_returned_event.rb +0 -13
- data/lib/stripe/events/v2_core_account_person_created_event.rb +0 -23
- data/lib/stripe/events/v2_core_account_person_deleted_event.rb +0 -23
- data/lib/stripe/events/v2_core_account_person_updated_event.rb +0 -23
- data/lib/stripe/events/v2_core_account_updated_event.rb +0 -21
- data/lib/stripe/events/v2_money_management_adjustment_created_event.rb +0 -21
- data/lib/stripe/events/v2_money_management_financial_account_created_event.rb +0 -21
- data/lib/stripe/events/v2_money_management_financial_account_updated_event.rb +0 -21
- data/lib/stripe/events/v2_money_management_financial_address_activated_event.rb +0 -21
- data/lib/stripe/events/v2_money_management_financial_address_failed_event.rb +0 -21
- data/lib/stripe/events/v2_money_management_inbound_transfer_available_event.rb +0 -23
- data/lib/stripe/events/v2_money_management_inbound_transfer_bank_debit_failed_event.rb +0 -21
- data/lib/stripe/events/v2_money_management_inbound_transfer_bank_debit_processing_event.rb +0 -21
- data/lib/stripe/events/v2_money_management_inbound_transfer_bank_debit_queued_event.rb +0 -21
- data/lib/stripe/events/v2_money_management_inbound_transfer_bank_debit_returned_event.rb +0 -21
- data/lib/stripe/events/v2_money_management_inbound_transfer_bank_debit_succeeded_event.rb +0 -21
- data/lib/stripe/events/v2_money_management_outbound_payment_canceled_event.rb +0 -21
- data/lib/stripe/events/v2_money_management_outbound_payment_created_event.rb +0 -21
- data/lib/stripe/events/v2_money_management_outbound_payment_failed_event.rb +0 -21
- data/lib/stripe/events/v2_money_management_outbound_payment_posted_event.rb +0 -21
- data/lib/stripe/events/v2_money_management_outbound_payment_returned_event.rb +0 -21
- data/lib/stripe/events/v2_money_management_outbound_payment_updated_event.rb +0 -21
- data/lib/stripe/events/v2_money_management_outbound_transfer_canceled_event.rb +0 -21
- data/lib/stripe/events/v2_money_management_outbound_transfer_created_event.rb +0 -21
- data/lib/stripe/events/v2_money_management_outbound_transfer_failed_event.rb +0 -21
- data/lib/stripe/events/v2_money_management_outbound_transfer_posted_event.rb +0 -21
- data/lib/stripe/events/v2_money_management_outbound_transfer_returned_event.rb +0 -21
- data/lib/stripe/events/v2_money_management_outbound_transfer_updated_event.rb +0 -21
- data/lib/stripe/events/v2_money_management_payout_method_updated_event.rb +0 -21
- data/lib/stripe/events/v2_money_management_received_credit_available_event.rb +0 -23
- data/lib/stripe/events/v2_money_management_received_credit_failed_event.rb +0 -21
- data/lib/stripe/events/v2_money_management_received_credit_returned_event.rb +0 -21
- data/lib/stripe/events/v2_money_management_received_credit_succeeded_event.rb +0 -21
- data/lib/stripe/events/v2_money_management_received_debit_canceled_event.rb +0 -21
- data/lib/stripe/events/v2_money_management_received_debit_failed_event.rb +0 -21
- data/lib/stripe/events/v2_money_management_received_debit_pending_event.rb +0 -21
- data/lib/stripe/events/v2_money_management_received_debit_succeeded_event.rb +0 -21
- data/lib/stripe/events/v2_money_management_received_debit_updated_event.rb +0 -21
- data/lib/stripe/events/v2_money_management_transaction_created_event.rb +0 -21
- data/lib/stripe/events/v2_money_management_transaction_updated_event.rb +0 -21
- data/lib/stripe/events/v2_payments_off_session_payment_authorization_attempt_failed_event.rb +0 -21
- data/lib/stripe/events/v2_payments_off_session_payment_authorization_attempt_started_event.rb +0 -22
- data/lib/stripe/events/v2_payments_off_session_payment_canceled_event.rb +0 -21
- data/lib/stripe/events/v2_payments_off_session_payment_created_event.rb +0 -21
- data/lib/stripe/events/v2_payments_off_session_payment_failed_event.rb +0 -21
- data/lib/stripe/events/v2_payments_off_session_payment_succeeded_event.rb +0 -21
- data/lib/stripe/resources/account_notice.rb +0 -123
- data/lib/stripe/resources/billing/meter_usage.rb +0 -23
- data/lib/stripe/resources/billing/meter_usage_row.rb +0 -28
- data/lib/stripe/resources/capital/financing_offer.rb +0 -179
- data/lib/stripe/resources/capital/financing_summary.rb +0 -55
- data/lib/stripe/resources/capital/financing_transaction.rb +0 -114
- data/lib/stripe/resources/financial_connections/account_inferred_balance.rb +0 -27
- data/lib/stripe/resources/financial_connections/institution.rb +0 -92
- data/lib/stripe/resources/fx_quote.rb +0 -186
- data/lib/stripe/resources/issuing/credit_underwriting_record.rb +0 -602
- data/lib/stripe/resources/issuing/dispute_settlement_detail.rb +0 -82
- data/lib/stripe/resources/issuing/fraud_liability_debit.rb +0 -86
- data/lib/stripe/resources/issuing/settlement.rb +0 -53
- data/lib/stripe/resources/margin.rb +0 -115
- data/lib/stripe/resources/order.rb +0 -2958
- data/lib/stripe/resources/payment_attempt_record.rb +0 -1181
- data/lib/stripe/resources/payment_intent_amount_details_line_item.rb +0 -72
- data/lib/stripe/resources/payment_record.rb +0 -1727
- data/lib/stripe/resources/privacy/redaction_job.rb +0 -298
- data/lib/stripe/resources/privacy/redaction_job_validation_error.rb +0 -33
- data/lib/stripe/resources/quote_line.rb +0 -274
- data/lib/stripe/resources/quote_preview_invoice.rb +0 -680
- data/lib/stripe/resources/quote_preview_subscription_schedule.rb +0 -395
- data/lib/stripe/resources/tax/association.rb +0 -66
- data/lib/stripe/resources/tax/form.rb +0 -211
- data/lib/stripe/resources/terminal/onboarding_link.rb +0 -84
- data/lib/stripe/resources/terminal/reader_collected_data.rb +0 -31
- data/lib/stripe/resources/v2/core/account.rb +0 -1938
- data/lib/stripe/resources/v2/core/account_link.rb +0 -72
- data/lib/stripe/resources/v2/core/person.rb +0 -276
- data/lib/stripe/resources/v2/core/vault/gb_bank_account.rb +0 -74
- data/lib/stripe/resources/v2/core/vault/us_bank_account.rb +0 -39
- data/lib/stripe/resources/v2/event.rb +0 -41
- data/lib/stripe/resources/v2/event_destination.rb +0 -73
- data/lib/stripe/resources/v2/financial_address_credit_simulation.rb +0 -20
- data/lib/stripe/resources/v2/financial_address_generated_microdeposits.rb +0 -22
- data/lib/stripe/resources/v2/money_management/adjustment.rb +0 -51
- data/lib/stripe/resources/v2/money_management/financial_account.rb +0 -79
- data/lib/stripe/resources/v2/money_management/financial_address.rb +0 -68
- data/lib/stripe/resources/v2/money_management/inbound_transfer.rb +0 -94
- data/lib/stripe/resources/v2/money_management/outbound_payment.rb +0 -129
- data/lib/stripe/resources/v2/money_management/outbound_payment_quote.rb +0 -82
- data/lib/stripe/resources/v2/money_management/outbound_setup_intent.rb +0 -45
- data/lib/stripe/resources/v2/money_management/outbound_transfer.rb +0 -117
- data/lib/stripe/resources/v2/money_management/payout_method.rb +0 -77
- data/lib/stripe/resources/v2/money_management/payout_methods_bank_account_spec.rb +0 -49
- data/lib/stripe/resources/v2/money_management/received_credit.rb +0 -122
- data/lib/stripe/resources/v2/money_management/received_debit.rb +0 -84
- data/lib/stripe/resources/v2/money_management/transaction.rb +0 -80
- data/lib/stripe/resources/v2/money_management/transaction_entry.rb +0 -70
- data/lib/stripe/resources/v2/payments/off_session_payment.rb +0 -89
- data/lib/stripe/services/account_notice_service.rb +0 -101
- data/lib/stripe/services/billing/meter_usage_service.rb +0 -76
- data/lib/stripe/services/capital/financing_offer_service.rb +0 -112
- data/lib/stripe/services/capital/financing_summary_service.rb +0 -28
- data/lib/stripe/services/capital/financing_transaction_service.rb +0 -79
- data/lib/stripe/services/capital_service.rb +0 -15
- data/lib/stripe/services/external_account_service.rb +0 -317
- data/lib/stripe/services/financial_connections/account_inferred_balance_service.rb +0 -37
- data/lib/stripe/services/financial_connections/institution_service.rb +0 -57
- data/lib/stripe/services/fx_quote_service.rb +0 -123
- data/lib/stripe/services/issuing/credit_underwriting_record_service.rb +0 -504
- data/lib/stripe/services/issuing/dispute_settlement_detail_service.rb +0 -66
- data/lib/stripe/services/issuing/fraud_liability_debit_service.rb +0 -83
- data/lib/stripe/services/margin_service.rb +0 -119
- data/lib/stripe/services/order_service.rb +0 -2388
- data/lib/stripe/services/payment_attempt_record_service.rb +0 -52
- data/lib/stripe/services/payment_record_service.rb +0 -562
- data/lib/stripe/services/privacy/redaction_job_service.rb +0 -240
- data/lib/stripe/services/privacy/redaction_job_validation_error_service.rb +0 -37
- data/lib/stripe/services/privacy_service.rb +0 -13
- data/lib/stripe/services/tax/association_service.rb +0 -31
- data/lib/stripe/services/tax/form_service.rb +0 -100
- data/lib/stripe/services/terminal/onboarding_link_service.rb +0 -56
- data/lib/stripe/services/terminal/reader_collected_data_service.rb +0 -28
- data/lib/stripe/services/v2/core/account_link_service.rb +0 -114
- data/lib/stripe/services/v2/core/account_service.rb +0 -4536
- data/lib/stripe/services/v2/core/accounts/person_service.rb +0 -1045
- data/lib/stripe/services/v2/core/vault/gb_bank_account_service.rb +0 -130
- data/lib/stripe/services/v2/core/vault/us_bank_account_service.rb +0 -107
- data/lib/stripe/services/v2/core/vault_service.rb +0 -18
- data/lib/stripe/services/v2/money_management/adjustment_service.rb +0 -74
- data/lib/stripe/services/v2/money_management/financial_account_service.rb +0 -119
- data/lib/stripe/services/v2/money_management/financial_address_service.rb +0 -82
- data/lib/stripe/services/v2/money_management/inbound_transfer_service.rb +0 -125
- data/lib/stripe/services/v2/money_management/outbound_payment_quote_service.rb +0 -95
- data/lib/stripe/services/v2/money_management/outbound_payment_service.rb +0 -199
- data/lib/stripe/services/v2/money_management/outbound_setup_intent_service.rb +0 -235
- data/lib/stripe/services/v2/money_management/outbound_transfer_service.rb +0 -172
- data/lib/stripe/services/v2/money_management/payout_method_service.rb +0 -90
- data/lib/stripe/services/v2/money_management/payout_methods_bank_account_spec_service.rb +0 -32
- data/lib/stripe/services/v2/money_management/received_credit_service.rb +0 -70
- data/lib/stripe/services/v2/money_management/received_debit_service.rb +0 -43
- data/lib/stripe/services/v2/money_management/transaction_entry_service.rb +0 -69
- data/lib/stripe/services/v2/money_management/transaction_service.rb +0 -73
- 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 -152
- data/lib/stripe/services/v2/test_helper_service.rb +0 -15
- data/lib/stripe/services/v2/test_helpers/financial_address_service.rb +0 -53
- data/lib/stripe/thin_event.rb +0 -37
- data/stripe.gemspec +0 -47
@@ -22,14 +22,38 @@ module Stripe
|
|
22
22
|
attr_reader :ip_address
|
23
23
|
# The user agent of the browser from which the Mandate was accepted by the customer.
|
24
24
|
attr_reader :user_agent
|
25
|
+
|
26
|
+
def self.inner_class_types
|
27
|
+
@inner_class_types = {}
|
28
|
+
end
|
29
|
+
|
30
|
+
def self.field_remappings
|
31
|
+
@field_remappings = {}
|
32
|
+
end
|
25
33
|
end
|
26
34
|
# If this is a Mandate accepted online, this hash contains details about the online acceptance.
|
27
35
|
attr_reader :online
|
28
36
|
# The type of customer acceptance information included with the Mandate.
|
29
37
|
attr_reader :type
|
38
|
+
|
39
|
+
def self.inner_class_types
|
40
|
+
@inner_class_types = { online: Online }
|
41
|
+
end
|
42
|
+
|
43
|
+
def self.field_remappings
|
44
|
+
@field_remappings = {}
|
45
|
+
end
|
30
46
|
end
|
31
47
|
# This hash contains details about the customer acceptance of the Mandate.
|
32
48
|
attr_reader :customer_acceptance
|
49
|
+
|
50
|
+
def self.inner_class_types
|
51
|
+
@inner_class_types = { customer_acceptance: CustomerAcceptance }
|
52
|
+
end
|
53
|
+
|
54
|
+
def self.field_remappings
|
55
|
+
@field_remappings = {}
|
56
|
+
end
|
33
57
|
end
|
34
58
|
|
35
59
|
class PaymentMethodOptions < Stripe::StripeObject
|
@@ -43,23 +67,53 @@ module Stripe
|
|
43
67
|
attr_reader :interval
|
44
68
|
# Type of installment plan, one of `fixed_count`, `bonus`, or `revolving`.
|
45
69
|
attr_reader :type
|
70
|
+
|
71
|
+
def self.inner_class_types
|
72
|
+
@inner_class_types = {}
|
73
|
+
end
|
74
|
+
|
75
|
+
def self.field_remappings
|
76
|
+
@field_remappings = {}
|
77
|
+
end
|
46
78
|
end
|
47
79
|
# Attribute for field plan
|
48
80
|
attr_reader :plan
|
81
|
+
|
82
|
+
def self.inner_class_types
|
83
|
+
@inner_class_types = { plan: Plan }
|
84
|
+
end
|
85
|
+
|
86
|
+
def self.field_remappings
|
87
|
+
@field_remappings = {}
|
88
|
+
end
|
49
89
|
end
|
50
90
|
# The `cvc_update` Token collected from the Payment Element.
|
51
91
|
attr_reader :cvc_token
|
52
92
|
# Installment configuration for payments.
|
53
93
|
attr_reader :installments
|
94
|
+
|
95
|
+
def self.inner_class_types
|
96
|
+
@inner_class_types = { installments: Installments }
|
97
|
+
end
|
98
|
+
|
99
|
+
def self.field_remappings
|
100
|
+
@field_remappings = {}
|
101
|
+
end
|
54
102
|
end
|
55
103
|
# This hash contains the card payment method options.
|
56
104
|
attr_reader :card
|
105
|
+
|
106
|
+
def self.inner_class_types
|
107
|
+
@inner_class_types = { card: Card }
|
108
|
+
end
|
109
|
+
|
110
|
+
def self.field_remappings
|
111
|
+
@field_remappings = {}
|
112
|
+
end
|
57
113
|
end
|
58
114
|
|
59
115
|
class PaymentMethodPreview < Stripe::StripeObject
|
60
116
|
class AcssDebit < Stripe::StripeObject
|
61
|
-
# Account number of the bank account.
|
62
|
-
attr_reader :account_number
|
63
117
|
# Name of the bank associated with the bank account.
|
64
118
|
attr_reader :bank_name
|
65
119
|
# Uniquely identifies this particular bank account. You can use this attribute to check whether two bank accounts are the same.
|
@@ -70,13 +124,65 @@ module Stripe
|
|
70
124
|
attr_reader :last4
|
71
125
|
# Transit number of the bank account.
|
72
126
|
attr_reader :transit_number
|
127
|
+
|
128
|
+
def self.inner_class_types
|
129
|
+
@inner_class_types = {}
|
130
|
+
end
|
131
|
+
|
132
|
+
def self.field_remappings
|
133
|
+
@field_remappings = {}
|
134
|
+
end
|
73
135
|
end
|
74
136
|
|
75
|
-
class Affirm < Stripe::StripeObject
|
76
|
-
|
77
|
-
|
78
|
-
|
79
|
-
|
137
|
+
class Affirm < Stripe::StripeObject
|
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
|
+
class AfterpayClearpay < Stripe::StripeObject
|
148
|
+
def self.inner_class_types
|
149
|
+
@inner_class_types = {}
|
150
|
+
end
|
151
|
+
|
152
|
+
def self.field_remappings
|
153
|
+
@field_remappings = {}
|
154
|
+
end
|
155
|
+
end
|
156
|
+
|
157
|
+
class Alipay < Stripe::StripeObject
|
158
|
+
def self.inner_class_types
|
159
|
+
@inner_class_types = {}
|
160
|
+
end
|
161
|
+
|
162
|
+
def self.field_remappings
|
163
|
+
@field_remappings = {}
|
164
|
+
end
|
165
|
+
end
|
166
|
+
|
167
|
+
class Alma < Stripe::StripeObject
|
168
|
+
def self.inner_class_types
|
169
|
+
@inner_class_types = {}
|
170
|
+
end
|
171
|
+
|
172
|
+
def self.field_remappings
|
173
|
+
@field_remappings = {}
|
174
|
+
end
|
175
|
+
end
|
176
|
+
|
177
|
+
class AmazonPay < Stripe::StripeObject
|
178
|
+
def self.inner_class_types
|
179
|
+
@inner_class_types = {}
|
180
|
+
end
|
181
|
+
|
182
|
+
def self.field_remappings
|
183
|
+
@field_remappings = {}
|
184
|
+
end
|
185
|
+
end
|
80
186
|
|
81
187
|
class AuBecsDebit < Stripe::StripeObject
|
82
188
|
# Six-digit number identifying bank and branch associated with this bank account.
|
@@ -85,6 +191,14 @@ module Stripe
|
|
85
191
|
attr_reader :fingerprint
|
86
192
|
# Last four digits of the bank account number.
|
87
193
|
attr_reader :last4
|
194
|
+
|
195
|
+
def self.inner_class_types
|
196
|
+
@inner_class_types = {}
|
197
|
+
end
|
198
|
+
|
199
|
+
def self.field_remappings
|
200
|
+
@field_remappings = {}
|
201
|
+
end
|
88
202
|
end
|
89
203
|
|
90
204
|
class BacsDebit < Stripe::StripeObject
|
@@ -94,10 +208,35 @@ module Stripe
|
|
94
208
|
attr_reader :last4
|
95
209
|
# Sort code of the bank account. (e.g., `10-20-30`)
|
96
210
|
attr_reader :sort_code
|
211
|
+
|
212
|
+
def self.inner_class_types
|
213
|
+
@inner_class_types = {}
|
214
|
+
end
|
215
|
+
|
216
|
+
def self.field_remappings
|
217
|
+
@field_remappings = {}
|
218
|
+
end
|
97
219
|
end
|
98
220
|
|
99
|
-
class Bancontact < Stripe::StripeObject
|
100
|
-
|
221
|
+
class Bancontact < Stripe::StripeObject
|
222
|
+
def self.inner_class_types
|
223
|
+
@inner_class_types = {}
|
224
|
+
end
|
225
|
+
|
226
|
+
def self.field_remappings
|
227
|
+
@field_remappings = {}
|
228
|
+
end
|
229
|
+
end
|
230
|
+
|
231
|
+
class Billie < Stripe::StripeObject
|
232
|
+
def self.inner_class_types
|
233
|
+
@inner_class_types = {}
|
234
|
+
end
|
235
|
+
|
236
|
+
def self.field_remappings
|
237
|
+
@field_remappings = {}
|
238
|
+
end
|
239
|
+
end
|
101
240
|
|
102
241
|
class BillingDetails < Stripe::StripeObject
|
103
242
|
class Address < Stripe::StripeObject
|
@@ -105,14 +244,22 @@ module Stripe
|
|
105
244
|
attr_reader :city
|
106
245
|
# Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)).
|
107
246
|
attr_reader :country
|
108
|
-
# Address line 1
|
247
|
+
# Address line 1, such as the street, PO Box, or company name.
|
109
248
|
attr_reader :line1
|
110
|
-
# Address line 2
|
249
|
+
# Address line 2, such as the apartment, suite, unit, or building.
|
111
250
|
attr_reader :line2
|
112
251
|
# ZIP or postal code.
|
113
252
|
attr_reader :postal_code
|
114
253
|
# State, county, province, or region.
|
115
254
|
attr_reader :state
|
255
|
+
|
256
|
+
def self.inner_class_types
|
257
|
+
@inner_class_types = {}
|
258
|
+
end
|
259
|
+
|
260
|
+
def self.field_remappings
|
261
|
+
@field_remappings = {}
|
262
|
+
end
|
116
263
|
end
|
117
264
|
# Billing address.
|
118
265
|
attr_reader :address
|
@@ -124,13 +271,37 @@ module Stripe
|
|
124
271
|
attr_reader :phone
|
125
272
|
# Taxpayer identification number. Used only for transactions between LATAM buyers and non-LATAM sellers.
|
126
273
|
attr_reader :tax_id
|
274
|
+
|
275
|
+
def self.inner_class_types
|
276
|
+
@inner_class_types = { address: Address }
|
277
|
+
end
|
278
|
+
|
279
|
+
def self.field_remappings
|
280
|
+
@field_remappings = {}
|
281
|
+
end
|
127
282
|
end
|
128
283
|
|
129
|
-
class Blik < Stripe::StripeObject
|
284
|
+
class Blik < Stripe::StripeObject
|
285
|
+
def self.inner_class_types
|
286
|
+
@inner_class_types = {}
|
287
|
+
end
|
288
|
+
|
289
|
+
def self.field_remappings
|
290
|
+
@field_remappings = {}
|
291
|
+
end
|
292
|
+
end
|
130
293
|
|
131
294
|
class Boleto < Stripe::StripeObject
|
132
295
|
# Uniquely identifies the customer tax id (CNPJ or CPF)
|
133
296
|
attr_reader :tax_id
|
297
|
+
|
298
|
+
def self.inner_class_types
|
299
|
+
@inner_class_types = {}
|
300
|
+
end
|
301
|
+
|
302
|
+
def self.field_remappings
|
303
|
+
@field_remappings = {}
|
304
|
+
end
|
134
305
|
end
|
135
306
|
|
136
307
|
class Card < Stripe::StripeObject
|
@@ -141,6 +312,14 @@ module Stripe
|
|
141
312
|
attr_reader :address_postal_code_check
|
142
313
|
# If a CVC was provided, results of the check, one of `pass`, `fail`, `unavailable`, or `unchecked`.
|
143
314
|
attr_reader :cvc_check
|
315
|
+
|
316
|
+
def self.inner_class_types
|
317
|
+
@inner_class_types = {}
|
318
|
+
end
|
319
|
+
|
320
|
+
def self.field_remappings
|
321
|
+
@field_remappings = {}
|
322
|
+
end
|
144
323
|
end
|
145
324
|
|
146
325
|
class GeneratedFrom < Stripe::StripeObject
|
@@ -151,6 +330,14 @@ module Stripe
|
|
151
330
|
attr_reader :stored_at
|
152
331
|
# The method used to process this payment method offline. Only deferred is allowed.
|
153
332
|
attr_reader :type
|
333
|
+
|
334
|
+
def self.inner_class_types
|
335
|
+
@inner_class_types = {}
|
336
|
+
end
|
337
|
+
|
338
|
+
def self.field_remappings
|
339
|
+
@field_remappings = {}
|
340
|
+
end
|
154
341
|
end
|
155
342
|
|
156
343
|
class Receipt < Stripe::StripeObject
|
@@ -172,11 +359,27 @@ module Stripe
|
|
172
359
|
attr_reader :terminal_verification_results
|
173
360
|
# An indication of which steps were completed during the card read process. Referenced from EMV Tag 9B.
|
174
361
|
attr_reader :transaction_status_information
|
362
|
+
|
363
|
+
def self.inner_class_types
|
364
|
+
@inner_class_types = {}
|
365
|
+
end
|
366
|
+
|
367
|
+
def self.field_remappings
|
368
|
+
@field_remappings = {}
|
369
|
+
end
|
175
370
|
end
|
176
371
|
|
177
372
|
class Wallet < Stripe::StripeObject
|
178
373
|
# The type of mobile wallet, one of `apple_pay`, `google_pay`, `samsung_pay`, or `unknown`.
|
179
374
|
attr_reader :type
|
375
|
+
|
376
|
+
def self.inner_class_types
|
377
|
+
@inner_class_types = {}
|
378
|
+
end
|
379
|
+
|
380
|
+
def self.field_remappings
|
381
|
+
@field_remappings = {}
|
382
|
+
end
|
180
383
|
end
|
181
384
|
# The authorized amount
|
182
385
|
attr_reader :amount_authorized
|
@@ -230,11 +433,27 @@ module Stripe
|
|
230
433
|
attr_reader :receipt
|
231
434
|
# Attribute for field wallet
|
232
435
|
attr_reader :wallet
|
436
|
+
|
437
|
+
def self.inner_class_types
|
438
|
+
@inner_class_types = { offline: Offline, receipt: Receipt, wallet: Wallet }
|
439
|
+
end
|
440
|
+
|
441
|
+
def self.field_remappings
|
442
|
+
@field_remappings = {}
|
443
|
+
end
|
233
444
|
end
|
234
445
|
# Attribute for field card_present
|
235
446
|
attr_reader :card_present
|
236
447
|
# The type of payment method transaction-specific details from the transaction that generated this `card` payment method. Always `card_present`.
|
237
448
|
attr_reader :type
|
449
|
+
|
450
|
+
def self.inner_class_types
|
451
|
+
@inner_class_types = { card_present: CardPresent }
|
452
|
+
end
|
453
|
+
|
454
|
+
def self.field_remappings
|
455
|
+
@field_remappings = {}
|
456
|
+
end
|
238
457
|
end
|
239
458
|
# The charge that created this object.
|
240
459
|
attr_reader :charge
|
@@ -242,6 +461,14 @@ module Stripe
|
|
242
461
|
attr_reader :payment_method_details
|
243
462
|
# The ID of the SetupAttempt that generated this PaymentMethod, if any.
|
244
463
|
attr_reader :setup_attempt
|
464
|
+
|
465
|
+
def self.inner_class_types
|
466
|
+
@inner_class_types = { payment_method_details: PaymentMethodDetails }
|
467
|
+
end
|
468
|
+
|
469
|
+
def self.field_remappings
|
470
|
+
@field_remappings = {}
|
471
|
+
end
|
245
472
|
end
|
246
473
|
|
247
474
|
class Networks < Stripe::StripeObject
|
@@ -249,18 +476,69 @@ module Stripe
|
|
249
476
|
attr_reader :available
|
250
477
|
# The preferred network for co-branded cards. Can be `cartes_bancaires`, `mastercard`, `visa` or `invalid_preference` if requested network is not valid for the card.
|
251
478
|
attr_reader :preferred
|
479
|
+
|
480
|
+
def self.inner_class_types
|
481
|
+
@inner_class_types = {}
|
482
|
+
end
|
483
|
+
|
484
|
+
def self.field_remappings
|
485
|
+
@field_remappings = {}
|
486
|
+
end
|
252
487
|
end
|
253
488
|
|
254
489
|
class ThreeDSecureUsage < Stripe::StripeObject
|
255
490
|
# Whether 3D Secure is supported on this card.
|
256
491
|
attr_reader :supported
|
492
|
+
|
493
|
+
def self.inner_class_types
|
494
|
+
@inner_class_types = {}
|
495
|
+
end
|
496
|
+
|
497
|
+
def self.field_remappings
|
498
|
+
@field_remappings = {}
|
499
|
+
end
|
257
500
|
end
|
258
501
|
|
259
502
|
class Wallet < Stripe::StripeObject
|
260
|
-
class AmexExpressCheckout < Stripe::StripeObject
|
261
|
-
|
262
|
-
|
263
|
-
|
503
|
+
class AmexExpressCheckout < Stripe::StripeObject
|
504
|
+
def self.inner_class_types
|
505
|
+
@inner_class_types = {}
|
506
|
+
end
|
507
|
+
|
508
|
+
def self.field_remappings
|
509
|
+
@field_remappings = {}
|
510
|
+
end
|
511
|
+
end
|
512
|
+
|
513
|
+
class ApplePay < Stripe::StripeObject
|
514
|
+
def self.inner_class_types
|
515
|
+
@inner_class_types = {}
|
516
|
+
end
|
517
|
+
|
518
|
+
def self.field_remappings
|
519
|
+
@field_remappings = {}
|
520
|
+
end
|
521
|
+
end
|
522
|
+
|
523
|
+
class GooglePay < Stripe::StripeObject
|
524
|
+
def self.inner_class_types
|
525
|
+
@inner_class_types = {}
|
526
|
+
end
|
527
|
+
|
528
|
+
def self.field_remappings
|
529
|
+
@field_remappings = {}
|
530
|
+
end
|
531
|
+
end
|
532
|
+
|
533
|
+
class Link < Stripe::StripeObject
|
534
|
+
def self.inner_class_types
|
535
|
+
@inner_class_types = {}
|
536
|
+
end
|
537
|
+
|
538
|
+
def self.field_remappings
|
539
|
+
@field_remappings = {}
|
540
|
+
end
|
541
|
+
end
|
264
542
|
|
265
543
|
class Masterpass < Stripe::StripeObject
|
266
544
|
class BillingAddress < Stripe::StripeObject
|
@@ -268,14 +546,22 @@ module Stripe
|
|
268
546
|
attr_reader :city
|
269
547
|
# Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)).
|
270
548
|
attr_reader :country
|
271
|
-
# Address line 1
|
549
|
+
# Address line 1, such as the street, PO Box, or company name.
|
272
550
|
attr_reader :line1
|
273
|
-
# Address line 2
|
551
|
+
# Address line 2, such as the apartment, suite, unit, or building.
|
274
552
|
attr_reader :line2
|
275
553
|
# ZIP or postal code.
|
276
554
|
attr_reader :postal_code
|
277
555
|
# State, county, province, or region.
|
278
556
|
attr_reader :state
|
557
|
+
|
558
|
+
def self.inner_class_types
|
559
|
+
@inner_class_types = {}
|
560
|
+
end
|
561
|
+
|
562
|
+
def self.field_remappings
|
563
|
+
@field_remappings = {}
|
564
|
+
end
|
279
565
|
end
|
280
566
|
|
281
567
|
class ShippingAddress < Stripe::StripeObject
|
@@ -283,14 +569,22 @@ module Stripe
|
|
283
569
|
attr_reader :city
|
284
570
|
# Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)).
|
285
571
|
attr_reader :country
|
286
|
-
# Address line 1
|
572
|
+
# Address line 1, such as the street, PO Box, or company name.
|
287
573
|
attr_reader :line1
|
288
|
-
# Address line 2
|
574
|
+
# Address line 2, such as the apartment, suite, unit, or building.
|
289
575
|
attr_reader :line2
|
290
576
|
# ZIP or postal code.
|
291
577
|
attr_reader :postal_code
|
292
578
|
# State, county, province, or region.
|
293
579
|
attr_reader :state
|
580
|
+
|
581
|
+
def self.inner_class_types
|
582
|
+
@inner_class_types = {}
|
583
|
+
end
|
584
|
+
|
585
|
+
def self.field_remappings
|
586
|
+
@field_remappings = {}
|
587
|
+
end
|
294
588
|
end
|
295
589
|
# Owner's verified billing address. Values are verified or provided by the wallet directly (if supported) at the time of authorization or settlement. They cannot be set or mutated.
|
296
590
|
attr_reader :billing_address
|
@@ -300,9 +594,28 @@ module Stripe
|
|
300
594
|
attr_reader :name
|
301
595
|
# Owner's verified shipping address. Values are verified or provided by the wallet directly (if supported) at the time of authorization or settlement. They cannot be set or mutated.
|
302
596
|
attr_reader :shipping_address
|
597
|
+
|
598
|
+
def self.inner_class_types
|
599
|
+
@inner_class_types = {
|
600
|
+
billing_address: BillingAddress,
|
601
|
+
shipping_address: ShippingAddress,
|
602
|
+
}
|
603
|
+
end
|
604
|
+
|
605
|
+
def self.field_remappings
|
606
|
+
@field_remappings = {}
|
607
|
+
end
|
303
608
|
end
|
304
609
|
|
305
|
-
class SamsungPay < Stripe::StripeObject
|
610
|
+
class SamsungPay < Stripe::StripeObject
|
611
|
+
def self.inner_class_types
|
612
|
+
@inner_class_types = {}
|
613
|
+
end
|
614
|
+
|
615
|
+
def self.field_remappings
|
616
|
+
@field_remappings = {}
|
617
|
+
end
|
618
|
+
end
|
306
619
|
|
307
620
|
class VisaCheckout < Stripe::StripeObject
|
308
621
|
class BillingAddress < Stripe::StripeObject
|
@@ -310,14 +623,22 @@ module Stripe
|
|
310
623
|
attr_reader :city
|
311
624
|
# Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)).
|
312
625
|
attr_reader :country
|
313
|
-
# Address line 1
|
626
|
+
# Address line 1, such as the street, PO Box, or company name.
|
314
627
|
attr_reader :line1
|
315
|
-
# Address line 2
|
628
|
+
# Address line 2, such as the apartment, suite, unit, or building.
|
316
629
|
attr_reader :line2
|
317
630
|
# ZIP or postal code.
|
318
631
|
attr_reader :postal_code
|
319
632
|
# State, county, province, or region.
|
320
633
|
attr_reader :state
|
634
|
+
|
635
|
+
def self.inner_class_types
|
636
|
+
@inner_class_types = {}
|
637
|
+
end
|
638
|
+
|
639
|
+
def self.field_remappings
|
640
|
+
@field_remappings = {}
|
641
|
+
end
|
321
642
|
end
|
322
643
|
|
323
644
|
class ShippingAddress < Stripe::StripeObject
|
@@ -325,14 +646,22 @@ module Stripe
|
|
325
646
|
attr_reader :city
|
326
647
|
# Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)).
|
327
648
|
attr_reader :country
|
328
|
-
# Address line 1
|
649
|
+
# Address line 1, such as the street, PO Box, or company name.
|
329
650
|
attr_reader :line1
|
330
|
-
# Address line 2
|
651
|
+
# Address line 2, such as the apartment, suite, unit, or building.
|
331
652
|
attr_reader :line2
|
332
653
|
# ZIP or postal code.
|
333
654
|
attr_reader :postal_code
|
334
655
|
# State, county, province, or region.
|
335
656
|
attr_reader :state
|
657
|
+
|
658
|
+
def self.inner_class_types
|
659
|
+
@inner_class_types = {}
|
660
|
+
end
|
661
|
+
|
662
|
+
def self.field_remappings
|
663
|
+
@field_remappings = {}
|
664
|
+
end
|
336
665
|
end
|
337
666
|
# Owner's verified billing address. Values are verified or provided by the wallet directly (if supported) at the time of authorization or settlement. They cannot be set or mutated.
|
338
667
|
attr_reader :billing_address
|
@@ -342,6 +671,17 @@ module Stripe
|
|
342
671
|
attr_reader :name
|
343
672
|
# Owner's verified shipping address. Values are verified or provided by the wallet directly (if supported) at the time of authorization or settlement. They cannot be set or mutated.
|
344
673
|
attr_reader :shipping_address
|
674
|
+
|
675
|
+
def self.inner_class_types
|
676
|
+
@inner_class_types = {
|
677
|
+
billing_address: BillingAddress,
|
678
|
+
shipping_address: ShippingAddress,
|
679
|
+
}
|
680
|
+
end
|
681
|
+
|
682
|
+
def self.field_remappings
|
683
|
+
@field_remappings = {}
|
684
|
+
end
|
345
685
|
end
|
346
686
|
# Attribute for field amex_express_checkout
|
347
687
|
attr_reader :amex_express_checkout
|
@@ -361,6 +701,22 @@ module Stripe
|
|
361
701
|
attr_reader :type
|
362
702
|
# Attribute for field visa_checkout
|
363
703
|
attr_reader :visa_checkout
|
704
|
+
|
705
|
+
def self.inner_class_types
|
706
|
+
@inner_class_types = {
|
707
|
+
amex_express_checkout: AmexExpressCheckout,
|
708
|
+
apple_pay: ApplePay,
|
709
|
+
google_pay: GooglePay,
|
710
|
+
link: Link,
|
711
|
+
masterpass: Masterpass,
|
712
|
+
samsung_pay: SamsungPay,
|
713
|
+
visa_checkout: VisaCheckout,
|
714
|
+
}
|
715
|
+
end
|
716
|
+
|
717
|
+
def self.field_remappings
|
718
|
+
@field_remappings = {}
|
719
|
+
end
|
364
720
|
end
|
365
721
|
# Card brand. Can be `amex`, `cartes_bancaires`, `diners`, `discover`, `eftpos_au`, `jcb`, `link`, `mastercard`, `unionpay`, `visa` or `unknown`.
|
366
722
|
attr_reader :brand
|
@@ -398,6 +754,20 @@ module Stripe
|
|
398
754
|
attr_reader :three_d_secure_usage
|
399
755
|
# If this Card is part of a card wallet, this contains the details of the card wallet.
|
400
756
|
attr_reader :wallet
|
757
|
+
|
758
|
+
def self.inner_class_types
|
759
|
+
@inner_class_types = {
|
760
|
+
checks: Checks,
|
761
|
+
generated_from: GeneratedFrom,
|
762
|
+
networks: Networks,
|
763
|
+
three_d_secure_usage: ThreeDSecureUsage,
|
764
|
+
wallet: Wallet,
|
765
|
+
}
|
766
|
+
end
|
767
|
+
|
768
|
+
def self.field_remappings
|
769
|
+
@field_remappings = {}
|
770
|
+
end
|
401
771
|
end
|
402
772
|
|
403
773
|
class CardPresent < Stripe::StripeObject
|
@@ -406,6 +776,14 @@ module Stripe
|
|
406
776
|
attr_reader :available
|
407
777
|
# The preferred network for the card.
|
408
778
|
attr_reader :preferred
|
779
|
+
|
780
|
+
def self.inner_class_types
|
781
|
+
@inner_class_types = {}
|
782
|
+
end
|
783
|
+
|
784
|
+
def self.field_remappings
|
785
|
+
@field_remappings = {}
|
786
|
+
end
|
409
787
|
end
|
410
788
|
|
411
789
|
class Offline < Stripe::StripeObject
|
@@ -413,11 +791,27 @@ module Stripe
|
|
413
791
|
attr_reader :stored_at
|
414
792
|
# The method used to process this payment method offline. Only deferred is allowed.
|
415
793
|
attr_reader :type
|
794
|
+
|
795
|
+
def self.inner_class_types
|
796
|
+
@inner_class_types = {}
|
797
|
+
end
|
798
|
+
|
799
|
+
def self.field_remappings
|
800
|
+
@field_remappings = {}
|
801
|
+
end
|
416
802
|
end
|
417
803
|
|
418
804
|
class Wallet < Stripe::StripeObject
|
419
805
|
# The type of mobile wallet, one of `apple_pay`, `google_pay`, `samsung_pay`, or `unknown`.
|
420
806
|
attr_reader :type
|
807
|
+
|
808
|
+
def self.inner_class_types
|
809
|
+
@inner_class_types = {}
|
810
|
+
end
|
811
|
+
|
812
|
+
def self.field_remappings
|
813
|
+
@field_remappings = {}
|
814
|
+
end
|
421
815
|
end
|
422
816
|
# Card brand. Can be `amex`, `cartes_bancaires`, `diners`, `discover`, `eftpos_au`, `jcb`, `link`, `mastercard`, `unionpay`, `visa` or `unknown`.
|
423
817
|
attr_reader :brand
|
@@ -455,6 +849,14 @@ module Stripe
|
|
455
849
|
attr_reader :read_method
|
456
850
|
# Attribute for field wallet
|
457
851
|
attr_reader :wallet
|
852
|
+
|
853
|
+
def self.inner_class_types
|
854
|
+
@inner_class_types = { networks: Networks, offline: Offline, wallet: Wallet }
|
855
|
+
end
|
856
|
+
|
857
|
+
def self.field_remappings
|
858
|
+
@field_remappings = {}
|
859
|
+
end
|
458
860
|
end
|
459
861
|
|
460
862
|
class Cashapp < Stripe::StripeObject
|
@@ -462,14 +864,47 @@ module Stripe
|
|
462
864
|
attr_reader :buyer_id
|
463
865
|
# A public identifier for buyers using Cash App.
|
464
866
|
attr_reader :cashtag
|
867
|
+
|
868
|
+
def self.inner_class_types
|
869
|
+
@inner_class_types = {}
|
870
|
+
end
|
871
|
+
|
872
|
+
def self.field_remappings
|
873
|
+
@field_remappings = {}
|
874
|
+
end
|
875
|
+
end
|
876
|
+
|
877
|
+
class Crypto < Stripe::StripeObject
|
878
|
+
def self.inner_class_types
|
879
|
+
@inner_class_types = {}
|
880
|
+
end
|
881
|
+
|
882
|
+
def self.field_remappings
|
883
|
+
@field_remappings = {}
|
884
|
+
end
|
465
885
|
end
|
466
886
|
|
467
|
-
class
|
468
|
-
|
887
|
+
class CustomerBalance < Stripe::StripeObject
|
888
|
+
def self.inner_class_types
|
889
|
+
@inner_class_types = {}
|
890
|
+
end
|
891
|
+
|
892
|
+
def self.field_remappings
|
893
|
+
@field_remappings = {}
|
894
|
+
end
|
895
|
+
end
|
469
896
|
|
470
897
|
class Eps < Stripe::StripeObject
|
471
898
|
# The customer's bank. Should be one of `arzte_und_apotheker_bank`, `austrian_anadi_bank_ag`, `bank_austria`, `bankhaus_carl_spangler`, `bankhaus_schelhammer_und_schattera_ag`, `bawag_psk_ag`, `bks_bank_ag`, `brull_kallmus_bank_ag`, `btv_vier_lander_bank`, `capital_bank_grawe_gruppe_ag`, `deutsche_bank_ag`, `dolomitenbank`, `easybank_ag`, `erste_bank_und_sparkassen`, `hypo_alpeadriabank_international_ag`, `hypo_noe_lb_fur_niederosterreich_u_wien`, `hypo_oberosterreich_salzburg_steiermark`, `hypo_tirol_bank_ag`, `hypo_vorarlberg_bank_ag`, `hypo_bank_burgenland_aktiengesellschaft`, `marchfelder_bank`, `oberbank_ag`, `raiffeisen_bankengruppe_osterreich`, `schoellerbank_ag`, `sparda_bank_wien`, `volksbank_gruppe`, `volkskreditbank_ag`, or `vr_bank_braunau`.
|
472
899
|
attr_reader :bank
|
900
|
+
|
901
|
+
def self.inner_class_types
|
902
|
+
@inner_class_types = {}
|
903
|
+
end
|
904
|
+
|
905
|
+
def self.field_remappings
|
906
|
+
@field_remappings = {}
|
907
|
+
end
|
473
908
|
end
|
474
909
|
|
475
910
|
class Fpx < Stripe::StripeObject
|
@@ -477,21 +912,34 @@ module Stripe
|
|
477
912
|
attr_reader :account_holder_type
|
478
913
|
# The customer's bank, if provided. Can be one of `affin_bank`, `agrobank`, `alliance_bank`, `ambank`, `bank_islam`, `bank_muamalat`, `bank_rakyat`, `bsn`, `cimb`, `hong_leong_bank`, `hsbc`, `kfh`, `maybank2u`, `ocbc`, `public_bank`, `rhb`, `standard_chartered`, `uob`, `deutsche_bank`, `maybank2e`, `pb_enterprise`, or `bank_of_china`.
|
479
914
|
attr_reader :bank
|
915
|
+
|
916
|
+
def self.inner_class_types
|
917
|
+
@inner_class_types = {}
|
918
|
+
end
|
919
|
+
|
920
|
+
def self.field_remappings
|
921
|
+
@field_remappings = {}
|
922
|
+
end
|
480
923
|
end
|
481
924
|
|
482
|
-
class Giropay < Stripe::StripeObject
|
483
|
-
|
484
|
-
|
925
|
+
class Giropay < Stripe::StripeObject
|
926
|
+
def self.inner_class_types
|
927
|
+
@inner_class_types = {}
|
928
|
+
end
|
485
929
|
|
486
|
-
|
487
|
-
|
488
|
-
|
489
|
-
|
490
|
-
|
491
|
-
|
492
|
-
|
493
|
-
|
494
|
-
|
930
|
+
def self.field_remappings
|
931
|
+
@field_remappings = {}
|
932
|
+
end
|
933
|
+
end
|
934
|
+
|
935
|
+
class Grabpay < Stripe::StripeObject
|
936
|
+
def self.inner_class_types
|
937
|
+
@inner_class_types = {}
|
938
|
+
end
|
939
|
+
|
940
|
+
def self.field_remappings
|
941
|
+
@field_remappings = {}
|
942
|
+
end
|
495
943
|
end
|
496
944
|
|
497
945
|
class Ideal < Stripe::StripeObject
|
@@ -499,6 +947,14 @@ module Stripe
|
|
499
947
|
attr_reader :bank
|
500
948
|
# The Bank Identifier Code of the customer's bank, if the bank was provided.
|
501
949
|
attr_reader :bic
|
950
|
+
|
951
|
+
def self.inner_class_types
|
952
|
+
@inner_class_types = {}
|
953
|
+
end
|
954
|
+
|
955
|
+
def self.field_remappings
|
956
|
+
@field_remappings = {}
|
957
|
+
end
|
502
958
|
end
|
503
959
|
|
504
960
|
class InteracPresent < Stripe::StripeObject
|
@@ -507,6 +963,14 @@ module Stripe
|
|
507
963
|
attr_reader :available
|
508
964
|
# The preferred network for the card.
|
509
965
|
attr_reader :preferred
|
966
|
+
|
967
|
+
def self.inner_class_types
|
968
|
+
@inner_class_types = {}
|
969
|
+
end
|
970
|
+
|
971
|
+
def self.field_remappings
|
972
|
+
@field_remappings = {}
|
973
|
+
end
|
510
974
|
end
|
511
975
|
# Card brand. Can be `interac`, `mastercard` or `visa`.
|
512
976
|
attr_reader :brand
|
@@ -538,9 +1002,25 @@ module Stripe
|
|
538
1002
|
attr_reader :preferred_locales
|
539
1003
|
# How card details were read in this transaction.
|
540
1004
|
attr_reader :read_method
|
1005
|
+
|
1006
|
+
def self.inner_class_types
|
1007
|
+
@inner_class_types = { networks: Networks }
|
1008
|
+
end
|
1009
|
+
|
1010
|
+
def self.field_remappings
|
1011
|
+
@field_remappings = {}
|
1012
|
+
end
|
541
1013
|
end
|
542
1014
|
|
543
|
-
class KakaoPay < Stripe::StripeObject
|
1015
|
+
class KakaoPay < Stripe::StripeObject
|
1016
|
+
def self.inner_class_types
|
1017
|
+
@inner_class_types = {}
|
1018
|
+
end
|
1019
|
+
|
1020
|
+
def self.field_remappings
|
1021
|
+
@field_remappings = {}
|
1022
|
+
end
|
1023
|
+
end
|
544
1024
|
|
545
1025
|
class Klarna < Stripe::StripeObject
|
546
1026
|
class Dob < Stripe::StripeObject
|
@@ -550,18 +1030,50 @@ module Stripe
|
|
550
1030
|
attr_reader :month
|
551
1031
|
# The four-digit year of birth.
|
552
1032
|
attr_reader :year
|
1033
|
+
|
1034
|
+
def self.inner_class_types
|
1035
|
+
@inner_class_types = {}
|
1036
|
+
end
|
1037
|
+
|
1038
|
+
def self.field_remappings
|
1039
|
+
@field_remappings = {}
|
1040
|
+
end
|
553
1041
|
end
|
554
1042
|
# The customer's date of birth, if provided.
|
555
1043
|
attr_reader :dob
|
1044
|
+
|
1045
|
+
def self.inner_class_types
|
1046
|
+
@inner_class_types = { dob: Dob }
|
1047
|
+
end
|
1048
|
+
|
1049
|
+
def self.field_remappings
|
1050
|
+
@field_remappings = {}
|
1051
|
+
end
|
556
1052
|
end
|
557
1053
|
|
558
|
-
class Konbini < Stripe::StripeObject
|
1054
|
+
class Konbini < Stripe::StripeObject
|
1055
|
+
def self.inner_class_types
|
1056
|
+
@inner_class_types = {}
|
1057
|
+
end
|
1058
|
+
|
1059
|
+
def self.field_remappings
|
1060
|
+
@field_remappings = {}
|
1061
|
+
end
|
1062
|
+
end
|
559
1063
|
|
560
1064
|
class KrCard < Stripe::StripeObject
|
561
1065
|
# The local credit or debit card brand.
|
562
1066
|
attr_reader :brand
|
563
1067
|
# The last four digits of the card. This may not be present for American Express cards.
|
564
1068
|
attr_reader :last4
|
1069
|
+
|
1070
|
+
def self.inner_class_types
|
1071
|
+
@inner_class_types = {}
|
1072
|
+
end
|
1073
|
+
|
1074
|
+
def self.field_remappings
|
1075
|
+
@field_remappings = {}
|
1076
|
+
end
|
565
1077
|
end
|
566
1078
|
|
567
1079
|
class Link < Stripe::StripeObject
|
@@ -569,17 +1081,59 @@ module Stripe
|
|
569
1081
|
attr_reader :email
|
570
1082
|
# [Deprecated] This is a legacy parameter that no longer has any function.
|
571
1083
|
attr_reader :persistent_token
|
1084
|
+
|
1085
|
+
def self.inner_class_types
|
1086
|
+
@inner_class_types = {}
|
1087
|
+
end
|
1088
|
+
|
1089
|
+
def self.field_remappings
|
1090
|
+
@field_remappings = {}
|
1091
|
+
end
|
1092
|
+
end
|
1093
|
+
|
1094
|
+
class MbWay < Stripe::StripeObject
|
1095
|
+
def self.inner_class_types
|
1096
|
+
@inner_class_types = {}
|
1097
|
+
end
|
1098
|
+
|
1099
|
+
def self.field_remappings
|
1100
|
+
@field_remappings = {}
|
1101
|
+
end
|
1102
|
+
end
|
1103
|
+
|
1104
|
+
class Mobilepay < Stripe::StripeObject
|
1105
|
+
def self.inner_class_types
|
1106
|
+
@inner_class_types = {}
|
1107
|
+
end
|
1108
|
+
|
1109
|
+
def self.field_remappings
|
1110
|
+
@field_remappings = {}
|
1111
|
+
end
|
572
1112
|
end
|
573
1113
|
|
574
|
-
class
|
575
|
-
|
576
|
-
|
1114
|
+
class Multibanco < Stripe::StripeObject
|
1115
|
+
def self.inner_class_types
|
1116
|
+
@inner_class_types = {}
|
1117
|
+
end
|
1118
|
+
|
1119
|
+
def self.field_remappings
|
1120
|
+
@field_remappings = {}
|
1121
|
+
end
|
1122
|
+
end
|
577
1123
|
|
578
1124
|
class NaverPay < Stripe::StripeObject
|
579
1125
|
# Uniquely identifies this particular Naver Pay account. You can use this attribute to check whether two Naver Pay accounts are the same.
|
580
1126
|
attr_reader :buyer_id
|
581
1127
|
# Whether to fund this transaction with Naver Pay points or a card.
|
582
1128
|
attr_reader :funding
|
1129
|
+
|
1130
|
+
def self.inner_class_types
|
1131
|
+
@inner_class_types = {}
|
1132
|
+
end
|
1133
|
+
|
1134
|
+
def self.field_remappings
|
1135
|
+
@field_remappings = {}
|
1136
|
+
end
|
583
1137
|
end
|
584
1138
|
|
585
1139
|
class NzBankAccount < Stripe::StripeObject
|
@@ -595,63 +1149,136 @@ module Stripe
|
|
595
1149
|
attr_reader :last4
|
596
1150
|
# The suffix of the bank account number.
|
597
1151
|
attr_reader :suffix
|
1152
|
+
|
1153
|
+
def self.inner_class_types
|
1154
|
+
@inner_class_types = {}
|
1155
|
+
end
|
1156
|
+
|
1157
|
+
def self.field_remappings
|
1158
|
+
@field_remappings = {}
|
1159
|
+
end
|
598
1160
|
end
|
599
1161
|
|
600
|
-
class Oxxo < Stripe::StripeObject
|
1162
|
+
class Oxxo < Stripe::StripeObject
|
1163
|
+
def self.inner_class_types
|
1164
|
+
@inner_class_types = {}
|
1165
|
+
end
|
1166
|
+
|
1167
|
+
def self.field_remappings
|
1168
|
+
@field_remappings = {}
|
1169
|
+
end
|
1170
|
+
end
|
601
1171
|
|
602
1172
|
class P24 < Stripe::StripeObject
|
603
1173
|
# The customer's bank, if provided.
|
604
1174
|
attr_reader :bank
|
1175
|
+
|
1176
|
+
def self.inner_class_types
|
1177
|
+
@inner_class_types = {}
|
1178
|
+
end
|
1179
|
+
|
1180
|
+
def self.field_remappings
|
1181
|
+
@field_remappings = {}
|
1182
|
+
end
|
1183
|
+
end
|
1184
|
+
|
1185
|
+
class PayByBank < Stripe::StripeObject
|
1186
|
+
def self.inner_class_types
|
1187
|
+
@inner_class_types = {}
|
1188
|
+
end
|
1189
|
+
|
1190
|
+
def self.field_remappings
|
1191
|
+
@field_remappings = {}
|
1192
|
+
end
|
1193
|
+
end
|
1194
|
+
|
1195
|
+
class Payco < Stripe::StripeObject
|
1196
|
+
def self.inner_class_types
|
1197
|
+
@inner_class_types = {}
|
1198
|
+
end
|
1199
|
+
|
1200
|
+
def self.field_remappings
|
1201
|
+
@field_remappings = {}
|
1202
|
+
end
|
605
1203
|
end
|
606
1204
|
|
607
|
-
class
|
608
|
-
|
609
|
-
|
1205
|
+
class Paynow < Stripe::StripeObject
|
1206
|
+
def self.inner_class_types
|
1207
|
+
@inner_class_types = {}
|
1208
|
+
end
|
1209
|
+
|
1210
|
+
def self.field_remappings
|
1211
|
+
@field_remappings = {}
|
1212
|
+
end
|
1213
|
+
end
|
610
1214
|
|
611
1215
|
class Paypal < Stripe::StripeObject
|
612
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.
|
613
1217
|
attr_reader :country
|
614
|
-
# Uniquely identifies this particular PayPal account. You can use this attribute to check whether two PayPal accounts are the same.
|
615
|
-
attr_reader :fingerprint
|
616
1218
|
# Owner's email. Values are provided by PayPal directly
|
617
1219
|
# (if supported) at the time of authorization or settlement. They cannot be set or mutated.
|
618
1220
|
attr_reader :payer_email
|
619
1221
|
# PayPal account PayerID. This identifier uniquely identifies the PayPal customer.
|
620
1222
|
attr_reader :payer_id
|
621
|
-
|
622
|
-
|
623
|
-
|
1223
|
+
|
1224
|
+
def self.inner_class_types
|
1225
|
+
@inner_class_types = {}
|
1226
|
+
end
|
1227
|
+
|
1228
|
+
def self.field_remappings
|
1229
|
+
@field_remappings = {}
|
1230
|
+
end
|
624
1231
|
end
|
625
1232
|
|
626
|
-
class
|
627
|
-
|
628
|
-
|
629
|
-
|
630
|
-
|
631
|
-
|
632
|
-
|
1233
|
+
class Pix < Stripe::StripeObject
|
1234
|
+
def self.inner_class_types
|
1235
|
+
@inner_class_types = {}
|
1236
|
+
end
|
1237
|
+
|
1238
|
+
def self.field_remappings
|
1239
|
+
@field_remappings = {}
|
1240
|
+
end
|
633
1241
|
end
|
634
1242
|
|
635
|
-
class
|
636
|
-
|
637
|
-
|
1243
|
+
class Promptpay < Stripe::StripeObject
|
1244
|
+
def self.inner_class_types
|
1245
|
+
@inner_class_types = {}
|
1246
|
+
end
|
638
1247
|
|
639
|
-
|
640
|
-
|
641
|
-
|
642
|
-
|
643
|
-
|
644
|
-
|
645
|
-
|
646
|
-
|
1248
|
+
def self.field_remappings
|
1249
|
+
@field_remappings = {}
|
1250
|
+
end
|
1251
|
+
end
|
1252
|
+
|
1253
|
+
class RevolutPay < Stripe::StripeObject
|
1254
|
+
def self.inner_class_types
|
1255
|
+
@inner_class_types = {}
|
1256
|
+
end
|
1257
|
+
|
1258
|
+
def self.field_remappings
|
1259
|
+
@field_remappings = {}
|
1260
|
+
end
|
1261
|
+
end
|
1262
|
+
|
1263
|
+
class SamsungPay < Stripe::StripeObject
|
1264
|
+
def self.inner_class_types
|
1265
|
+
@inner_class_types = {}
|
1266
|
+
end
|
1267
|
+
|
1268
|
+
def self.field_remappings
|
1269
|
+
@field_remappings = {}
|
647
1270
|
end
|
648
|
-
# Attribute for field dob
|
649
|
-
attr_reader :dob
|
650
1271
|
end
|
651
1272
|
|
652
|
-
class
|
653
|
-
|
654
|
-
|
1273
|
+
class Satispay < Stripe::StripeObject
|
1274
|
+
def self.inner_class_types
|
1275
|
+
@inner_class_types = {}
|
1276
|
+
end
|
1277
|
+
|
1278
|
+
def self.field_remappings
|
1279
|
+
@field_remappings = {}
|
1280
|
+
end
|
1281
|
+
end
|
655
1282
|
|
656
1283
|
class SepaDebit < Stripe::StripeObject
|
657
1284
|
class GeneratedFrom < Stripe::StripeObject
|
@@ -659,6 +1286,14 @@ module Stripe
|
|
659
1286
|
attr_reader :charge
|
660
1287
|
# The ID of the SetupAttempt that generated this PaymentMethod, if any.
|
661
1288
|
attr_reader :setup_attempt
|
1289
|
+
|
1290
|
+
def self.inner_class_types
|
1291
|
+
@inner_class_types = {}
|
1292
|
+
end
|
1293
|
+
|
1294
|
+
def self.field_remappings
|
1295
|
+
@field_remappings = {}
|
1296
|
+
end
|
662
1297
|
end
|
663
1298
|
# Bank code of bank associated with the bank account.
|
664
1299
|
attr_reader :bank_code
|
@@ -672,24 +1307,48 @@ module Stripe
|
|
672
1307
|
attr_reader :generated_from
|
673
1308
|
# Last four characters of the IBAN.
|
674
1309
|
attr_reader :last4
|
675
|
-
end
|
676
1310
|
|
677
|
-
|
1311
|
+
def self.inner_class_types
|
1312
|
+
@inner_class_types = { generated_from: GeneratedFrom }
|
1313
|
+
end
|
1314
|
+
|
1315
|
+
def self.field_remappings
|
1316
|
+
@field_remappings = {}
|
1317
|
+
end
|
1318
|
+
end
|
678
1319
|
|
679
1320
|
class Sofort < Stripe::StripeObject
|
680
1321
|
# Two-letter ISO code representing the country the bank account is located in.
|
681
1322
|
attr_reader :country
|
1323
|
+
|
1324
|
+
def self.inner_class_types
|
1325
|
+
@inner_class_types = {}
|
1326
|
+
end
|
1327
|
+
|
1328
|
+
def self.field_remappings
|
1329
|
+
@field_remappings = {}
|
1330
|
+
end
|
682
1331
|
end
|
683
1332
|
|
684
|
-
class
|
685
|
-
|
686
|
-
|
687
|
-
|
688
|
-
|
1333
|
+
class Swish < Stripe::StripeObject
|
1334
|
+
def self.inner_class_types
|
1335
|
+
@inner_class_types = {}
|
1336
|
+
end
|
1337
|
+
|
1338
|
+
def self.field_remappings
|
1339
|
+
@field_remappings = {}
|
1340
|
+
end
|
689
1341
|
end
|
690
1342
|
|
691
|
-
class
|
692
|
-
|
1343
|
+
class Twint < Stripe::StripeObject
|
1344
|
+
def self.inner_class_types
|
1345
|
+
@inner_class_types = {}
|
1346
|
+
end
|
1347
|
+
|
1348
|
+
def self.field_remappings
|
1349
|
+
@field_remappings = {}
|
1350
|
+
end
|
1351
|
+
end
|
693
1352
|
|
694
1353
|
class UsBankAccount < Stripe::StripeObject
|
695
1354
|
class Networks < Stripe::StripeObject
|
@@ -697,6 +1356,14 @@ module Stripe
|
|
697
1356
|
attr_reader :preferred
|
698
1357
|
# All supported networks.
|
699
1358
|
attr_reader :supported
|
1359
|
+
|
1360
|
+
def self.inner_class_types
|
1361
|
+
@inner_class_types = {}
|
1362
|
+
end
|
1363
|
+
|
1364
|
+
def self.field_remappings
|
1365
|
+
@field_remappings = {}
|
1366
|
+
end
|
700
1367
|
end
|
701
1368
|
|
702
1369
|
class StatusDetails < Stripe::StripeObject
|
@@ -705,14 +1372,28 @@ module Stripe
|
|
705
1372
|
attr_reader :network_code
|
706
1373
|
# The reason why this PaymentMethod's fingerprint has been blocked
|
707
1374
|
attr_reader :reason
|
1375
|
+
|
1376
|
+
def self.inner_class_types
|
1377
|
+
@inner_class_types = {}
|
1378
|
+
end
|
1379
|
+
|
1380
|
+
def self.field_remappings
|
1381
|
+
@field_remappings = {}
|
1382
|
+
end
|
708
1383
|
end
|
709
1384
|
# Attribute for field blocked
|
710
1385
|
attr_reader :blocked
|
1386
|
+
|
1387
|
+
def self.inner_class_types
|
1388
|
+
@inner_class_types = { blocked: Blocked }
|
1389
|
+
end
|
1390
|
+
|
1391
|
+
def self.field_remappings
|
1392
|
+
@field_remappings = {}
|
1393
|
+
end
|
711
1394
|
end
|
712
1395
|
# Account holder type: individual or company.
|
713
1396
|
attr_reader :account_holder_type
|
714
|
-
# Account number of the bank account.
|
715
|
-
attr_reader :account_number
|
716
1397
|
# Account type: checkings or savings. Defaults to checking if omitted.
|
717
1398
|
attr_reader :account_type
|
718
1399
|
# The name of the bank.
|
@@ -729,10 +1410,35 @@ module Stripe
|
|
729
1410
|
attr_reader :routing_number
|
730
1411
|
# Contains information about the future reusability of this PaymentMethod.
|
731
1412
|
attr_reader :status_details
|
1413
|
+
|
1414
|
+
def self.inner_class_types
|
1415
|
+
@inner_class_types = { networks: Networks, status_details: StatusDetails }
|
1416
|
+
end
|
1417
|
+
|
1418
|
+
def self.field_remappings
|
1419
|
+
@field_remappings = {}
|
1420
|
+
end
|
732
1421
|
end
|
733
1422
|
|
734
|
-
class WechatPay < Stripe::StripeObject
|
735
|
-
|
1423
|
+
class WechatPay < Stripe::StripeObject
|
1424
|
+
def self.inner_class_types
|
1425
|
+
@inner_class_types = {}
|
1426
|
+
end
|
1427
|
+
|
1428
|
+
def self.field_remappings
|
1429
|
+
@field_remappings = {}
|
1430
|
+
end
|
1431
|
+
end
|
1432
|
+
|
1433
|
+
class Zip < Stripe::StripeObject
|
1434
|
+
def self.inner_class_types
|
1435
|
+
@inner_class_types = {}
|
1436
|
+
end
|
1437
|
+
|
1438
|
+
def self.field_remappings
|
1439
|
+
@field_remappings = {}
|
1440
|
+
end
|
1441
|
+
end
|
736
1442
|
# Attribute for field acss_debit
|
737
1443
|
attr_reader :acss_debit
|
738
1444
|
# Attribute for field affirm
|
@@ -771,8 +1477,6 @@ module Stripe
|
|
771
1477
|
attr_reader :crypto
|
772
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.
|
773
1479
|
attr_reader :customer
|
774
|
-
# Attribute for field customer_account
|
775
|
-
attr_reader :customer_account
|
776
1480
|
# Attribute for field customer_balance
|
777
1481
|
attr_reader :customer_balance
|
778
1482
|
# Attribute for field eps
|
@@ -781,12 +1485,8 @@ module Stripe
|
|
781
1485
|
attr_reader :fpx
|
782
1486
|
# Attribute for field giropay
|
783
1487
|
attr_reader :giropay
|
784
|
-
# Attribute for field gopay
|
785
|
-
attr_reader :gopay
|
786
1488
|
# Attribute for field grabpay
|
787
1489
|
attr_reader :grabpay
|
788
|
-
# Attribute for field id_bank_transfer
|
789
|
-
attr_reader :id_bank_transfer
|
790
1490
|
# Attribute for field ideal
|
791
1491
|
attr_reader :ideal
|
792
1492
|
# Attribute for field interac_present
|
@@ -823,16 +1523,10 @@ module Stripe
|
|
823
1523
|
attr_reader :paynow
|
824
1524
|
# Attribute for field paypal
|
825
1525
|
attr_reader :paypal
|
826
|
-
# Attribute for field payto
|
827
|
-
attr_reader :payto
|
828
1526
|
# Attribute for field pix
|
829
1527
|
attr_reader :pix
|
830
1528
|
# Attribute for field promptpay
|
831
1529
|
attr_reader :promptpay
|
832
|
-
# Attribute for field qris
|
833
|
-
attr_reader :qris
|
834
|
-
# Attribute for field rechnung
|
835
|
-
attr_reader :rechnung
|
836
1530
|
# Attribute for field revolut_pay
|
837
1531
|
attr_reader :revolut_pay
|
838
1532
|
# Attribute for field samsung_pay
|
@@ -841,12 +1535,8 @@ module Stripe
|
|
841
1535
|
attr_reader :satispay
|
842
1536
|
# Attribute for field sepa_debit
|
843
1537
|
attr_reader :sepa_debit
|
844
|
-
# Attribute for field shopeepay
|
845
|
-
attr_reader :shopeepay
|
846
1538
|
# Attribute for field sofort
|
847
1539
|
attr_reader :sofort
|
848
|
-
# Attribute for field stripe_balance
|
849
|
-
attr_reader :stripe_balance
|
850
1540
|
# Attribute for field swish
|
851
1541
|
attr_reader :swish
|
852
1542
|
# Attribute for field twint
|
@@ -859,6 +1549,67 @@ module Stripe
|
|
859
1549
|
attr_reader :wechat_pay
|
860
1550
|
# Attribute for field zip
|
861
1551
|
attr_reader :zip
|
1552
|
+
|
1553
|
+
def self.inner_class_types
|
1554
|
+
@inner_class_types = {
|
1555
|
+
acss_debit: AcssDebit,
|
1556
|
+
affirm: Affirm,
|
1557
|
+
afterpay_clearpay: AfterpayClearpay,
|
1558
|
+
alipay: Alipay,
|
1559
|
+
alma: Alma,
|
1560
|
+
amazon_pay: AmazonPay,
|
1561
|
+
au_becs_debit: AuBecsDebit,
|
1562
|
+
bacs_debit: BacsDebit,
|
1563
|
+
bancontact: Bancontact,
|
1564
|
+
billie: Billie,
|
1565
|
+
billing_details: BillingDetails,
|
1566
|
+
blik: Blik,
|
1567
|
+
boleto: Boleto,
|
1568
|
+
card: Card,
|
1569
|
+
card_present: CardPresent,
|
1570
|
+
cashapp: Cashapp,
|
1571
|
+
crypto: Crypto,
|
1572
|
+
customer_balance: CustomerBalance,
|
1573
|
+
eps: Eps,
|
1574
|
+
fpx: Fpx,
|
1575
|
+
giropay: Giropay,
|
1576
|
+
grabpay: Grabpay,
|
1577
|
+
ideal: Ideal,
|
1578
|
+
interac_present: InteracPresent,
|
1579
|
+
kakao_pay: KakaoPay,
|
1580
|
+
klarna: Klarna,
|
1581
|
+
konbini: Konbini,
|
1582
|
+
kr_card: KrCard,
|
1583
|
+
link: Link,
|
1584
|
+
mb_way: MbWay,
|
1585
|
+
mobilepay: Mobilepay,
|
1586
|
+
multibanco: Multibanco,
|
1587
|
+
naver_pay: NaverPay,
|
1588
|
+
nz_bank_account: NzBankAccount,
|
1589
|
+
oxxo: Oxxo,
|
1590
|
+
p24: P24,
|
1591
|
+
pay_by_bank: PayByBank,
|
1592
|
+
payco: Payco,
|
1593
|
+
paynow: Paynow,
|
1594
|
+
paypal: Paypal,
|
1595
|
+
pix: Pix,
|
1596
|
+
promptpay: Promptpay,
|
1597
|
+
revolut_pay: RevolutPay,
|
1598
|
+
samsung_pay: SamsungPay,
|
1599
|
+
satispay: Satispay,
|
1600
|
+
sepa_debit: SepaDebit,
|
1601
|
+
sofort: Sofort,
|
1602
|
+
swish: Swish,
|
1603
|
+
twint: Twint,
|
1604
|
+
us_bank_account: UsBankAccount,
|
1605
|
+
wechat_pay: WechatPay,
|
1606
|
+
zip: Zip,
|
1607
|
+
}
|
1608
|
+
end
|
1609
|
+
|
1610
|
+
def self.field_remappings
|
1611
|
+
@field_remappings = {}
|
1612
|
+
end
|
862
1613
|
end
|
863
1614
|
|
864
1615
|
class Shipping < Stripe::StripeObject
|
@@ -867,14 +1618,22 @@ module Stripe
|
|
867
1618
|
attr_reader :city
|
868
1619
|
# Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)).
|
869
1620
|
attr_reader :country
|
870
|
-
# Address line 1
|
1621
|
+
# Address line 1, such as the street, PO Box, or company name.
|
871
1622
|
attr_reader :line1
|
872
|
-
# Address line 2
|
1623
|
+
# Address line 2, such as the apartment, suite, unit, or building.
|
873
1624
|
attr_reader :line2
|
874
1625
|
# ZIP or postal code.
|
875
1626
|
attr_reader :postal_code
|
876
1627
|
# State, county, province, or region.
|
877
1628
|
attr_reader :state
|
1629
|
+
|
1630
|
+
def self.inner_class_types
|
1631
|
+
@inner_class_types = {}
|
1632
|
+
end
|
1633
|
+
|
1634
|
+
def self.field_remappings
|
1635
|
+
@field_remappings = {}
|
1636
|
+
end
|
878
1637
|
end
|
879
1638
|
# Attribute for field address
|
880
1639
|
attr_reader :address
|
@@ -882,743 +1641,13 @@ module Stripe
|
|
882
1641
|
attr_reader :name
|
883
1642
|
# Recipient phone (including extension).
|
884
1643
|
attr_reader :phone
|
885
|
-
end
|
886
|
-
|
887
|
-
class CreateParams < Stripe::RequestParams
|
888
|
-
class PaymentMethodData < Stripe::RequestParams
|
889
|
-
class AcssDebit < Stripe::RequestParams
|
890
|
-
# Customer's bank account number.
|
891
|
-
attr_accessor :account_number
|
892
|
-
# Institution number of the customer's bank.
|
893
|
-
attr_accessor :institution_number
|
894
|
-
# Transit number of the customer's bank.
|
895
|
-
attr_accessor :transit_number
|
896
|
-
|
897
|
-
def initialize(account_number: nil, institution_number: nil, transit_number: nil)
|
898
|
-
@account_number = account_number
|
899
|
-
@institution_number = institution_number
|
900
|
-
@transit_number = transit_number
|
901
|
-
end
|
902
|
-
end
|
903
|
-
|
904
|
-
class Affirm < Stripe::RequestParams; end
|
905
|
-
class AfterpayClearpay < Stripe::RequestParams; end
|
906
|
-
class Alipay < Stripe::RequestParams; end
|
907
|
-
class Alma < Stripe::RequestParams; end
|
908
|
-
class AmazonPay < Stripe::RequestParams; end
|
909
|
-
|
910
|
-
class AuBecsDebit < Stripe::RequestParams
|
911
|
-
# The account number for the bank account.
|
912
|
-
attr_accessor :account_number
|
913
|
-
# Bank-State-Branch number of the bank account.
|
914
|
-
attr_accessor :bsb_number
|
915
|
-
|
916
|
-
def initialize(account_number: nil, bsb_number: nil)
|
917
|
-
@account_number = account_number
|
918
|
-
@bsb_number = bsb_number
|
919
|
-
end
|
920
|
-
end
|
921
|
-
|
922
|
-
class BacsDebit < Stripe::RequestParams
|
923
|
-
# Account number of the bank account that the funds will be debited from.
|
924
|
-
attr_accessor :account_number
|
925
|
-
# Sort code of the bank account. (e.g., `10-20-30`)
|
926
|
-
attr_accessor :sort_code
|
927
|
-
|
928
|
-
def initialize(account_number: nil, sort_code: nil)
|
929
|
-
@account_number = account_number
|
930
|
-
@sort_code = sort_code
|
931
|
-
end
|
932
|
-
end
|
933
|
-
|
934
|
-
class Bancontact < Stripe::RequestParams; end
|
935
|
-
class Billie < Stripe::RequestParams; end
|
936
|
-
|
937
|
-
class BillingDetails < Stripe::RequestParams
|
938
|
-
class Address < Stripe::RequestParams
|
939
|
-
# City, district, suburb, town, or village.
|
940
|
-
attr_accessor :city
|
941
|
-
# Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)).
|
942
|
-
attr_accessor :country
|
943
|
-
# Address line 1 (e.g., street, PO Box, or company name).
|
944
|
-
attr_accessor :line1
|
945
|
-
# Address line 2 (e.g., apartment, suite, unit, or building).
|
946
|
-
attr_accessor :line2
|
947
|
-
# ZIP or postal code.
|
948
|
-
attr_accessor :postal_code
|
949
|
-
# State, county, province, or region.
|
950
|
-
attr_accessor :state
|
951
|
-
|
952
|
-
def initialize(
|
953
|
-
city: nil,
|
954
|
-
country: nil,
|
955
|
-
line1: nil,
|
956
|
-
line2: nil,
|
957
|
-
postal_code: nil,
|
958
|
-
state: nil
|
959
|
-
)
|
960
|
-
@city = city
|
961
|
-
@country = country
|
962
|
-
@line1 = line1
|
963
|
-
@line2 = line2
|
964
|
-
@postal_code = postal_code
|
965
|
-
@state = state
|
966
|
-
end
|
967
|
-
end
|
968
|
-
# Billing address.
|
969
|
-
attr_accessor :address
|
970
|
-
# Email address.
|
971
|
-
attr_accessor :email
|
972
|
-
# Full name.
|
973
|
-
attr_accessor :name
|
974
|
-
# Billing phone number (including extension).
|
975
|
-
attr_accessor :phone
|
976
|
-
# Taxpayer identification number. Used only for transactions between LATAM buyers and non-LATAM sellers.
|
977
|
-
attr_accessor :tax_id
|
978
|
-
|
979
|
-
def initialize(address: nil, email: nil, name: nil, phone: nil, tax_id: nil)
|
980
|
-
@address = address
|
981
|
-
@email = email
|
982
|
-
@name = name
|
983
|
-
@phone = phone
|
984
|
-
@tax_id = tax_id
|
985
|
-
end
|
986
|
-
end
|
987
|
-
|
988
|
-
class Blik < Stripe::RequestParams; end
|
989
|
-
|
990
|
-
class Boleto < Stripe::RequestParams
|
991
|
-
# The tax ID of the customer (CPF for individual consumers or CNPJ for businesses consumers)
|
992
|
-
attr_accessor :tax_id
|
993
|
-
|
994
|
-
def initialize(tax_id: nil)
|
995
|
-
@tax_id = tax_id
|
996
|
-
end
|
997
|
-
end
|
998
|
-
|
999
|
-
class Cashapp < Stripe::RequestParams; end
|
1000
|
-
class Crypto < Stripe::RequestParams; end
|
1001
|
-
class CustomerBalance < Stripe::RequestParams; end
|
1002
|
-
|
1003
|
-
class Eps < Stripe::RequestParams
|
1004
|
-
# The customer's bank.
|
1005
|
-
attr_accessor :bank
|
1006
|
-
|
1007
|
-
def initialize(bank: nil)
|
1008
|
-
@bank = bank
|
1009
|
-
end
|
1010
|
-
end
|
1011
|
-
|
1012
|
-
class Fpx < Stripe::RequestParams
|
1013
|
-
# Account holder type for FPX transaction
|
1014
|
-
attr_accessor :account_holder_type
|
1015
|
-
# The customer's bank.
|
1016
|
-
attr_accessor :bank
|
1017
|
-
|
1018
|
-
def initialize(account_holder_type: nil, bank: nil)
|
1019
|
-
@account_holder_type = account_holder_type
|
1020
|
-
@bank = bank
|
1021
|
-
end
|
1022
|
-
end
|
1023
|
-
|
1024
|
-
class Giropay < Stripe::RequestParams; end
|
1025
|
-
class Gopay < Stripe::RequestParams; end
|
1026
|
-
class Grabpay < Stripe::RequestParams; end
|
1027
|
-
|
1028
|
-
class IdBankTransfer < Stripe::RequestParams
|
1029
|
-
# Bank where the account is held.
|
1030
|
-
attr_accessor :bank
|
1031
|
-
|
1032
|
-
def initialize(bank: nil)
|
1033
|
-
@bank = bank
|
1034
|
-
end
|
1035
|
-
end
|
1036
|
-
|
1037
|
-
class Ideal < Stripe::RequestParams
|
1038
|
-
# The customer's bank. Only use this parameter for existing customers. Don't use it for new customers.
|
1039
|
-
attr_accessor :bank
|
1040
|
-
|
1041
|
-
def initialize(bank: nil)
|
1042
|
-
@bank = bank
|
1043
|
-
end
|
1044
|
-
end
|
1045
|
-
|
1046
|
-
class InteracPresent < Stripe::RequestParams; end
|
1047
|
-
class KakaoPay < Stripe::RequestParams; end
|
1048
|
-
|
1049
|
-
class Klarna < Stripe::RequestParams
|
1050
|
-
class Dob < Stripe::RequestParams
|
1051
|
-
# The day of birth, between 1 and 31.
|
1052
|
-
attr_accessor :day
|
1053
|
-
# The month of birth, between 1 and 12.
|
1054
|
-
attr_accessor :month
|
1055
|
-
# The four-digit year of birth.
|
1056
|
-
attr_accessor :year
|
1057
|
-
|
1058
|
-
def initialize(day: nil, month: nil, year: nil)
|
1059
|
-
@day = day
|
1060
|
-
@month = month
|
1061
|
-
@year = year
|
1062
|
-
end
|
1063
|
-
end
|
1064
|
-
# Customer's date of birth
|
1065
|
-
attr_accessor :dob
|
1066
|
-
|
1067
|
-
def initialize(dob: nil)
|
1068
|
-
@dob = dob
|
1069
|
-
end
|
1070
|
-
end
|
1071
|
-
|
1072
|
-
class Konbini < Stripe::RequestParams; end
|
1073
|
-
class KrCard < Stripe::RequestParams; end
|
1074
|
-
class Link < Stripe::RequestParams; end
|
1075
|
-
class MbWay < Stripe::RequestParams; end
|
1076
|
-
class Mobilepay < Stripe::RequestParams; end
|
1077
|
-
class Multibanco < Stripe::RequestParams; end
|
1078
|
-
|
1079
|
-
class NaverPay < Stripe::RequestParams
|
1080
|
-
# Whether to use Naver Pay points or a card to fund this transaction. If not provided, this defaults to `card`.
|
1081
|
-
attr_accessor :funding
|
1082
|
-
|
1083
|
-
def initialize(funding: nil)
|
1084
|
-
@funding = funding
|
1085
|
-
end
|
1086
|
-
end
|
1087
1644
|
|
1088
|
-
|
1089
|
-
|
1090
|
-
attr_accessor :account_holder_name
|
1091
|
-
# The account number for the bank account.
|
1092
|
-
attr_accessor :account_number
|
1093
|
-
# The numeric code for the bank account's bank.
|
1094
|
-
attr_accessor :bank_code
|
1095
|
-
# The numeric code for the bank account's bank branch.
|
1096
|
-
attr_accessor :branch_code
|
1097
|
-
# Attribute for param field reference
|
1098
|
-
attr_accessor :reference
|
1099
|
-
# The suffix of the bank account number.
|
1100
|
-
attr_accessor :suffix
|
1101
|
-
|
1102
|
-
def initialize(
|
1103
|
-
account_holder_name: nil,
|
1104
|
-
account_number: nil,
|
1105
|
-
bank_code: nil,
|
1106
|
-
branch_code: nil,
|
1107
|
-
reference: nil,
|
1108
|
-
suffix: nil
|
1109
|
-
)
|
1110
|
-
@account_holder_name = account_holder_name
|
1111
|
-
@account_number = account_number
|
1112
|
-
@bank_code = bank_code
|
1113
|
-
@branch_code = branch_code
|
1114
|
-
@reference = reference
|
1115
|
-
@suffix = suffix
|
1116
|
-
end
|
1117
|
-
end
|
1118
|
-
|
1119
|
-
class Oxxo < Stripe::RequestParams; end
|
1120
|
-
|
1121
|
-
class P24 < Stripe::RequestParams
|
1122
|
-
# The customer's bank.
|
1123
|
-
attr_accessor :bank
|
1124
|
-
|
1125
|
-
def initialize(bank: nil)
|
1126
|
-
@bank = bank
|
1127
|
-
end
|
1128
|
-
end
|
1129
|
-
|
1130
|
-
class PayByBank < Stripe::RequestParams; end
|
1131
|
-
class Payco < Stripe::RequestParams; end
|
1132
|
-
class Paynow < Stripe::RequestParams; end
|
1133
|
-
class Paypal < Stripe::RequestParams; end
|
1134
|
-
|
1135
|
-
class Payto < Stripe::RequestParams
|
1136
|
-
# The account number for the bank account.
|
1137
|
-
attr_accessor :account_number
|
1138
|
-
# Bank-State-Branch number of the bank account.
|
1139
|
-
attr_accessor :bsb_number
|
1140
|
-
# The PayID alias for the bank account.
|
1141
|
-
attr_accessor :pay_id
|
1142
|
-
|
1143
|
-
def initialize(account_number: nil, bsb_number: nil, pay_id: nil)
|
1144
|
-
@account_number = account_number
|
1145
|
-
@bsb_number = bsb_number
|
1146
|
-
@pay_id = pay_id
|
1147
|
-
end
|
1148
|
-
end
|
1149
|
-
|
1150
|
-
class Pix < Stripe::RequestParams; end
|
1151
|
-
class Promptpay < Stripe::RequestParams; end
|
1152
|
-
class Qris < Stripe::RequestParams; end
|
1153
|
-
|
1154
|
-
class RadarOptions < Stripe::RequestParams
|
1155
|
-
# A [Radar Session](https://stripe.com/docs/radar/radar-session) is a snapshot of the browser metadata and device details that help Radar make more accurate predictions on your payments.
|
1156
|
-
attr_accessor :session
|
1157
|
-
|
1158
|
-
def initialize(session: nil)
|
1159
|
-
@session = session
|
1160
|
-
end
|
1161
|
-
end
|
1162
|
-
|
1163
|
-
class Rechnung < Stripe::RequestParams
|
1164
|
-
class Dob < Stripe::RequestParams
|
1165
|
-
# The day of birth, between 1 and 31.
|
1166
|
-
attr_accessor :day
|
1167
|
-
# The month of birth, between 1 and 12.
|
1168
|
-
attr_accessor :month
|
1169
|
-
# The four-digit year of birth.
|
1170
|
-
attr_accessor :year
|
1171
|
-
|
1172
|
-
def initialize(day: nil, month: nil, year: nil)
|
1173
|
-
@day = day
|
1174
|
-
@month = month
|
1175
|
-
@year = year
|
1176
|
-
end
|
1177
|
-
end
|
1178
|
-
# Customer's date of birth
|
1179
|
-
attr_accessor :dob
|
1180
|
-
|
1181
|
-
def initialize(dob: nil)
|
1182
|
-
@dob = dob
|
1183
|
-
end
|
1184
|
-
end
|
1185
|
-
|
1186
|
-
class RevolutPay < Stripe::RequestParams; end
|
1187
|
-
class SamsungPay < Stripe::RequestParams; end
|
1188
|
-
class Satispay < Stripe::RequestParams; end
|
1189
|
-
|
1190
|
-
class SepaDebit < Stripe::RequestParams
|
1191
|
-
# IBAN of the bank account.
|
1192
|
-
attr_accessor :iban
|
1193
|
-
|
1194
|
-
def initialize(iban: nil)
|
1195
|
-
@iban = iban
|
1196
|
-
end
|
1197
|
-
end
|
1198
|
-
|
1199
|
-
class Shopeepay < Stripe::RequestParams; end
|
1200
|
-
|
1201
|
-
class Sofort < Stripe::RequestParams
|
1202
|
-
# Two-letter ISO code representing the country the bank account is located in.
|
1203
|
-
attr_accessor :country
|
1204
|
-
|
1205
|
-
def initialize(country: nil)
|
1206
|
-
@country = country
|
1207
|
-
end
|
1208
|
-
end
|
1209
|
-
|
1210
|
-
class StripeBalance < Stripe::RequestParams
|
1211
|
-
# The connected account ID whose Stripe balance to use as the source of payment
|
1212
|
-
attr_accessor :account
|
1213
|
-
# The [source_type](https://docs.stripe.com/api/balance/balance_object#balance_object-available-source_types) of the balance
|
1214
|
-
attr_accessor :source_type
|
1215
|
-
|
1216
|
-
def initialize(account: nil, source_type: nil)
|
1217
|
-
@account = account
|
1218
|
-
@source_type = source_type
|
1219
|
-
end
|
1220
|
-
end
|
1221
|
-
|
1222
|
-
class Swish < Stripe::RequestParams; end
|
1223
|
-
class Twint < Stripe::RequestParams; end
|
1224
|
-
|
1225
|
-
class UsBankAccount < Stripe::RequestParams
|
1226
|
-
# Account holder type: individual or company.
|
1227
|
-
attr_accessor :account_holder_type
|
1228
|
-
# Account number of the bank account.
|
1229
|
-
attr_accessor :account_number
|
1230
|
-
# Account type: checkings or savings. Defaults to checking if omitted.
|
1231
|
-
attr_accessor :account_type
|
1232
|
-
# The ID of a Financial Connections Account to use as a payment method.
|
1233
|
-
attr_accessor :financial_connections_account
|
1234
|
-
# Routing number of the bank account.
|
1235
|
-
attr_accessor :routing_number
|
1236
|
-
|
1237
|
-
def initialize(
|
1238
|
-
account_holder_type: nil,
|
1239
|
-
account_number: nil,
|
1240
|
-
account_type: nil,
|
1241
|
-
financial_connections_account: nil,
|
1242
|
-
routing_number: nil
|
1243
|
-
)
|
1244
|
-
@account_holder_type = account_holder_type
|
1245
|
-
@account_number = account_number
|
1246
|
-
@account_type = account_type
|
1247
|
-
@financial_connections_account = financial_connections_account
|
1248
|
-
@routing_number = routing_number
|
1249
|
-
end
|
1250
|
-
end
|
1251
|
-
|
1252
|
-
class WechatPay < Stripe::RequestParams; end
|
1253
|
-
class Zip < Stripe::RequestParams; end
|
1254
|
-
# If this is an `acss_debit` PaymentMethod, this hash contains details about the ACSS Debit payment method.
|
1255
|
-
attr_accessor :acss_debit
|
1256
|
-
# If this is an `affirm` PaymentMethod, this hash contains details about the Affirm payment method.
|
1257
|
-
attr_accessor :affirm
|
1258
|
-
# If this is an `AfterpayClearpay` PaymentMethod, this hash contains details about the AfterpayClearpay payment method.
|
1259
|
-
attr_accessor :afterpay_clearpay
|
1260
|
-
# If this is an `Alipay` PaymentMethod, this hash contains details about the Alipay payment method.
|
1261
|
-
attr_accessor :alipay
|
1262
|
-
# This field indicates whether this payment method can be shown again to its customer in a checkout flow. Stripe products such as Checkout and Elements use this field to determine whether a payment method can be shown as a saved payment method in a checkout flow. The field defaults to `unspecified`.
|
1263
|
-
attr_accessor :allow_redisplay
|
1264
|
-
# If this is a Alma PaymentMethod, this hash contains details about the Alma payment method.
|
1265
|
-
attr_accessor :alma
|
1266
|
-
# If this is a AmazonPay PaymentMethod, this hash contains details about the AmazonPay payment method.
|
1267
|
-
attr_accessor :amazon_pay
|
1268
|
-
# If this is an `au_becs_debit` PaymentMethod, this hash contains details about the bank account.
|
1269
|
-
attr_accessor :au_becs_debit
|
1270
|
-
# If this is a `bacs_debit` PaymentMethod, this hash contains details about the Bacs Direct Debit bank account.
|
1271
|
-
attr_accessor :bacs_debit
|
1272
|
-
# If this is a `bancontact` PaymentMethod, this hash contains details about the Bancontact payment method.
|
1273
|
-
attr_accessor :bancontact
|
1274
|
-
# If this is a `billie` PaymentMethod, this hash contains details about the Billie payment method.
|
1275
|
-
attr_accessor :billie
|
1276
|
-
# Billing information associated with the PaymentMethod that may be used or required by particular types of payment methods.
|
1277
|
-
attr_accessor :billing_details
|
1278
|
-
# If this is a `blik` PaymentMethod, this hash contains details about the BLIK payment method.
|
1279
|
-
attr_accessor :blik
|
1280
|
-
# If this is a `boleto` PaymentMethod, this hash contains details about the Boleto payment method.
|
1281
|
-
attr_accessor :boleto
|
1282
|
-
# If this is a `cashapp` PaymentMethod, this hash contains details about the Cash App Pay payment method.
|
1283
|
-
attr_accessor :cashapp
|
1284
|
-
# If this is a Crypto PaymentMethod, this hash contains details about the Crypto payment method.
|
1285
|
-
attr_accessor :crypto
|
1286
|
-
# If this is a `customer_balance` PaymentMethod, this hash contains details about the CustomerBalance payment method.
|
1287
|
-
attr_accessor :customer_balance
|
1288
|
-
# If this is an `eps` PaymentMethod, this hash contains details about the EPS payment method.
|
1289
|
-
attr_accessor :eps
|
1290
|
-
# If this is an `fpx` PaymentMethod, this hash contains details about the FPX payment method.
|
1291
|
-
attr_accessor :fpx
|
1292
|
-
# If this is a `giropay` PaymentMethod, this hash contains details about the Giropay payment method.
|
1293
|
-
attr_accessor :giropay
|
1294
|
-
# If this is a Gopay PaymentMethod, this hash contains details about the Gopay payment method.
|
1295
|
-
attr_accessor :gopay
|
1296
|
-
# If this is a `grabpay` PaymentMethod, this hash contains details about the GrabPay payment method.
|
1297
|
-
attr_accessor :grabpay
|
1298
|
-
# If this is an `IdBankTransfer` PaymentMethod, this hash contains details about the IdBankTransfer payment method.
|
1299
|
-
attr_accessor :id_bank_transfer
|
1300
|
-
# If this is an `ideal` PaymentMethod, this hash contains details about the iDEAL payment method.
|
1301
|
-
attr_accessor :ideal
|
1302
|
-
# If this is an `interac_present` PaymentMethod, this hash contains details about the Interac Present payment method.
|
1303
|
-
attr_accessor :interac_present
|
1304
|
-
# If this is a `kakao_pay` PaymentMethod, this hash contains details about the Kakao Pay payment method.
|
1305
|
-
attr_accessor :kakao_pay
|
1306
|
-
# If this is a `klarna` PaymentMethod, this hash contains details about the Klarna payment method.
|
1307
|
-
attr_accessor :klarna
|
1308
|
-
# If this is a `konbini` PaymentMethod, this hash contains details about the Konbini payment method.
|
1309
|
-
attr_accessor :konbini
|
1310
|
-
# If this is a `kr_card` PaymentMethod, this hash contains details about the Korean Card payment method.
|
1311
|
-
attr_accessor :kr_card
|
1312
|
-
# If this is an `Link` PaymentMethod, this hash contains details about the Link payment method.
|
1313
|
-
attr_accessor :link
|
1314
|
-
# If this is a MB WAY PaymentMethod, this hash contains details about the MB WAY payment method.
|
1315
|
-
attr_accessor :mb_way
|
1316
|
-
# 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. Individual keys can be unset by posting an empty value to them. All keys can be unset by posting an empty value to `metadata`.
|
1317
|
-
attr_accessor :metadata
|
1318
|
-
# If this is a `mobilepay` PaymentMethod, this hash contains details about the MobilePay payment method.
|
1319
|
-
attr_accessor :mobilepay
|
1320
|
-
# If this is a `multibanco` PaymentMethod, this hash contains details about the Multibanco payment method.
|
1321
|
-
attr_accessor :multibanco
|
1322
|
-
# If this is a `naver_pay` PaymentMethod, this hash contains details about the Naver Pay payment method.
|
1323
|
-
attr_accessor :naver_pay
|
1324
|
-
# If this is an nz_bank_account PaymentMethod, this hash contains details about the nz_bank_account payment method.
|
1325
|
-
attr_accessor :nz_bank_account
|
1326
|
-
# If this is an `oxxo` PaymentMethod, this hash contains details about the OXXO payment method.
|
1327
|
-
attr_accessor :oxxo
|
1328
|
-
# If this is a `p24` PaymentMethod, this hash contains details about the P24 payment method.
|
1329
|
-
attr_accessor :p24
|
1330
|
-
# If this is a `pay_by_bank` PaymentMethod, this hash contains details about the PayByBank payment method.
|
1331
|
-
attr_accessor :pay_by_bank
|
1332
|
-
# If this is a `payco` PaymentMethod, this hash contains details about the PAYCO payment method.
|
1333
|
-
attr_accessor :payco
|
1334
|
-
# If this is a `paynow` PaymentMethod, this hash contains details about the PayNow payment method.
|
1335
|
-
attr_accessor :paynow
|
1336
|
-
# If this is a `paypal` PaymentMethod, this hash contains details about the PayPal payment method.
|
1337
|
-
attr_accessor :paypal
|
1338
|
-
# If this is a `payto` PaymentMethod, this hash contains details about the PayTo payment method.
|
1339
|
-
attr_accessor :payto
|
1340
|
-
# If this is a `pix` PaymentMethod, this hash contains details about the Pix payment method.
|
1341
|
-
attr_accessor :pix
|
1342
|
-
# If this is a `promptpay` PaymentMethod, this hash contains details about the PromptPay payment method.
|
1343
|
-
attr_accessor :promptpay
|
1344
|
-
# If this is a `qris` PaymentMethod, this hash contains details about the QRIS payment method.
|
1345
|
-
attr_accessor :qris
|
1346
|
-
# Options to configure Radar. See [Radar Session](https://stripe.com/docs/radar/radar-session) for more information.
|
1347
|
-
attr_accessor :radar_options
|
1348
|
-
# If this is a `rechnung` PaymentMethod, this hash contains details about the Rechnung payment method.
|
1349
|
-
attr_accessor :rechnung
|
1350
|
-
# If this is a `revolut_pay` PaymentMethod, this hash contains details about the Revolut Pay payment method.
|
1351
|
-
attr_accessor :revolut_pay
|
1352
|
-
# If this is a `samsung_pay` PaymentMethod, this hash contains details about the SamsungPay payment method.
|
1353
|
-
attr_accessor :samsung_pay
|
1354
|
-
# If this is a `satispay` PaymentMethod, this hash contains details about the Satispay payment method.
|
1355
|
-
attr_accessor :satispay
|
1356
|
-
# If this is a `sepa_debit` PaymentMethod, this hash contains details about the SEPA debit bank account.
|
1357
|
-
attr_accessor :sepa_debit
|
1358
|
-
# If this is a Shopeepay PaymentMethod, this hash contains details about the Shopeepay payment method.
|
1359
|
-
attr_accessor :shopeepay
|
1360
|
-
# If this is a `sofort` PaymentMethod, this hash contains details about the SOFORT payment method.
|
1361
|
-
attr_accessor :sofort
|
1362
|
-
# This hash contains details about the Stripe balance payment method.
|
1363
|
-
attr_accessor :stripe_balance
|
1364
|
-
# If this is a `swish` PaymentMethod, this hash contains details about the Swish payment method.
|
1365
|
-
attr_accessor :swish
|
1366
|
-
# If this is a TWINT PaymentMethod, this hash contains details about the TWINT payment method.
|
1367
|
-
attr_accessor :twint
|
1368
|
-
# The type of the PaymentMethod. An additional hash is included on the PaymentMethod with a name matching this value. It contains additional information specific to the PaymentMethod type.
|
1369
|
-
attr_accessor :type
|
1370
|
-
# If this is an `us_bank_account` PaymentMethod, this hash contains details about the US bank account payment method.
|
1371
|
-
attr_accessor :us_bank_account
|
1372
|
-
# If this is an `wechat_pay` PaymentMethod, this hash contains details about the wechat_pay payment method.
|
1373
|
-
attr_accessor :wechat_pay
|
1374
|
-
# If this is a `zip` PaymentMethod, this hash contains details about the Zip payment method.
|
1375
|
-
attr_accessor :zip
|
1376
|
-
|
1377
|
-
def initialize(
|
1378
|
-
acss_debit: nil,
|
1379
|
-
affirm: nil,
|
1380
|
-
afterpay_clearpay: nil,
|
1381
|
-
alipay: nil,
|
1382
|
-
allow_redisplay: nil,
|
1383
|
-
alma: nil,
|
1384
|
-
amazon_pay: nil,
|
1385
|
-
au_becs_debit: nil,
|
1386
|
-
bacs_debit: nil,
|
1387
|
-
bancontact: nil,
|
1388
|
-
billie: nil,
|
1389
|
-
billing_details: nil,
|
1390
|
-
blik: nil,
|
1391
|
-
boleto: nil,
|
1392
|
-
cashapp: nil,
|
1393
|
-
crypto: nil,
|
1394
|
-
customer_balance: nil,
|
1395
|
-
eps: nil,
|
1396
|
-
fpx: nil,
|
1397
|
-
giropay: nil,
|
1398
|
-
gopay: nil,
|
1399
|
-
grabpay: nil,
|
1400
|
-
id_bank_transfer: nil,
|
1401
|
-
ideal: nil,
|
1402
|
-
interac_present: nil,
|
1403
|
-
kakao_pay: nil,
|
1404
|
-
klarna: nil,
|
1405
|
-
konbini: nil,
|
1406
|
-
kr_card: nil,
|
1407
|
-
link: nil,
|
1408
|
-
mb_way: nil,
|
1409
|
-
metadata: nil,
|
1410
|
-
mobilepay: nil,
|
1411
|
-
multibanco: nil,
|
1412
|
-
naver_pay: nil,
|
1413
|
-
nz_bank_account: nil,
|
1414
|
-
oxxo: nil,
|
1415
|
-
p24: nil,
|
1416
|
-
pay_by_bank: nil,
|
1417
|
-
payco: nil,
|
1418
|
-
paynow: nil,
|
1419
|
-
paypal: nil,
|
1420
|
-
payto: nil,
|
1421
|
-
pix: nil,
|
1422
|
-
promptpay: nil,
|
1423
|
-
qris: nil,
|
1424
|
-
radar_options: nil,
|
1425
|
-
rechnung: nil,
|
1426
|
-
revolut_pay: nil,
|
1427
|
-
samsung_pay: nil,
|
1428
|
-
satispay: nil,
|
1429
|
-
sepa_debit: nil,
|
1430
|
-
shopeepay: nil,
|
1431
|
-
sofort: nil,
|
1432
|
-
stripe_balance: nil,
|
1433
|
-
swish: nil,
|
1434
|
-
twint: nil,
|
1435
|
-
type: nil,
|
1436
|
-
us_bank_account: nil,
|
1437
|
-
wechat_pay: nil,
|
1438
|
-
zip: nil
|
1439
|
-
)
|
1440
|
-
@acss_debit = acss_debit
|
1441
|
-
@affirm = affirm
|
1442
|
-
@afterpay_clearpay = afterpay_clearpay
|
1443
|
-
@alipay = alipay
|
1444
|
-
@allow_redisplay = allow_redisplay
|
1445
|
-
@alma = alma
|
1446
|
-
@amazon_pay = amazon_pay
|
1447
|
-
@au_becs_debit = au_becs_debit
|
1448
|
-
@bacs_debit = bacs_debit
|
1449
|
-
@bancontact = bancontact
|
1450
|
-
@billie = billie
|
1451
|
-
@billing_details = billing_details
|
1452
|
-
@blik = blik
|
1453
|
-
@boleto = boleto
|
1454
|
-
@cashapp = cashapp
|
1455
|
-
@crypto = crypto
|
1456
|
-
@customer_balance = customer_balance
|
1457
|
-
@eps = eps
|
1458
|
-
@fpx = fpx
|
1459
|
-
@giropay = giropay
|
1460
|
-
@gopay = gopay
|
1461
|
-
@grabpay = grabpay
|
1462
|
-
@id_bank_transfer = id_bank_transfer
|
1463
|
-
@ideal = ideal
|
1464
|
-
@interac_present = interac_present
|
1465
|
-
@kakao_pay = kakao_pay
|
1466
|
-
@klarna = klarna
|
1467
|
-
@konbini = konbini
|
1468
|
-
@kr_card = kr_card
|
1469
|
-
@link = link
|
1470
|
-
@mb_way = mb_way
|
1471
|
-
@metadata = metadata
|
1472
|
-
@mobilepay = mobilepay
|
1473
|
-
@multibanco = multibanco
|
1474
|
-
@naver_pay = naver_pay
|
1475
|
-
@nz_bank_account = nz_bank_account
|
1476
|
-
@oxxo = oxxo
|
1477
|
-
@p24 = p24
|
1478
|
-
@pay_by_bank = pay_by_bank
|
1479
|
-
@payco = payco
|
1480
|
-
@paynow = paynow
|
1481
|
-
@paypal = paypal
|
1482
|
-
@payto = payto
|
1483
|
-
@pix = pix
|
1484
|
-
@promptpay = promptpay
|
1485
|
-
@qris = qris
|
1486
|
-
@radar_options = radar_options
|
1487
|
-
@rechnung = rechnung
|
1488
|
-
@revolut_pay = revolut_pay
|
1489
|
-
@samsung_pay = samsung_pay
|
1490
|
-
@satispay = satispay
|
1491
|
-
@sepa_debit = sepa_debit
|
1492
|
-
@shopeepay = shopeepay
|
1493
|
-
@sofort = sofort
|
1494
|
-
@stripe_balance = stripe_balance
|
1495
|
-
@swish = swish
|
1496
|
-
@twint = twint
|
1497
|
-
@type = type
|
1498
|
-
@us_bank_account = us_bank_account
|
1499
|
-
@wechat_pay = wechat_pay
|
1500
|
-
@zip = zip
|
1501
|
-
end
|
1502
|
-
end
|
1503
|
-
|
1504
|
-
class PaymentMethodOptions < Stripe::RequestParams
|
1505
|
-
class Card < Stripe::RequestParams
|
1506
|
-
class Installments < Stripe::RequestParams
|
1507
|
-
class Plan < Stripe::RequestParams
|
1508
|
-
# For `fixed_count` installment plans, this is required. It represents the number of installment payments your customer will make to their credit card.
|
1509
|
-
attr_accessor :count
|
1510
|
-
# For `fixed_count` installment plans, this is required. It represents the interval between installment payments your customer will make to their credit card.
|
1511
|
-
# One of `month`.
|
1512
|
-
attr_accessor :interval
|
1513
|
-
# Type of installment plan, one of `fixed_count`, `bonus`, or `revolving`.
|
1514
|
-
attr_accessor :type
|
1515
|
-
|
1516
|
-
def initialize(count: nil, interval: nil, type: nil)
|
1517
|
-
@count = count
|
1518
|
-
@interval = interval
|
1519
|
-
@type = type
|
1520
|
-
end
|
1521
|
-
end
|
1522
|
-
# The selected installment plan to use for this payment attempt.
|
1523
|
-
# This parameter can only be provided during confirmation.
|
1524
|
-
attr_accessor :plan
|
1525
|
-
|
1526
|
-
def initialize(plan: nil)
|
1527
|
-
@plan = plan
|
1528
|
-
end
|
1529
|
-
end
|
1530
|
-
# Installment configuration for payments confirmed using this ConfirmationToken.
|
1531
|
-
attr_accessor :installments
|
1532
|
-
|
1533
|
-
def initialize(installments: nil)
|
1534
|
-
@installments = installments
|
1535
|
-
end
|
1536
|
-
end
|
1537
|
-
# Configuration for any card payments confirmed using this ConfirmationToken.
|
1538
|
-
attr_accessor :card
|
1539
|
-
|
1540
|
-
def initialize(card: nil)
|
1541
|
-
@card = card
|
1542
|
-
end
|
1645
|
+
def self.inner_class_types
|
1646
|
+
@inner_class_types = { address: Address }
|
1543
1647
|
end
|
1544
1648
|
|
1545
|
-
|
1546
|
-
|
1547
|
-
# City, district, suburb, town, or village.
|
1548
|
-
attr_accessor :city
|
1549
|
-
# Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)).
|
1550
|
-
attr_accessor :country
|
1551
|
-
# Address line 1 (e.g., street, PO Box, or company name).
|
1552
|
-
attr_accessor :line1
|
1553
|
-
# Address line 2 (e.g., apartment, suite, unit, or building).
|
1554
|
-
attr_accessor :line2
|
1555
|
-
# ZIP or postal code.
|
1556
|
-
attr_accessor :postal_code
|
1557
|
-
# State, county, province, or region.
|
1558
|
-
attr_accessor :state
|
1559
|
-
|
1560
|
-
def initialize(
|
1561
|
-
city: nil,
|
1562
|
-
country: nil,
|
1563
|
-
line1: nil,
|
1564
|
-
line2: nil,
|
1565
|
-
postal_code: nil,
|
1566
|
-
state: nil
|
1567
|
-
)
|
1568
|
-
@city = city
|
1569
|
-
@country = country
|
1570
|
-
@line1 = line1
|
1571
|
-
@line2 = line2
|
1572
|
-
@postal_code = postal_code
|
1573
|
-
@state = state
|
1574
|
-
end
|
1575
|
-
end
|
1576
|
-
# Shipping address
|
1577
|
-
attr_accessor :address
|
1578
|
-
# Recipient name.
|
1579
|
-
attr_accessor :name
|
1580
|
-
# Recipient phone (including extension)
|
1581
|
-
attr_accessor :phone
|
1582
|
-
|
1583
|
-
def initialize(address: nil, name: nil, phone: nil)
|
1584
|
-
@address = address
|
1585
|
-
@name = name
|
1586
|
-
@phone = phone
|
1587
|
-
end
|
1588
|
-
end
|
1589
|
-
# Specifies which fields in the response should be expanded.
|
1590
|
-
attr_accessor :expand
|
1591
|
-
# ID of an existing PaymentMethod.
|
1592
|
-
attr_accessor :payment_method
|
1593
|
-
# If provided, this hash will be used to create a PaymentMethod.
|
1594
|
-
attr_accessor :payment_method_data
|
1595
|
-
# Payment-method-specific configuration for this ConfirmationToken.
|
1596
|
-
attr_accessor :payment_method_options
|
1597
|
-
# Return URL used to confirm the Intent.
|
1598
|
-
attr_accessor :return_url
|
1599
|
-
# Indicates that you intend to make future payments with this ConfirmationToken's payment method.
|
1600
|
-
#
|
1601
|
-
# The presence of this property will [attach the payment method](https://stripe.com/docs/payments/save-during-payment) to the PaymentIntent's Customer, if present, after the PaymentIntent is confirmed and any required actions from the user are complete.
|
1602
|
-
attr_accessor :setup_future_usage
|
1603
|
-
# Shipping information for this ConfirmationToken.
|
1604
|
-
attr_accessor :shipping
|
1605
|
-
|
1606
|
-
def initialize(
|
1607
|
-
expand: nil,
|
1608
|
-
payment_method: nil,
|
1609
|
-
payment_method_data: nil,
|
1610
|
-
payment_method_options: nil,
|
1611
|
-
return_url: nil,
|
1612
|
-
setup_future_usage: nil,
|
1613
|
-
shipping: nil
|
1614
|
-
)
|
1615
|
-
@expand = expand
|
1616
|
-
@payment_method = payment_method
|
1617
|
-
@payment_method_data = payment_method_data
|
1618
|
-
@payment_method_options = payment_method_options
|
1619
|
-
@return_url = return_url
|
1620
|
-
@setup_future_usage = setup_future_usage
|
1621
|
-
@shipping = shipping
|
1649
|
+
def self.field_remappings
|
1650
|
+
@field_remappings = {}
|
1622
1651
|
end
|
1623
1652
|
end
|
1624
1653
|
# Time at which the object was created. Measured in seconds since the Unix epoch.
|
@@ -1672,5 +1701,18 @@ module Stripe
|
|
1672
1701
|
)
|
1673
1702
|
end
|
1674
1703
|
end
|
1704
|
+
|
1705
|
+
def self.inner_class_types
|
1706
|
+
@inner_class_types = {
|
1707
|
+
mandate_data: MandateData,
|
1708
|
+
payment_method_options: PaymentMethodOptions,
|
1709
|
+
payment_method_preview: PaymentMethodPreview,
|
1710
|
+
shipping: Shipping,
|
1711
|
+
}
|
1712
|
+
end
|
1713
|
+
|
1714
|
+
def self.field_remappings
|
1715
|
+
@field_remappings = {}
|
1716
|
+
end
|
1675
1717
|
end
|
1676
1718
|
end
|