stripe 15.5.0 → 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 -2
- data/lib/stripe/api_resource.rb +3 -0
- data/lib/stripe/api_version.rb +2 -2
- data/lib/stripe/event_types.rb +20 -6
- 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 +3 -2
- 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/params/apps/secret_list_params.rb +38 -0
- 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/params/checkout/session_line_item_list_params.rb +24 -0
- data/lib/stripe/params/checkout/session_list_line_items_params.rb +24 -0
- 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/params/tax/calculation_list_line_items_params.rb +24 -0
- 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/params/tax/transaction_list_line_items_params.rb +24 -0
- 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 +448 -4265
- data/lib/stripe/resources/account_link.rb +8 -47
- data/lib/stripe/resources/account_session.rb +340 -657
- 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 +92 -0
- 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 -0
- data/lib/stripe/resources/billing/credit_balance_transaction.rb +73 -29
- data/lib/stripe/resources/billing/credit_grant.rb +42 -151
- 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 -170
- data/lib/stripe/resources/capability.rb +56 -0
- data/lib/stripe/resources/card.rb +17 -1
- data/lib/stripe/resources/cash_balance.rb +16 -0
- data/lib/stripe/resources/charge.rb +958 -414
- data/lib/stripe/resources/checkout/session.rb +1039 -2501
- 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 +895 -683
- 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 -137
- data/lib/stripe/resources/credit_note.rb +66 -504
- data/lib/stripe/resources/credit_note_line_item.rb +44 -0
- data/lib/stripe/resources/customer.rb +81 -675
- data/lib/stripe/resources/customer_balance_transaction.rb +8 -0
- data/lib/stripe/resources/customer_cash_balance_transaction.rb +108 -0
- data/lib/stripe/resources/customer_session.rb +49 -93
- data/lib/stripe/resources/discount.rb +24 -4
- data/lib/stripe/resources/dispute.rb +159 -365
- 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 +20 -52
- 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 +66 -110
- 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 -55
- 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 -237
- data/lib/stripe/resources/invoice.rb +489 -2882
- data/lib/stripe/resources/invoice_item.rb +69 -309
- data/lib/stripe/resources/invoice_line_item.rb +126 -199
- data/lib/stripe/resources/invoice_payment.rb +20 -42
- 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 -514
- 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 -696
- data/lib/stripe/resources/line_item.rb +24 -0
- data/lib/stripe/resources/login_link.rb +8 -0
- data/lib/stripe/resources/mandate.rb +225 -12
- data/lib/stripe/resources/payment_intent.rb +1129 -7346
- data/lib/stripe/resources/payment_link.rb +333 -1357
- data/lib/stripe/resources/payment_method.rb +807 -784
- data/lib/stripe/resources/payment_method_configuration.rb +940 -2311
- 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 +66 -480
- 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 -172
- data/lib/stripe/resources/quote.rb +219 -651
- 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 +367 -152
- 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 +286 -65
- data/lib/stripe/resources/setup_intent.rb +336 -3359
- 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 +268 -583
- 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 +272 -1581
- data/lib/stripe/resources/subscription_item.rb +12 -298
- data/lib/stripe/resources/subscription_schedule.rb +236 -1282
- 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 -65
- data/lib/stripe/resources/tax_rate.rb +12 -142
- data/lib/stripe/resources/terminal/configuration.rb +302 -1173
- 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 -501
- 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 -109
- 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 -639
- data/lib/stripe/resources/treasury/financial_account_features.rb +192 -0
- 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 +95 -200
- data/lib/stripe/resources/treasury/received_credit.rb +78 -101
- data/lib/stripe/resources/treasury/received_debit.rb +70 -89
- 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 +4 -2
- 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 -4149
- data/lib/stripe/services/account_session_service.rb +0 -637
- 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 +30 -0
- 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 -48
- data/lib/stripe/services/billing/credit_balance_transaction_service.rb +0 -40
- data/lib/stripe/services/billing/credit_grant_service.rb +0 -166
- 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 -173
- data/lib/stripe/services/charge_service.rb +0 -402
- data/lib/stripe/services/checkout/session_line_item_service.rb +0 -18
- data/lib/stripe/services/checkout/session_service.rb +0 -2494
- 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 -151
- 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 -365
- 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 -96
- 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 +0 -96
- data/lib/stripe/services/financial_connections/session_service.rb +0 -68
- data/lib/stripe/services/financial_connections/transaction_service.rb +0 -70
- 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 -247
- data/lib/stripe/services/invoice_item_service.rb +0 -333
- data/lib/stripe/services/invoice_line_item_service.rb +0 -221
- data/lib/stripe/services/invoice_payment_service.rb +0 -55
- data/lib/stripe/services/invoice_rendering_template_service.rb +0 -51
- data/lib/stripe/services/invoice_service.rb +0 -2778
- 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 -525
- 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 -77
- data/lib/stripe/services/mandate_service.rb +0 -9
- data/lib/stripe/services/payment_intent_service.rb +0 -7332
- 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 -2256
- data/lib/stripe/services/payment_method_domain_service.rb +0 -76
- data/lib/stripe/services/payment_method_service.rb +0 -762
- 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 -493
- 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 -179
- 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 +0 -628
- 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 -3275
- 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 -311
- data/lib/stripe/services/subscription_schedule_service.rb +0 -1295
- data/lib/stripe/services/subscription_service.rb +0 -1594
- 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 -78
- data/lib/stripe/services/tax_rate_service.rb +0 -155
- data/lib/stripe/services/terminal/configuration_service.rb +0 -1186
- 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/test_helpers/confirmation_token_service.rb +0 -641
- 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 -60
- data/lib/stripe/services/test_helpers/treasury/received_debit_service.rb +0 -60
- 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 -119
- 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 -166
- data/lib/stripe/services/treasury/financial_account_service.rb +0 -488
- 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 -124
- 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 +2 -1
- 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/webhook_endpoint_service.rb +0 -95
- data/lib/stripe/services.rb +1 -0
- data/lib/stripe/stripe_client.rb +8 -5
- data/lib/stripe/stripe_configuration.rb +1 -6
- data/lib/stripe/stripe_context.rb +68 -0
- data/lib/stripe/stripe_object.rb +33 -9
- data/lib/stripe/util.rb +24 -13
- data/lib/stripe/version.rb +1 -1
- data/lib/stripe.rb +3 -1
- data/rbi/stripe/resources/v2/core/event_notification.rbi +43 -0
- data/rbi/stripe/stripe_client.rbi +17 -0
- data/rbi/stripe.rbi +132984 -0
- metadata +600 -345
- data/API_VERSION +0 -1
- data/CHANGELOG.md +0 -1769
- 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 -426
- 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/resources/v2/event.rb +0 -41
- data/lib/stripe/resources/v2/event_destination.rb +0 -73
- data/lib/stripe/thin_event.rb +0 -37
- data/rbi/stripe/resources/account.rbi +0 -4991
- data/rbi/stripe/resources/account_link.rbi +0 -76
- data/rbi/stripe/resources/account_session.rbi +0 -1173
- data/rbi/stripe/resources/apple_pay_domain.rbi +0 -88
- data/rbi/stripe/resources/application.rbi +0 -20
- data/rbi/stripe/resources/application_fee.rbi +0 -118
- data/rbi/stripe/resources/application_fee_refund.rbi +0 -37
- data/rbi/stripe/resources/apps/secret.rbi +0 -195
- data/rbi/stripe/resources/balance.rbi +0 -230
- data/rbi/stripe/resources/balance_transaction.rbi +0 -147
- data/rbi/stripe/resources/bank_account.rbi +0 -127
- data/rbi/stripe/resources/billing/alert.rbi +0 -201
- data/rbi/stripe/resources/billing/alert_triggered.rbi +0 -28
- data/rbi/stripe/resources/billing/credit_balance_summary.rbi +0 -63
- data/rbi/stripe/resources/billing/credit_balance_transaction.rbi +0 -147
- data/rbi/stripe/resources/billing/credit_grant.rbi +0 -291
- data/rbi/stripe/resources/billing/meter.rbi +0 -226
- data/rbi/stripe/resources/billing/meter_event.rbi +0 -64
- data/rbi/stripe/resources/billing/meter_event_adjustment.rbi +0 -64
- data/rbi/stripe/resources/billing/meter_event_summary.rbi +0 -35
- data/rbi/stripe/resources/billing_portal/configuration.rbi +0 -712
- data/rbi/stripe/resources/billing_portal/session.rbi +0 -345
- data/rbi/stripe/resources/capability.rbi +0 -125
- data/rbi/stripe/resources/card.rbi +0 -125
- data/rbi/stripe/resources/cash_balance.rbi +0 -32
- data/rbi/stripe/resources/charge.rbi +0 -2136
- data/rbi/stripe/resources/checkout/session.rbi +0 -4105
- data/rbi/stripe/resources/climate/order.rbi +0 -245
- data/rbi/stripe/resources/climate/product.rbi +0 -75
- data/rbi/stripe/resources/climate/supplier.rbi +0 -72
- data/rbi/stripe/resources/confirmation_token.rbi +0 -1818
- data/rbi/stripe/resources/connect_collection_transfer.rbi +0 -26
- data/rbi/stripe/resources/country_spec.rbi +0 -85
- data/rbi/stripe/resources/coupon.rbi +0 -250
- data/rbi/stripe/resources/credit_note.rbi +0 -752
- data/rbi/stripe/resources/credit_note_line_item.rbi +0 -101
- data/rbi/stripe/resources/customer.rbi +0 -993
- data/rbi/stripe/resources/customer_balance_transaction.rbi +0 -56
- data/rbi/stripe/resources/customer_cash_balance_transaction.rbi +0 -151
- data/rbi/stripe/resources/customer_session.rbi +0 -200
- data/rbi/stripe/resources/discount.rbi +0 -53
- data/rbi/stripe/resources/dispute.rbi +0 -761
- data/rbi/stripe/resources/entitlements/active_entitlement.rbi +0 -58
- data/rbi/stripe/resources/entitlements/active_entitlement_summary.rbi +0 -23
- data/rbi/stripe/resources/entitlements/feature.rbi +0 -117
- data/rbi/stripe/resources/ephemeral_key.rbi +0 -44
- data/rbi/stripe/resources/event.rbi +0 -137
- data/rbi/stripe/resources/exchange_rate.rbi +0 -66
- data/rbi/stripe/resources/file.rbi +0 -143
- data/rbi/stripe/resources/file_link.rbi +0 -141
- data/rbi/stripe/resources/financial_connections/account.rbi +0 -339
- data/rbi/stripe/resources/financial_connections/account_owner.rbi +0 -35
- data/rbi/stripe/resources/financial_connections/account_ownership.rbi +0 -23
- data/rbi/stripe/resources/financial_connections/session.rbi +0 -123
- data/rbi/stripe/resources/financial_connections/transaction.rbi +0 -124
- data/rbi/stripe/resources/forwarding/request.rbi +0 -216
- data/rbi/stripe/resources/funding_instructions.rbi +0 -437
- data/rbi/stripe/resources/identity/verification_report.rbi +0 -360
- data/rbi/stripe/resources/identity/verification_session.rbi +0 -564
- data/rbi/stripe/resources/invoice.rbi +0 -3894
- data/rbi/stripe/resources/invoice_item.rbi +0 -470
- data/rbi/stripe/resources/invoice_line_item.rbi +0 -432
- data/rbi/stripe/resources/invoice_payment.rbi +0 -121
- data/rbi/stripe/resources/invoice_rendering_template.rbi +0 -104
- data/rbi/stripe/resources/issuing/authorization.rbi +0 -1283
- data/rbi/stripe/resources/issuing/card.rbi +0 -749
- data/rbi/stripe/resources/issuing/cardholder.rbi +0 -744
- data/rbi/stripe/resources/issuing/dispute.rbi +0 -913
- data/rbi/stripe/resources/issuing/personalization_design.rbi +0 -338
- data/rbi/stripe/resources/issuing/physical_bundle.rbi +0 -79
- data/rbi/stripe/resources/issuing/token.rbi +0 -226
- data/rbi/stripe/resources/issuing/transaction.rbi +0 -1061
- data/rbi/stripe/resources/line_item.rbi +0 -72
- data/rbi/stripe/resources/login_link.rbi +0 -19
- data/rbi/stripe/resources/mandate.rbi +0 -191
- data/rbi/stripe/resources/payment_intent.rbi +0 -10011
- data/rbi/stripe/resources/payment_link.rbi +0 -1891
- data/rbi/stripe/resources/payment_method.rbi +0 -1770
- data/rbi/stripe/resources/payment_method_configuration.rbi +0 -3550
- data/rbi/stripe/resources/payment_method_domain.rbi +0 -228
- data/rbi/stripe/resources/payout.rbi +0 -307
- data/rbi/stripe/resources/person.rbi +0 -401
- data/rbi/stripe/resources/plan.rbi +0 -371
- data/rbi/stripe/resources/price.rbi +0 -694
- data/rbi/stripe/resources/product.rbi +0 -553
- data/rbi/stripe/resources/product_feature.rbi +0 -26
- data/rbi/stripe/resources/promotion_code.rbi +0 -264
- data/rbi/stripe/resources/quote.rbi +0 -1137
- data/rbi/stripe/resources/radar/early_fraud_warning.rbi +0 -98
- data/rbi/stripe/resources/radar/value_list.rbi +0 -168
- data/rbi/stripe/resources/radar/value_list_item.rbi +0 -129
- data/rbi/stripe/resources/refund.rbi +0 -523
- data/rbi/stripe/resources/reporting/report_run.rbi +0 -191
- data/rbi/stripe/resources/reporting/report_type.rbi +0 -57
- data/rbi/stripe/resources/reserve_transaction.rbi +0 -23
- data/rbi/stripe/resources/reversal.rbi +0 -51
- data/rbi/stripe/resources/review.rbi +0 -154
- data/rbi/stripe/resources/setup_attempt.rbi +0 -477
- data/rbi/stripe/resources/setup_intent.rbi +0 -3974
- data/rbi/stripe/resources/shipping_rate.rbi +0 -305
- data/rbi/stripe/resources/sigma/scheduled_query_run.rbi +0 -75
- data/rbi/stripe/resources/source.rbi +0 -1496
- data/rbi/stripe/resources/source_mandate_notification.rbi +0 -77
- data/rbi/stripe/resources/source_transaction.rbi +0 -127
- data/rbi/stripe/resources/subscription.rbi +0 -2154
- data/rbi/stripe/resources/subscription_item.rbi +0 -404
- data/rbi/stripe/resources/subscription_schedule.rbi +0 -1795
- data/rbi/stripe/resources/tax/calculation.rbi +0 -478
- data/rbi/stripe/resources/tax/calculation_line_item.rbi +0 -91
- data/rbi/stripe/resources/tax/registration.rbi +0 -3216
- data/rbi/stripe/resources/tax/settings.rbi +0 -141
- data/rbi/stripe/resources/tax/transaction.rbi +0 -351
- data/rbi/stripe/resources/tax/transaction_line_item.rbi +0 -54
- data/rbi/stripe/resources/tax_code.rbi +0 -44
- data/rbi/stripe/resources/tax_deducted_at_source.rbi +0 -23
- data/rbi/stripe/resources/tax_id.rbi +0 -165
- data/rbi/stripe/resources/tax_rate.rbi +0 -239
- data/rbi/stripe/resources/terminal/configuration.rbi +0 -1647
- data/rbi/stripe/resources/terminal/connection_token.rbi +0 -37
- data/rbi/stripe/resources/terminal/location.rbi +0 -222
- data/rbi/stripe/resources/terminal/reader.rbi +0 -1016
- data/rbi/stripe/resources/test_helpers/test_clock.rbi +0 -132
- data/rbi/stripe/resources/token.rbi +0 -1281
- data/rbi/stripe/resources/topup.rbi +0 -222
- data/rbi/stripe/resources/transfer.rbi +0 -199
- data/rbi/stripe/resources/treasury/credit_reversal.rbi +0 -119
- data/rbi/stripe/resources/treasury/debit_reversal.rbi +0 -131
- data/rbi/stripe/resources/treasury/financial_account.rbi +0 -869
- data/rbi/stripe/resources/treasury/financial_account_features.rbi +0 -260
- data/rbi/stripe/resources/treasury/inbound_transfer.rbi +0 -295
- data/rbi/stripe/resources/treasury/outbound_payment.rbi +0 -592
- data/rbi/stripe/resources/treasury/outbound_transfer.rbi +0 -431
- data/rbi/stripe/resources/treasury/received_credit.rbi +0 -302
- data/rbi/stripe/resources/treasury/received_debit.rbi +0 -256
- data/rbi/stripe/resources/treasury/transaction.rbi +0 -215
- data/rbi/stripe/resources/treasury/transaction_entry.rbi +0 -192
- data/rbi/stripe/resources/v2/amount.rbi +0 -14
- data/rbi/stripe/resources/v2/billing/meter_event.rbi +0 -37
- data/rbi/stripe/resources/v2/billing/meter_event_adjustment.rbi +0 -41
- data/rbi/stripe/resources/v2/billing/meter_event_session.rbi +0 -31
- data/rbi/stripe/resources/v2/event.rbi +0 -48
- data/rbi/stripe/resources/v2/event_destination.rbi +0 -91
- data/rbi/stripe/resources/webhook_endpoint.rbi +0 -168
- data/rbi/stripe/services/account_capability_service.rbi +0 -51
- data/rbi/stripe/services/account_external_account_service.rbi +0 -304
- data/rbi/stripe/services/account_link_service.rbi +0 -60
- data/rbi/stripe/services/account_login_link_service.rbi +0 -22
- data/rbi/stripe/services/account_person_service.rbi +0 -1007
- data/rbi/stripe/services/account_service.rbi +0 -4281
- data/rbi/stripe/services/account_session_service.rbi +0 -748
- data/rbi/stripe/services/apple_pay_domain_service.rbi +0 -76
- data/rbi/stripe/services/application_fee_refund_service.rbi +0 -93
- data/rbi/stripe/services/application_fee_service.rbi +0 -78
- data/rbi/stripe/services/apps/secret_service.rbi +0 -151
- data/rbi/stripe/services/apps_service.rbi +0 -9
- data/rbi/stripe/services/balance_service.rbi +0 -21
- data/rbi/stripe/services/balance_transaction_service.rbi +0 -93
- data/rbi/stripe/services/billing/alert_service.rbi +0 -152
- data/rbi/stripe/services/billing/credit_balance_summary_service.rbi +0 -68
- data/rbi/stripe/services/billing/credit_balance_transaction_service.rbi +0 -59
- data/rbi/stripe/services/billing/credit_grant_service.rbi +0 -211
- data/rbi/stripe/services/billing/meter_event_adjustment_service.rbi +0 -42
- data/rbi/stripe/services/billing/meter_event_service.rbi +0 -42
- data/rbi/stripe/services/billing/meter_event_summary_service.rbi +0 -54
- data/rbi/stripe/services/billing/meter_service.rbi +0 -163
- data/rbi/stripe/services/billing_portal/configuration_service.rbi +0 -561
- data/rbi/stripe/services/billing_portal/session_service.rbi +0 -204
- data/rbi/stripe/services/billing_portal_service.rbi +0 -10
- data/rbi/stripe/services/billing_service.rbi +0 -15
- data/rbi/stripe/services/charge_service.rbi +0 -448
- data/rbi/stripe/services/checkout/session_line_item_service.rbi +0 -33
- data/rbi/stripe/services/checkout/session_service.rbi +0 -2697
- data/rbi/stripe/services/checkout_service.rbi +0 -9
- data/rbi/stripe/services/climate/order_service.rbi +0 -142
- data/rbi/stripe/services/climate/product_service.rbi +0 -46
- data/rbi/stripe/services/climate/supplier_service.rbi +0 -46
- data/rbi/stripe/services/climate_service.rbi +0 -11
- data/rbi/stripe/services/confirmation_token_service.rbi +0 -20
- data/rbi/stripe/services/country_spec_service.rbi +0 -44
- data/rbi/stripe/services/coupon_service.rbi +0 -194
- data/rbi/stripe/services/credit_note_line_item_service.rbi +0 -31
- data/rbi/stripe/services/credit_note_preview_lines_service.rbi +0 -167
- data/rbi/stripe/services/credit_note_service.rbi +0 -415
- data/rbi/stripe/services/customer_balance_transaction_service.rbi +0 -92
- data/rbi/stripe/services/customer_cash_balance_service.rbi +0 -45
- data/rbi/stripe/services/customer_cash_balance_transaction_service.rbi +0 -44
- data/rbi/stripe/services/customer_funding_instructions_service.rbi +0 -59
- data/rbi/stripe/services/customer_payment_method_service.rbi +0 -57
- data/rbi/stripe/services/customer_payment_source_service.rbi +0 -232
- data/rbi/stripe/services/customer_service.rbi +0 -635
- data/rbi/stripe/services/customer_session_service.rbi +0 -116
- data/rbi/stripe/services/customer_tax_id_service.rbi +0 -70
- data/rbi/stripe/services/dispute_service.rbi +0 -424
- data/rbi/stripe/services/entitlements/active_entitlement_service.rbi +0 -55
- data/rbi/stripe/services/entitlements/feature_service.rbi +0 -107
- data/rbi/stripe/services/entitlements_service.rbi +0 -10
- data/rbi/stripe/services/ephemeral_key_service.rbi +0 -53
- data/rbi/stripe/services/event_service.rbi +0 -83
- data/rbi/stripe/services/exchange_rate_service.rbi +0 -44
- data/rbi/stripe/services/file_link_service.rbi +0 -124
- data/rbi/stripe/services/file_service.rbi +0 -116
- data/rbi/stripe/services/financial_connections/account_owner_service.rbi +0 -42
- data/rbi/stripe/services/financial_connections/account_service.rbi +0 -133
- data/rbi/stripe/services/financial_connections/session_service.rbi +0 -88
- data/rbi/stripe/services/financial_connections/transaction_service.rbi +0 -92
- data/rbi/stripe/services/financial_connections_service.rbi +0 -11
- data/rbi/stripe/services/forwarding/request_service.rbi +0 -134
- data/rbi/stripe/services/forwarding_service.rbi +0 -9
- data/rbi/stripe/services/identity/verification_report_service.rbi +0 -87
- data/rbi/stripe/services/identity/verification_session_service.rbi +0 -339
- data/rbi/stripe/services/identity_service.rbi +0 -10
- data/rbi/stripe/services/invoice_item_service.rbi +0 -366
- data/rbi/stripe/services/invoice_line_item_service.rbi +0 -259
- data/rbi/stripe/services/invoice_payment_service.rbi +0 -71
- data/rbi/stripe/services/invoice_rendering_template_service.rbi +0 -82
- data/rbi/stripe/services/invoice_service.rbi +0 -3073
- data/rbi/stripe/services/issuing/authorization_service.rbi +0 -146
- data/rbi/stripe/services/issuing/card_service.rbi +0 -503
- data/rbi/stripe/services/issuing/cardholder_service.rbi +0 -587
- data/rbi/stripe/services/issuing/dispute_service.rbi +0 -707
- data/rbi/stripe/services/issuing/personalization_design_service.rbi +0 -243
- data/rbi/stripe/services/issuing/physical_bundle_service.rbi +0 -59
- data/rbi/stripe/services/issuing/token_service.rbi +0 -99
- data/rbi/stripe/services/issuing/transaction_service.rbi +0 -105
- data/rbi/stripe/services/issuing_service.rbi +0 -16
- data/rbi/stripe/services/mandate_service.rbi +0 -20
- data/rbi/stripe/services/payment_intent_service.rbi +0 -8010
- data/rbi/stripe/services/payment_link_line_item_service.rbi +0 -31
- data/rbi/stripe/services/payment_link_service.rbi +0 -1441
- data/rbi/stripe/services/payment_method_configuration_service.rbi +0 -2487
- data/rbi/stripe/services/payment_method_domain_service.rbi +0 -112
- data/rbi/stripe/services/payment_method_service.rbi +0 -781
- data/rbi/stripe/services/payout_service.rbi +0 -209
- data/rbi/stripe/services/plan_service.rbi +0 -282
- data/rbi/stripe/services/price_service.rbi +0 -546
- data/rbi/stripe/services/product_feature_service.rbi +0 -67
- data/rbi/stripe/services/product_service.rbi +0 -477
- data/rbi/stripe/services/promotion_code_service.rbi +0 -214
- data/rbi/stripe/services/quote_computed_upfront_line_items_service.rbi +0 -31
- data/rbi/stripe/services/quote_line_item_service.rbi +0 -31
- data/rbi/stripe/services/quote_service.rbi +0 -695
- data/rbi/stripe/services/radar/early_fraud_warning_service.rbi +0 -85
- data/rbi/stripe/services/radar/value_list_item_service.rbi +0 -109
- data/rbi/stripe/services/radar/value_list_service.rbi +0 -141
- data/rbi/stripe/services/radar_service.rbi +0 -11
- data/rbi/stripe/services/refund_service.rbi +0 -185
- data/rbi/stripe/services/reporting/report_run_service.rbi +0 -135
- data/rbi/stripe/services/reporting/report_type_service.rbi +0 -35
- data/rbi/stripe/services/reporting_service.rbi +0 -10
- data/rbi/stripe/services/review_service.rbi +0 -84
- data/rbi/stripe/services/setup_attempt_service.rbi +0 -65
- data/rbi/stripe/services/setup_intent_service.rbi +0 -3709
- data/rbi/stripe/services/shipping_rate_service.rbi +0 -241
- data/rbi/stripe/services/sigma/scheduled_query_run_service.rbi +0 -46
- data/rbi/stripe/services/sigma_service.rbi +0 -9
- data/rbi/stripe/services/source_service.rbi +0 -663
- data/rbi/stripe/services/source_transaction_service.rbi +0 -31
- data/rbi/stripe/services/subscription_item_service.rbi +0 -350
- data/rbi/stripe/services/subscription_schedule_service.rbi +0 -1425
- data/rbi/stripe/services/subscription_service.rbi +0 -1768
- data/rbi/stripe/services/tax/calculation_line_item_service.rbi +0 -33
- data/rbi/stripe/services/tax/calculation_service.rbi +0 -234
- data/rbi/stripe/services/tax/registration_service.rbi +0 -2278
- data/rbi/stripe/services/tax/settings_service.rbi +0 -93
- data/rbi/stripe/services/tax/transaction_line_item_service.rbi +0 -33
- data/rbi/stripe/services/tax/transaction_service.rbi +0 -146
- data/rbi/stripe/services/tax_code_service.rbi +0 -44
- data/rbi/stripe/services/tax_id_service.rbi +0 -110
- data/rbi/stripe/services/tax_rate_service.rbi +0 -185
- data/rbi/stripe/services/tax_service.rbi +0 -12
- data/rbi/stripe/services/terminal/configuration_service.rbi +0 -1328
- data/rbi/stripe/services/terminal/connection_token_service.rbi +0 -25
- data/rbi/stripe/services/terminal/location_service.rbi +0 -182
- data/rbi/stripe/services/terminal/reader_service.rbi +0 -540
- data/rbi/stripe/services/terminal_service.rbi +0 -12
- data/rbi/stripe/services/test_helpers/confirmation_token_service.rbi +0 -746
- data/rbi/stripe/services/test_helpers/customer_service.rbi +0 -33
- data/rbi/stripe/services/test_helpers/issuing/authorization_service.rbi +0 -848
- data/rbi/stripe/services/test_helpers/issuing/card_service.rbi +0 -76
- data/rbi/stripe/services/test_helpers/issuing/personalization_design_service.rbi +0 -69
- data/rbi/stripe/services/test_helpers/issuing/transaction_service.rbi +0 -711
- data/rbi/stripe/services/test_helpers/issuing_service.rbi +0 -14
- data/rbi/stripe/services/test_helpers/refund_service.rbi +0 -22
- data/rbi/stripe/services/test_helpers/terminal/reader_service.rbi +0 -117
- data/rbi/stripe/services/test_helpers/terminal_service.rbi +0 -11
- data/rbi/stripe/services/test_helpers/test_clock_service.rbi +0 -90
- data/rbi/stripe/services/test_helpers/treasury/inbound_transfer_service.rbi +0 -64
- data/rbi/stripe/services/test_helpers/treasury/outbound_payment_service.rbi +0 -125
- data/rbi/stripe/services/test_helpers/treasury/outbound_transfer_service.rbi +0 -125
- data/rbi/stripe/services/test_helpers/treasury/received_credit_service.rbi +0 -87
- data/rbi/stripe/services/test_helpers/treasury/received_debit_service.rbi +0 -87
- data/rbi/stripe/services/test_helpers/treasury_service.rbi +0 -15
- data/rbi/stripe/services/test_helpers_service.rbi +0 -15
- data/rbi/stripe/services/token_service.rbi +0 -1255
- data/rbi/stripe/services/topup_service.rbi +0 -176
- data/rbi/stripe/services/transfer_reversal_service.rbi +0 -101
- data/rbi/stripe/services/transfer_service.rbi +0 -152
- data/rbi/stripe/services/treasury/credit_reversal_service.rbi +0 -84
- data/rbi/stripe/services/treasury/debit_reversal_service.rbi +0 -88
- data/rbi/stripe/services/treasury/financial_account_features_service.rbi +0 -198
- data/rbi/stripe/services/treasury/financial_account_service.rbi +0 -566
- data/rbi/stripe/services/treasury/inbound_transfer_service.rbi +0 -117
- data/rbi/stripe/services/treasury/outbound_payment_service.rbi +0 -304
- data/rbi/stripe/services/treasury/outbound_transfer_service.rbi +0 -157
- data/rbi/stripe/services/treasury/received_credit_service.rbi +0 -72
- data/rbi/stripe/services/treasury/received_debit_service.rbi +0 -59
- data/rbi/stripe/services/treasury/transaction_entry_service.rbi +0 -111
- data/rbi/stripe/services/treasury/transaction_service.rbi +0 -122
- data/rbi/stripe/services/treasury_service.rbi +0 -18
- data/rbi/stripe/services/v1_services.rbi +0 -77
- data/rbi/stripe/services/v2/billing/meter_event_adjustment_service.rbi +0 -39
- data/rbi/stripe/services/v2/billing/meter_event_service.rbi +0 -42
- data/rbi/stripe/services/v2/billing/meter_event_session_service.rbi +0 -18
- data/rbi/stripe/services/v2/billing/meter_event_stream_service.rbi +0 -55
- data/rbi/stripe/services/v2/billing_service.rbi +0 -14
- data/rbi/stripe/services/v2/core/event_destination_service.rbi +0 -192
- data/rbi/stripe/services/v2/core/event_service.rbi +0 -36
- data/rbi/stripe/services/v2/core_service.rbi +0 -12
- data/rbi/stripe/services/v2_services.rbi +0 -10
- data/rbi/stripe/services/webhook_endpoint_service.rbi +0 -129
- data/stripe.gemspec +0 -44
@@ -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,17 +67,49 @@ 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
|
@@ -68,13 +124,65 @@ module Stripe
|
|
68
124
|
attr_reader :last4
|
69
125
|
# Transit number of the bank account.
|
70
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
|
135
|
+
end
|
136
|
+
|
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
|
71
175
|
end
|
72
176
|
|
73
|
-
class
|
74
|
-
|
75
|
-
|
76
|
-
|
77
|
-
|
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
|
78
186
|
|
79
187
|
class AuBecsDebit < Stripe::StripeObject
|
80
188
|
# Six-digit number identifying bank and branch associated with this bank account.
|
@@ -83,6 +191,14 @@ module Stripe
|
|
83
191
|
attr_reader :fingerprint
|
84
192
|
# Last four digits of the bank account number.
|
85
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
|
86
202
|
end
|
87
203
|
|
88
204
|
class BacsDebit < Stripe::StripeObject
|
@@ -92,10 +208,35 @@ module Stripe
|
|
92
208
|
attr_reader :last4
|
93
209
|
# Sort code of the bank account. (e.g., `10-20-30`)
|
94
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
|
95
219
|
end
|
96
220
|
|
97
|
-
class Bancontact < Stripe::StripeObject
|
98
|
-
|
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
|
99
240
|
|
100
241
|
class BillingDetails < Stripe::StripeObject
|
101
242
|
class Address < Stripe::StripeObject
|
@@ -103,14 +244,22 @@ module Stripe
|
|
103
244
|
attr_reader :city
|
104
245
|
# Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)).
|
105
246
|
attr_reader :country
|
106
|
-
# Address line 1
|
247
|
+
# Address line 1, such as the street, PO Box, or company name.
|
107
248
|
attr_reader :line1
|
108
|
-
# Address line 2
|
249
|
+
# Address line 2, such as the apartment, suite, unit, or building.
|
109
250
|
attr_reader :line2
|
110
251
|
# ZIP or postal code.
|
111
252
|
attr_reader :postal_code
|
112
253
|
# State, county, province, or region.
|
113
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
|
114
263
|
end
|
115
264
|
# Billing address.
|
116
265
|
attr_reader :address
|
@@ -122,13 +271,37 @@ module Stripe
|
|
122
271
|
attr_reader :phone
|
123
272
|
# Taxpayer identification number. Used only for transactions between LATAM buyers and non-LATAM sellers.
|
124
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
|
125
282
|
end
|
126
283
|
|
127
|
-
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
|
128
293
|
|
129
294
|
class Boleto < Stripe::StripeObject
|
130
295
|
# Uniquely identifies the customer tax id (CNPJ or CPF)
|
131
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
|
132
305
|
end
|
133
306
|
|
134
307
|
class Card < Stripe::StripeObject
|
@@ -139,6 +312,14 @@ module Stripe
|
|
139
312
|
attr_reader :address_postal_code_check
|
140
313
|
# If a CVC was provided, results of the check, one of `pass`, `fail`, `unavailable`, or `unchecked`.
|
141
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
|
142
323
|
end
|
143
324
|
|
144
325
|
class GeneratedFrom < Stripe::StripeObject
|
@@ -149,6 +330,14 @@ module Stripe
|
|
149
330
|
attr_reader :stored_at
|
150
331
|
# The method used to process this payment method offline. Only deferred is allowed.
|
151
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
|
152
341
|
end
|
153
342
|
|
154
343
|
class Receipt < Stripe::StripeObject
|
@@ -170,11 +359,27 @@ module Stripe
|
|
170
359
|
attr_reader :terminal_verification_results
|
171
360
|
# An indication of which steps were completed during the card read process. Referenced from EMV Tag 9B.
|
172
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
|
173
370
|
end
|
174
371
|
|
175
372
|
class Wallet < Stripe::StripeObject
|
176
373
|
# The type of mobile wallet, one of `apple_pay`, `google_pay`, `samsung_pay`, or `unknown`.
|
177
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
|
178
383
|
end
|
179
384
|
# The authorized amount
|
180
385
|
attr_reader :amount_authorized
|
@@ -228,11 +433,27 @@ module Stripe
|
|
228
433
|
attr_reader :receipt
|
229
434
|
# Attribute for field wallet
|
230
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
|
231
444
|
end
|
232
445
|
# Attribute for field card_present
|
233
446
|
attr_reader :card_present
|
234
447
|
# The type of payment method transaction-specific details from the transaction that generated this `card` payment method. Always `card_present`.
|
235
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
|
236
457
|
end
|
237
458
|
# The charge that created this object.
|
238
459
|
attr_reader :charge
|
@@ -240,6 +461,14 @@ module Stripe
|
|
240
461
|
attr_reader :payment_method_details
|
241
462
|
# The ID of the SetupAttempt that generated this PaymentMethod, if any.
|
242
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
|
243
472
|
end
|
244
473
|
|
245
474
|
class Networks < Stripe::StripeObject
|
@@ -247,18 +476,69 @@ module Stripe
|
|
247
476
|
attr_reader :available
|
248
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.
|
249
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
|
250
487
|
end
|
251
488
|
|
252
489
|
class ThreeDSecureUsage < Stripe::StripeObject
|
253
490
|
# Whether 3D Secure is supported on this card.
|
254
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
|
255
500
|
end
|
256
501
|
|
257
502
|
class Wallet < Stripe::StripeObject
|
258
|
-
class AmexExpressCheckout < Stripe::StripeObject
|
259
|
-
|
260
|
-
|
261
|
-
|
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
|
262
542
|
|
263
543
|
class Masterpass < Stripe::StripeObject
|
264
544
|
class BillingAddress < Stripe::StripeObject
|
@@ -266,14 +546,22 @@ module Stripe
|
|
266
546
|
attr_reader :city
|
267
547
|
# Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)).
|
268
548
|
attr_reader :country
|
269
|
-
# Address line 1
|
549
|
+
# Address line 1, such as the street, PO Box, or company name.
|
270
550
|
attr_reader :line1
|
271
|
-
# Address line 2
|
551
|
+
# Address line 2, such as the apartment, suite, unit, or building.
|
272
552
|
attr_reader :line2
|
273
553
|
# ZIP or postal code.
|
274
554
|
attr_reader :postal_code
|
275
555
|
# State, county, province, or region.
|
276
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
|
277
565
|
end
|
278
566
|
|
279
567
|
class ShippingAddress < Stripe::StripeObject
|
@@ -281,14 +569,22 @@ module Stripe
|
|
281
569
|
attr_reader :city
|
282
570
|
# Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)).
|
283
571
|
attr_reader :country
|
284
|
-
# Address line 1
|
572
|
+
# Address line 1, such as the street, PO Box, or company name.
|
285
573
|
attr_reader :line1
|
286
|
-
# Address line 2
|
574
|
+
# Address line 2, such as the apartment, suite, unit, or building.
|
287
575
|
attr_reader :line2
|
288
576
|
# ZIP or postal code.
|
289
577
|
attr_reader :postal_code
|
290
578
|
# State, county, province, or region.
|
291
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
|
292
588
|
end
|
293
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.
|
294
590
|
attr_reader :billing_address
|
@@ -298,9 +594,28 @@ module Stripe
|
|
298
594
|
attr_reader :name
|
299
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.
|
300
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
|
301
608
|
end
|
302
609
|
|
303
|
-
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
|
304
619
|
|
305
620
|
class VisaCheckout < Stripe::StripeObject
|
306
621
|
class BillingAddress < Stripe::StripeObject
|
@@ -308,14 +623,22 @@ module Stripe
|
|
308
623
|
attr_reader :city
|
309
624
|
# Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)).
|
310
625
|
attr_reader :country
|
311
|
-
# Address line 1
|
626
|
+
# Address line 1, such as the street, PO Box, or company name.
|
312
627
|
attr_reader :line1
|
313
|
-
# Address line 2
|
628
|
+
# Address line 2, such as the apartment, suite, unit, or building.
|
314
629
|
attr_reader :line2
|
315
630
|
# ZIP or postal code.
|
316
631
|
attr_reader :postal_code
|
317
632
|
# State, county, province, or region.
|
318
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
|
319
642
|
end
|
320
643
|
|
321
644
|
class ShippingAddress < Stripe::StripeObject
|
@@ -323,14 +646,22 @@ module Stripe
|
|
323
646
|
attr_reader :city
|
324
647
|
# Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)).
|
325
648
|
attr_reader :country
|
326
|
-
# Address line 1
|
649
|
+
# Address line 1, such as the street, PO Box, or company name.
|
327
650
|
attr_reader :line1
|
328
|
-
# Address line 2
|
651
|
+
# Address line 2, such as the apartment, suite, unit, or building.
|
329
652
|
attr_reader :line2
|
330
653
|
# ZIP or postal code.
|
331
654
|
attr_reader :postal_code
|
332
655
|
# State, county, province, or region.
|
333
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
|
334
665
|
end
|
335
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.
|
336
667
|
attr_reader :billing_address
|
@@ -340,6 +671,17 @@ module Stripe
|
|
340
671
|
attr_reader :name
|
341
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.
|
342
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
|
343
685
|
end
|
344
686
|
# Attribute for field amex_express_checkout
|
345
687
|
attr_reader :amex_express_checkout
|
@@ -359,6 +701,22 @@ module Stripe
|
|
359
701
|
attr_reader :type
|
360
702
|
# Attribute for field visa_checkout
|
361
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
|
362
720
|
end
|
363
721
|
# Card brand. Can be `amex`, `cartes_bancaires`, `diners`, `discover`, `eftpos_au`, `jcb`, `link`, `mastercard`, `unionpay`, `visa` or `unknown`.
|
364
722
|
attr_reader :brand
|
@@ -396,6 +754,20 @@ module Stripe
|
|
396
754
|
attr_reader :three_d_secure_usage
|
397
755
|
# If this Card is part of a card wallet, this contains the details of the card wallet.
|
398
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
|
399
771
|
end
|
400
772
|
|
401
773
|
class CardPresent < Stripe::StripeObject
|
@@ -404,6 +776,14 @@ module Stripe
|
|
404
776
|
attr_reader :available
|
405
777
|
# The preferred network for the card.
|
406
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
|
407
787
|
end
|
408
788
|
|
409
789
|
class Offline < Stripe::StripeObject
|
@@ -411,11 +791,27 @@ module Stripe
|
|
411
791
|
attr_reader :stored_at
|
412
792
|
# The method used to process this payment method offline. Only deferred is allowed.
|
413
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
|
414
802
|
end
|
415
803
|
|
416
804
|
class Wallet < Stripe::StripeObject
|
417
805
|
# The type of mobile wallet, one of `apple_pay`, `google_pay`, `samsung_pay`, or `unknown`.
|
418
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
|
419
815
|
end
|
420
816
|
# Card brand. Can be `amex`, `cartes_bancaires`, `diners`, `discover`, `eftpos_au`, `jcb`, `link`, `mastercard`, `unionpay`, `visa` or `unknown`.
|
421
817
|
attr_reader :brand
|
@@ -453,6 +849,14 @@ module Stripe
|
|
453
849
|
attr_reader :read_method
|
454
850
|
# Attribute for field wallet
|
455
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
|
456
860
|
end
|
457
861
|
|
458
862
|
class Cashapp < Stripe::StripeObject
|
@@ -460,14 +864,47 @@ module Stripe
|
|
460
864
|
attr_reader :buyer_id
|
461
865
|
# A public identifier for buyers using Cash App.
|
462
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
|
463
885
|
end
|
464
886
|
|
465
|
-
class
|
466
|
-
|
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
|
467
896
|
|
468
897
|
class Eps < Stripe::StripeObject
|
469
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`.
|
470
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
|
471
908
|
end
|
472
909
|
|
473
910
|
class Fpx < Stripe::StripeObject
|
@@ -475,16 +912,49 @@ module Stripe
|
|
475
912
|
attr_reader :account_holder_type
|
476
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`.
|
477
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
|
923
|
+
end
|
924
|
+
|
925
|
+
class Giropay < Stripe::StripeObject
|
926
|
+
def self.inner_class_types
|
927
|
+
@inner_class_types = {}
|
928
|
+
end
|
929
|
+
|
930
|
+
def self.field_remappings
|
931
|
+
@field_remappings = {}
|
932
|
+
end
|
478
933
|
end
|
479
934
|
|
480
|
-
class
|
481
|
-
|
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
|
943
|
+
end
|
482
944
|
|
483
945
|
class Ideal < Stripe::StripeObject
|
484
946
|
# The customer's bank, if provided. Can be one of `abn_amro`, `asn_bank`, `bunq`, `buut`, `handelsbanken`, `ing`, `knab`, `moneyou`, `n26`, `nn`, `rabobank`, `regiobank`, `revolut`, `sns_bank`, `triodos_bank`, `van_lanschot`, or `yoursafe`.
|
485
947
|
attr_reader :bank
|
486
948
|
# The Bank Identifier Code of the customer's bank, if the bank was provided.
|
487
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
|
488
958
|
end
|
489
959
|
|
490
960
|
class InteracPresent < Stripe::StripeObject
|
@@ -493,6 +963,14 @@ module Stripe
|
|
493
963
|
attr_reader :available
|
494
964
|
# The preferred network for the card.
|
495
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
|
496
974
|
end
|
497
975
|
# Card brand. Can be `interac`, `mastercard` or `visa`.
|
498
976
|
attr_reader :brand
|
@@ -524,9 +1002,25 @@ module Stripe
|
|
524
1002
|
attr_reader :preferred_locales
|
525
1003
|
# How card details were read in this transaction.
|
526
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
|
527
1013
|
end
|
528
1014
|
|
529
|
-
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
|
530
1024
|
|
531
1025
|
class Klarna < Stripe::StripeObject
|
532
1026
|
class Dob < Stripe::StripeObject
|
@@ -536,18 +1030,50 @@ module Stripe
|
|
536
1030
|
attr_reader :month
|
537
1031
|
# The four-digit year of birth.
|
538
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
|
539
1041
|
end
|
540
1042
|
# The customer's date of birth, if provided.
|
541
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
|
542
1052
|
end
|
543
1053
|
|
544
|
-
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
|
545
1063
|
|
546
1064
|
class KrCard < Stripe::StripeObject
|
547
1065
|
# The local credit or debit card brand.
|
548
1066
|
attr_reader :brand
|
549
1067
|
# The last four digits of the card. This may not be present for American Express cards.
|
550
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
|
551
1077
|
end
|
552
1078
|
|
553
1079
|
class Link < Stripe::StripeObject
|
@@ -555,16 +1081,59 @@ module Stripe
|
|
555
1081
|
attr_reader :email
|
556
1082
|
# [Deprecated] This is a legacy parameter that no longer has any function.
|
557
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
|
558
1102
|
end
|
559
1103
|
|
560
|
-
class Mobilepay < Stripe::StripeObject
|
561
|
-
|
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
|
1112
|
+
end
|
1113
|
+
|
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
|
562
1123
|
|
563
1124
|
class NaverPay < Stripe::StripeObject
|
564
1125
|
# Uniquely identifies this particular Naver Pay account. You can use this attribute to check whether two Naver Pay accounts are the same.
|
565
1126
|
attr_reader :buyer_id
|
566
1127
|
# Whether to fund this transaction with Naver Pay points or a card.
|
567
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
|
568
1137
|
end
|
569
1138
|
|
570
1139
|
class NzBankAccount < Stripe::StripeObject
|
@@ -580,18 +1149,68 @@ module Stripe
|
|
580
1149
|
attr_reader :last4
|
581
1150
|
# The suffix of the bank account number.
|
582
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
|
583
1160
|
end
|
584
1161
|
|
585
|
-
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
|
586
1171
|
|
587
1172
|
class P24 < Stripe::StripeObject
|
588
1173
|
# The customer's bank, if provided.
|
589
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
|
590
1193
|
end
|
591
1194
|
|
592
|
-
class
|
593
|
-
|
594
|
-
|
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
|
1203
|
+
end
|
1204
|
+
|
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
|
595
1214
|
|
596
1215
|
class Paypal < Stripe::StripeObject
|
597
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.
|
@@ -601,13 +1220,65 @@ module Stripe
|
|
601
1220
|
attr_reader :payer_email
|
602
1221
|
# PayPal account PayerID. This identifier uniquely identifies the PayPal customer.
|
603
1222
|
attr_reader :payer_id
|
1223
|
+
|
1224
|
+
def self.inner_class_types
|
1225
|
+
@inner_class_types = {}
|
1226
|
+
end
|
1227
|
+
|
1228
|
+
def self.field_remappings
|
1229
|
+
@field_remappings = {}
|
1230
|
+
end
|
1231
|
+
end
|
1232
|
+
|
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
|
1241
|
+
end
|
1242
|
+
|
1243
|
+
class Promptpay < Stripe::StripeObject
|
1244
|
+
def self.inner_class_types
|
1245
|
+
@inner_class_types = {}
|
1246
|
+
end
|
1247
|
+
|
1248
|
+
def self.field_remappings
|
1249
|
+
@field_remappings = {}
|
1250
|
+
end
|
604
1251
|
end
|
605
1252
|
|
606
|
-
class
|
607
|
-
|
608
|
-
|
609
|
-
|
610
|
-
|
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 = {}
|
1270
|
+
end
|
1271
|
+
end
|
1272
|
+
|
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
|
611
1282
|
|
612
1283
|
class SepaDebit < Stripe::StripeObject
|
613
1284
|
class GeneratedFrom < Stripe::StripeObject
|
@@ -615,6 +1286,14 @@ module Stripe
|
|
615
1286
|
attr_reader :charge
|
616
1287
|
# The ID of the SetupAttempt that generated this PaymentMethod, if any.
|
617
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
|
618
1297
|
end
|
619
1298
|
# Bank code of bank associated with the bank account.
|
620
1299
|
attr_reader :bank_code
|
@@ -628,15 +1307,48 @@ module Stripe
|
|
628
1307
|
attr_reader :generated_from
|
629
1308
|
# Last four characters of the IBAN.
|
630
1309
|
attr_reader :last4
|
1310
|
+
|
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
|
631
1318
|
end
|
632
1319
|
|
633
1320
|
class Sofort < Stripe::StripeObject
|
634
1321
|
# Two-letter ISO code representing the country the bank account is located in.
|
635
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
|
1331
|
+
end
|
1332
|
+
|
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
|
636
1341
|
end
|
637
1342
|
|
638
|
-
class
|
639
|
-
|
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
|
640
1352
|
|
641
1353
|
class UsBankAccount < Stripe::StripeObject
|
642
1354
|
class Networks < Stripe::StripeObject
|
@@ -644,6 +1356,14 @@ module Stripe
|
|
644
1356
|
attr_reader :preferred
|
645
1357
|
# All supported networks.
|
646
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
|
647
1367
|
end
|
648
1368
|
|
649
1369
|
class StatusDetails < Stripe::StripeObject
|
@@ -652,9 +1372,25 @@ module Stripe
|
|
652
1372
|
attr_reader :network_code
|
653
1373
|
# The reason why this PaymentMethod's fingerprint has been blocked
|
654
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
|
655
1383
|
end
|
656
1384
|
# Attribute for field blocked
|
657
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
|
658
1394
|
end
|
659
1395
|
# Account holder type: individual or company.
|
660
1396
|
attr_reader :account_holder_type
|
@@ -674,10 +1410,35 @@ module Stripe
|
|
674
1410
|
attr_reader :routing_number
|
675
1411
|
# Contains information about the future reusability of this PaymentMethod.
|
676
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
|
677
1421
|
end
|
678
1422
|
|
679
|
-
class WechatPay < Stripe::StripeObject
|
680
|
-
|
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
|
681
1442
|
# Attribute for field acss_debit
|
682
1443
|
attr_reader :acss_debit
|
683
1444
|
# Attribute for field affirm
|
@@ -740,6 +1501,8 @@ module Stripe
|
|
740
1501
|
attr_reader :kr_card
|
741
1502
|
# Attribute for field link
|
742
1503
|
attr_reader :link
|
1504
|
+
# Attribute for field mb_way
|
1505
|
+
attr_reader :mb_way
|
743
1506
|
# Attribute for field mobilepay
|
744
1507
|
attr_reader :mobilepay
|
745
1508
|
# Attribute for field multibanco
|
@@ -786,6 +1549,67 @@ module Stripe
|
|
786
1549
|
attr_reader :wechat_pay
|
787
1550
|
# Attribute for field zip
|
788
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
|
789
1613
|
end
|
790
1614
|
|
791
1615
|
class Shipping < Stripe::StripeObject
|
@@ -794,14 +1618,22 @@ module Stripe
|
|
794
1618
|
attr_reader :city
|
795
1619
|
# Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)).
|
796
1620
|
attr_reader :country
|
797
|
-
# Address line 1
|
1621
|
+
# Address line 1, such as the street, PO Box, or company name.
|
798
1622
|
attr_reader :line1
|
799
|
-
# Address line 2
|
1623
|
+
# Address line 2, such as the apartment, suite, unit, or building.
|
800
1624
|
attr_reader :line2
|
801
1625
|
# ZIP or postal code.
|
802
1626
|
attr_reader :postal_code
|
803
1627
|
# State, county, province, or region.
|
804
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
|
805
1637
|
end
|
806
1638
|
# Attribute for field address
|
807
1639
|
attr_reader :address
|
@@ -809,646 +1641,13 @@ module Stripe
|
|
809
1641
|
attr_reader :name
|
810
1642
|
# Recipient phone (including extension).
|
811
1643
|
attr_reader :phone
|
812
|
-
end
|
813
|
-
|
814
|
-
class CreateParams < Stripe::RequestParams
|
815
|
-
class PaymentMethodData < Stripe::RequestParams
|
816
|
-
class AcssDebit < Stripe::RequestParams
|
817
|
-
# Customer's bank account number.
|
818
|
-
attr_accessor :account_number
|
819
|
-
# Institution number of the customer's bank.
|
820
|
-
attr_accessor :institution_number
|
821
|
-
# Transit number of the customer's bank.
|
822
|
-
attr_accessor :transit_number
|
823
|
-
|
824
|
-
def initialize(account_number: nil, institution_number: nil, transit_number: nil)
|
825
|
-
@account_number = account_number
|
826
|
-
@institution_number = institution_number
|
827
|
-
@transit_number = transit_number
|
828
|
-
end
|
829
|
-
end
|
830
|
-
|
831
|
-
class Affirm < Stripe::RequestParams; end
|
832
|
-
class AfterpayClearpay < Stripe::RequestParams; end
|
833
|
-
class Alipay < Stripe::RequestParams; end
|
834
|
-
class Alma < Stripe::RequestParams; end
|
835
|
-
class AmazonPay < Stripe::RequestParams; end
|
836
|
-
|
837
|
-
class AuBecsDebit < Stripe::RequestParams
|
838
|
-
# The account number for the bank account.
|
839
|
-
attr_accessor :account_number
|
840
|
-
# Bank-State-Branch number of the bank account.
|
841
|
-
attr_accessor :bsb_number
|
842
|
-
|
843
|
-
def initialize(account_number: nil, bsb_number: nil)
|
844
|
-
@account_number = account_number
|
845
|
-
@bsb_number = bsb_number
|
846
|
-
end
|
847
|
-
end
|
848
|
-
|
849
|
-
class BacsDebit < Stripe::RequestParams
|
850
|
-
# Account number of the bank account that the funds will be debited from.
|
851
|
-
attr_accessor :account_number
|
852
|
-
# Sort code of the bank account. (e.g., `10-20-30`)
|
853
|
-
attr_accessor :sort_code
|
854
|
-
|
855
|
-
def initialize(account_number: nil, sort_code: nil)
|
856
|
-
@account_number = account_number
|
857
|
-
@sort_code = sort_code
|
858
|
-
end
|
859
|
-
end
|
860
|
-
|
861
|
-
class Bancontact < Stripe::RequestParams; end
|
862
|
-
class Billie < Stripe::RequestParams; end
|
863
|
-
|
864
|
-
class BillingDetails < Stripe::RequestParams
|
865
|
-
class Address < Stripe::RequestParams
|
866
|
-
# City, district, suburb, town, or village.
|
867
|
-
attr_accessor :city
|
868
|
-
# Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)).
|
869
|
-
attr_accessor :country
|
870
|
-
# Address line 1 (e.g., street, PO Box, or company name).
|
871
|
-
attr_accessor :line1
|
872
|
-
# Address line 2 (e.g., apartment, suite, unit, or building).
|
873
|
-
attr_accessor :line2
|
874
|
-
# ZIP or postal code.
|
875
|
-
attr_accessor :postal_code
|
876
|
-
# State, county, province, or region.
|
877
|
-
attr_accessor :state
|
878
|
-
|
879
|
-
def initialize(
|
880
|
-
city: nil,
|
881
|
-
country: nil,
|
882
|
-
line1: nil,
|
883
|
-
line2: nil,
|
884
|
-
postal_code: nil,
|
885
|
-
state: nil
|
886
|
-
)
|
887
|
-
@city = city
|
888
|
-
@country = country
|
889
|
-
@line1 = line1
|
890
|
-
@line2 = line2
|
891
|
-
@postal_code = postal_code
|
892
|
-
@state = state
|
893
|
-
end
|
894
|
-
end
|
895
|
-
# Billing address.
|
896
|
-
attr_accessor :address
|
897
|
-
# Email address.
|
898
|
-
attr_accessor :email
|
899
|
-
# Full name.
|
900
|
-
attr_accessor :name
|
901
|
-
# Billing phone number (including extension).
|
902
|
-
attr_accessor :phone
|
903
|
-
# Taxpayer identification number. Used only for transactions between LATAM buyers and non-LATAM sellers.
|
904
|
-
attr_accessor :tax_id
|
905
|
-
|
906
|
-
def initialize(address: nil, email: nil, name: nil, phone: nil, tax_id: nil)
|
907
|
-
@address = address
|
908
|
-
@email = email
|
909
|
-
@name = name
|
910
|
-
@phone = phone
|
911
|
-
@tax_id = tax_id
|
912
|
-
end
|
913
|
-
end
|
914
|
-
|
915
|
-
class Blik < Stripe::RequestParams; end
|
916
|
-
|
917
|
-
class Boleto < Stripe::RequestParams
|
918
|
-
# The tax ID of the customer (CPF for individual consumers or CNPJ for businesses consumers)
|
919
|
-
attr_accessor :tax_id
|
920
|
-
|
921
|
-
def initialize(tax_id: nil)
|
922
|
-
@tax_id = tax_id
|
923
|
-
end
|
924
|
-
end
|
925
|
-
|
926
|
-
class Cashapp < Stripe::RequestParams; end
|
927
|
-
class Crypto < Stripe::RequestParams; end
|
928
|
-
class CustomerBalance < Stripe::RequestParams; end
|
929
|
-
|
930
|
-
class Eps < Stripe::RequestParams
|
931
|
-
# The customer's bank.
|
932
|
-
attr_accessor :bank
|
933
|
-
|
934
|
-
def initialize(bank: nil)
|
935
|
-
@bank = bank
|
936
|
-
end
|
937
|
-
end
|
938
|
-
|
939
|
-
class Fpx < Stripe::RequestParams
|
940
|
-
# Account holder type for FPX transaction
|
941
|
-
attr_accessor :account_holder_type
|
942
|
-
# The customer's bank.
|
943
|
-
attr_accessor :bank
|
944
|
-
|
945
|
-
def initialize(account_holder_type: nil, bank: nil)
|
946
|
-
@account_holder_type = account_holder_type
|
947
|
-
@bank = bank
|
948
|
-
end
|
949
|
-
end
|
950
|
-
|
951
|
-
class Giropay < Stripe::RequestParams; end
|
952
|
-
class Grabpay < Stripe::RequestParams; end
|
953
|
-
|
954
|
-
class Ideal < Stripe::RequestParams
|
955
|
-
# The customer's bank. Only use this parameter for existing customers. Don't use it for new customers.
|
956
|
-
attr_accessor :bank
|
957
|
-
|
958
|
-
def initialize(bank: nil)
|
959
|
-
@bank = bank
|
960
|
-
end
|
961
|
-
end
|
962
1644
|
|
963
|
-
|
964
|
-
|
965
|
-
|
966
|
-
class Klarna < Stripe::RequestParams
|
967
|
-
class Dob < Stripe::RequestParams
|
968
|
-
# The day of birth, between 1 and 31.
|
969
|
-
attr_accessor :day
|
970
|
-
# The month of birth, between 1 and 12.
|
971
|
-
attr_accessor :month
|
972
|
-
# The four-digit year of birth.
|
973
|
-
attr_accessor :year
|
974
|
-
|
975
|
-
def initialize(day: nil, month: nil, year: nil)
|
976
|
-
@day = day
|
977
|
-
@month = month
|
978
|
-
@year = year
|
979
|
-
end
|
980
|
-
end
|
981
|
-
# Customer's date of birth
|
982
|
-
attr_accessor :dob
|
983
|
-
|
984
|
-
def initialize(dob: nil)
|
985
|
-
@dob = dob
|
986
|
-
end
|
987
|
-
end
|
988
|
-
|
989
|
-
class Konbini < Stripe::RequestParams; end
|
990
|
-
class KrCard < Stripe::RequestParams; end
|
991
|
-
class Link < Stripe::RequestParams; end
|
992
|
-
class Mobilepay < Stripe::RequestParams; end
|
993
|
-
class Multibanco < Stripe::RequestParams; end
|
994
|
-
|
995
|
-
class NaverPay < Stripe::RequestParams
|
996
|
-
# Whether to use Naver Pay points or a card to fund this transaction. If not provided, this defaults to `card`.
|
997
|
-
attr_accessor :funding
|
998
|
-
|
999
|
-
def initialize(funding: nil)
|
1000
|
-
@funding = funding
|
1001
|
-
end
|
1002
|
-
end
|
1003
|
-
|
1004
|
-
class NzBankAccount < Stripe::RequestParams
|
1005
|
-
# The name on the bank account. Only required if the account holder name is different from the name of the authorized signatory collected in the PaymentMethod’s billing details.
|
1006
|
-
attr_accessor :account_holder_name
|
1007
|
-
# The account number for the bank account.
|
1008
|
-
attr_accessor :account_number
|
1009
|
-
# The numeric code for the bank account's bank.
|
1010
|
-
attr_accessor :bank_code
|
1011
|
-
# The numeric code for the bank account's bank branch.
|
1012
|
-
attr_accessor :branch_code
|
1013
|
-
# Attribute for param field reference
|
1014
|
-
attr_accessor :reference
|
1015
|
-
# The suffix of the bank account number.
|
1016
|
-
attr_accessor :suffix
|
1017
|
-
|
1018
|
-
def initialize(
|
1019
|
-
account_holder_name: nil,
|
1020
|
-
account_number: nil,
|
1021
|
-
bank_code: nil,
|
1022
|
-
branch_code: nil,
|
1023
|
-
reference: nil,
|
1024
|
-
suffix: nil
|
1025
|
-
)
|
1026
|
-
@account_holder_name = account_holder_name
|
1027
|
-
@account_number = account_number
|
1028
|
-
@bank_code = bank_code
|
1029
|
-
@branch_code = branch_code
|
1030
|
-
@reference = reference
|
1031
|
-
@suffix = suffix
|
1032
|
-
end
|
1033
|
-
end
|
1034
|
-
|
1035
|
-
class Oxxo < Stripe::RequestParams; end
|
1036
|
-
|
1037
|
-
class P24 < Stripe::RequestParams
|
1038
|
-
# The customer's bank.
|
1039
|
-
attr_accessor :bank
|
1040
|
-
|
1041
|
-
def initialize(bank: nil)
|
1042
|
-
@bank = bank
|
1043
|
-
end
|
1044
|
-
end
|
1045
|
-
|
1046
|
-
class PayByBank < Stripe::RequestParams; end
|
1047
|
-
class Payco < Stripe::RequestParams; end
|
1048
|
-
class Paynow < Stripe::RequestParams; end
|
1049
|
-
class Paypal < Stripe::RequestParams; end
|
1050
|
-
class Pix < Stripe::RequestParams; end
|
1051
|
-
class Promptpay < Stripe::RequestParams; end
|
1052
|
-
|
1053
|
-
class RadarOptions < Stripe::RequestParams
|
1054
|
-
# 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.
|
1055
|
-
attr_accessor :session
|
1056
|
-
|
1057
|
-
def initialize(session: nil)
|
1058
|
-
@session = session
|
1059
|
-
end
|
1060
|
-
end
|
1061
|
-
|
1062
|
-
class RevolutPay < Stripe::RequestParams; end
|
1063
|
-
class SamsungPay < Stripe::RequestParams; end
|
1064
|
-
class Satispay < Stripe::RequestParams; end
|
1065
|
-
|
1066
|
-
class SepaDebit < Stripe::RequestParams
|
1067
|
-
# IBAN of the bank account.
|
1068
|
-
attr_accessor :iban
|
1069
|
-
|
1070
|
-
def initialize(iban: nil)
|
1071
|
-
@iban = iban
|
1072
|
-
end
|
1073
|
-
end
|
1074
|
-
|
1075
|
-
class Sofort < Stripe::RequestParams
|
1076
|
-
# Two-letter ISO code representing the country the bank account is located in.
|
1077
|
-
attr_accessor :country
|
1078
|
-
|
1079
|
-
def initialize(country: nil)
|
1080
|
-
@country = country
|
1081
|
-
end
|
1082
|
-
end
|
1083
|
-
|
1084
|
-
class Swish < Stripe::RequestParams; end
|
1085
|
-
class Twint < Stripe::RequestParams; end
|
1086
|
-
|
1087
|
-
class UsBankAccount < Stripe::RequestParams
|
1088
|
-
# Account holder type: individual or company.
|
1089
|
-
attr_accessor :account_holder_type
|
1090
|
-
# Account number of the bank account.
|
1091
|
-
attr_accessor :account_number
|
1092
|
-
# Account type: checkings or savings. Defaults to checking if omitted.
|
1093
|
-
attr_accessor :account_type
|
1094
|
-
# The ID of a Financial Connections Account to use as a payment method.
|
1095
|
-
attr_accessor :financial_connections_account
|
1096
|
-
# Routing number of the bank account.
|
1097
|
-
attr_accessor :routing_number
|
1098
|
-
|
1099
|
-
def initialize(
|
1100
|
-
account_holder_type: nil,
|
1101
|
-
account_number: nil,
|
1102
|
-
account_type: nil,
|
1103
|
-
financial_connections_account: nil,
|
1104
|
-
routing_number: nil
|
1105
|
-
)
|
1106
|
-
@account_holder_type = account_holder_type
|
1107
|
-
@account_number = account_number
|
1108
|
-
@account_type = account_type
|
1109
|
-
@financial_connections_account = financial_connections_account
|
1110
|
-
@routing_number = routing_number
|
1111
|
-
end
|
1112
|
-
end
|
1113
|
-
|
1114
|
-
class WechatPay < Stripe::RequestParams; end
|
1115
|
-
class Zip < Stripe::RequestParams; end
|
1116
|
-
# If this is an `acss_debit` PaymentMethod, this hash contains details about the ACSS Debit payment method.
|
1117
|
-
attr_accessor :acss_debit
|
1118
|
-
# If this is an `affirm` PaymentMethod, this hash contains details about the Affirm payment method.
|
1119
|
-
attr_accessor :affirm
|
1120
|
-
# If this is an `AfterpayClearpay` PaymentMethod, this hash contains details about the AfterpayClearpay payment method.
|
1121
|
-
attr_accessor :afterpay_clearpay
|
1122
|
-
# If this is an `Alipay` PaymentMethod, this hash contains details about the Alipay payment method.
|
1123
|
-
attr_accessor :alipay
|
1124
|
-
# 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`.
|
1125
|
-
attr_accessor :allow_redisplay
|
1126
|
-
# If this is a Alma PaymentMethod, this hash contains details about the Alma payment method.
|
1127
|
-
attr_accessor :alma
|
1128
|
-
# If this is a AmazonPay PaymentMethod, this hash contains details about the AmazonPay payment method.
|
1129
|
-
attr_accessor :amazon_pay
|
1130
|
-
# If this is an `au_becs_debit` PaymentMethod, this hash contains details about the bank account.
|
1131
|
-
attr_accessor :au_becs_debit
|
1132
|
-
# If this is a `bacs_debit` PaymentMethod, this hash contains details about the Bacs Direct Debit bank account.
|
1133
|
-
attr_accessor :bacs_debit
|
1134
|
-
# If this is a `bancontact` PaymentMethod, this hash contains details about the Bancontact payment method.
|
1135
|
-
attr_accessor :bancontact
|
1136
|
-
# If this is a `billie` PaymentMethod, this hash contains details about the Billie payment method.
|
1137
|
-
attr_accessor :billie
|
1138
|
-
# Billing information associated with the PaymentMethod that may be used or required by particular types of payment methods.
|
1139
|
-
attr_accessor :billing_details
|
1140
|
-
# If this is a `blik` PaymentMethod, this hash contains details about the BLIK payment method.
|
1141
|
-
attr_accessor :blik
|
1142
|
-
# If this is a `boleto` PaymentMethod, this hash contains details about the Boleto payment method.
|
1143
|
-
attr_accessor :boleto
|
1144
|
-
# If this is a `cashapp` PaymentMethod, this hash contains details about the Cash App Pay payment method.
|
1145
|
-
attr_accessor :cashapp
|
1146
|
-
# If this is a Crypto PaymentMethod, this hash contains details about the Crypto payment method.
|
1147
|
-
attr_accessor :crypto
|
1148
|
-
# If this is a `customer_balance` PaymentMethod, this hash contains details about the CustomerBalance payment method.
|
1149
|
-
attr_accessor :customer_balance
|
1150
|
-
# If this is an `eps` PaymentMethod, this hash contains details about the EPS payment method.
|
1151
|
-
attr_accessor :eps
|
1152
|
-
# If this is an `fpx` PaymentMethod, this hash contains details about the FPX payment method.
|
1153
|
-
attr_accessor :fpx
|
1154
|
-
# If this is a `giropay` PaymentMethod, this hash contains details about the Giropay payment method.
|
1155
|
-
attr_accessor :giropay
|
1156
|
-
# If this is a `grabpay` PaymentMethod, this hash contains details about the GrabPay payment method.
|
1157
|
-
attr_accessor :grabpay
|
1158
|
-
# If this is an `ideal` PaymentMethod, this hash contains details about the iDEAL payment method.
|
1159
|
-
attr_accessor :ideal
|
1160
|
-
# If this is an `interac_present` PaymentMethod, this hash contains details about the Interac Present payment method.
|
1161
|
-
attr_accessor :interac_present
|
1162
|
-
# If this is a `kakao_pay` PaymentMethod, this hash contains details about the Kakao Pay payment method.
|
1163
|
-
attr_accessor :kakao_pay
|
1164
|
-
# If this is a `klarna` PaymentMethod, this hash contains details about the Klarna payment method.
|
1165
|
-
attr_accessor :klarna
|
1166
|
-
# If this is a `konbini` PaymentMethod, this hash contains details about the Konbini payment method.
|
1167
|
-
attr_accessor :konbini
|
1168
|
-
# If this is a `kr_card` PaymentMethod, this hash contains details about the Korean Card payment method.
|
1169
|
-
attr_accessor :kr_card
|
1170
|
-
# If this is an `Link` PaymentMethod, this hash contains details about the Link payment method.
|
1171
|
-
attr_accessor :link
|
1172
|
-
# 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`.
|
1173
|
-
attr_accessor :metadata
|
1174
|
-
# If this is a `mobilepay` PaymentMethod, this hash contains details about the MobilePay payment method.
|
1175
|
-
attr_accessor :mobilepay
|
1176
|
-
# If this is a `multibanco` PaymentMethod, this hash contains details about the Multibanco payment method.
|
1177
|
-
attr_accessor :multibanco
|
1178
|
-
# If this is a `naver_pay` PaymentMethod, this hash contains details about the Naver Pay payment method.
|
1179
|
-
attr_accessor :naver_pay
|
1180
|
-
# If this is an nz_bank_account PaymentMethod, this hash contains details about the nz_bank_account payment method.
|
1181
|
-
attr_accessor :nz_bank_account
|
1182
|
-
# If this is an `oxxo` PaymentMethod, this hash contains details about the OXXO payment method.
|
1183
|
-
attr_accessor :oxxo
|
1184
|
-
# If this is a `p24` PaymentMethod, this hash contains details about the P24 payment method.
|
1185
|
-
attr_accessor :p24
|
1186
|
-
# If this is a `pay_by_bank` PaymentMethod, this hash contains details about the PayByBank payment method.
|
1187
|
-
attr_accessor :pay_by_bank
|
1188
|
-
# If this is a `payco` PaymentMethod, this hash contains details about the PAYCO payment method.
|
1189
|
-
attr_accessor :payco
|
1190
|
-
# If this is a `paynow` PaymentMethod, this hash contains details about the PayNow payment method.
|
1191
|
-
attr_accessor :paynow
|
1192
|
-
# If this is a `paypal` PaymentMethod, this hash contains details about the PayPal payment method.
|
1193
|
-
attr_accessor :paypal
|
1194
|
-
# If this is a `pix` PaymentMethod, this hash contains details about the Pix payment method.
|
1195
|
-
attr_accessor :pix
|
1196
|
-
# If this is a `promptpay` PaymentMethod, this hash contains details about the PromptPay payment method.
|
1197
|
-
attr_accessor :promptpay
|
1198
|
-
# Options to configure Radar. See [Radar Session](https://stripe.com/docs/radar/radar-session) for more information.
|
1199
|
-
attr_accessor :radar_options
|
1200
|
-
# If this is a `revolut_pay` PaymentMethod, this hash contains details about the Revolut Pay payment method.
|
1201
|
-
attr_accessor :revolut_pay
|
1202
|
-
# If this is a `samsung_pay` PaymentMethod, this hash contains details about the SamsungPay payment method.
|
1203
|
-
attr_accessor :samsung_pay
|
1204
|
-
# If this is a `satispay` PaymentMethod, this hash contains details about the Satispay payment method.
|
1205
|
-
attr_accessor :satispay
|
1206
|
-
# If this is a `sepa_debit` PaymentMethod, this hash contains details about the SEPA debit bank account.
|
1207
|
-
attr_accessor :sepa_debit
|
1208
|
-
# If this is a `sofort` PaymentMethod, this hash contains details about the SOFORT payment method.
|
1209
|
-
attr_accessor :sofort
|
1210
|
-
# If this is a `swish` PaymentMethod, this hash contains details about the Swish payment method.
|
1211
|
-
attr_accessor :swish
|
1212
|
-
# If this is a TWINT PaymentMethod, this hash contains details about the TWINT payment method.
|
1213
|
-
attr_accessor :twint
|
1214
|
-
# 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.
|
1215
|
-
attr_accessor :type
|
1216
|
-
# If this is an `us_bank_account` PaymentMethod, this hash contains details about the US bank account payment method.
|
1217
|
-
attr_accessor :us_bank_account
|
1218
|
-
# If this is an `wechat_pay` PaymentMethod, this hash contains details about the wechat_pay payment method.
|
1219
|
-
attr_accessor :wechat_pay
|
1220
|
-
# If this is a `zip` PaymentMethod, this hash contains details about the Zip payment method.
|
1221
|
-
attr_accessor :zip
|
1222
|
-
|
1223
|
-
def initialize(
|
1224
|
-
acss_debit: nil,
|
1225
|
-
affirm: nil,
|
1226
|
-
afterpay_clearpay: nil,
|
1227
|
-
alipay: nil,
|
1228
|
-
allow_redisplay: nil,
|
1229
|
-
alma: nil,
|
1230
|
-
amazon_pay: nil,
|
1231
|
-
au_becs_debit: nil,
|
1232
|
-
bacs_debit: nil,
|
1233
|
-
bancontact: nil,
|
1234
|
-
billie: nil,
|
1235
|
-
billing_details: nil,
|
1236
|
-
blik: nil,
|
1237
|
-
boleto: nil,
|
1238
|
-
cashapp: nil,
|
1239
|
-
crypto: nil,
|
1240
|
-
customer_balance: nil,
|
1241
|
-
eps: nil,
|
1242
|
-
fpx: nil,
|
1243
|
-
giropay: nil,
|
1244
|
-
grabpay: nil,
|
1245
|
-
ideal: nil,
|
1246
|
-
interac_present: nil,
|
1247
|
-
kakao_pay: nil,
|
1248
|
-
klarna: nil,
|
1249
|
-
konbini: nil,
|
1250
|
-
kr_card: nil,
|
1251
|
-
link: nil,
|
1252
|
-
metadata: nil,
|
1253
|
-
mobilepay: nil,
|
1254
|
-
multibanco: nil,
|
1255
|
-
naver_pay: nil,
|
1256
|
-
nz_bank_account: nil,
|
1257
|
-
oxxo: nil,
|
1258
|
-
p24: nil,
|
1259
|
-
pay_by_bank: nil,
|
1260
|
-
payco: nil,
|
1261
|
-
paynow: nil,
|
1262
|
-
paypal: nil,
|
1263
|
-
pix: nil,
|
1264
|
-
promptpay: nil,
|
1265
|
-
radar_options: nil,
|
1266
|
-
revolut_pay: nil,
|
1267
|
-
samsung_pay: nil,
|
1268
|
-
satispay: nil,
|
1269
|
-
sepa_debit: nil,
|
1270
|
-
sofort: nil,
|
1271
|
-
swish: nil,
|
1272
|
-
twint: nil,
|
1273
|
-
type: nil,
|
1274
|
-
us_bank_account: nil,
|
1275
|
-
wechat_pay: nil,
|
1276
|
-
zip: nil
|
1277
|
-
)
|
1278
|
-
@acss_debit = acss_debit
|
1279
|
-
@affirm = affirm
|
1280
|
-
@afterpay_clearpay = afterpay_clearpay
|
1281
|
-
@alipay = alipay
|
1282
|
-
@allow_redisplay = allow_redisplay
|
1283
|
-
@alma = alma
|
1284
|
-
@amazon_pay = amazon_pay
|
1285
|
-
@au_becs_debit = au_becs_debit
|
1286
|
-
@bacs_debit = bacs_debit
|
1287
|
-
@bancontact = bancontact
|
1288
|
-
@billie = billie
|
1289
|
-
@billing_details = billing_details
|
1290
|
-
@blik = blik
|
1291
|
-
@boleto = boleto
|
1292
|
-
@cashapp = cashapp
|
1293
|
-
@crypto = crypto
|
1294
|
-
@customer_balance = customer_balance
|
1295
|
-
@eps = eps
|
1296
|
-
@fpx = fpx
|
1297
|
-
@giropay = giropay
|
1298
|
-
@grabpay = grabpay
|
1299
|
-
@ideal = ideal
|
1300
|
-
@interac_present = interac_present
|
1301
|
-
@kakao_pay = kakao_pay
|
1302
|
-
@klarna = klarna
|
1303
|
-
@konbini = konbini
|
1304
|
-
@kr_card = kr_card
|
1305
|
-
@link = link
|
1306
|
-
@metadata = metadata
|
1307
|
-
@mobilepay = mobilepay
|
1308
|
-
@multibanco = multibanco
|
1309
|
-
@naver_pay = naver_pay
|
1310
|
-
@nz_bank_account = nz_bank_account
|
1311
|
-
@oxxo = oxxo
|
1312
|
-
@p24 = p24
|
1313
|
-
@pay_by_bank = pay_by_bank
|
1314
|
-
@payco = payco
|
1315
|
-
@paynow = paynow
|
1316
|
-
@paypal = paypal
|
1317
|
-
@pix = pix
|
1318
|
-
@promptpay = promptpay
|
1319
|
-
@radar_options = radar_options
|
1320
|
-
@revolut_pay = revolut_pay
|
1321
|
-
@samsung_pay = samsung_pay
|
1322
|
-
@satispay = satispay
|
1323
|
-
@sepa_debit = sepa_debit
|
1324
|
-
@sofort = sofort
|
1325
|
-
@swish = swish
|
1326
|
-
@twint = twint
|
1327
|
-
@type = type
|
1328
|
-
@us_bank_account = us_bank_account
|
1329
|
-
@wechat_pay = wechat_pay
|
1330
|
-
@zip = zip
|
1331
|
-
end
|
1332
|
-
end
|
1333
|
-
|
1334
|
-
class PaymentMethodOptions < Stripe::RequestParams
|
1335
|
-
class Card < Stripe::RequestParams
|
1336
|
-
class Installments < Stripe::RequestParams
|
1337
|
-
class Plan < Stripe::RequestParams
|
1338
|
-
# For `fixed_count` installment plans, this is required. It represents the number of installment payments your customer will make to their credit card.
|
1339
|
-
attr_accessor :count
|
1340
|
-
# For `fixed_count` installment plans, this is required. It represents the interval between installment payments your customer will make to their credit card.
|
1341
|
-
# One of `month`.
|
1342
|
-
attr_accessor :interval
|
1343
|
-
# Type of installment plan, one of `fixed_count`, `bonus`, or `revolving`.
|
1344
|
-
attr_accessor :type
|
1345
|
-
|
1346
|
-
def initialize(count: nil, interval: nil, type: nil)
|
1347
|
-
@count = count
|
1348
|
-
@interval = interval
|
1349
|
-
@type = type
|
1350
|
-
end
|
1351
|
-
end
|
1352
|
-
# The selected installment plan to use for this payment attempt.
|
1353
|
-
# This parameter can only be provided during confirmation.
|
1354
|
-
attr_accessor :plan
|
1355
|
-
|
1356
|
-
def initialize(plan: nil)
|
1357
|
-
@plan = plan
|
1358
|
-
end
|
1359
|
-
end
|
1360
|
-
# Installment configuration for payments confirmed using this ConfirmationToken.
|
1361
|
-
attr_accessor :installments
|
1362
|
-
|
1363
|
-
def initialize(installments: nil)
|
1364
|
-
@installments = installments
|
1365
|
-
end
|
1366
|
-
end
|
1367
|
-
# Configuration for any card payments confirmed using this ConfirmationToken.
|
1368
|
-
attr_accessor :card
|
1369
|
-
|
1370
|
-
def initialize(card: nil)
|
1371
|
-
@card = card
|
1372
|
-
end
|
1645
|
+
def self.inner_class_types
|
1646
|
+
@inner_class_types = { address: Address }
|
1373
1647
|
end
|
1374
1648
|
|
1375
|
-
|
1376
|
-
|
1377
|
-
# City, district, suburb, town, or village.
|
1378
|
-
attr_accessor :city
|
1379
|
-
# Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)).
|
1380
|
-
attr_accessor :country
|
1381
|
-
# Address line 1 (e.g., street, PO Box, or company name).
|
1382
|
-
attr_accessor :line1
|
1383
|
-
# Address line 2 (e.g., apartment, suite, unit, or building).
|
1384
|
-
attr_accessor :line2
|
1385
|
-
# ZIP or postal code.
|
1386
|
-
attr_accessor :postal_code
|
1387
|
-
# State, county, province, or region.
|
1388
|
-
attr_accessor :state
|
1389
|
-
|
1390
|
-
def initialize(
|
1391
|
-
city: nil,
|
1392
|
-
country: nil,
|
1393
|
-
line1: nil,
|
1394
|
-
line2: nil,
|
1395
|
-
postal_code: nil,
|
1396
|
-
state: nil
|
1397
|
-
)
|
1398
|
-
@city = city
|
1399
|
-
@country = country
|
1400
|
-
@line1 = line1
|
1401
|
-
@line2 = line2
|
1402
|
-
@postal_code = postal_code
|
1403
|
-
@state = state
|
1404
|
-
end
|
1405
|
-
end
|
1406
|
-
# Shipping address
|
1407
|
-
attr_accessor :address
|
1408
|
-
# Recipient name.
|
1409
|
-
attr_accessor :name
|
1410
|
-
# Recipient phone (including extension)
|
1411
|
-
attr_accessor :phone
|
1412
|
-
|
1413
|
-
def initialize(address: nil, name: nil, phone: nil)
|
1414
|
-
@address = address
|
1415
|
-
@name = name
|
1416
|
-
@phone = phone
|
1417
|
-
end
|
1418
|
-
end
|
1419
|
-
# Specifies which fields in the response should be expanded.
|
1420
|
-
attr_accessor :expand
|
1421
|
-
# ID of an existing PaymentMethod.
|
1422
|
-
attr_accessor :payment_method
|
1423
|
-
# If provided, this hash will be used to create a PaymentMethod.
|
1424
|
-
attr_accessor :payment_method_data
|
1425
|
-
# Payment-method-specific configuration for this ConfirmationToken.
|
1426
|
-
attr_accessor :payment_method_options
|
1427
|
-
# Return URL used to confirm the Intent.
|
1428
|
-
attr_accessor :return_url
|
1429
|
-
# Indicates that you intend to make future payments with this ConfirmationToken's payment method.
|
1430
|
-
#
|
1431
|
-
# 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.
|
1432
|
-
attr_accessor :setup_future_usage
|
1433
|
-
# Shipping information for this ConfirmationToken.
|
1434
|
-
attr_accessor :shipping
|
1435
|
-
|
1436
|
-
def initialize(
|
1437
|
-
expand: nil,
|
1438
|
-
payment_method: nil,
|
1439
|
-
payment_method_data: nil,
|
1440
|
-
payment_method_options: nil,
|
1441
|
-
return_url: nil,
|
1442
|
-
setup_future_usage: nil,
|
1443
|
-
shipping: nil
|
1444
|
-
)
|
1445
|
-
@expand = expand
|
1446
|
-
@payment_method = payment_method
|
1447
|
-
@payment_method_data = payment_method_data
|
1448
|
-
@payment_method_options = payment_method_options
|
1449
|
-
@return_url = return_url
|
1450
|
-
@setup_future_usage = setup_future_usage
|
1451
|
-
@shipping = shipping
|
1649
|
+
def self.field_remappings
|
1650
|
+
@field_remappings = {}
|
1452
1651
|
end
|
1453
1652
|
end
|
1454
1653
|
# Time at which the object was created. Measured in seconds since the Unix epoch.
|
@@ -1502,5 +1701,18 @@ module Stripe
|
|
1502
1701
|
)
|
1503
1702
|
end
|
1504
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
|
1505
1717
|
end
|
1506
1718
|
end
|