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