stripe 15.5.0 → 16.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/lib/stripe/api_requestor.rb +5 -2
- data/lib/stripe/api_resource.rb +3 -0
- data/lib/stripe/api_version.rb +2 -2
- data/lib/stripe/event_types.rb +20 -6
- data/lib/stripe/events/unknown_event_notification.rb +19 -0
- data/lib/stripe/events/v1_billing_meter_error_report_triggered_event.rb +115 -15
- data/lib/stripe/events/v1_billing_meter_no_meter_found_event.rb +93 -6
- data/lib/stripe/events/v2_core_event_destination_ping_event.rb +35 -12
- data/lib/stripe/object_types.rb +3 -2
- data/lib/stripe/params/account_capability_list_params.rb +13 -0
- data/lib/stripe/params/account_capability_retrieve_params.rb +13 -0
- data/lib/stripe/params/account_capability_update_params.rb +18 -0
- data/lib/stripe/params/account_create_params.rb +2083 -0
- data/lib/stripe/params/account_delete_params.rb +6 -0
- data/lib/stripe/params/account_external_account_create_params.rb +134 -0
- data/lib/stripe/params/account_external_account_delete_params.rb +6 -0
- data/lib/stripe/params/account_external_account_list_params.rb +25 -0
- data/lib/stripe/params/account_external_account_retrieve_params.rb +13 -0
- data/lib/stripe/params/account_external_account_update_params.rb +91 -0
- data/lib/stripe/params/account_link_create_params.rb +52 -0
- data/lib/stripe/params/account_list_params.rb +42 -0
- data/lib/stripe/params/account_login_link_create_params.rb +13 -0
- data/lib/stripe/params/account_person_create_params.rb +435 -0
- data/lib/stripe/params/account_person_delete_params.rb +6 -0
- data/lib/stripe/params/account_person_list_params.rb +61 -0
- data/lib/stripe/params/account_person_retrieve_params.rb +13 -0
- data/lib/stripe/params/account_person_update_params.rb +435 -0
- data/lib/stripe/params/account_persons_params.rb +61 -0
- data/lib/stripe/params/account_reject_params.rb +16 -0
- data/lib/stripe/params/account_retrieve_current_params.rb +13 -0
- data/lib/stripe/params/account_retrieve_params.rb +13 -0
- data/lib/stripe/params/account_session_create_params.rb +598 -0
- data/lib/stripe/params/account_update_params.rb +2030 -0
- data/lib/stripe/params/apple_pay_domain_create_params.rb +16 -0
- data/lib/stripe/params/apple_pay_domain_delete_params.rb +6 -0
- data/lib/stripe/params/apple_pay_domain_list_params.rb +31 -0
- data/lib/stripe/params/apple_pay_domain_retrieve_params.rb +13 -0
- data/lib/stripe/params/application_fee_list_params.rb +52 -0
- data/lib/stripe/params/application_fee_refund_create_params.rb +19 -0
- data/lib/stripe/params/application_fee_refund_list_params.rb +22 -0
- data/lib/stripe/params/application_fee_refund_retrieve_params.rb +13 -0
- data/lib/stripe/params/application_fee_refund_update_params.rb +16 -0
- data/lib/stripe/params/application_fee_retrieve_params.rb +13 -0
- data/lib/stripe/params/apps/secret_create_params.rb +38 -0
- data/lib/stripe/params/apps/secret_delete_where_params.rb +32 -0
- data/lib/stripe/params/apps/secret_find_params.rb +32 -0
- data/lib/stripe/params/apps/secret_list_params.rb +38 -0
- data/lib/stripe/params/balance_retrieve_params.rb +13 -0
- data/lib/stripe/params/balance_settings_retrieve_params.rb +13 -0
- data/lib/stripe/params/balance_settings_update_params.rb +67 -0
- data/lib/stripe/params/balance_transaction_list_params.rb +64 -0
- data/lib/stripe/params/balance_transaction_retrieve_params.rb +13 -0
- data/lib/stripe/params/billing/alert_activate_params.rb +15 -0
- data/lib/stripe/params/billing/alert_archive_params.rb +15 -0
- data/lib/stripe/params/billing/alert_create_params.rb +52 -0
- data/lib/stripe/params/billing/alert_deactivate_params.rb +15 -0
- data/lib/stripe/params/billing/alert_list_params.rb +37 -0
- data/lib/stripe/params/billing/alert_retrieve_params.rb +15 -0
- data/lib/stripe/params/billing/credit_balance_summary_retrieve_params.rb +54 -0
- data/lib/stripe/params/billing/credit_balance_transaction_list_params.rb +37 -0
- data/lib/stripe/params/billing/credit_balance_transaction_retrieve_params.rb +15 -0
- data/lib/stripe/params/billing/credit_grant_create_params.rb +103 -0
- data/lib/stripe/params/billing/credit_grant_expire_params.rb +15 -0
- data/lib/stripe/params/billing/credit_grant_list_params.rb +33 -0
- data/lib/stripe/params/billing/credit_grant_retrieve_params.rb +15 -0
- data/lib/stripe/params/billing/credit_grant_update_params.rb +21 -0
- data/lib/stripe/params/billing/credit_grant_void_grant_params.rb +15 -0
- data/lib/stripe/params/billing/meter_create_params.rb +70 -0
- data/lib/stripe/params/billing/meter_deactivate_params.rb +15 -0
- data/lib/stripe/params/billing/meter_event_adjustment_create_params.rb +32 -0
- data/lib/stripe/params/billing/meter_event_create_params.rb +27 -0
- data/lib/stripe/params/billing/meter_event_summary_list_params.rb +45 -0
- data/lib/stripe/params/billing/meter_list_params.rb +27 -0
- data/lib/stripe/params/billing/meter_reactivate_params.rb +15 -0
- data/lib/stripe/params/billing/meter_retrieve_params.rb +15 -0
- data/lib/stripe/params/billing/meter_update_params.rb +18 -0
- data/lib/stripe/params/billing_portal/configuration_create_params.rb +225 -0
- data/lib/stripe/params/billing_portal/configuration_list_params.rb +37 -0
- data/lib/stripe/params/billing_portal/configuration_retrieve_params.rb +15 -0
- data/lib/stripe/params/billing_portal/configuration_update_params.rb +231 -0
- data/lib/stripe/params/billing_portal/session_create_params.rb +179 -0
- data/lib/stripe/params/charge_capture_params.rb +57 -0
- data/lib/stripe/params/charge_create_params.rb +172 -0
- data/lib/stripe/params/charge_list_params.rb +60 -0
- data/lib/stripe/params/charge_retrieve_params.rb +13 -0
- data/lib/stripe/params/charge_search_params.rb +22 -0
- data/lib/stripe/params/charge_update_params.rb +102 -0
- data/lib/stripe/params/checkout/session_create_params.rb +2445 -0
- data/lib/stripe/params/checkout/session_expire_params.rb +15 -0
- data/lib/stripe/params/checkout/session_line_item_list_params.rb +24 -0
- data/lib/stripe/params/checkout/session_list_line_items_params.rb +24 -0
- data/lib/stripe/params/checkout/session_list_params.rb +83 -0
- data/lib/stripe/params/checkout/session_retrieve_params.rb +15 -0
- data/lib/stripe/params/checkout/session_update_params.rb +179 -0
- data/lib/stripe/params/climate/order_cancel_params.rb +15 -0
- data/lib/stripe/params/climate/order_create_params.rb +49 -0
- data/lib/stripe/params/climate/order_list_params.rb +24 -0
- data/lib/stripe/params/climate/order_retrieve_params.rb +15 -0
- data/lib/stripe/params/climate/order_update_params.rb +29 -0
- data/lib/stripe/params/climate/product_list_params.rb +24 -0
- data/lib/stripe/params/climate/product_retrieve_params.rb +15 -0
- data/lib/stripe/params/climate/supplier_list_params.rb +24 -0
- data/lib/stripe/params/climate/supplier_retrieve_params.rb +15 -0
- data/lib/stripe/params/confirmation_token_create_params.rb +650 -0
- data/lib/stripe/params/confirmation_token_retrieve_params.rb +13 -0
- data/lib/stripe/params/country_spec_list_params.rb +22 -0
- data/lib/stripe/params/country_spec_retrieve_params.rb +13 -0
- data/lib/stripe/params/coupon_create_params.rb +80 -0
- data/lib/stripe/params/coupon_delete_params.rb +6 -0
- data/lib/stripe/params/coupon_list_params.rb +42 -0
- data/lib/stripe/params/coupon_retrieve_params.rb +13 -0
- data/lib/stripe/params/coupon_update_params.rb +30 -0
- data/lib/stripe/params/credit_note_create_params.rb +144 -0
- data/lib/stripe/params/credit_note_line_item_list_params.rb +22 -0
- data/lib/stripe/params/credit_note_list_params.rb +56 -0
- data/lib/stripe/params/credit_note_list_preview_line_items_params.rb +156 -0
- data/lib/stripe/params/credit_note_preview_lines_list_params.rb +156 -0
- data/lib/stripe/params/credit_note_preview_params.rb +144 -0
- data/lib/stripe/params/credit_note_retrieve_params.rb +13 -0
- data/lib/stripe/params/credit_note_update_params.rb +19 -0
- data/lib/stripe/params/credit_note_void_credit_note_params.rb +13 -0
- data/lib/stripe/params/customer_balance_transaction_create_params.rb +25 -0
- data/lib/stripe/params/customer_balance_transaction_list_params.rb +22 -0
- data/lib/stripe/params/customer_balance_transaction_retrieve_params.rb +13 -0
- data/lib/stripe/params/customer_balance_transaction_update_params.rb +19 -0
- data/lib/stripe/params/customer_cash_balance_retrieve_params.rb +13 -0
- data/lib/stripe/params/customer_cash_balance_transaction_list_params.rb +22 -0
- data/lib/stripe/params/customer_cash_balance_transaction_retrieve_params.rb +13 -0
- data/lib/stripe/params/customer_cash_balance_update_params.rb +24 -0
- data/lib/stripe/params/customer_create_funding_instructions_params.rb +46 -0
- data/lib/stripe/params/customer_create_params.rb +259 -0
- data/lib/stripe/params/customer_delete_discount_params.rb +6 -0
- data/lib/stripe/params/customer_delete_params.rb +6 -0
- data/lib/stripe/params/customer_fund_cash_balance_params.rb +22 -0
- data/lib/stripe/params/customer_funding_instructions_create_params.rb +46 -0
- data/lib/stripe/params/customer_list_params.rb +56 -0
- data/lib/stripe/params/customer_list_payment_methods_params.rb +35 -0
- data/lib/stripe/params/customer_payment_method_list_params.rb +35 -0
- data/lib/stripe/params/customer_payment_method_retrieve_params.rb +13 -0
- data/lib/stripe/params/customer_payment_source_create_params.rb +22 -0
- data/lib/stripe/params/customer_payment_source_delete_params.rb +13 -0
- data/lib/stripe/params/customer_payment_source_list_params.rb +25 -0
- data/lib/stripe/params/customer_payment_source_retrieve_params.rb +13 -0
- data/lib/stripe/params/customer_payment_source_update_params.rb +114 -0
- data/lib/stripe/params/customer_payment_source_verify_params.rb +16 -0
- data/lib/stripe/params/customer_retrieve_params.rb +13 -0
- data/lib/stripe/params/customer_retrieve_payment_method_params.rb +13 -0
- data/lib/stripe/params/customer_search_params.rb +22 -0
- data/lib/stripe/params/customer_session_create_params.rb +100 -0
- data/lib/stripe/params/customer_tax_id_create_params.rb +19 -0
- data/lib/stripe/params/customer_tax_id_delete_params.rb +6 -0
- data/lib/stripe/params/customer_tax_id_list_params.rb +22 -0
- data/lib/stripe/params/customer_tax_id_retrieve_params.rb +13 -0
- data/lib/stripe/params/customer_update_params.rb +243 -0
- data/lib/stripe/params/dispute_close_params.rb +13 -0
- data/lib/stripe/params/dispute_list_params.rb +56 -0
- data/lib/stripe/params/dispute_retrieve_params.rb +13 -0
- data/lib/stripe/params/dispute_update_params.rb +308 -0
- data/lib/stripe/params/entitlements/active_entitlement_list_params.rb +33 -0
- data/lib/stripe/params/entitlements/active_entitlement_retrieve_params.rb +15 -0
- data/lib/stripe/params/entitlements/feature_create_params.rb +24 -0
- data/lib/stripe/params/entitlements/feature_list_params.rb +37 -0
- data/lib/stripe/params/entitlements/feature_retrieve_params.rb +15 -0
- data/lib/stripe/params/entitlements/feature_update_params.rb +24 -0
- data/lib/stripe/params/ephemeral_key_create_params.rb +31 -0
- data/lib/stripe/params/ephemeral_key_delete_params.rb +13 -0
- data/lib/stripe/params/event_list_params.rb +60 -0
- data/lib/stripe/params/event_retrieve_params.rb +13 -0
- data/lib/stripe/params/exchange_rate_list_params.rb +22 -0
- data/lib/stripe/params/exchange_rate_retrieve_params.rb +13 -0
- data/lib/stripe/params/file_create_params.rb +36 -0
- data/lib/stripe/params/file_link_create_params.rb +22 -0
- data/lib/stripe/params/file_link_list_params.rb +56 -0
- data/lib/stripe/params/file_link_retrieve_params.rb +13 -0
- data/lib/stripe/params/file_link_update_params.rb +19 -0
- data/lib/stripe/params/file_list_params.rb +52 -0
- data/lib/stripe/params/file_retrieve_params.rb +13 -0
- data/lib/stripe/params/financial_connections/account_disconnect_params.rb +15 -0
- data/lib/stripe/params/financial_connections/account_list_owners_params.rb +33 -0
- data/lib/stripe/params/financial_connections/account_list_params.rb +48 -0
- data/lib/stripe/params/financial_connections/account_owner_list_params.rb +33 -0
- data/lib/stripe/params/financial_connections/account_refresh_account_params.rb +18 -0
- data/lib/stripe/params/financial_connections/account_refresh_params.rb +18 -0
- data/lib/stripe/params/financial_connections/account_retrieve_params.rb +15 -0
- data/lib/stripe/params/financial_connections/account_subscribe_params.rb +18 -0
- data/lib/stripe/params/financial_connections/account_unsubscribe_params.rb +18 -0
- data/lib/stripe/params/financial_connections/session_create_params.rb +65 -0
- data/lib/stripe/params/financial_connections/session_retrieve_params.rb +15 -0
- data/lib/stripe/params/financial_connections/transaction_list_params.rb +67 -0
- data/lib/stripe/params/financial_connections/transaction_retrieve_params.rb +15 -0
- data/lib/stripe/params/forwarding/request_create_params.rb +59 -0
- data/lib/stripe/params/forwarding/request_list_params.rb +44 -0
- data/lib/stripe/params/forwarding/request_retrieve_params.rb +15 -0
- data/lib/stripe/params/identity/verification_report_list_params.rb +62 -0
- data/lib/stripe/params/identity/verification_report_retrieve_params.rb +15 -0
- data/lib/stripe/params/identity/verification_session_cancel_params.rb +15 -0
- data/lib/stripe/params/identity/verification_session_create_params.rb +107 -0
- data/lib/stripe/params/identity/verification_session_list_params.rb +62 -0
- data/lib/stripe/params/identity/verification_session_redact_params.rb +15 -0
- data/lib/stripe/params/identity/verification_session_retrieve_params.rb +15 -0
- data/lib/stripe/params/identity/verification_session_update_params.rb +69 -0
- data/lib/stripe/params/invoice_add_lines_params.rb +231 -0
- data/lib/stripe/params/invoice_attach_payment_params.rb +16 -0
- data/lib/stripe/params/invoice_create_params.rb +589 -0
- data/lib/stripe/params/invoice_create_preview_params.rb +993 -0
- data/lib/stripe/params/invoice_delete_params.rb +6 -0
- data/lib/stripe/params/invoice_finalize_invoice_params.rb +16 -0
- data/lib/stripe/params/invoice_item_create_params.rb +145 -0
- data/lib/stripe/params/invoice_item_delete_params.rb +6 -0
- data/lib/stripe/params/invoice_item_list_params.rb +60 -0
- data/lib/stripe/params/invoice_item_retrieve_params.rb +13 -0
- data/lib/stripe/params/invoice_item_update_params.rb +129 -0
- data/lib/stripe/params/invoice_line_item_list_params.rb +22 -0
- data/lib/stripe/params/invoice_line_item_update_params.rb +217 -0
- data/lib/stripe/params/invoice_list_params.rb +86 -0
- data/lib/stripe/params/invoice_mark_uncollectible_params.rb +13 -0
- data/lib/stripe/params/invoice_pay_params.rb +41 -0
- data/lib/stripe/params/invoice_payment_list_params.rb +50 -0
- data/lib/stripe/params/invoice_payment_retrieve_params.rb +13 -0
- data/lib/stripe/params/invoice_remove_lines_params.rb +30 -0
- data/lib/stripe/params/invoice_rendering_template_archive_params.rb +13 -0
- data/lib/stripe/params/invoice_rendering_template_list_params.rb +25 -0
- data/lib/stripe/params/invoice_rendering_template_retrieve_params.rb +16 -0
- data/lib/stripe/params/invoice_rendering_template_unarchive_params.rb +13 -0
- data/lib/stripe/params/invoice_retrieve_params.rb +13 -0
- data/lib/stripe/params/invoice_search_params.rb +22 -0
- data/lib/stripe/params/invoice_send_invoice_params.rb +13 -0
- data/lib/stripe/params/invoice_update_lines_params.rb +231 -0
- data/lib/stripe/params/invoice_update_params.rb +557 -0
- data/lib/stripe/params/invoice_void_invoice_params.rb +13 -0
- data/lib/stripe/params/issuing/authorization_approve_params.rb +21 -0
- data/lib/stripe/params/issuing/authorization_capture_params.rb +265 -0
- data/lib/stripe/params/issuing/authorization_create_params.rb +357 -0
- data/lib/stripe/params/issuing/authorization_decline_params.rb +18 -0
- data/lib/stripe/params/issuing/authorization_expire_params.rb +15 -0
- data/lib/stripe/params/issuing/authorization_finalize_amount_params.rb +143 -0
- data/lib/stripe/params/issuing/authorization_increment_params.rb +21 -0
- data/lib/stripe/params/issuing/authorization_list_params.rb +62 -0
- data/lib/stripe/params/issuing/authorization_respond_params.rb +18 -0
- data/lib/stripe/params/issuing/authorization_retrieve_params.rb +15 -0
- data/lib/stripe/params/issuing/authorization_reverse_params.rb +18 -0
- data/lib/stripe/params/issuing/authorization_update_params.rb +18 -0
- data/lib/stripe/params/issuing/card_create_params.rb +213 -0
- data/lib/stripe/params/issuing/card_deliver_card_params.rb +15 -0
- data/lib/stripe/params/issuing/card_fail_card_params.rb +15 -0
- data/lib/stripe/params/issuing/card_list_params.rb +78 -0
- data/lib/stripe/params/issuing/card_retrieve_params.rb +15 -0
- data/lib/stripe/params/issuing/card_return_card_params.rb +15 -0
- data/lib/stripe/params/issuing/card_ship_card_params.rb +15 -0
- data/lib/stripe/params/issuing/card_submit_card_params.rb +15 -0
- data/lib/stripe/params/issuing/card_update_params.rb +181 -0
- data/lib/stripe/params/issuing/cardholder_create_params.rb +238 -0
- data/lib/stripe/params/issuing/cardholder_list_params.rb +66 -0
- data/lib/stripe/params/issuing/cardholder_retrieve_params.rb +15 -0
- data/lib/stripe/params/issuing/cardholder_update_params.rb +230 -0
- data/lib/stripe/params/issuing/dispute_create_params.rb +297 -0
- data/lib/stripe/params/issuing/dispute_list_params.rb +58 -0
- data/lib/stripe/params/issuing/dispute_retrieve_params.rb +15 -0
- data/lib/stripe/params/issuing/dispute_submit_params.rb +18 -0
- data/lib/stripe/params/issuing/dispute_update_params.rb +275 -0
- data/lib/stripe/params/issuing/personalization_design_activate_params.rb +15 -0
- data/lib/stripe/params/issuing/personalization_design_create_params.rb +75 -0
- data/lib/stripe/params/issuing/personalization_design_deactivate_params.rb +15 -0
- data/lib/stripe/params/issuing/personalization_design_list_params.rb +52 -0
- data/lib/stripe/params/issuing/personalization_design_reject_params.rb +29 -0
- data/lib/stripe/params/issuing/personalization_design_retrieve_params.rb +15 -0
- data/lib/stripe/params/issuing/personalization_design_update_params.rb +75 -0
- data/lib/stripe/params/issuing/physical_bundle_list_params.rb +37 -0
- data/lib/stripe/params/issuing/physical_bundle_retrieve_params.rb +15 -0
- data/lib/stripe/params/issuing/token_list_params.rb +58 -0
- data/lib/stripe/params/issuing/token_retrieve_params.rb +15 -0
- data/lib/stripe/params/issuing/token_update_params.rb +18 -0
- data/lib/stripe/params/issuing/transaction_create_force_capture_params.rb +316 -0
- data/lib/stripe/params/issuing/transaction_create_unlinked_refund_params.rb +316 -0
- data/lib/stripe/params/issuing/transaction_list_params.rb +62 -0
- data/lib/stripe/params/issuing/transaction_refund_params.rb +18 -0
- data/lib/stripe/params/issuing/transaction_retrieve_params.rb +15 -0
- data/lib/stripe/params/issuing/transaction_update_params.rb +18 -0
- data/lib/stripe/params/mandate_retrieve_params.rb +13 -0
- data/lib/stripe/params/payment_intent_apply_customer_balance_params.rb +23 -0
- data/lib/stripe/params/payment_intent_cancel_params.rb +16 -0
- data/lib/stripe/params/payment_intent_capture_params.rb +54 -0
- data/lib/stripe/params/payment_intent_confirm_params.rb +2379 -0
- data/lib/stripe/params/payment_intent_create_params.rb +2480 -0
- data/lib/stripe/params/payment_intent_increment_authorization_params.rb +48 -0
- data/lib/stripe/params/payment_intent_list_params.rb +52 -0
- data/lib/stripe/params/payment_intent_retrieve_params.rb +16 -0
- data/lib/stripe/params/payment_intent_search_params.rb +22 -0
- data/lib/stripe/params/payment_intent_update_params.rb +2353 -0
- data/lib/stripe/params/payment_intent_verify_microdeposits_params.rb +19 -0
- data/lib/stripe/params/payment_link_create_params.rb +776 -0
- data/lib/stripe/params/payment_link_line_item_list_params.rb +22 -0
- data/lib/stripe/params/payment_link_list_line_items_params.rb +22 -0
- data/lib/stripe/params/payment_link_list_params.rb +25 -0
- data/lib/stripe/params/payment_link_retrieve_params.rb +13 -0
- data/lib/stripe/params/payment_link_update_params.rb +564 -0
- data/lib/stripe/params/payment_method_attach_params.rb +16 -0
- data/lib/stripe/params/payment_method_configuration_create_params.rb +1135 -0
- data/lib/stripe/params/payment_method_configuration_list_params.rb +31 -0
- data/lib/stripe/params/payment_method_configuration_retrieve_params.rb +13 -0
- data/lib/stripe/params/payment_method_configuration_update_params.rb +1135 -0
- data/lib/stripe/params/payment_method_create_params.rb +583 -0
- data/lib/stripe/params/payment_method_detach_params.rb +13 -0
- data/lib/stripe/params/payment_method_domain_create_params.rb +19 -0
- data/lib/stripe/params/payment_method_domain_list_params.rb +35 -0
- data/lib/stripe/params/payment_method_domain_retrieve_params.rb +13 -0
- data/lib/stripe/params/payment_method_domain_update_params.rb +16 -0
- data/lib/stripe/params/payment_method_domain_validate_params.rb +13 -0
- data/lib/stripe/params/payment_method_list_params.rb +35 -0
- data/lib/stripe/params/payment_method_retrieve_params.rb +13 -0
- data/lib/stripe/params/payment_method_update_params.rb +120 -0
- data/lib/stripe/params/payout_cancel_params.rb +13 -0
- data/lib/stripe/params/payout_create_params.rb +51 -0
- data/lib/stripe/params/payout_list_params.rb +78 -0
- data/lib/stripe/params/payout_retrieve_params.rb +13 -0
- data/lib/stripe/params/payout_reverse_params.rb +16 -0
- data/lib/stripe/params/payout_update_params.rb +16 -0
- data/lib/stripe/params/plan_create_params.rb +158 -0
- data/lib/stripe/params/plan_delete_params.rb +6 -0
- data/lib/stripe/params/plan_list_params.rb +56 -0
- data/lib/stripe/params/plan_retrieve_params.rb +13 -0
- data/lib/stripe/params/plan_update_params.rb +35 -0
- data/lib/stripe/params/price_create_params.rb +278 -0
- data/lib/stripe/params/price_list_params.rb +87 -0
- data/lib/stripe/params/price_retrieve_params.rb +13 -0
- data/lib/stripe/params/price_search_params.rb +22 -0
- data/lib/stripe/params/price_update_params.rb +113 -0
- data/lib/stripe/params/product_create_params.rb +243 -0
- data/lib/stripe/params/product_delete_params.rb +6 -0
- data/lib/stripe/params/product_feature_create_params.rb +16 -0
- data/lib/stripe/params/product_feature_delete_params.rb +6 -0
- data/lib/stripe/params/product_feature_list_params.rb +22 -0
- data/lib/stripe/params/product_feature_retrieve_params.rb +13 -0
- data/lib/stripe/params/product_list_params.rb +68 -0
- data/lib/stripe/params/product_retrieve_params.rb +13 -0
- data/lib/stripe/params/product_search_params.rb +22 -0
- data/lib/stripe/params/product_update_params.rb +96 -0
- data/lib/stripe/params/promotion_code_create_params.rb +91 -0
- data/lib/stripe/params/promotion_code_list_params.rb +64 -0
- data/lib/stripe/params/promotion_code_retrieve_params.rb +13 -0
- data/lib/stripe/params/promotion_code_update_params.rb +38 -0
- data/lib/stripe/params/quote_accept_params.rb +13 -0
- data/lib/stripe/params/quote_cancel_params.rb +13 -0
- data/lib/stripe/params/quote_computed_upfront_line_items_list_params.rb +22 -0
- data/lib/stripe/params/quote_create_params.rb +301 -0
- data/lib/stripe/params/quote_finalize_quote_params.rb +16 -0
- data/lib/stripe/params/quote_line_item_list_params.rb +22 -0
- data/lib/stripe/params/quote_list_computed_upfront_line_items_params.rb +22 -0
- data/lib/stripe/params/quote_list_line_items_params.rb +22 -0
- data/lib/stripe/params/quote_list_params.rb +39 -0
- data/lib/stripe/params/quote_pdf_params.rb +13 -0
- data/lib/stripe/params/quote_retrieve_params.rb +13 -0
- data/lib/stripe/params/quote_update_params.rb +263 -0
- data/lib/stripe/params/radar/early_fraud_warning_list_params.rb +58 -0
- data/lib/stripe/params/radar/early_fraud_warning_retrieve_params.rb +15 -0
- data/lib/stripe/params/radar/value_list_create_params.rb +27 -0
- data/lib/stripe/params/radar/value_list_delete_params.rb +8 -0
- data/lib/stripe/params/radar/value_list_item_create_params.rb +21 -0
- data/lib/stripe/params/radar/value_list_item_delete_params.rb +8 -0
- data/lib/stripe/params/radar/value_list_item_list_params.rb +58 -0
- data/lib/stripe/params/radar/value_list_item_retrieve_params.rb +15 -0
- data/lib/stripe/params/radar/value_list_list_params.rb +58 -0
- data/lib/stripe/params/radar/value_list_retrieve_params.rb +15 -0
- data/lib/stripe/params/radar/value_list_update_params.rb +24 -0
- data/lib/stripe/params/refund_cancel_params.rb +13 -0
- data/lib/stripe/params/refund_create_params.rb +59 -0
- data/lib/stripe/params/refund_expire_params.rb +13 -0
- data/lib/stripe/params/refund_list_params.rb +56 -0
- data/lib/stripe/params/refund_retrieve_params.rb +13 -0
- data/lib/stripe/params/refund_update_params.rb +16 -0
- data/lib/stripe/params/reporting/report_run_create_params.rb +59 -0
- data/lib/stripe/params/reporting/report_run_list_params.rb +44 -0
- data/lib/stripe/params/reporting/report_run_retrieve_params.rb +15 -0
- data/lib/stripe/params/reporting/report_type_list_params.rb +15 -0
- data/lib/stripe/params/reporting/report_type_retrieve_params.rb +15 -0
- data/lib/stripe/params/review_approve_params.rb +13 -0
- data/lib/stripe/params/review_list_params.rb +42 -0
- data/lib/stripe/params/review_retrieve_params.rb +13 -0
- data/lib/stripe/params/setup_attempt_list_params.rb +55 -0
- data/lib/stripe/params/setup_intent_cancel_params.rb +16 -0
- data/lib/stripe/params/setup_intent_confirm_params.rb +1050 -0
- data/lib/stripe/params/setup_intent_create_params.rb +1130 -0
- data/lib/stripe/params/setup_intent_list_params.rb +62 -0
- data/lib/stripe/params/setup_intent_retrieve_params.rb +16 -0
- data/lib/stripe/params/setup_intent_update_params.rb +1025 -0
- data/lib/stripe/params/setup_intent_verify_microdeposits_params.rb +19 -0
- data/lib/stripe/params/shipping_rate_create_params.rb +103 -0
- data/lib/stripe/params/shipping_rate_list_params.rb +56 -0
- data/lib/stripe/params/shipping_rate_retrieve_params.rb +13 -0
- data/lib/stripe/params/shipping_rate_update_params.rb +44 -0
- data/lib/stripe/params/sigma/scheduled_query_run_list_params.rb +24 -0
- data/lib/stripe/params/sigma/scheduled_query_run_retrieve_params.rb +15 -0
- data/lib/stripe/params/source_create_params.rb +317 -0
- data/lib/stripe/params/source_detach_params.rb +13 -0
- data/lib/stripe/params/source_retrieve_params.rb +16 -0
- data/lib/stripe/params/source_transaction_list_params.rb +22 -0
- data/lib/stripe/params/source_update_params.rb +259 -0
- data/lib/stripe/params/source_verify_params.rb +16 -0
- data/lib/stripe/params/subscription_cancel_params.rb +33 -0
- data/lib/stripe/params/subscription_create_params.rb +704 -0
- data/lib/stripe/params/subscription_delete_discount_params.rb +6 -0
- data/lib/stripe/params/subscription_item_create_params.rb +134 -0
- data/lib/stripe/params/subscription_item_delete_params.rb +19 -0
- data/lib/stripe/params/subscription_item_list_params.rb +31 -0
- data/lib/stripe/params/subscription_item_retrieve_params.rb +13 -0
- data/lib/stripe/params/subscription_item_update_params.rb +134 -0
- data/lib/stripe/params/subscription_list_params.rb +129 -0
- data/lib/stripe/params/subscription_migrate_params.rb +35 -0
- data/lib/stripe/params/subscription_resume_params.rb +27 -0
- data/lib/stripe/params/subscription_retrieve_params.rb +13 -0
- data/lib/stripe/params/subscription_schedule_cancel_params.rb +19 -0
- data/lib/stripe/params/subscription_schedule_create_params.rb +590 -0
- data/lib/stripe/params/subscription_schedule_list_params.rb +122 -0
- data/lib/stripe/params/subscription_schedule_release_params.rb +16 -0
- data/lib/stripe/params/subscription_schedule_retrieve_params.rb +13 -0
- data/lib/stripe/params/subscription_schedule_update_params.rb +562 -0
- data/lib/stripe/params/subscription_search_params.rb +22 -0
- data/lib/stripe/params/subscription_update_params.rb +683 -0
- data/lib/stripe/params/tax/calculation_create_params.rb +206 -0
- data/lib/stripe/params/tax/calculation_line_item_list_params.rb +24 -0
- data/lib/stripe/params/tax/calculation_list_line_items_params.rb +24 -0
- data/lib/stripe/params/tax/calculation_retrieve_params.rb +15 -0
- data/lib/stripe/params/tax/registration_create_params.rb +2018 -0
- data/lib/stripe/params/tax/registration_list_params.rb +27 -0
- data/lib/stripe/params/tax/registration_retrieve_params.rb +15 -0
- data/lib/stripe/params/tax/registration_update_params.rb +21 -0
- data/lib/stripe/params/tax/settings_retrieve_params.rb +15 -0
- data/lib/stripe/params/tax/settings_update_params.rb +71 -0
- data/lib/stripe/params/tax/transaction_create_from_calculation_params.rb +27 -0
- data/lib/stripe/params/tax/transaction_create_reversal_params.rb +87 -0
- data/lib/stripe/params/tax/transaction_line_item_list_params.rb +24 -0
- data/lib/stripe/params/tax/transaction_list_line_items_params.rb +24 -0
- data/lib/stripe/params/tax/transaction_retrieve_params.rb +15 -0
- data/lib/stripe/params/tax_code_list_params.rb +22 -0
- data/lib/stripe/params/tax_code_retrieve_params.rb +13 -0
- data/lib/stripe/params/tax_id_create_params.rb +36 -0
- data/lib/stripe/params/tax_id_delete_params.rb +6 -0
- data/lib/stripe/params/tax_id_list_params.rb +39 -0
- data/lib/stripe/params/tax_id_retrieve_params.rb +13 -0
- data/lib/stripe/params/tax_rate_create_params.rb +55 -0
- data/lib/stripe/params/tax_rate_list_params.rb +56 -0
- data/lib/stripe/params/tax_rate_retrieve_params.rb +13 -0
- data/lib/stripe/params/tax_rate_update_params.rb +47 -0
- data/lib/stripe/params/terminal/configuration_create_params.rb +593 -0
- data/lib/stripe/params/terminal/configuration_delete_params.rb +8 -0
- data/lib/stripe/params/terminal/configuration_list_params.rb +33 -0
- data/lib/stripe/params/terminal/configuration_retrieve_params.rb +15 -0
- data/lib/stripe/params/terminal/configuration_update_params.rb +593 -0
- data/lib/stripe/params/terminal/connection_token_create_params.rb +18 -0
- data/lib/stripe/params/terminal/location_create_params.rb +153 -0
- data/lib/stripe/params/terminal/location_delete_params.rb +8 -0
- data/lib/stripe/params/terminal/location_list_params.rb +24 -0
- data/lib/stripe/params/terminal/location_retrieve_params.rb +15 -0
- data/lib/stripe/params/terminal/location_update_params.rb +153 -0
- data/lib/stripe/params/terminal/reader_cancel_action_params.rb +15 -0
- data/lib/stripe/params/terminal/reader_collect_inputs_params.rb +96 -0
- data/lib/stripe/params/terminal/reader_collect_payment_method_params.rb +51 -0
- data/lib/stripe/params/terminal/reader_confirm_payment_intent_params.rb +29 -0
- data/lib/stripe/params/terminal/reader_create_params.rb +27 -0
- data/lib/stripe/params/terminal/reader_delete_params.rb +8 -0
- data/lib/stripe/params/terminal/reader_list_params.rb +45 -0
- data/lib/stripe/params/terminal/reader_present_payment_method_params.rb +72 -0
- data/lib/stripe/params/terminal/reader_process_payment_intent_params.rb +55 -0
- data/lib/stripe/params/terminal/reader_process_setup_intent_params.rb +32 -0
- data/lib/stripe/params/terminal/reader_refund_payment_params.rb +53 -0
- data/lib/stripe/params/terminal/reader_retrieve_params.rb +15 -0
- data/lib/stripe/params/terminal/reader_set_reader_display_params.rb +52 -0
- data/lib/stripe/params/terminal/reader_succeed_input_collection_params.rb +18 -0
- data/lib/stripe/params/terminal/reader_timeout_input_collection_params.rb +15 -0
- data/lib/stripe/params/terminal/reader_update_params.rb +21 -0
- data/lib/stripe/params/test_helpers/confirmation_token_create_params.rb +652 -0
- data/lib/stripe/params/test_helpers/customer_fund_cash_balance_params.rb +24 -0
- data/lib/stripe/params/test_helpers/issuing/authorization_capture_params.rb +267 -0
- data/lib/stripe/params/test_helpers/issuing/authorization_create_params.rb +359 -0
- data/lib/stripe/params/test_helpers/issuing/authorization_expire_params.rb +17 -0
- data/lib/stripe/params/test_helpers/issuing/authorization_finalize_amount_params.rb +145 -0
- data/lib/stripe/params/test_helpers/issuing/authorization_increment_params.rb +23 -0
- data/lib/stripe/params/test_helpers/issuing/authorization_respond_params.rb +20 -0
- data/lib/stripe/params/test_helpers/issuing/authorization_reverse_params.rb +20 -0
- data/lib/stripe/params/test_helpers/issuing/card_deliver_card_params.rb +17 -0
- data/lib/stripe/params/test_helpers/issuing/card_fail_card_params.rb +17 -0
- data/lib/stripe/params/test_helpers/issuing/card_return_card_params.rb +17 -0
- data/lib/stripe/params/test_helpers/issuing/card_ship_card_params.rb +17 -0
- data/lib/stripe/params/test_helpers/issuing/card_submit_card_params.rb +17 -0
- data/lib/stripe/params/test_helpers/issuing/personalization_design_activate_params.rb +17 -0
- data/lib/stripe/params/test_helpers/issuing/personalization_design_deactivate_params.rb +17 -0
- data/lib/stripe/params/test_helpers/issuing/personalization_design_reject_params.rb +31 -0
- data/lib/stripe/params/test_helpers/issuing/transaction_create_force_capture_params.rb +318 -0
- data/lib/stripe/params/test_helpers/issuing/transaction_create_unlinked_refund_params.rb +318 -0
- data/lib/stripe/params/test_helpers/issuing/transaction_refund_params.rb +20 -0
- data/lib/stripe/params/test_helpers/refund_expire_params.rb +15 -0
- data/lib/stripe/params/test_helpers/terminal/reader_present_payment_method_params.rb +74 -0
- data/lib/stripe/params/test_helpers/terminal/reader_succeed_input_collection_params.rb +20 -0
- data/lib/stripe/params/test_helpers/terminal/reader_timeout_input_collection_params.rb +17 -0
- data/lib/stripe/params/test_helpers/test_clock_advance_params.rb +18 -0
- data/lib/stripe/params/test_helpers/test_clock_create_params.rb +21 -0
- data/lib/stripe/params/test_helpers/test_clock_delete_params.rb +8 -0
- data/lib/stripe/params/test_helpers/test_clock_list_params.rb +24 -0
- data/lib/stripe/params/test_helpers/test_clock_retrieve_params.rb +15 -0
- data/lib/stripe/params/test_helpers/treasury/inbound_transfer_fail_params.rb +28 -0
- data/lib/stripe/params/test_helpers/treasury/inbound_transfer_return_inbound_transfer_params.rb +17 -0
- data/lib/stripe/params/test_helpers/treasury/inbound_transfer_succeed_params.rb +17 -0
- data/lib/stripe/params/test_helpers/treasury/outbound_payment_fail_params.rb +17 -0
- data/lib/stripe/params/test_helpers/treasury/outbound_payment_post_params.rb +17 -0
- data/lib/stripe/params/test_helpers/treasury/outbound_payment_return_outbound_payment_params.rb +28 -0
- data/lib/stripe/params/test_helpers/treasury/outbound_payment_update_params.rb +57 -0
- data/lib/stripe/params/test_helpers/treasury/outbound_transfer_fail_params.rb +17 -0
- data/lib/stripe/params/test_helpers/treasury/outbound_transfer_post_params.rb +17 -0
- data/lib/stripe/params/test_helpers/treasury/outbound_transfer_return_outbound_transfer_params.rb +28 -0
- data/lib/stripe/params/test_helpers/treasury/outbound_transfer_update_params.rb +57 -0
- data/lib/stripe/params/test_helpers/treasury/received_credit_create_params.rb +68 -0
- data/lib/stripe/params/test_helpers/treasury/received_debit_create_params.rb +68 -0
- data/lib/stripe/params/token_create_params.rb +1191 -0
- data/lib/stripe/params/token_retrieve_params.rb +13 -0
- data/lib/stripe/params/topup_cancel_params.rb +13 -0
- data/lib/stripe/params/topup_create_params.rb +43 -0
- data/lib/stripe/params/topup_list_params.rb +74 -0
- data/lib/stripe/params/topup_retrieve_params.rb +13 -0
- data/lib/stripe/params/topup_update_params.rb +19 -0
- data/lib/stripe/params/transfer_create_params.rb +47 -0
- data/lib/stripe/params/transfer_list_params.rb +56 -0
- data/lib/stripe/params/transfer_retrieve_params.rb +13 -0
- data/lib/stripe/params/transfer_reversal_create_params.rb +31 -0
- data/lib/stripe/params/transfer_reversal_list_params.rb +22 -0
- data/lib/stripe/params/transfer_reversal_retrieve_params.rb +13 -0
- data/lib/stripe/params/transfer_reversal_update_params.rb +16 -0
- data/lib/stripe/params/transfer_update_params.rb +19 -0
- data/lib/stripe/params/treasury/credit_reversal_create_params.rb +21 -0
- data/lib/stripe/params/treasury/credit_reversal_list_params.rb +41 -0
- data/lib/stripe/params/treasury/credit_reversal_retrieve_params.rb +15 -0
- data/lib/stripe/params/treasury/debit_reversal_create_params.rb +21 -0
- data/lib/stripe/params/treasury/debit_reversal_list_params.rb +45 -0
- data/lib/stripe/params/treasury/debit_reversal_retrieve_params.rb +15 -0
- data/lib/stripe/params/treasury/financial_account_close_params.rb +32 -0
- data/lib/stripe/params/treasury/financial_account_create_params.rb +201 -0
- data/lib/stripe/params/treasury/financial_account_features_retrieve_params.rb +15 -0
- data/lib/stripe/params/treasury/financial_account_features_update_params.rb +163 -0
- data/lib/stripe/params/treasury/financial_account_list_params.rb +54 -0
- data/lib/stripe/params/treasury/financial_account_retrieve_features_params.rb +15 -0
- data/lib/stripe/params/treasury/financial_account_retrieve_params.rb +15 -0
- data/lib/stripe/params/treasury/financial_account_update_features_params.rb +163 -0
- data/lib/stripe/params/treasury/financial_account_update_params.rb +216 -0
- data/lib/stripe/params/treasury/inbound_transfer_cancel_params.rb +15 -0
- data/lib/stripe/params/treasury/inbound_transfer_create_params.rb +45 -0
- data/lib/stripe/params/treasury/inbound_transfer_fail_params.rb +26 -0
- data/lib/stripe/params/treasury/inbound_transfer_list_params.rb +37 -0
- data/lib/stripe/params/treasury/inbound_transfer_retrieve_params.rb +15 -0
- data/lib/stripe/params/treasury/inbound_transfer_return_inbound_transfer_params.rb +15 -0
- data/lib/stripe/params/treasury/inbound_transfer_succeed_params.rb +15 -0
- data/lib/stripe/params/treasury/outbound_payment_cancel_params.rb +15 -0
- data/lib/stripe/params/treasury/outbound_payment_create_params.rb +190 -0
- data/lib/stripe/params/treasury/outbound_payment_fail_params.rb +15 -0
- data/lib/stripe/params/treasury/outbound_payment_list_params.rb +62 -0
- data/lib/stripe/params/treasury/outbound_payment_post_params.rb +15 -0
- data/lib/stripe/params/treasury/outbound_payment_retrieve_params.rb +15 -0
- data/lib/stripe/params/treasury/outbound_payment_return_outbound_payment_params.rb +26 -0
- data/lib/stripe/params/treasury/outbound_payment_update_params.rb +55 -0
- data/lib/stripe/params/treasury/outbound_transfer_cancel_params.rb +15 -0
- data/lib/stripe/params/treasury/outbound_transfer_create_params.rb +81 -0
- data/lib/stripe/params/treasury/outbound_transfer_fail_params.rb +15 -0
- data/lib/stripe/params/treasury/outbound_transfer_list_params.rb +37 -0
- data/lib/stripe/params/treasury/outbound_transfer_post_params.rb +15 -0
- data/lib/stripe/params/treasury/outbound_transfer_retrieve_params.rb +15 -0
- data/lib/stripe/params/treasury/outbound_transfer_return_outbound_transfer_params.rb +26 -0
- data/lib/stripe/params/treasury/outbound_transfer_update_params.rb +55 -0
- data/lib/stripe/params/treasury/received_credit_create_params.rb +66 -0
- data/lib/stripe/params/treasury/received_credit_list_params.rb +49 -0
- data/lib/stripe/params/treasury/received_credit_retrieve_params.rb +15 -0
- data/lib/stripe/params/treasury/received_debit_create_params.rb +66 -0
- data/lib/stripe/params/treasury/received_debit_list_params.rb +37 -0
- data/lib/stripe/params/treasury/received_debit_retrieve_params.rb +15 -0
- data/lib/stripe/params/treasury/transaction_entry_list_params.rb +84 -0
- data/lib/stripe/params/treasury/transaction_entry_retrieve_params.rb +15 -0
- data/lib/stripe/params/treasury/transaction_list_params.rb +92 -0
- data/lib/stripe/params/treasury/transaction_retrieve_params.rb +15 -0
- data/lib/stripe/params/v2/billing/meter_event_adjustment_create_params.rb +31 -0
- data/lib/stripe/params/v2/billing/meter_event_create_params.rb +33 -0
- data/lib/stripe/params/v2/billing/meter_event_session_create_params.rb +10 -0
- data/lib/stripe/params/v2/billing/meter_event_stream_create_params.rb +41 -0
- data/lib/stripe/params/v2/core/event_destination_create_params.rb +79 -0
- data/lib/stripe/params/v2/core/event_destination_delete_params.rb +10 -0
- data/lib/stripe/params/v2/core/event_destination_disable_params.rb +10 -0
- data/lib/stripe/params/v2/core/event_destination_enable_params.rb +10 -0
- data/lib/stripe/params/v2/core/event_destination_list_params.rb +20 -0
- data/lib/stripe/params/v2/core/event_destination_ping_params.rb +10 -0
- data/lib/stripe/params/v2/core/event_destination_retrieve_params.rb +17 -0
- data/lib/stripe/params/v2/core/event_destination_update_params.rb +47 -0
- data/lib/stripe/params/v2/core/event_list_params.rb +22 -0
- data/lib/stripe/params/v2/core/event_retrieve_params.rb +10 -0
- data/lib/stripe/params/webhook_endpoint_create_params.rb +39 -0
- data/lib/stripe/params/webhook_endpoint_delete_params.rb +6 -0
- data/lib/stripe/params/webhook_endpoint_list_params.rb +22 -0
- data/lib/stripe/params/webhook_endpoint_retrieve_params.rb +13 -0
- data/lib/stripe/params/webhook_endpoint_update_params.rb +35 -0
- data/lib/stripe/params.rb +588 -0
- data/lib/stripe/request_options.rb +14 -5
- data/lib/stripe/resources/account.rb +448 -4265
- data/lib/stripe/resources/account_link.rb +8 -47
- data/lib/stripe/resources/account_session.rb +340 -657
- data/lib/stripe/resources/apple_pay_domain.rb +8 -40
- data/lib/stripe/resources/application.rb +8 -0
- data/lib/stripe/resources/application_fee.rb +12 -44
- data/lib/stripe/resources/application_fee_refund.rb +8 -0
- data/lib/stripe/resources/apps/secret.rb +12 -112
- data/lib/stripe/resources/balance.rb +159 -0
- data/lib/stripe/resources/balance_settings.rb +92 -0
- data/lib/stripe/resources/balance_transaction.rb +12 -56
- data/lib/stripe/resources/bank_account.rb +40 -0
- data/lib/stripe/resources/billing/alert.rb +20 -100
- data/lib/stripe/resources/billing/alert_triggered.rb +8 -0
- data/lib/stripe/resources/billing/credit_balance_summary.rb +48 -0
- data/lib/stripe/resources/billing/credit_balance_transaction.rb +73 -29
- data/lib/stripe/resources/billing/credit_grant.rb +42 -151
- data/lib/stripe/resources/billing/meter.rb +40 -116
- data/lib/stripe/resources/billing/meter_event.rb +8 -20
- data/lib/stripe/resources/billing/meter_event_adjustment.rb +12 -22
- data/lib/stripe/resources/billing/meter_event_summary.rb +8 -0
- data/lib/stripe/resources/billing_portal/configuration.rb +120 -473
- data/lib/stripe/resources/billing_portal/session.rb +98 -170
- data/lib/stripe/resources/capability.rb +56 -0
- data/lib/stripe/resources/card.rb +17 -1
- data/lib/stripe/resources/cash_balance.rb +16 -0
- data/lib/stripe/resources/charge.rb +958 -414
- data/lib/stripe/resources/checkout/session.rb +1039 -2501
- data/lib/stripe/resources/climate/order.rb +28 -89
- data/lib/stripe/resources/climate/product.rb +13 -15
- data/lib/stripe/resources/climate/supplier.rb +13 -15
- data/lib/stripe/resources/confirmation_token.rb +895 -683
- data/lib/stripe/resources/connect_collection_transfer.rb +8 -0
- data/lib/stripe/resources/country_spec.rb +29 -15
- data/lib/stripe/resources/coupon.rb +19 -137
- data/lib/stripe/resources/credit_note.rb +66 -504
- data/lib/stripe/resources/credit_note_line_item.rb +44 -0
- data/lib/stripe/resources/customer.rb +81 -675
- data/lib/stripe/resources/customer_balance_transaction.rb +8 -0
- data/lib/stripe/resources/customer_cash_balance_transaction.rb +108 -0
- data/lib/stripe/resources/customer_session.rb +49 -93
- data/lib/stripe/resources/discount.rb +24 -4
- data/lib/stripe/resources/dispute.rb +159 -365
- data/lib/stripe/resources/entitlements/active_entitlement.rb +8 -26
- data/lib/stripe/resources/entitlements/active_entitlement_summary.rb +8 -0
- data/lib/stripe/resources/entitlements/feature.rb +8 -66
- data/lib/stripe/resources/ephemeral_key.rb +8 -8
- data/lib/stripe/resources/event.rb +20 -52
- data/lib/stripe/resources/exchange_rate.rb +18 -17
- data/lib/stripe/resources/file.rb +8 -79
- data/lib/stripe/resources/file_link.rb +8 -84
- data/lib/stripe/resources/financial_connections/account.rb +66 -110
- data/lib/stripe/resources/financial_connections/account_owner.rb +8 -0
- data/lib/stripe/resources/financial_connections/account_ownership.rb +8 -0
- data/lib/stripe/resources/financial_connections/session.rb +20 -55
- data/lib/stripe/resources/financial_connections/transaction.rb +12 -57
- data/lib/stripe/resources/forwarding/request.rb +48 -93
- data/lib/stripe/resources/funding_instructions.rb +217 -24
- data/lib/stripe/resources/identity/verification_report.rb +165 -56
- data/lib/stripe/resources/identity/verification_session.rb +124 -237
- data/lib/stripe/resources/invoice.rb +489 -2882
- data/lib/stripe/resources/invoice_item.rb +69 -309
- data/lib/stripe/resources/invoice_line_item.rb +126 -199
- data/lib/stripe/resources/invoice_payment.rb +20 -42
- data/lib/stripe/resources/invoice_rendering_template.rb +8 -38
- data/lib/stripe/resources/issuing/authorization.rb +173 -836
- data/lib/stripe/resources/issuing/card.rb +98 -499
- data/lib/stripe/resources/issuing/cardholder.rb +108 -514
- data/lib/stripe/resources/issuing/dispute.rb +93 -620
- data/lib/stripe/resources/issuing/personalization_design.rb +32 -221
- data/lib/stripe/resources/issuing/physical_bundle.rb +13 -28
- data/lib/stripe/resources/issuing/token.rb +57 -60
- data/lib/stripe/resources/issuing/transaction.rb +147 -696
- data/lib/stripe/resources/line_item.rb +24 -0
- data/lib/stripe/resources/login_link.rb +8 -0
- data/lib/stripe/resources/mandate.rb +225 -12
- data/lib/stripe/resources/payment_intent.rb +1129 -7346
- data/lib/stripe/resources/payment_link.rb +333 -1357
- data/lib/stripe/resources/payment_method.rb +807 -784
- data/lib/stripe/resources/payment_method_configuration.rb +940 -2311
- data/lib/stripe/resources/payment_method_domain.rb +107 -63
- data/lib/stripe/resources/payout.rb +12 -150
- data/lib/stripe/resources/person.rb +184 -4
- data/lib/stripe/resources/plan.rb +20 -235
- data/lib/stripe/resources/price.rb +66 -480
- data/lib/stripe/resources/product.rb +23 -411
- data/lib/stripe/resources/product_feature.rb +8 -0
- data/lib/stripe/resources/promotion_code.rb +40 -172
- data/lib/stripe/resources/quote.rb +219 -651
- data/lib/stripe/resources/radar/early_fraud_warning.rb +8 -51
- data/lib/stripe/resources/radar/value_list.rb +8 -92
- data/lib/stripe/resources/radar/value_list_item.rb +8 -68
- data/lib/stripe/resources/refund.rb +367 -152
- data/lib/stripe/resources/reporting/report_run.rb +12 -93
- data/lib/stripe/resources/reporting/report_type.rb +8 -8
- data/lib/stripe/resources/reserve_transaction.rb +8 -0
- data/lib/stripe/resources/reversal.rb +8 -0
- data/lib/stripe/resources/review.rb +20 -43
- data/lib/stripe/resources/setup_attempt.rb +286 -65
- data/lib/stripe/resources/setup_intent.rb +336 -3359
- data/lib/stripe/resources/shipping_rate.rb +44 -187
- data/lib/stripe/resources/sigma/scheduled_query_run.rb +13 -15
- data/lib/stripe/resources/source.rb +268 -583
- data/lib/stripe/resources/source_mandate_notification.rb +32 -0
- data/lib/stripe/resources/source_transaction.rb +54 -0
- data/lib/stripe/resources/subscription.rb +272 -1581
- data/lib/stripe/resources/subscription_item.rb +12 -298
- data/lib/stripe/resources/subscription_schedule.rb +236 -1282
- data/lib/stripe/resources/tax/calculation.rb +111 -220
- data/lib/stripe/resources/tax/calculation_line_item.rb +32 -0
- data/lib/stripe/resources/tax/registration.rb +1274 -2096
- data/lib/stripe/resources/tax/settings.rb +61 -64
- data/lib/stripe/resources/tax/transaction.rb +95 -122
- data/lib/stripe/resources/tax/transaction_line_item.rb +16 -0
- data/lib/stripe/resources/tax_code.rb +8 -17
- data/lib/stripe/resources/tax_deducted_at_source.rb +8 -0
- data/lib/stripe/resources/tax_id.rb +20 -65
- data/lib/stripe/resources/tax_rate.rb +12 -142
- data/lib/stripe/resources/terminal/configuration.rb +302 -1173
- data/lib/stripe/resources/terminal/connection_token.rb +8 -11
- data/lib/stripe/resources/terminal/location.rb +72 -126
- data/lib/stripe/resources/terminal/reader.rb +237 -501
- data/lib/stripe/resources/test_helpers/test_clock.rb +20 -43
- data/lib/stripe/resources/token.rb +8 -1191
- data/lib/stripe/resources/topup.rb +8 -132
- data/lib/stripe/resources/transfer.rb +8 -109
- data/lib/stripe/resources/treasury/credit_reversal.rb +12 -46
- data/lib/stripe/resources/treasury/debit_reversal.rb +20 -50
- data/lib/stripe/resources/treasury/financial_account.rb +55 -639
- data/lib/stripe/resources/treasury/financial_account_features.rb +192 -0
- data/lib/stripe/resources/treasury/inbound_transfer.rb +67 -115
- data/lib/stripe/resources/treasury/outbound_payment.rb +104 -334
- data/lib/stripe/resources/treasury/outbound_transfer.rb +95 -200
- data/lib/stripe/resources/treasury/received_credit.rb +78 -101
- data/lib/stripe/resources/treasury/received_debit.rb +70 -89
- data/lib/stripe/resources/treasury/transaction.rb +32 -82
- data/lib/stripe/resources/treasury/transaction_entry.rb +20 -74
- data/lib/stripe/resources/v2/billing/meter_event.rb +8 -0
- data/lib/stripe/resources/v2/billing/meter_event_adjustment.rb +16 -0
- data/lib/stripe/resources/v2/billing/meter_event_session.rb +8 -0
- data/lib/stripe/resources/v2/core/event.rb +67 -0
- data/lib/stripe/resources/v2/core/event_destination.rb +119 -0
- data/lib/stripe/resources/v2/core/event_notification.rb +62 -0
- data/lib/stripe/resources/v2/deleted_object.rb +21 -0
- data/lib/stripe/resources/webhook_endpoint.rb +8 -85
- data/lib/stripe/resources.rb +4 -2
- data/lib/stripe/services/account_capability_service.rb +0 -32
- data/lib/stripe/services/account_external_account_service.rb +0 -249
- data/lib/stripe/services/account_link_service.rb +0 -48
- data/lib/stripe/services/account_login_link_service.rb +0 -9
- data/lib/stripe/services/account_person_service.rb +0 -958
- data/lib/stripe/services/account_service.rb +0 -4149
- data/lib/stripe/services/account_session_service.rb +0 -637
- data/lib/stripe/services/apple_pay_domain_service.rb +0 -50
- data/lib/stripe/services/application_fee_refund_service.rb +0 -54
- data/lib/stripe/services/application_fee_service.rb +0 -57
- data/lib/stripe/services/apps/secret_service.rb +0 -116
- data/lib/stripe/services/balance_service.rb +0 -9
- data/lib/stripe/services/balance_settings_service.rb +30 -0
- data/lib/stripe/services/balance_transaction_service.rb +0 -69
- data/lib/stripe/services/billing/alert_service.rb +0 -113
- data/lib/stripe/services/billing/credit_balance_summary_service.rb +0 -48
- data/lib/stripe/services/billing/credit_balance_transaction_service.rb +0 -40
- data/lib/stripe/services/billing/credit_grant_service.rb +0 -166
- data/lib/stripe/services/billing/meter_event_adjustment_service.rb +0 -26
- data/lib/stripe/services/billing/meter_event_service.rb +0 -21
- data/lib/stripe/services/billing/meter_event_summary_service.rb +0 -39
- data/lib/stripe/services/billing/meter_service.rb +0 -130
- data/lib/stripe/services/billing_portal/configuration_service.rb +0 -486
- data/lib/stripe/services/billing_portal/session_service.rb +0 -173
- data/lib/stripe/services/charge_service.rb +0 -402
- data/lib/stripe/services/checkout/session_line_item_service.rb +0 -18
- data/lib/stripe/services/checkout/session_service.rb +0 -2494
- data/lib/stripe/services/climate/order_service.rb +0 -102
- data/lib/stripe/services/climate/product_service.rb +0 -27
- data/lib/stripe/services/climate/supplier_service.rb +0 -27
- data/lib/stripe/services/confirmation_token_service.rb +0 -9
- data/lib/stripe/services/country_spec_service.rb +0 -27
- data/lib/stripe/services/coupon_service.rb +0 -151
- data/lib/stripe/services/credit_note_line_item_service.rb +0 -18
- data/lib/stripe/services/credit_note_preview_lines_service.rb +0 -152
- data/lib/stripe/services/credit_note_service.rb +0 -365
- data/lib/stripe/services/customer_balance_transaction_service.rb +0 -63
- data/lib/stripe/services/customer_cash_balance_service.rb +0 -29
- data/lib/stripe/services/customer_cash_balance_transaction_service.rb +0 -27
- data/lib/stripe/services/customer_funding_instructions_service.rb +0 -42
- data/lib/stripe/services/customer_payment_method_service.rb +0 -40
- data/lib/stripe/services/customer_payment_source_service.rb +0 -179
- data/lib/stripe/services/customer_service.rb +0 -575
- data/lib/stripe/services/customer_session_service.rb +0 -96
- data/lib/stripe/services/customer_tax_id_service.rb +0 -44
- data/lib/stripe/services/dispute_service.rb +0 -374
- data/lib/stripe/services/entitlements/active_entitlement_service.rb +0 -36
- data/lib/stripe/services/entitlements/feature_service.rb +0 -76
- data/lib/stripe/services/ephemeral_key_service.rb +0 -36
- data/lib/stripe/services/event_service.rb +0 -65
- data/lib/stripe/services/exchange_rate_service.rb +4 -27
- data/lib/stripe/services/file_link_service.rb +0 -94
- data/lib/stripe/services/file_service.rb +0 -89
- data/lib/stripe/services/financial_connections/account_owner_service.rb +0 -27
- data/lib/stripe/services/financial_connections/account_service.rb +0 -96
- data/lib/stripe/services/financial_connections/session_service.rb +0 -68
- data/lib/stripe/services/financial_connections/transaction_service.rb +0 -70
- data/lib/stripe/services/forwarding/request_service.rb +0 -106
- data/lib/stripe/services/identity/verification_report_service.rb +0 -65
- data/lib/stripe/services/identity/verification_session_service.rb +0 -247
- data/lib/stripe/services/invoice_item_service.rb +0 -333
- data/lib/stripe/services/invoice_line_item_service.rb +0 -221
- data/lib/stripe/services/invoice_payment_service.rb +0 -55
- data/lib/stripe/services/invoice_rendering_template_service.rb +0 -51
- data/lib/stripe/services/invoice_service.rb +0 -2778
- data/lib/stripe/services/issuing/authorization_service.rb +0 -104
- data/lib/stripe/services/issuing/card_service.rb +0 -463
- data/lib/stripe/services/issuing/cardholder_service.rb +0 -525
- data/lib/stripe/services/issuing/dispute_service.rb +0 -633
- data/lib/stripe/services/issuing/personalization_design_service.rb +0 -193
- data/lib/stripe/services/issuing/physical_bundle_service.rb +0 -40
- data/lib/stripe/services/issuing/token_service.rb +0 -73
- data/lib/stripe/services/issuing/transaction_service.rb +0 -77
- data/lib/stripe/services/mandate_service.rb +0 -9
- data/lib/stripe/services/payment_intent_service.rb +0 -7332
- data/lib/stripe/services/payment_link_line_item_service.rb +0 -18
- data/lib/stripe/services/payment_link_service.rb +0 -1352
- data/lib/stripe/services/payment_method_configuration_service.rb +0 -2256
- data/lib/stripe/services/payment_method_domain_service.rb +0 -76
- data/lib/stripe/services/payment_method_service.rb +0 -762
- data/lib/stripe/services/payout_service.rb +0 -163
- data/lib/stripe/services/plan_service.rb +0 -248
- data/lib/stripe/services/price_service.rb +0 -493
- data/lib/stripe/services/product_feature_service.rb +0 -41
- data/lib/stripe/services/product_service.rb +0 -424
- data/lib/stripe/services/promotion_code_service.rb +1 -179
- data/lib/stripe/services/quote_computed_upfront_line_items_service.rb +0 -18
- data/lib/stripe/services/quote_line_item_service.rb +0 -18
- data/lib/stripe/services/quote_service.rb +0 -628
- data/lib/stripe/services/radar/early_fraud_warning_service.rb +0 -61
- data/lib/stripe/services/radar/value_list_item_service.rb +0 -78
- data/lib/stripe/services/radar/value_list_service.rb +0 -102
- data/lib/stripe/services/refund_service.rb +0 -137
- data/lib/stripe/services/reporting/report_run_service.rb +0 -106
- data/lib/stripe/services/reporting/report_type_service.rb +0 -18
- data/lib/stripe/services/review_service.rb +0 -56
- data/lib/stripe/services/setup_attempt_service.rb +0 -51
- data/lib/stripe/services/setup_intent_service.rb +0 -3275
- data/lib/stripe/services/shipping_rate_service.rb +0 -200
- data/lib/stripe/services/sigma/scheduled_query_run_service.rb +0 -27
- data/lib/stripe/services/source_service.rb +0 -601
- data/lib/stripe/services/source_transaction_service.rb +0 -18
- data/lib/stripe/services/subscription_item_service.rb +0 -311
- data/lib/stripe/services/subscription_schedule_service.rb +0 -1295
- data/lib/stripe/services/subscription_service.rb +0 -1594
- data/lib/stripe/services/tax/calculation_line_item_service.rb +0 -18
- data/lib/stripe/services/tax/calculation_service.rb +0 -209
- data/lib/stripe/services/tax/registration_service.rb +0 -2063
- data/lib/stripe/services/tax/settings_service.rb +0 -74
- data/lib/stripe/services/tax/transaction_line_item_service.rb +0 -18
- data/lib/stripe/services/tax/transaction_service.rb +0 -111
- data/lib/stripe/services/tax_code_service.rb +0 -27
- data/lib/stripe/services/tax_id_service.rb +0 -78
- data/lib/stripe/services/tax_rate_service.rb +0 -155
- data/lib/stripe/services/terminal/configuration_service.rb +0 -1186
- data/lib/stripe/services/terminal/connection_token_service.rb +0 -12
- data/lib/stripe/services/terminal/location_service.rb +0 -143
- data/lib/stripe/services/terminal/reader_service.rb +0 -427
- data/lib/stripe/services/test_helpers/confirmation_token_service.rb +0 -641
- data/lib/stripe/services/test_helpers/customer_service.rb +0 -18
- data/lib/stripe/services/test_helpers/issuing/authorization_service.rb +0 -745
- data/lib/stripe/services/test_helpers/issuing/card_service.rb +0 -45
- data/lib/stripe/services/test_helpers/issuing/personalization_design_service.rb +0 -41
- data/lib/stripe/services/test_helpers/issuing/transaction_service.rb +0 -632
- data/lib/stripe/services/test_helpers/refund_service.rb +0 -9
- data/lib/stripe/services/test_helpers/terminal/reader_service.rb +0 -87
- data/lib/stripe/services/test_helpers/test_clock_service.rb +0 -56
- data/lib/stripe/services/test_helpers/treasury/inbound_transfer_service.rb +0 -38
- data/lib/stripe/services/test_helpers/treasury/outbound_payment_service.rb +0 -87
- data/lib/stripe/services/test_helpers/treasury/outbound_transfer_service.rb +0 -87
- data/lib/stripe/services/test_helpers/treasury/received_credit_service.rb +0 -60
- data/lib/stripe/services/test_helpers/treasury/received_debit_service.rb +0 -60
- data/lib/stripe/services/token_service.rb +0 -1201
- data/lib/stripe/services/topup_service.rb +0 -142
- data/lib/stripe/services/transfer_reversal_service.rb +0 -66
- data/lib/stripe/services/transfer_service.rb +0 -119
- data/lib/stripe/services/treasury/credit_reversal_service.rb +0 -59
- data/lib/stripe/services/treasury/debit_reversal_service.rb +0 -63
- data/lib/stripe/services/treasury/financial_account_features_service.rb +0 -166
- data/lib/stripe/services/treasury/financial_account_service.rb +0 -488
- data/lib/stripe/services/treasury/inbound_transfer_service.rb +0 -88
- data/lib/stripe/services/treasury/outbound_payment_service.rb +0 -258
- data/lib/stripe/services/treasury/outbound_transfer_service.rb +0 -124
- data/lib/stripe/services/treasury/received_credit_service.rb +0 -52
- data/lib/stripe/services/treasury/received_debit_service.rb +0 -40
- data/lib/stripe/services/treasury/transaction_entry_service.rb +0 -87
- data/lib/stripe/services/treasury/transaction_service.rb +0 -95
- data/lib/stripe/services/v1_services.rb +2 -1
- data/lib/stripe/services/v2/billing/meter_event_adjustment_service.rb +0 -23
- data/lib/stripe/services/v2/billing/meter_event_service.rb +0 -25
- data/lib/stripe/services/v2/billing/meter_event_session_service.rb +0 -2
- data/lib/stripe/services/v2/billing/meter_event_stream_service.rb +0 -33
- data/lib/stripe/services/v2/core/event_destination_service.rb +0 -137
- data/lib/stripe/services/v2/core/event_service.rb +0 -16
- data/lib/stripe/services/webhook_endpoint_service.rb +0 -95
- data/lib/stripe/services.rb +1 -0
- data/lib/stripe/stripe_client.rb +8 -5
- data/lib/stripe/stripe_configuration.rb +1 -6
- data/lib/stripe/stripe_context.rb +68 -0
- data/lib/stripe/stripe_object.rb +33 -9
- data/lib/stripe/util.rb +24 -13
- data/lib/stripe/version.rb +1 -1
- data/lib/stripe.rb +3 -1
- data/rbi/stripe/resources/v2/core/event_notification.rbi +43 -0
- data/rbi/stripe/stripe_client.rbi +17 -0
- data/rbi/stripe.rbi +132984 -0
- metadata +600 -345
- data/API_VERSION +0 -1
- data/CHANGELOG.md +0 -1769
- data/CODE_OF_CONDUCT.md +0 -77
- data/CONTRIBUTING.md +0 -25
- data/CONTRIBUTORS +0 -3
- data/Gemfile +0 -41
- data/History.txt +0 -1
- data/LICENSE +0 -21
- data/Makefile +0 -22
- data/OPENAPI_VERSION +0 -1
- data/README.md +0 -426
- data/Rakefile +0 -34
- data/VERSION +0 -1
- data/examples/README.md +0 -16
- data/examples/example_template.rb +0 -36
- data/examples/meter_event_stream.rb +0 -57
- data/examples/thinevent_webhook_handler.rb +0 -39
- data/justfile +0 -43
- data/lib/stripe/resources/v2/event.rb +0 -41
- data/lib/stripe/resources/v2/event_destination.rb +0 -73
- data/lib/stripe/thin_event.rb +0 -37
- data/rbi/stripe/resources/account.rbi +0 -4991
- data/rbi/stripe/resources/account_link.rbi +0 -76
- data/rbi/stripe/resources/account_session.rbi +0 -1173
- data/rbi/stripe/resources/apple_pay_domain.rbi +0 -88
- data/rbi/stripe/resources/application.rbi +0 -20
- data/rbi/stripe/resources/application_fee.rbi +0 -118
- data/rbi/stripe/resources/application_fee_refund.rbi +0 -37
- data/rbi/stripe/resources/apps/secret.rbi +0 -195
- data/rbi/stripe/resources/balance.rbi +0 -230
- data/rbi/stripe/resources/balance_transaction.rbi +0 -147
- data/rbi/stripe/resources/bank_account.rbi +0 -127
- data/rbi/stripe/resources/billing/alert.rbi +0 -201
- data/rbi/stripe/resources/billing/alert_triggered.rbi +0 -28
- data/rbi/stripe/resources/billing/credit_balance_summary.rbi +0 -63
- data/rbi/stripe/resources/billing/credit_balance_transaction.rbi +0 -147
- data/rbi/stripe/resources/billing/credit_grant.rbi +0 -291
- data/rbi/stripe/resources/billing/meter.rbi +0 -226
- data/rbi/stripe/resources/billing/meter_event.rbi +0 -64
- data/rbi/stripe/resources/billing/meter_event_adjustment.rbi +0 -64
- data/rbi/stripe/resources/billing/meter_event_summary.rbi +0 -35
- data/rbi/stripe/resources/billing_portal/configuration.rbi +0 -712
- data/rbi/stripe/resources/billing_portal/session.rbi +0 -345
- data/rbi/stripe/resources/capability.rbi +0 -125
- data/rbi/stripe/resources/card.rbi +0 -125
- data/rbi/stripe/resources/cash_balance.rbi +0 -32
- data/rbi/stripe/resources/charge.rbi +0 -2136
- data/rbi/stripe/resources/checkout/session.rbi +0 -4105
- data/rbi/stripe/resources/climate/order.rbi +0 -245
- data/rbi/stripe/resources/climate/product.rbi +0 -75
- data/rbi/stripe/resources/climate/supplier.rbi +0 -72
- data/rbi/stripe/resources/confirmation_token.rbi +0 -1818
- data/rbi/stripe/resources/connect_collection_transfer.rbi +0 -26
- data/rbi/stripe/resources/country_spec.rbi +0 -85
- data/rbi/stripe/resources/coupon.rbi +0 -250
- data/rbi/stripe/resources/credit_note.rbi +0 -752
- data/rbi/stripe/resources/credit_note_line_item.rbi +0 -101
- data/rbi/stripe/resources/customer.rbi +0 -993
- data/rbi/stripe/resources/customer_balance_transaction.rbi +0 -56
- data/rbi/stripe/resources/customer_cash_balance_transaction.rbi +0 -151
- data/rbi/stripe/resources/customer_session.rbi +0 -200
- data/rbi/stripe/resources/discount.rbi +0 -53
- data/rbi/stripe/resources/dispute.rbi +0 -761
- data/rbi/stripe/resources/entitlements/active_entitlement.rbi +0 -58
- data/rbi/stripe/resources/entitlements/active_entitlement_summary.rbi +0 -23
- data/rbi/stripe/resources/entitlements/feature.rbi +0 -117
- data/rbi/stripe/resources/ephemeral_key.rbi +0 -44
- data/rbi/stripe/resources/event.rbi +0 -137
- data/rbi/stripe/resources/exchange_rate.rbi +0 -66
- data/rbi/stripe/resources/file.rbi +0 -143
- data/rbi/stripe/resources/file_link.rbi +0 -141
- data/rbi/stripe/resources/financial_connections/account.rbi +0 -339
- data/rbi/stripe/resources/financial_connections/account_owner.rbi +0 -35
- data/rbi/stripe/resources/financial_connections/account_ownership.rbi +0 -23
- data/rbi/stripe/resources/financial_connections/session.rbi +0 -123
- data/rbi/stripe/resources/financial_connections/transaction.rbi +0 -124
- data/rbi/stripe/resources/forwarding/request.rbi +0 -216
- data/rbi/stripe/resources/funding_instructions.rbi +0 -437
- data/rbi/stripe/resources/identity/verification_report.rbi +0 -360
- data/rbi/stripe/resources/identity/verification_session.rbi +0 -564
- data/rbi/stripe/resources/invoice.rbi +0 -3894
- data/rbi/stripe/resources/invoice_item.rbi +0 -470
- data/rbi/stripe/resources/invoice_line_item.rbi +0 -432
- data/rbi/stripe/resources/invoice_payment.rbi +0 -121
- data/rbi/stripe/resources/invoice_rendering_template.rbi +0 -104
- data/rbi/stripe/resources/issuing/authorization.rbi +0 -1283
- data/rbi/stripe/resources/issuing/card.rbi +0 -749
- data/rbi/stripe/resources/issuing/cardholder.rbi +0 -744
- data/rbi/stripe/resources/issuing/dispute.rbi +0 -913
- data/rbi/stripe/resources/issuing/personalization_design.rbi +0 -338
- data/rbi/stripe/resources/issuing/physical_bundle.rbi +0 -79
- data/rbi/stripe/resources/issuing/token.rbi +0 -226
- data/rbi/stripe/resources/issuing/transaction.rbi +0 -1061
- data/rbi/stripe/resources/line_item.rbi +0 -72
- data/rbi/stripe/resources/login_link.rbi +0 -19
- data/rbi/stripe/resources/mandate.rbi +0 -191
- data/rbi/stripe/resources/payment_intent.rbi +0 -10011
- data/rbi/stripe/resources/payment_link.rbi +0 -1891
- data/rbi/stripe/resources/payment_method.rbi +0 -1770
- data/rbi/stripe/resources/payment_method_configuration.rbi +0 -3550
- data/rbi/stripe/resources/payment_method_domain.rbi +0 -228
- data/rbi/stripe/resources/payout.rbi +0 -307
- data/rbi/stripe/resources/person.rbi +0 -401
- data/rbi/stripe/resources/plan.rbi +0 -371
- data/rbi/stripe/resources/price.rbi +0 -694
- data/rbi/stripe/resources/product.rbi +0 -553
- data/rbi/stripe/resources/product_feature.rbi +0 -26
- data/rbi/stripe/resources/promotion_code.rbi +0 -264
- data/rbi/stripe/resources/quote.rbi +0 -1137
- data/rbi/stripe/resources/radar/early_fraud_warning.rbi +0 -98
- data/rbi/stripe/resources/radar/value_list.rbi +0 -168
- data/rbi/stripe/resources/radar/value_list_item.rbi +0 -129
- data/rbi/stripe/resources/refund.rbi +0 -523
- data/rbi/stripe/resources/reporting/report_run.rbi +0 -191
- data/rbi/stripe/resources/reporting/report_type.rbi +0 -57
- data/rbi/stripe/resources/reserve_transaction.rbi +0 -23
- data/rbi/stripe/resources/reversal.rbi +0 -51
- data/rbi/stripe/resources/review.rbi +0 -154
- data/rbi/stripe/resources/setup_attempt.rbi +0 -477
- data/rbi/stripe/resources/setup_intent.rbi +0 -3974
- data/rbi/stripe/resources/shipping_rate.rbi +0 -305
- data/rbi/stripe/resources/sigma/scheduled_query_run.rbi +0 -75
- data/rbi/stripe/resources/source.rbi +0 -1496
- data/rbi/stripe/resources/source_mandate_notification.rbi +0 -77
- data/rbi/stripe/resources/source_transaction.rbi +0 -127
- data/rbi/stripe/resources/subscription.rbi +0 -2154
- data/rbi/stripe/resources/subscription_item.rbi +0 -404
- data/rbi/stripe/resources/subscription_schedule.rbi +0 -1795
- data/rbi/stripe/resources/tax/calculation.rbi +0 -478
- data/rbi/stripe/resources/tax/calculation_line_item.rbi +0 -91
- data/rbi/stripe/resources/tax/registration.rbi +0 -3216
- data/rbi/stripe/resources/tax/settings.rbi +0 -141
- data/rbi/stripe/resources/tax/transaction.rbi +0 -351
- data/rbi/stripe/resources/tax/transaction_line_item.rbi +0 -54
- data/rbi/stripe/resources/tax_code.rbi +0 -44
- data/rbi/stripe/resources/tax_deducted_at_source.rbi +0 -23
- data/rbi/stripe/resources/tax_id.rbi +0 -165
- data/rbi/stripe/resources/tax_rate.rbi +0 -239
- data/rbi/stripe/resources/terminal/configuration.rbi +0 -1647
- data/rbi/stripe/resources/terminal/connection_token.rbi +0 -37
- data/rbi/stripe/resources/terminal/location.rbi +0 -222
- data/rbi/stripe/resources/terminal/reader.rbi +0 -1016
- data/rbi/stripe/resources/test_helpers/test_clock.rbi +0 -132
- data/rbi/stripe/resources/token.rbi +0 -1281
- data/rbi/stripe/resources/topup.rbi +0 -222
- data/rbi/stripe/resources/transfer.rbi +0 -199
- data/rbi/stripe/resources/treasury/credit_reversal.rbi +0 -119
- data/rbi/stripe/resources/treasury/debit_reversal.rbi +0 -131
- data/rbi/stripe/resources/treasury/financial_account.rbi +0 -869
- data/rbi/stripe/resources/treasury/financial_account_features.rbi +0 -260
- data/rbi/stripe/resources/treasury/inbound_transfer.rbi +0 -295
- data/rbi/stripe/resources/treasury/outbound_payment.rbi +0 -592
- data/rbi/stripe/resources/treasury/outbound_transfer.rbi +0 -431
- data/rbi/stripe/resources/treasury/received_credit.rbi +0 -302
- data/rbi/stripe/resources/treasury/received_debit.rbi +0 -256
- data/rbi/stripe/resources/treasury/transaction.rbi +0 -215
- data/rbi/stripe/resources/treasury/transaction_entry.rbi +0 -192
- data/rbi/stripe/resources/v2/amount.rbi +0 -14
- data/rbi/stripe/resources/v2/billing/meter_event.rbi +0 -37
- data/rbi/stripe/resources/v2/billing/meter_event_adjustment.rbi +0 -41
- data/rbi/stripe/resources/v2/billing/meter_event_session.rbi +0 -31
- data/rbi/stripe/resources/v2/event.rbi +0 -48
- data/rbi/stripe/resources/v2/event_destination.rbi +0 -91
- data/rbi/stripe/resources/webhook_endpoint.rbi +0 -168
- data/rbi/stripe/services/account_capability_service.rbi +0 -51
- data/rbi/stripe/services/account_external_account_service.rbi +0 -304
- data/rbi/stripe/services/account_link_service.rbi +0 -60
- data/rbi/stripe/services/account_login_link_service.rbi +0 -22
- data/rbi/stripe/services/account_person_service.rbi +0 -1007
- data/rbi/stripe/services/account_service.rbi +0 -4281
- data/rbi/stripe/services/account_session_service.rbi +0 -748
- data/rbi/stripe/services/apple_pay_domain_service.rbi +0 -76
- data/rbi/stripe/services/application_fee_refund_service.rbi +0 -93
- data/rbi/stripe/services/application_fee_service.rbi +0 -78
- data/rbi/stripe/services/apps/secret_service.rbi +0 -151
- data/rbi/stripe/services/apps_service.rbi +0 -9
- data/rbi/stripe/services/balance_service.rbi +0 -21
- data/rbi/stripe/services/balance_transaction_service.rbi +0 -93
- data/rbi/stripe/services/billing/alert_service.rbi +0 -152
- data/rbi/stripe/services/billing/credit_balance_summary_service.rbi +0 -68
- data/rbi/stripe/services/billing/credit_balance_transaction_service.rbi +0 -59
- data/rbi/stripe/services/billing/credit_grant_service.rbi +0 -211
- data/rbi/stripe/services/billing/meter_event_adjustment_service.rbi +0 -42
- data/rbi/stripe/services/billing/meter_event_service.rbi +0 -42
- data/rbi/stripe/services/billing/meter_event_summary_service.rbi +0 -54
- data/rbi/stripe/services/billing/meter_service.rbi +0 -163
- data/rbi/stripe/services/billing_portal/configuration_service.rbi +0 -561
- data/rbi/stripe/services/billing_portal/session_service.rbi +0 -204
- data/rbi/stripe/services/billing_portal_service.rbi +0 -10
- data/rbi/stripe/services/billing_service.rbi +0 -15
- data/rbi/stripe/services/charge_service.rbi +0 -448
- data/rbi/stripe/services/checkout/session_line_item_service.rbi +0 -33
- data/rbi/stripe/services/checkout/session_service.rbi +0 -2697
- data/rbi/stripe/services/checkout_service.rbi +0 -9
- data/rbi/stripe/services/climate/order_service.rbi +0 -142
- data/rbi/stripe/services/climate/product_service.rbi +0 -46
- data/rbi/stripe/services/climate/supplier_service.rbi +0 -46
- data/rbi/stripe/services/climate_service.rbi +0 -11
- data/rbi/stripe/services/confirmation_token_service.rbi +0 -20
- data/rbi/stripe/services/country_spec_service.rbi +0 -44
- data/rbi/stripe/services/coupon_service.rbi +0 -194
- data/rbi/stripe/services/credit_note_line_item_service.rbi +0 -31
- data/rbi/stripe/services/credit_note_preview_lines_service.rbi +0 -167
- data/rbi/stripe/services/credit_note_service.rbi +0 -415
- data/rbi/stripe/services/customer_balance_transaction_service.rbi +0 -92
- data/rbi/stripe/services/customer_cash_balance_service.rbi +0 -45
- data/rbi/stripe/services/customer_cash_balance_transaction_service.rbi +0 -44
- data/rbi/stripe/services/customer_funding_instructions_service.rbi +0 -59
- data/rbi/stripe/services/customer_payment_method_service.rbi +0 -57
- data/rbi/stripe/services/customer_payment_source_service.rbi +0 -232
- data/rbi/stripe/services/customer_service.rbi +0 -635
- data/rbi/stripe/services/customer_session_service.rbi +0 -116
- data/rbi/stripe/services/customer_tax_id_service.rbi +0 -70
- data/rbi/stripe/services/dispute_service.rbi +0 -424
- data/rbi/stripe/services/entitlements/active_entitlement_service.rbi +0 -55
- data/rbi/stripe/services/entitlements/feature_service.rbi +0 -107
- data/rbi/stripe/services/entitlements_service.rbi +0 -10
- data/rbi/stripe/services/ephemeral_key_service.rbi +0 -53
- data/rbi/stripe/services/event_service.rbi +0 -83
- data/rbi/stripe/services/exchange_rate_service.rbi +0 -44
- data/rbi/stripe/services/file_link_service.rbi +0 -124
- data/rbi/stripe/services/file_service.rbi +0 -116
- data/rbi/stripe/services/financial_connections/account_owner_service.rbi +0 -42
- data/rbi/stripe/services/financial_connections/account_service.rbi +0 -133
- data/rbi/stripe/services/financial_connections/session_service.rbi +0 -88
- data/rbi/stripe/services/financial_connections/transaction_service.rbi +0 -92
- data/rbi/stripe/services/financial_connections_service.rbi +0 -11
- data/rbi/stripe/services/forwarding/request_service.rbi +0 -134
- data/rbi/stripe/services/forwarding_service.rbi +0 -9
- data/rbi/stripe/services/identity/verification_report_service.rbi +0 -87
- data/rbi/stripe/services/identity/verification_session_service.rbi +0 -339
- data/rbi/stripe/services/identity_service.rbi +0 -10
- data/rbi/stripe/services/invoice_item_service.rbi +0 -366
- data/rbi/stripe/services/invoice_line_item_service.rbi +0 -259
- data/rbi/stripe/services/invoice_payment_service.rbi +0 -71
- data/rbi/stripe/services/invoice_rendering_template_service.rbi +0 -82
- data/rbi/stripe/services/invoice_service.rbi +0 -3073
- data/rbi/stripe/services/issuing/authorization_service.rbi +0 -146
- data/rbi/stripe/services/issuing/card_service.rbi +0 -503
- data/rbi/stripe/services/issuing/cardholder_service.rbi +0 -587
- data/rbi/stripe/services/issuing/dispute_service.rbi +0 -707
- data/rbi/stripe/services/issuing/personalization_design_service.rbi +0 -243
- data/rbi/stripe/services/issuing/physical_bundle_service.rbi +0 -59
- data/rbi/stripe/services/issuing/token_service.rbi +0 -99
- data/rbi/stripe/services/issuing/transaction_service.rbi +0 -105
- data/rbi/stripe/services/issuing_service.rbi +0 -16
- data/rbi/stripe/services/mandate_service.rbi +0 -20
- data/rbi/stripe/services/payment_intent_service.rbi +0 -8010
- data/rbi/stripe/services/payment_link_line_item_service.rbi +0 -31
- data/rbi/stripe/services/payment_link_service.rbi +0 -1441
- data/rbi/stripe/services/payment_method_configuration_service.rbi +0 -2487
- data/rbi/stripe/services/payment_method_domain_service.rbi +0 -112
- data/rbi/stripe/services/payment_method_service.rbi +0 -781
- data/rbi/stripe/services/payout_service.rbi +0 -209
- data/rbi/stripe/services/plan_service.rbi +0 -282
- data/rbi/stripe/services/price_service.rbi +0 -546
- data/rbi/stripe/services/product_feature_service.rbi +0 -67
- data/rbi/stripe/services/product_service.rbi +0 -477
- data/rbi/stripe/services/promotion_code_service.rbi +0 -214
- data/rbi/stripe/services/quote_computed_upfront_line_items_service.rbi +0 -31
- data/rbi/stripe/services/quote_line_item_service.rbi +0 -31
- data/rbi/stripe/services/quote_service.rbi +0 -695
- data/rbi/stripe/services/radar/early_fraud_warning_service.rbi +0 -85
- data/rbi/stripe/services/radar/value_list_item_service.rbi +0 -109
- data/rbi/stripe/services/radar/value_list_service.rbi +0 -141
- data/rbi/stripe/services/radar_service.rbi +0 -11
- data/rbi/stripe/services/refund_service.rbi +0 -185
- data/rbi/stripe/services/reporting/report_run_service.rbi +0 -135
- data/rbi/stripe/services/reporting/report_type_service.rbi +0 -35
- data/rbi/stripe/services/reporting_service.rbi +0 -10
- data/rbi/stripe/services/review_service.rbi +0 -84
- data/rbi/stripe/services/setup_attempt_service.rbi +0 -65
- data/rbi/stripe/services/setup_intent_service.rbi +0 -3709
- data/rbi/stripe/services/shipping_rate_service.rbi +0 -241
- data/rbi/stripe/services/sigma/scheduled_query_run_service.rbi +0 -46
- data/rbi/stripe/services/sigma_service.rbi +0 -9
- data/rbi/stripe/services/source_service.rbi +0 -663
- data/rbi/stripe/services/source_transaction_service.rbi +0 -31
- data/rbi/stripe/services/subscription_item_service.rbi +0 -350
- data/rbi/stripe/services/subscription_schedule_service.rbi +0 -1425
- data/rbi/stripe/services/subscription_service.rbi +0 -1768
- data/rbi/stripe/services/tax/calculation_line_item_service.rbi +0 -33
- data/rbi/stripe/services/tax/calculation_service.rbi +0 -234
- data/rbi/stripe/services/tax/registration_service.rbi +0 -2278
- data/rbi/stripe/services/tax/settings_service.rbi +0 -93
- data/rbi/stripe/services/tax/transaction_line_item_service.rbi +0 -33
- data/rbi/stripe/services/tax/transaction_service.rbi +0 -146
- data/rbi/stripe/services/tax_code_service.rbi +0 -44
- data/rbi/stripe/services/tax_id_service.rbi +0 -110
- data/rbi/stripe/services/tax_rate_service.rbi +0 -185
- data/rbi/stripe/services/tax_service.rbi +0 -12
- data/rbi/stripe/services/terminal/configuration_service.rbi +0 -1328
- data/rbi/stripe/services/terminal/connection_token_service.rbi +0 -25
- data/rbi/stripe/services/terminal/location_service.rbi +0 -182
- data/rbi/stripe/services/terminal/reader_service.rbi +0 -540
- data/rbi/stripe/services/terminal_service.rbi +0 -12
- data/rbi/stripe/services/test_helpers/confirmation_token_service.rbi +0 -746
- data/rbi/stripe/services/test_helpers/customer_service.rbi +0 -33
- data/rbi/stripe/services/test_helpers/issuing/authorization_service.rbi +0 -848
- data/rbi/stripe/services/test_helpers/issuing/card_service.rbi +0 -76
- data/rbi/stripe/services/test_helpers/issuing/personalization_design_service.rbi +0 -69
- data/rbi/stripe/services/test_helpers/issuing/transaction_service.rbi +0 -711
- data/rbi/stripe/services/test_helpers/issuing_service.rbi +0 -14
- data/rbi/stripe/services/test_helpers/refund_service.rbi +0 -22
- data/rbi/stripe/services/test_helpers/terminal/reader_service.rbi +0 -117
- data/rbi/stripe/services/test_helpers/terminal_service.rbi +0 -11
- data/rbi/stripe/services/test_helpers/test_clock_service.rbi +0 -90
- data/rbi/stripe/services/test_helpers/treasury/inbound_transfer_service.rbi +0 -64
- data/rbi/stripe/services/test_helpers/treasury/outbound_payment_service.rbi +0 -125
- data/rbi/stripe/services/test_helpers/treasury/outbound_transfer_service.rbi +0 -125
- data/rbi/stripe/services/test_helpers/treasury/received_credit_service.rbi +0 -87
- data/rbi/stripe/services/test_helpers/treasury/received_debit_service.rbi +0 -87
- data/rbi/stripe/services/test_helpers/treasury_service.rbi +0 -15
- data/rbi/stripe/services/test_helpers_service.rbi +0 -15
- data/rbi/stripe/services/token_service.rbi +0 -1255
- data/rbi/stripe/services/topup_service.rbi +0 -176
- data/rbi/stripe/services/transfer_reversal_service.rbi +0 -101
- data/rbi/stripe/services/transfer_service.rbi +0 -152
- data/rbi/stripe/services/treasury/credit_reversal_service.rbi +0 -84
- data/rbi/stripe/services/treasury/debit_reversal_service.rbi +0 -88
- data/rbi/stripe/services/treasury/financial_account_features_service.rbi +0 -198
- data/rbi/stripe/services/treasury/financial_account_service.rbi +0 -566
- data/rbi/stripe/services/treasury/inbound_transfer_service.rbi +0 -117
- data/rbi/stripe/services/treasury/outbound_payment_service.rbi +0 -304
- data/rbi/stripe/services/treasury/outbound_transfer_service.rbi +0 -157
- data/rbi/stripe/services/treasury/received_credit_service.rbi +0 -72
- data/rbi/stripe/services/treasury/received_debit_service.rbi +0 -59
- data/rbi/stripe/services/treasury/transaction_entry_service.rbi +0 -111
- data/rbi/stripe/services/treasury/transaction_service.rbi +0 -122
- data/rbi/stripe/services/treasury_service.rbi +0 -18
- data/rbi/stripe/services/v1_services.rbi +0 -77
- data/rbi/stripe/services/v2/billing/meter_event_adjustment_service.rbi +0 -39
- data/rbi/stripe/services/v2/billing/meter_event_service.rbi +0 -42
- data/rbi/stripe/services/v2/billing/meter_event_session_service.rbi +0 -18
- data/rbi/stripe/services/v2/billing/meter_event_stream_service.rbi +0 -55
- data/rbi/stripe/services/v2/billing_service.rbi +0 -14
- data/rbi/stripe/services/v2/core/event_destination_service.rbi +0 -192
- data/rbi/stripe/services/v2/core/event_service.rbi +0 -36
- data/rbi/stripe/services/v2/core_service.rbi +0 -12
- data/rbi/stripe/services/v2_services.rbi +0 -10
- data/rbi/stripe/services/webhook_endpoint_service.rbi +0 -129
- data/stripe.gemspec +0 -44
@@ -28,13 +28,65 @@ module Stripe
|
|
28
28
|
attr_reader :last4
|
29
29
|
# Transit number of the bank account.
|
30
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
|
31
59
|
end
|
32
60
|
|
33
|
-
class
|
34
|
-
|
35
|
-
|
36
|
-
|
37
|
-
|
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
|
69
|
+
end
|
70
|
+
|
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
|
38
90
|
|
39
91
|
class AuBecsDebit < Stripe::StripeObject
|
40
92
|
# Six-digit number identifying bank and branch associated with this bank account.
|
@@ -43,6 +95,14 @@ module Stripe
|
|
43
95
|
attr_reader :fingerprint
|
44
96
|
# Last four digits of the bank account number.
|
45
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
|
46
106
|
end
|
47
107
|
|
48
108
|
class BacsDebit < Stripe::StripeObject
|
@@ -52,10 +112,35 @@ module Stripe
|
|
52
112
|
attr_reader :last4
|
53
113
|
# Sort code of the bank account. (e.g., `10-20-30`)
|
54
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
|
55
123
|
end
|
56
124
|
|
57
|
-
class Bancontact < Stripe::StripeObject
|
58
|
-
|
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
|
59
144
|
|
60
145
|
class BillingDetails < Stripe::StripeObject
|
61
146
|
class Address < Stripe::StripeObject
|
@@ -63,14 +148,22 @@ module Stripe
|
|
63
148
|
attr_reader :city
|
64
149
|
# Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)).
|
65
150
|
attr_reader :country
|
66
|
-
# Address line 1
|
151
|
+
# Address line 1, such as the street, PO Box, or company name.
|
67
152
|
attr_reader :line1
|
68
|
-
# Address line 2
|
153
|
+
# Address line 2, such as the apartment, suite, unit, or building.
|
69
154
|
attr_reader :line2
|
70
155
|
# ZIP or postal code.
|
71
156
|
attr_reader :postal_code
|
72
157
|
# State, county, province, or region.
|
73
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
|
74
167
|
end
|
75
168
|
# Billing address.
|
76
169
|
attr_reader :address
|
@@ -82,13 +175,37 @@ module Stripe
|
|
82
175
|
attr_reader :phone
|
83
176
|
# Taxpayer identification number. Used only for transactions between LATAM buyers and non-LATAM sellers.
|
84
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
|
85
186
|
end
|
86
187
|
|
87
|
-
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
|
88
197
|
|
89
198
|
class Boleto < Stripe::StripeObject
|
90
199
|
# Uniquely identifies the customer tax id (CNPJ or CPF)
|
91
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
|
92
209
|
end
|
93
210
|
|
94
211
|
class Card < Stripe::StripeObject
|
@@ -99,6 +216,14 @@ module Stripe
|
|
99
216
|
attr_reader :address_postal_code_check
|
100
217
|
# If a CVC was provided, results of the check, one of `pass`, `fail`, `unavailable`, or `unchecked`.
|
101
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
|
102
227
|
end
|
103
228
|
|
104
229
|
class GeneratedFrom < Stripe::StripeObject
|
@@ -109,6 +234,14 @@ module Stripe
|
|
109
234
|
attr_reader :stored_at
|
110
235
|
# The method used to process this payment method offline. Only deferred is allowed.
|
111
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
|
112
245
|
end
|
113
246
|
|
114
247
|
class Receipt < Stripe::StripeObject
|
@@ -130,11 +263,27 @@ module Stripe
|
|
130
263
|
attr_reader :terminal_verification_results
|
131
264
|
# An indication of which steps were completed during the card read process. Referenced from EMV Tag 9B.
|
132
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
|
133
274
|
end
|
134
275
|
|
135
276
|
class Wallet < Stripe::StripeObject
|
136
277
|
# The type of mobile wallet, one of `apple_pay`, `google_pay`, `samsung_pay`, or `unknown`.
|
137
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
|
138
287
|
end
|
139
288
|
# The authorized amount
|
140
289
|
attr_reader :amount_authorized
|
@@ -188,11 +337,27 @@ module Stripe
|
|
188
337
|
attr_reader :receipt
|
189
338
|
# Attribute for field wallet
|
190
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
|
191
348
|
end
|
192
349
|
# Attribute for field card_present
|
193
350
|
attr_reader :card_present
|
194
351
|
# The type of payment method transaction-specific details from the transaction that generated this `card` payment method. Always `card_present`.
|
195
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
|
196
361
|
end
|
197
362
|
# The charge that created this object.
|
198
363
|
attr_reader :charge
|
@@ -200,6 +365,14 @@ module Stripe
|
|
200
365
|
attr_reader :payment_method_details
|
201
366
|
# The ID of the SetupAttempt that generated this PaymentMethod, if any.
|
202
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
|
203
376
|
end
|
204
377
|
|
205
378
|
class Networks < Stripe::StripeObject
|
@@ -207,18 +380,69 @@ module Stripe
|
|
207
380
|
attr_reader :available
|
208
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.
|
209
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
|
210
391
|
end
|
211
392
|
|
212
393
|
class ThreeDSecureUsage < Stripe::StripeObject
|
213
394
|
# Whether 3D Secure is supported on this card.
|
214
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
|
215
404
|
end
|
216
405
|
|
217
406
|
class Wallet < Stripe::StripeObject
|
218
|
-
class AmexExpressCheckout < Stripe::StripeObject
|
219
|
-
|
220
|
-
|
221
|
-
|
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
|
222
446
|
|
223
447
|
class Masterpass < Stripe::StripeObject
|
224
448
|
class BillingAddress < Stripe::StripeObject
|
@@ -226,14 +450,22 @@ module Stripe
|
|
226
450
|
attr_reader :city
|
227
451
|
# Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)).
|
228
452
|
attr_reader :country
|
229
|
-
# Address line 1
|
453
|
+
# Address line 1, such as the street, PO Box, or company name.
|
230
454
|
attr_reader :line1
|
231
|
-
# Address line 2
|
455
|
+
# Address line 2, such as the apartment, suite, unit, or building.
|
232
456
|
attr_reader :line2
|
233
457
|
# ZIP or postal code.
|
234
458
|
attr_reader :postal_code
|
235
459
|
# State, county, province, or region.
|
236
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
|
237
469
|
end
|
238
470
|
|
239
471
|
class ShippingAddress < Stripe::StripeObject
|
@@ -241,14 +473,22 @@ module Stripe
|
|
241
473
|
attr_reader :city
|
242
474
|
# Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)).
|
243
475
|
attr_reader :country
|
244
|
-
# Address line 1
|
476
|
+
# Address line 1, such as the street, PO Box, or company name.
|
245
477
|
attr_reader :line1
|
246
|
-
# Address line 2
|
478
|
+
# Address line 2, such as the apartment, suite, unit, or building.
|
247
479
|
attr_reader :line2
|
248
480
|
# ZIP or postal code.
|
249
481
|
attr_reader :postal_code
|
250
482
|
# State, county, province, or region.
|
251
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
|
252
492
|
end
|
253
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.
|
254
494
|
attr_reader :billing_address
|
@@ -258,9 +498,28 @@ module Stripe
|
|
258
498
|
attr_reader :name
|
259
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.
|
260
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
|
261
512
|
end
|
262
513
|
|
263
|
-
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
|
264
523
|
|
265
524
|
class VisaCheckout < Stripe::StripeObject
|
266
525
|
class BillingAddress < Stripe::StripeObject
|
@@ -268,14 +527,22 @@ module Stripe
|
|
268
527
|
attr_reader :city
|
269
528
|
# Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)).
|
270
529
|
attr_reader :country
|
271
|
-
# Address line 1
|
530
|
+
# Address line 1, such as the street, PO Box, or company name.
|
272
531
|
attr_reader :line1
|
273
|
-
# Address line 2
|
532
|
+
# Address line 2, such as the apartment, suite, unit, or building.
|
274
533
|
attr_reader :line2
|
275
534
|
# ZIP or postal code.
|
276
535
|
attr_reader :postal_code
|
277
536
|
# State, county, province, or region.
|
278
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
|
279
546
|
end
|
280
547
|
|
281
548
|
class ShippingAddress < Stripe::StripeObject
|
@@ -283,14 +550,22 @@ module Stripe
|
|
283
550
|
attr_reader :city
|
284
551
|
# Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)).
|
285
552
|
attr_reader :country
|
286
|
-
# Address line 1
|
553
|
+
# Address line 1, such as the street, PO Box, or company name.
|
287
554
|
attr_reader :line1
|
288
|
-
# Address line 2
|
555
|
+
# Address line 2, such as the apartment, suite, unit, or building.
|
289
556
|
attr_reader :line2
|
290
557
|
# ZIP or postal code.
|
291
558
|
attr_reader :postal_code
|
292
559
|
# State, county, province, or region.
|
293
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
|
294
569
|
end
|
295
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.
|
296
571
|
attr_reader :billing_address
|
@@ -300,6 +575,17 @@ module Stripe
|
|
300
575
|
attr_reader :name
|
301
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.
|
302
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
|
303
589
|
end
|
304
590
|
# Attribute for field amex_express_checkout
|
305
591
|
attr_reader :amex_express_checkout
|
@@ -319,6 +605,22 @@ module Stripe
|
|
319
605
|
attr_reader :type
|
320
606
|
# Attribute for field visa_checkout
|
321
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
|
322
624
|
end
|
323
625
|
# Card brand. Can be `amex`, `cartes_bancaires`, `diners`, `discover`, `eftpos_au`, `jcb`, `link`, `mastercard`, `unionpay`, `visa` or `unknown`.
|
324
626
|
attr_reader :brand
|
@@ -356,6 +658,20 @@ module Stripe
|
|
356
658
|
attr_reader :three_d_secure_usage
|
357
659
|
# If this Card is part of a card wallet, this contains the details of the card wallet.
|
358
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
|
359
675
|
end
|
360
676
|
|
361
677
|
class CardPresent < Stripe::StripeObject
|
@@ -364,6 +680,14 @@ module Stripe
|
|
364
680
|
attr_reader :available
|
365
681
|
# The preferred network for the card.
|
366
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
|
367
691
|
end
|
368
692
|
|
369
693
|
class Offline < Stripe::StripeObject
|
@@ -371,11 +695,27 @@ module Stripe
|
|
371
695
|
attr_reader :stored_at
|
372
696
|
# The method used to process this payment method offline. Only deferred is allowed.
|
373
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
|
374
706
|
end
|
375
707
|
|
376
708
|
class Wallet < Stripe::StripeObject
|
377
709
|
# The type of mobile wallet, one of `apple_pay`, `google_pay`, `samsung_pay`, or `unknown`.
|
378
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
|
379
719
|
end
|
380
720
|
# Card brand. Can be `amex`, `cartes_bancaires`, `diners`, `discover`, `eftpos_au`, `jcb`, `link`, `mastercard`, `unionpay`, `visa` or `unknown`.
|
381
721
|
attr_reader :brand
|
@@ -413,6 +753,14 @@ module Stripe
|
|
413
753
|
attr_reader :read_method
|
414
754
|
# Attribute for field wallet
|
415
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
|
416
764
|
end
|
417
765
|
|
418
766
|
class Cashapp < Stripe::StripeObject
|
@@ -420,14 +768,47 @@ module Stripe
|
|
420
768
|
attr_reader :buyer_id
|
421
769
|
# A public identifier for buyers using Cash App.
|
422
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
|
423
779
|
end
|
424
780
|
|
425
|
-
class Crypto < Stripe::StripeObject
|
426
|
-
|
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
|
789
|
+
end
|
790
|
+
|
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
|
427
800
|
|
428
801
|
class Eps < Stripe::StripeObject
|
429
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`.
|
430
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
|
431
812
|
end
|
432
813
|
|
433
814
|
class Fpx < Stripe::StripeObject
|
@@ -435,16 +816,49 @@ module Stripe
|
|
435
816
|
attr_reader :account_holder_type
|
436
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`.
|
437
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
|
827
|
+
end
|
828
|
+
|
829
|
+
class Giropay < Stripe::StripeObject
|
830
|
+
def self.inner_class_types
|
831
|
+
@inner_class_types = {}
|
832
|
+
end
|
833
|
+
|
834
|
+
def self.field_remappings
|
835
|
+
@field_remappings = {}
|
836
|
+
end
|
438
837
|
end
|
439
838
|
|
440
|
-
class
|
441
|
-
|
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
|
847
|
+
end
|
442
848
|
|
443
849
|
class Ideal < Stripe::StripeObject
|
444
850
|
# The customer's bank, if provided. Can be one of `abn_amro`, `asn_bank`, `bunq`, `buut`, `handelsbanken`, `ing`, `knab`, `moneyou`, `n26`, `nn`, `rabobank`, `regiobank`, `revolut`, `sns_bank`, `triodos_bank`, `van_lanschot`, or `yoursafe`.
|
445
851
|
attr_reader :bank
|
446
852
|
# The Bank Identifier Code of the customer's bank, if the bank was provided.
|
447
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
|
448
862
|
end
|
449
863
|
|
450
864
|
class InteracPresent < Stripe::StripeObject
|
@@ -453,6 +867,14 @@ module Stripe
|
|
453
867
|
attr_reader :available
|
454
868
|
# The preferred network for the card.
|
455
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
|
456
878
|
end
|
457
879
|
# Card brand. Can be `interac`, `mastercard` or `visa`.
|
458
880
|
attr_reader :brand
|
@@ -484,9 +906,25 @@ module Stripe
|
|
484
906
|
attr_reader :preferred_locales
|
485
907
|
# How card details were read in this transaction.
|
486
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
|
487
917
|
end
|
488
918
|
|
489
|
-
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
|
490
928
|
|
491
929
|
class Klarna < Stripe::StripeObject
|
492
930
|
class Dob < Stripe::StripeObject
|
@@ -496,18 +934,50 @@ module Stripe
|
|
496
934
|
attr_reader :month
|
497
935
|
# The four-digit year of birth.
|
498
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
|
499
945
|
end
|
500
946
|
# The customer's date of birth, if provided.
|
501
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
|
502
956
|
end
|
503
957
|
|
504
|
-
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
|
505
967
|
|
506
968
|
class KrCard < Stripe::StripeObject
|
507
969
|
# The local credit or debit card brand.
|
508
970
|
attr_reader :brand
|
509
971
|
# The last four digits of the card. This may not be present for American Express cards.
|
510
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
|
511
981
|
end
|
512
982
|
|
513
983
|
class Link < Stripe::StripeObject
|
@@ -515,16 +985,59 @@ module Stripe
|
|
515
985
|
attr_reader :email
|
516
986
|
# [Deprecated] This is a legacy parameter that no longer has any function.
|
517
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
|
518
1016
|
end
|
519
1017
|
|
520
|
-
class
|
521
|
-
|
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
|
522
1027
|
|
523
1028
|
class NaverPay < Stripe::StripeObject
|
524
1029
|
# Uniquely identifies this particular Naver Pay account. You can use this attribute to check whether two Naver Pay accounts are the same.
|
525
1030
|
attr_reader :buyer_id
|
526
1031
|
# Whether to fund this transaction with Naver Pay points or a card.
|
527
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
|
528
1041
|
end
|
529
1042
|
|
530
1043
|
class NzBankAccount < Stripe::StripeObject
|
@@ -540,18 +1053,68 @@ module Stripe
|
|
540
1053
|
attr_reader :last4
|
541
1054
|
# The suffix of the bank account number.
|
542
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
|
543
1064
|
end
|
544
1065
|
|
545
|
-
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
|
546
1075
|
|
547
1076
|
class P24 < Stripe::StripeObject
|
548
1077
|
# The customer's bank, if provided.
|
549
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
|
550
1087
|
end
|
551
1088
|
|
552
|
-
class PayByBank < Stripe::StripeObject
|
553
|
-
|
554
|
-
|
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
|
1107
|
+
end
|
1108
|
+
|
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
|
555
1118
|
|
556
1119
|
class Paypal < Stripe::StripeObject
|
557
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.
|
@@ -561,19 +1124,78 @@ module Stripe
|
|
561
1124
|
attr_reader :payer_email
|
562
1125
|
# PayPal account PayerID. This identifier uniquely identifies the PayPal customer.
|
563
1126
|
attr_reader :payer_id
|
1127
|
+
|
1128
|
+
def self.inner_class_types
|
1129
|
+
@inner_class_types = {}
|
1130
|
+
end
|
1131
|
+
|
1132
|
+
def self.field_remappings
|
1133
|
+
@field_remappings = {}
|
1134
|
+
end
|
564
1135
|
end
|
565
1136
|
|
566
|
-
class Pix < Stripe::StripeObject
|
567
|
-
|
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
|
1145
|
+
end
|
1146
|
+
|
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
|
568
1156
|
|
569
1157
|
class RadarOptions < Stripe::StripeObject
|
570
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.
|
571
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
|
1168
|
+
end
|
1169
|
+
|
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 = {}
|
1177
|
+
end
|
1178
|
+
end
|
1179
|
+
|
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
|
572
1188
|
end
|
573
1189
|
|
574
|
-
class
|
575
|
-
|
576
|
-
|
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
|
577
1199
|
|
578
1200
|
class SepaDebit < Stripe::StripeObject
|
579
1201
|
class GeneratedFrom < Stripe::StripeObject
|
@@ -581,6 +1203,14 @@ module Stripe
|
|
581
1203
|
attr_reader :charge
|
582
1204
|
# The ID of the SetupAttempt that generated this PaymentMethod, if any.
|
583
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
|
584
1214
|
end
|
585
1215
|
# Bank code of bank associated with the bank account.
|
586
1216
|
attr_reader :bank_code
|
@@ -594,15 +1224,48 @@ module Stripe
|
|
594
1224
|
attr_reader :generated_from
|
595
1225
|
# Last four characters of the IBAN.
|
596
1226
|
attr_reader :last4
|
1227
|
+
|
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
|
597
1235
|
end
|
598
1236
|
|
599
1237
|
class Sofort < Stripe::StripeObject
|
600
1238
|
# Two-letter ISO code representing the country the bank account is located in.
|
601
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
|
602
1248
|
end
|
603
1249
|
|
604
|
-
class Swish < Stripe::StripeObject
|
605
|
-
|
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
|
1258
|
+
end
|
1259
|
+
|
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
|
606
1269
|
|
607
1270
|
class UsBankAccount < Stripe::StripeObject
|
608
1271
|
class Networks < Stripe::StripeObject
|
@@ -610,6 +1273,14 @@ module Stripe
|
|
610
1273
|
attr_reader :preferred
|
611
1274
|
# All supported networks.
|
612
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
|
613
1284
|
end
|
614
1285
|
|
615
1286
|
class StatusDetails < Stripe::StripeObject
|
@@ -618,9 +1289,25 @@ module Stripe
|
|
618
1289
|
attr_reader :network_code
|
619
1290
|
# The reason why this PaymentMethod's fingerprint has been blocked
|
620
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
|
621
1300
|
end
|
622
1301
|
# Attribute for field blocked
|
623
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
|
624
1311
|
end
|
625
1312
|
# Account holder type: individual or company.
|
626
1313
|
attr_reader :account_holder_type
|
@@ -640,761 +1327,33 @@ module Stripe
|
|
640
1327
|
attr_reader :routing_number
|
641
1328
|
# Contains information about the future reusability of this PaymentMethod.
|
642
1329
|
attr_reader :status_details
|
643
|
-
end
|
644
|
-
|
645
|
-
class WechatPay < Stripe::StripeObject; end
|
646
|
-
class Zip < Stripe::StripeObject; end
|
647
|
-
|
648
|
-
class ListParams < Stripe::RequestParams
|
649
|
-
# The ID of the customer whose PaymentMethods will be retrieved.
|
650
|
-
attr_accessor :customer
|
651
|
-
# 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.
|
652
|
-
attr_accessor :ending_before
|
653
|
-
# Specifies which fields in the response should be expanded.
|
654
|
-
attr_accessor :expand
|
655
|
-
# A limit on the number of objects to be returned. Limit can range between 1 and 100, and the default is 10.
|
656
|
-
attr_accessor :limit
|
657
|
-
# 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.
|
658
|
-
attr_accessor :starting_after
|
659
|
-
# 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.
|
660
|
-
attr_accessor :type
|
661
|
-
|
662
|
-
def initialize(
|
663
|
-
customer: nil,
|
664
|
-
ending_before: nil,
|
665
|
-
expand: nil,
|
666
|
-
limit: nil,
|
667
|
-
starting_after: nil,
|
668
|
-
type: nil
|
669
|
-
)
|
670
|
-
@customer = customer
|
671
|
-
@ending_before = ending_before
|
672
|
-
@expand = expand
|
673
|
-
@limit = limit
|
674
|
-
@starting_after = starting_after
|
675
|
-
@type = type
|
676
|
-
end
|
677
|
-
end
|
678
|
-
|
679
|
-
class CreateParams < Stripe::RequestParams
|
680
|
-
class AcssDebit < Stripe::RequestParams
|
681
|
-
# Customer's bank account number.
|
682
|
-
attr_accessor :account_number
|
683
|
-
# Institution number of the customer's bank.
|
684
|
-
attr_accessor :institution_number
|
685
|
-
# Transit number of the customer's bank.
|
686
|
-
attr_accessor :transit_number
|
687
|
-
|
688
|
-
def initialize(account_number: nil, institution_number: nil, transit_number: nil)
|
689
|
-
@account_number = account_number
|
690
|
-
@institution_number = institution_number
|
691
|
-
@transit_number = transit_number
|
692
|
-
end
|
693
|
-
end
|
694
|
-
|
695
|
-
class Affirm < Stripe::RequestParams; end
|
696
|
-
class AfterpayClearpay < Stripe::RequestParams; end
|
697
|
-
class Alipay < Stripe::RequestParams; end
|
698
|
-
class Alma < Stripe::RequestParams; end
|
699
|
-
class AmazonPay < Stripe::RequestParams; end
|
700
|
-
|
701
|
-
class AuBecsDebit < Stripe::RequestParams
|
702
|
-
# The account number for the bank account.
|
703
|
-
attr_accessor :account_number
|
704
|
-
# Bank-State-Branch number of the bank account.
|
705
|
-
attr_accessor :bsb_number
|
706
|
-
|
707
|
-
def initialize(account_number: nil, bsb_number: nil)
|
708
|
-
@account_number = account_number
|
709
|
-
@bsb_number = bsb_number
|
710
|
-
end
|
711
|
-
end
|
712
|
-
|
713
|
-
class BacsDebit < Stripe::RequestParams
|
714
|
-
# Account number of the bank account that the funds will be debited from.
|
715
|
-
attr_accessor :account_number
|
716
|
-
# Sort code of the bank account. (e.g., `10-20-30`)
|
717
|
-
attr_accessor :sort_code
|
718
|
-
|
719
|
-
def initialize(account_number: nil, sort_code: nil)
|
720
|
-
@account_number = account_number
|
721
|
-
@sort_code = sort_code
|
722
|
-
end
|
723
|
-
end
|
724
|
-
|
725
|
-
class Bancontact < Stripe::RequestParams; end
|
726
|
-
class Billie < Stripe::RequestParams; end
|
727
|
-
|
728
|
-
class BillingDetails < Stripe::RequestParams
|
729
|
-
class Address < Stripe::RequestParams
|
730
|
-
# City, district, suburb, town, or village.
|
731
|
-
attr_accessor :city
|
732
|
-
# Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)).
|
733
|
-
attr_accessor :country
|
734
|
-
# Address line 1 (e.g., street, PO Box, or company name).
|
735
|
-
attr_accessor :line1
|
736
|
-
# Address line 2 (e.g., apartment, suite, unit, or building).
|
737
|
-
attr_accessor :line2
|
738
|
-
# ZIP or postal code.
|
739
|
-
attr_accessor :postal_code
|
740
|
-
# State, county, province, or region.
|
741
|
-
attr_accessor :state
|
742
|
-
|
743
|
-
def initialize(
|
744
|
-
city: nil,
|
745
|
-
country: nil,
|
746
|
-
line1: nil,
|
747
|
-
line2: nil,
|
748
|
-
postal_code: nil,
|
749
|
-
state: nil
|
750
|
-
)
|
751
|
-
@city = city
|
752
|
-
@country = country
|
753
|
-
@line1 = line1
|
754
|
-
@line2 = line2
|
755
|
-
@postal_code = postal_code
|
756
|
-
@state = state
|
757
|
-
end
|
758
|
-
end
|
759
|
-
# Billing address.
|
760
|
-
attr_accessor :address
|
761
|
-
# Email address.
|
762
|
-
attr_accessor :email
|
763
|
-
# Full name.
|
764
|
-
attr_accessor :name
|
765
|
-
# Billing phone number (including extension).
|
766
|
-
attr_accessor :phone
|
767
|
-
# Taxpayer identification number. Used only for transactions between LATAM buyers and non-LATAM sellers.
|
768
|
-
attr_accessor :tax_id
|
769
|
-
|
770
|
-
def initialize(address: nil, email: nil, name: nil, phone: nil, tax_id: nil)
|
771
|
-
@address = address
|
772
|
-
@email = email
|
773
|
-
@name = name
|
774
|
-
@phone = phone
|
775
|
-
@tax_id = tax_id
|
776
|
-
end
|
777
|
-
end
|
778
|
-
|
779
|
-
class Blik < Stripe::RequestParams; end
|
780
|
-
|
781
|
-
class Boleto < Stripe::RequestParams
|
782
|
-
# The tax ID of the customer (CPF for individual consumers or CNPJ for businesses consumers)
|
783
|
-
attr_accessor :tax_id
|
784
|
-
|
785
|
-
def initialize(tax_id: nil)
|
786
|
-
@tax_id = tax_id
|
787
|
-
end
|
788
|
-
end
|
789
|
-
|
790
|
-
class Card < Stripe::RequestParams
|
791
|
-
class Networks < Stripe::RequestParams
|
792
|
-
# 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.
|
793
|
-
attr_accessor :preferred
|
794
|
-
|
795
|
-
def initialize(preferred: nil)
|
796
|
-
@preferred = preferred
|
797
|
-
end
|
798
|
-
end
|
799
|
-
# The card's CVC. It is highly recommended to always include this value.
|
800
|
-
attr_accessor :cvc
|
801
|
-
# Two-digit number representing the card's expiration month.
|
802
|
-
attr_accessor :exp_month
|
803
|
-
# Four-digit number representing the card's expiration year.
|
804
|
-
attr_accessor :exp_year
|
805
|
-
# Contains information about card networks used to process the payment.
|
806
|
-
attr_accessor :networks
|
807
|
-
# The card number, as a string without any separators.
|
808
|
-
attr_accessor :number
|
809
|
-
# 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"}.
|
810
|
-
attr_accessor :token
|
811
|
-
|
812
|
-
def initialize(
|
813
|
-
cvc: nil,
|
814
|
-
exp_month: nil,
|
815
|
-
exp_year: nil,
|
816
|
-
networks: nil,
|
817
|
-
number: nil,
|
818
|
-
token: nil
|
819
|
-
)
|
820
|
-
@cvc = cvc
|
821
|
-
@exp_month = exp_month
|
822
|
-
@exp_year = exp_year
|
823
|
-
@networks = networks
|
824
|
-
@number = number
|
825
|
-
@token = token
|
826
|
-
end
|
827
|
-
end
|
828
|
-
|
829
|
-
class Cashapp < Stripe::RequestParams; end
|
830
|
-
class Crypto < Stripe::RequestParams; end
|
831
|
-
class CustomerBalance < Stripe::RequestParams; end
|
832
|
-
|
833
|
-
class Eps < Stripe::RequestParams
|
834
|
-
# The customer's bank.
|
835
|
-
attr_accessor :bank
|
836
|
-
|
837
|
-
def initialize(bank: nil)
|
838
|
-
@bank = bank
|
839
|
-
end
|
840
|
-
end
|
841
|
-
|
842
|
-
class Fpx < Stripe::RequestParams
|
843
|
-
# Account holder type for FPX transaction
|
844
|
-
attr_accessor :account_holder_type
|
845
|
-
# The customer's bank.
|
846
|
-
attr_accessor :bank
|
847
|
-
|
848
|
-
def initialize(account_holder_type: nil, bank: nil)
|
849
|
-
@account_holder_type = account_holder_type
|
850
|
-
@bank = bank
|
851
|
-
end
|
852
|
-
end
|
853
|
-
|
854
|
-
class Giropay < Stripe::RequestParams; end
|
855
|
-
class Grabpay < Stripe::RequestParams; end
|
856
|
-
|
857
|
-
class Ideal < Stripe::RequestParams
|
858
|
-
# The customer's bank. Only use this parameter for existing customers. Don't use it for new customers.
|
859
|
-
attr_accessor :bank
|
860
|
-
|
861
|
-
def initialize(bank: nil)
|
862
|
-
@bank = bank
|
863
|
-
end
|
864
|
-
end
|
865
|
-
|
866
|
-
class InteracPresent < Stripe::RequestParams; end
|
867
|
-
class KakaoPay < Stripe::RequestParams; end
|
868
|
-
|
869
|
-
class Klarna < Stripe::RequestParams
|
870
|
-
class Dob < Stripe::RequestParams
|
871
|
-
# The day of birth, between 1 and 31.
|
872
|
-
attr_accessor :day
|
873
|
-
# The month of birth, between 1 and 12.
|
874
|
-
attr_accessor :month
|
875
|
-
# The four-digit year of birth.
|
876
|
-
attr_accessor :year
|
877
|
-
|
878
|
-
def initialize(day: nil, month: nil, year: nil)
|
879
|
-
@day = day
|
880
|
-
@month = month
|
881
|
-
@year = year
|
882
|
-
end
|
883
|
-
end
|
884
|
-
# Customer's date of birth
|
885
|
-
attr_accessor :dob
|
886
|
-
|
887
|
-
def initialize(dob: nil)
|
888
|
-
@dob = dob
|
889
|
-
end
|
890
|
-
end
|
891
|
-
|
892
|
-
class Konbini < Stripe::RequestParams; end
|
893
|
-
class KrCard < Stripe::RequestParams; end
|
894
|
-
class Link < Stripe::RequestParams; end
|
895
|
-
class Mobilepay < Stripe::RequestParams; end
|
896
|
-
class Multibanco < Stripe::RequestParams; end
|
897
|
-
|
898
|
-
class NaverPay < Stripe::RequestParams
|
899
|
-
# Whether to use Naver Pay points or a card to fund this transaction. If not provided, this defaults to `card`.
|
900
|
-
attr_accessor :funding
|
901
|
-
|
902
|
-
def initialize(funding: nil)
|
903
|
-
@funding = funding
|
904
|
-
end
|
905
|
-
end
|
906
|
-
|
907
|
-
class NzBankAccount < Stripe::RequestParams
|
908
|
-
# 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.
|
909
|
-
attr_accessor :account_holder_name
|
910
|
-
# The account number for the bank account.
|
911
|
-
attr_accessor :account_number
|
912
|
-
# The numeric code for the bank account's bank.
|
913
|
-
attr_accessor :bank_code
|
914
|
-
# The numeric code for the bank account's bank branch.
|
915
|
-
attr_accessor :branch_code
|
916
|
-
# Attribute for param field reference
|
917
|
-
attr_accessor :reference
|
918
|
-
# The suffix of the bank account number.
|
919
|
-
attr_accessor :suffix
|
920
|
-
|
921
|
-
def initialize(
|
922
|
-
account_holder_name: nil,
|
923
|
-
account_number: nil,
|
924
|
-
bank_code: nil,
|
925
|
-
branch_code: nil,
|
926
|
-
reference: nil,
|
927
|
-
suffix: nil
|
928
|
-
)
|
929
|
-
@account_holder_name = account_holder_name
|
930
|
-
@account_number = account_number
|
931
|
-
@bank_code = bank_code
|
932
|
-
@branch_code = branch_code
|
933
|
-
@reference = reference
|
934
|
-
@suffix = suffix
|
935
|
-
end
|
936
|
-
end
|
937
|
-
|
938
|
-
class Oxxo < Stripe::RequestParams; end
|
939
1330
|
|
940
|
-
|
941
|
-
|
942
|
-
attr_accessor :bank
|
943
|
-
|
944
|
-
def initialize(bank: nil)
|
945
|
-
@bank = bank
|
946
|
-
end
|
947
|
-
end
|
948
|
-
|
949
|
-
class PayByBank < Stripe::RequestParams; end
|
950
|
-
class Payco < Stripe::RequestParams; end
|
951
|
-
class Paynow < Stripe::RequestParams; end
|
952
|
-
class Paypal < Stripe::RequestParams; end
|
953
|
-
class Pix < Stripe::RequestParams; end
|
954
|
-
class Promptpay < Stripe::RequestParams; end
|
955
|
-
|
956
|
-
class RadarOptions < Stripe::RequestParams
|
957
|
-
# 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.
|
958
|
-
attr_accessor :session
|
959
|
-
|
960
|
-
def initialize(session: nil)
|
961
|
-
@session = session
|
962
|
-
end
|
1331
|
+
def self.inner_class_types
|
1332
|
+
@inner_class_types = { networks: Networks, status_details: StatusDetails }
|
963
1333
|
end
|
964
1334
|
|
965
|
-
|
966
|
-
|
967
|
-
class Satispay < Stripe::RequestParams; end
|
968
|
-
|
969
|
-
class SepaDebit < Stripe::RequestParams
|
970
|
-
# IBAN of the bank account.
|
971
|
-
attr_accessor :iban
|
972
|
-
|
973
|
-
def initialize(iban: nil)
|
974
|
-
@iban = iban
|
975
|
-
end
|
976
|
-
end
|
977
|
-
|
978
|
-
class Sofort < Stripe::RequestParams
|
979
|
-
# Two-letter ISO code representing the country the bank account is located in.
|
980
|
-
attr_accessor :country
|
981
|
-
|
982
|
-
def initialize(country: nil)
|
983
|
-
@country = country
|
984
|
-
end
|
985
|
-
end
|
986
|
-
|
987
|
-
class Swish < Stripe::RequestParams; end
|
988
|
-
class Twint < Stripe::RequestParams; end
|
989
|
-
|
990
|
-
class UsBankAccount < Stripe::RequestParams
|
991
|
-
# Account holder type: individual or company.
|
992
|
-
attr_accessor :account_holder_type
|
993
|
-
# Account number of the bank account.
|
994
|
-
attr_accessor :account_number
|
995
|
-
# Account type: checkings or savings. Defaults to checking if omitted.
|
996
|
-
attr_accessor :account_type
|
997
|
-
# The ID of a Financial Connections Account to use as a payment method.
|
998
|
-
attr_accessor :financial_connections_account
|
999
|
-
# Routing number of the bank account.
|
1000
|
-
attr_accessor :routing_number
|
1001
|
-
|
1002
|
-
def initialize(
|
1003
|
-
account_holder_type: nil,
|
1004
|
-
account_number: nil,
|
1005
|
-
account_type: nil,
|
1006
|
-
financial_connections_account: nil,
|
1007
|
-
routing_number: nil
|
1008
|
-
)
|
1009
|
-
@account_holder_type = account_holder_type
|
1010
|
-
@account_number = account_number
|
1011
|
-
@account_type = account_type
|
1012
|
-
@financial_connections_account = financial_connections_account
|
1013
|
-
@routing_number = routing_number
|
1014
|
-
end
|
1015
|
-
end
|
1016
|
-
|
1017
|
-
class WechatPay < Stripe::RequestParams; end
|
1018
|
-
class Zip < Stripe::RequestParams; end
|
1019
|
-
# If this is an `acss_debit` PaymentMethod, this hash contains details about the ACSS Debit payment method.
|
1020
|
-
attr_accessor :acss_debit
|
1021
|
-
# If this is an `affirm` PaymentMethod, this hash contains details about the Affirm payment method.
|
1022
|
-
attr_accessor :affirm
|
1023
|
-
# If this is an `AfterpayClearpay` PaymentMethod, this hash contains details about the AfterpayClearpay payment method.
|
1024
|
-
attr_accessor :afterpay_clearpay
|
1025
|
-
# If this is an `Alipay` PaymentMethod, this hash contains details about the Alipay payment method.
|
1026
|
-
attr_accessor :alipay
|
1027
|
-
# 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`.
|
1028
|
-
attr_accessor :allow_redisplay
|
1029
|
-
# If this is a Alma PaymentMethod, this hash contains details about the Alma payment method.
|
1030
|
-
attr_accessor :alma
|
1031
|
-
# If this is a AmazonPay PaymentMethod, this hash contains details about the AmazonPay payment method.
|
1032
|
-
attr_accessor :amazon_pay
|
1033
|
-
# If this is an `au_becs_debit` PaymentMethod, this hash contains details about the bank account.
|
1034
|
-
attr_accessor :au_becs_debit
|
1035
|
-
# If this is a `bacs_debit` PaymentMethod, this hash contains details about the Bacs Direct Debit bank account.
|
1036
|
-
attr_accessor :bacs_debit
|
1037
|
-
# If this is a `bancontact` PaymentMethod, this hash contains details about the Bancontact payment method.
|
1038
|
-
attr_accessor :bancontact
|
1039
|
-
# If this is a `billie` PaymentMethod, this hash contains details about the Billie payment method.
|
1040
|
-
attr_accessor :billie
|
1041
|
-
# Billing information associated with the PaymentMethod that may be used or required by particular types of payment methods.
|
1042
|
-
attr_accessor :billing_details
|
1043
|
-
# If this is a `blik` PaymentMethod, this hash contains details about the BLIK payment method.
|
1044
|
-
attr_accessor :blik
|
1045
|
-
# If this is a `boleto` PaymentMethod, this hash contains details about the Boleto payment method.
|
1046
|
-
attr_accessor :boleto
|
1047
|
-
# 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.
|
1048
|
-
attr_accessor :card
|
1049
|
-
# If this is a `cashapp` PaymentMethod, this hash contains details about the Cash App Pay payment method.
|
1050
|
-
attr_accessor :cashapp
|
1051
|
-
# If this is a Crypto PaymentMethod, this hash contains details about the Crypto payment method.
|
1052
|
-
attr_accessor :crypto
|
1053
|
-
# The `Customer` to whom the original PaymentMethod is attached.
|
1054
|
-
attr_accessor :customer
|
1055
|
-
# If this is a `customer_balance` PaymentMethod, this hash contains details about the CustomerBalance payment method.
|
1056
|
-
attr_accessor :customer_balance
|
1057
|
-
# If this is an `eps` PaymentMethod, this hash contains details about the EPS payment method.
|
1058
|
-
attr_accessor :eps
|
1059
|
-
# Specifies which fields in the response should be expanded.
|
1060
|
-
attr_accessor :expand
|
1061
|
-
# If this is an `fpx` PaymentMethod, this hash contains details about the FPX payment method.
|
1062
|
-
attr_accessor :fpx
|
1063
|
-
# If this is a `giropay` PaymentMethod, this hash contains details about the Giropay payment method.
|
1064
|
-
attr_accessor :giropay
|
1065
|
-
# If this is a `grabpay` PaymentMethod, this hash contains details about the GrabPay payment method.
|
1066
|
-
attr_accessor :grabpay
|
1067
|
-
# If this is an `ideal` PaymentMethod, this hash contains details about the iDEAL payment method.
|
1068
|
-
attr_accessor :ideal
|
1069
|
-
# If this is an `interac_present` PaymentMethod, this hash contains details about the Interac Present payment method.
|
1070
|
-
attr_accessor :interac_present
|
1071
|
-
# If this is a `kakao_pay` PaymentMethod, this hash contains details about the Kakao Pay payment method.
|
1072
|
-
attr_accessor :kakao_pay
|
1073
|
-
# If this is a `klarna` PaymentMethod, this hash contains details about the Klarna payment method.
|
1074
|
-
attr_accessor :klarna
|
1075
|
-
# If this is a `konbini` PaymentMethod, this hash contains details about the Konbini payment method.
|
1076
|
-
attr_accessor :konbini
|
1077
|
-
# If this is a `kr_card` PaymentMethod, this hash contains details about the Korean Card payment method.
|
1078
|
-
attr_accessor :kr_card
|
1079
|
-
# If this is an `Link` PaymentMethod, this hash contains details about the Link payment method.
|
1080
|
-
attr_accessor :link
|
1081
|
-
# 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`.
|
1082
|
-
attr_accessor :metadata
|
1083
|
-
# If this is a `mobilepay` PaymentMethod, this hash contains details about the MobilePay payment method.
|
1084
|
-
attr_accessor :mobilepay
|
1085
|
-
# If this is a `multibanco` PaymentMethod, this hash contains details about the Multibanco payment method.
|
1086
|
-
attr_accessor :multibanco
|
1087
|
-
# If this is a `naver_pay` PaymentMethod, this hash contains details about the Naver Pay payment method.
|
1088
|
-
attr_accessor :naver_pay
|
1089
|
-
# If this is an nz_bank_account PaymentMethod, this hash contains details about the nz_bank_account payment method.
|
1090
|
-
attr_accessor :nz_bank_account
|
1091
|
-
# If this is an `oxxo` PaymentMethod, this hash contains details about the OXXO payment method.
|
1092
|
-
attr_accessor :oxxo
|
1093
|
-
# If this is a `p24` PaymentMethod, this hash contains details about the P24 payment method.
|
1094
|
-
attr_accessor :p24
|
1095
|
-
# If this is a `pay_by_bank` PaymentMethod, this hash contains details about the PayByBank payment method.
|
1096
|
-
attr_accessor :pay_by_bank
|
1097
|
-
# If this is a `payco` PaymentMethod, this hash contains details about the PAYCO payment method.
|
1098
|
-
attr_accessor :payco
|
1099
|
-
# The PaymentMethod to share.
|
1100
|
-
attr_accessor :payment_method
|
1101
|
-
# If this is a `paynow` PaymentMethod, this hash contains details about the PayNow payment method.
|
1102
|
-
attr_accessor :paynow
|
1103
|
-
# If this is a `paypal` PaymentMethod, this hash contains details about the PayPal payment method.
|
1104
|
-
attr_accessor :paypal
|
1105
|
-
# If this is a `pix` PaymentMethod, this hash contains details about the Pix payment method.
|
1106
|
-
attr_accessor :pix
|
1107
|
-
# If this is a `promptpay` PaymentMethod, this hash contains details about the PromptPay payment method.
|
1108
|
-
attr_accessor :promptpay
|
1109
|
-
# Options to configure Radar. See [Radar Session](https://stripe.com/docs/radar/radar-session) for more information.
|
1110
|
-
attr_accessor :radar_options
|
1111
|
-
# If this is a `revolut_pay` PaymentMethod, this hash contains details about the Revolut Pay payment method.
|
1112
|
-
attr_accessor :revolut_pay
|
1113
|
-
# If this is a `samsung_pay` PaymentMethod, this hash contains details about the SamsungPay payment method.
|
1114
|
-
attr_accessor :samsung_pay
|
1115
|
-
# If this is a `satispay` PaymentMethod, this hash contains details about the Satispay payment method.
|
1116
|
-
attr_accessor :satispay
|
1117
|
-
# If this is a `sepa_debit` PaymentMethod, this hash contains details about the SEPA debit bank account.
|
1118
|
-
attr_accessor :sepa_debit
|
1119
|
-
# If this is a `sofort` PaymentMethod, this hash contains details about the SOFORT payment method.
|
1120
|
-
attr_accessor :sofort
|
1121
|
-
# If this is a `swish` PaymentMethod, this hash contains details about the Swish payment method.
|
1122
|
-
attr_accessor :swish
|
1123
|
-
# If this is a TWINT PaymentMethod, this hash contains details about the TWINT payment method.
|
1124
|
-
attr_accessor :twint
|
1125
|
-
# 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.
|
1126
|
-
attr_accessor :type
|
1127
|
-
# If this is an `us_bank_account` PaymentMethod, this hash contains details about the US bank account payment method.
|
1128
|
-
attr_accessor :us_bank_account
|
1129
|
-
# If this is an `wechat_pay` PaymentMethod, this hash contains details about the wechat_pay payment method.
|
1130
|
-
attr_accessor :wechat_pay
|
1131
|
-
# If this is a `zip` PaymentMethod, this hash contains details about the Zip payment method.
|
1132
|
-
attr_accessor :zip
|
1133
|
-
|
1134
|
-
def initialize(
|
1135
|
-
acss_debit: nil,
|
1136
|
-
affirm: nil,
|
1137
|
-
afterpay_clearpay: nil,
|
1138
|
-
alipay: nil,
|
1139
|
-
allow_redisplay: nil,
|
1140
|
-
alma: nil,
|
1141
|
-
amazon_pay: nil,
|
1142
|
-
au_becs_debit: nil,
|
1143
|
-
bacs_debit: nil,
|
1144
|
-
bancontact: nil,
|
1145
|
-
billie: nil,
|
1146
|
-
billing_details: nil,
|
1147
|
-
blik: nil,
|
1148
|
-
boleto: nil,
|
1149
|
-
card: nil,
|
1150
|
-
cashapp: nil,
|
1151
|
-
crypto: nil,
|
1152
|
-
customer: nil,
|
1153
|
-
customer_balance: nil,
|
1154
|
-
eps: nil,
|
1155
|
-
expand: nil,
|
1156
|
-
fpx: nil,
|
1157
|
-
giropay: nil,
|
1158
|
-
grabpay: nil,
|
1159
|
-
ideal: nil,
|
1160
|
-
interac_present: nil,
|
1161
|
-
kakao_pay: nil,
|
1162
|
-
klarna: nil,
|
1163
|
-
konbini: nil,
|
1164
|
-
kr_card: nil,
|
1165
|
-
link: nil,
|
1166
|
-
metadata: nil,
|
1167
|
-
mobilepay: nil,
|
1168
|
-
multibanco: nil,
|
1169
|
-
naver_pay: nil,
|
1170
|
-
nz_bank_account: nil,
|
1171
|
-
oxxo: nil,
|
1172
|
-
p24: nil,
|
1173
|
-
pay_by_bank: nil,
|
1174
|
-
payco: nil,
|
1175
|
-
payment_method: nil,
|
1176
|
-
paynow: nil,
|
1177
|
-
paypal: nil,
|
1178
|
-
pix: nil,
|
1179
|
-
promptpay: nil,
|
1180
|
-
radar_options: nil,
|
1181
|
-
revolut_pay: nil,
|
1182
|
-
samsung_pay: nil,
|
1183
|
-
satispay: nil,
|
1184
|
-
sepa_debit: nil,
|
1185
|
-
sofort: nil,
|
1186
|
-
swish: nil,
|
1187
|
-
twint: nil,
|
1188
|
-
type: nil,
|
1189
|
-
us_bank_account: nil,
|
1190
|
-
wechat_pay: nil,
|
1191
|
-
zip: nil
|
1192
|
-
)
|
1193
|
-
@acss_debit = acss_debit
|
1194
|
-
@affirm = affirm
|
1195
|
-
@afterpay_clearpay = afterpay_clearpay
|
1196
|
-
@alipay = alipay
|
1197
|
-
@allow_redisplay = allow_redisplay
|
1198
|
-
@alma = alma
|
1199
|
-
@amazon_pay = amazon_pay
|
1200
|
-
@au_becs_debit = au_becs_debit
|
1201
|
-
@bacs_debit = bacs_debit
|
1202
|
-
@bancontact = bancontact
|
1203
|
-
@billie = billie
|
1204
|
-
@billing_details = billing_details
|
1205
|
-
@blik = blik
|
1206
|
-
@boleto = boleto
|
1207
|
-
@card = card
|
1208
|
-
@cashapp = cashapp
|
1209
|
-
@crypto = crypto
|
1210
|
-
@customer = customer
|
1211
|
-
@customer_balance = customer_balance
|
1212
|
-
@eps = eps
|
1213
|
-
@expand = expand
|
1214
|
-
@fpx = fpx
|
1215
|
-
@giropay = giropay
|
1216
|
-
@grabpay = grabpay
|
1217
|
-
@ideal = ideal
|
1218
|
-
@interac_present = interac_present
|
1219
|
-
@kakao_pay = kakao_pay
|
1220
|
-
@klarna = klarna
|
1221
|
-
@konbini = konbini
|
1222
|
-
@kr_card = kr_card
|
1223
|
-
@link = link
|
1224
|
-
@metadata = metadata
|
1225
|
-
@mobilepay = mobilepay
|
1226
|
-
@multibanco = multibanco
|
1227
|
-
@naver_pay = naver_pay
|
1228
|
-
@nz_bank_account = nz_bank_account
|
1229
|
-
@oxxo = oxxo
|
1230
|
-
@p24 = p24
|
1231
|
-
@pay_by_bank = pay_by_bank
|
1232
|
-
@payco = payco
|
1233
|
-
@payment_method = payment_method
|
1234
|
-
@paynow = paynow
|
1235
|
-
@paypal = paypal
|
1236
|
-
@pix = pix
|
1237
|
-
@promptpay = promptpay
|
1238
|
-
@radar_options = radar_options
|
1239
|
-
@revolut_pay = revolut_pay
|
1240
|
-
@samsung_pay = samsung_pay
|
1241
|
-
@satispay = satispay
|
1242
|
-
@sepa_debit = sepa_debit
|
1243
|
-
@sofort = sofort
|
1244
|
-
@swish = swish
|
1245
|
-
@twint = twint
|
1246
|
-
@type = type
|
1247
|
-
@us_bank_account = us_bank_account
|
1248
|
-
@wechat_pay = wechat_pay
|
1249
|
-
@zip = zip
|
1335
|
+
def self.field_remappings
|
1336
|
+
@field_remappings = {}
|
1250
1337
|
end
|
1251
1338
|
end
|
1252
1339
|
|
1253
|
-
class
|
1254
|
-
|
1255
|
-
|
1256
|
-
# City, district, suburb, town, or village.
|
1257
|
-
attr_accessor :city
|
1258
|
-
# Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)).
|
1259
|
-
attr_accessor :country
|
1260
|
-
# Address line 1 (e.g., street, PO Box, or company name).
|
1261
|
-
attr_accessor :line1
|
1262
|
-
# Address line 2 (e.g., apartment, suite, unit, or building).
|
1263
|
-
attr_accessor :line2
|
1264
|
-
# ZIP or postal code.
|
1265
|
-
attr_accessor :postal_code
|
1266
|
-
# State, county, province, or region.
|
1267
|
-
attr_accessor :state
|
1268
|
-
|
1269
|
-
def initialize(
|
1270
|
-
city: nil,
|
1271
|
-
country: nil,
|
1272
|
-
line1: nil,
|
1273
|
-
line2: nil,
|
1274
|
-
postal_code: nil,
|
1275
|
-
state: nil
|
1276
|
-
)
|
1277
|
-
@city = city
|
1278
|
-
@country = country
|
1279
|
-
@line1 = line1
|
1280
|
-
@line2 = line2
|
1281
|
-
@postal_code = postal_code
|
1282
|
-
@state = state
|
1283
|
-
end
|
1284
|
-
end
|
1285
|
-
# Billing address.
|
1286
|
-
attr_accessor :address
|
1287
|
-
# Email address.
|
1288
|
-
attr_accessor :email
|
1289
|
-
# Full name.
|
1290
|
-
attr_accessor :name
|
1291
|
-
# Billing phone number (including extension).
|
1292
|
-
attr_accessor :phone
|
1293
|
-
# Taxpayer identification number. Used only for transactions between LATAM buyers and non-LATAM sellers.
|
1294
|
-
attr_accessor :tax_id
|
1295
|
-
|
1296
|
-
def initialize(address: nil, email: nil, name: nil, phone: nil, tax_id: nil)
|
1297
|
-
@address = address
|
1298
|
-
@email = email
|
1299
|
-
@name = name
|
1300
|
-
@phone = phone
|
1301
|
-
@tax_id = tax_id
|
1302
|
-
end
|
1340
|
+
class WechatPay < Stripe::StripeObject
|
1341
|
+
def self.inner_class_types
|
1342
|
+
@inner_class_types = {}
|
1303
1343
|
end
|
1304
1344
|
|
1305
|
-
|
1306
|
-
|
1307
|
-
# 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.
|
1308
|
-
attr_accessor :preferred
|
1309
|
-
|
1310
|
-
def initialize(preferred: nil)
|
1311
|
-
@preferred = preferred
|
1312
|
-
end
|
1313
|
-
end
|
1314
|
-
# Two-digit number representing the card's expiration month.
|
1315
|
-
attr_accessor :exp_month
|
1316
|
-
# Four-digit number representing the card's expiration year.
|
1317
|
-
attr_accessor :exp_year
|
1318
|
-
# Contains information about card networks used to process the payment.
|
1319
|
-
attr_accessor :networks
|
1320
|
-
|
1321
|
-
def initialize(exp_month: nil, exp_year: nil, networks: nil)
|
1322
|
-
@exp_month = exp_month
|
1323
|
-
@exp_year = exp_year
|
1324
|
-
@networks = networks
|
1325
|
-
end
|
1326
|
-
end
|
1327
|
-
|
1328
|
-
class Link < Stripe::RequestParams; end
|
1329
|
-
class PayByBank < Stripe::RequestParams; end
|
1330
|
-
|
1331
|
-
class UsBankAccount < Stripe::RequestParams
|
1332
|
-
# Bank account holder type.
|
1333
|
-
attr_accessor :account_holder_type
|
1334
|
-
# Bank account type.
|
1335
|
-
attr_accessor :account_type
|
1336
|
-
|
1337
|
-
def initialize(account_holder_type: nil, account_type: nil)
|
1338
|
-
@account_holder_type = account_holder_type
|
1339
|
-
@account_type = account_type
|
1340
|
-
end
|
1341
|
-
end
|
1342
|
-
# 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`.
|
1343
|
-
attr_accessor :allow_redisplay
|
1344
|
-
# Billing information associated with the PaymentMethod that may be used or required by particular types of payment methods.
|
1345
|
-
attr_accessor :billing_details
|
1346
|
-
# If this is a `card` PaymentMethod, this hash contains the user's card details.
|
1347
|
-
attr_accessor :card
|
1348
|
-
# Specifies which fields in the response should be expanded.
|
1349
|
-
attr_accessor :expand
|
1350
|
-
# If this is an `Link` PaymentMethod, this hash contains details about the Link payment method.
|
1351
|
-
attr_accessor :link
|
1352
|
-
# 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`.
|
1353
|
-
attr_accessor :metadata
|
1354
|
-
# If this is a `pay_by_bank` PaymentMethod, this hash contains details about the PayByBank payment method.
|
1355
|
-
attr_accessor :pay_by_bank
|
1356
|
-
# If this is an `us_bank_account` PaymentMethod, this hash contains details about the US bank account payment method.
|
1357
|
-
attr_accessor :us_bank_account
|
1358
|
-
|
1359
|
-
def initialize(
|
1360
|
-
allow_redisplay: nil,
|
1361
|
-
billing_details: nil,
|
1362
|
-
card: nil,
|
1363
|
-
expand: nil,
|
1364
|
-
link: nil,
|
1365
|
-
metadata: nil,
|
1366
|
-
pay_by_bank: nil,
|
1367
|
-
us_bank_account: nil
|
1368
|
-
)
|
1369
|
-
@allow_redisplay = allow_redisplay
|
1370
|
-
@billing_details = billing_details
|
1371
|
-
@card = card
|
1372
|
-
@expand = expand
|
1373
|
-
@link = link
|
1374
|
-
@metadata = metadata
|
1375
|
-
@pay_by_bank = pay_by_bank
|
1376
|
-
@us_bank_account = us_bank_account
|
1345
|
+
def self.field_remappings
|
1346
|
+
@field_remappings = {}
|
1377
1347
|
end
|
1378
1348
|
end
|
1379
1349
|
|
1380
|
-
class
|
1381
|
-
|
1382
|
-
|
1383
|
-
# Specifies which fields in the response should be expanded.
|
1384
|
-
attr_accessor :expand
|
1385
|
-
|
1386
|
-
def initialize(customer: nil, expand: nil)
|
1387
|
-
@customer = customer
|
1388
|
-
@expand = expand
|
1350
|
+
class Zip < Stripe::StripeObject
|
1351
|
+
def self.inner_class_types
|
1352
|
+
@inner_class_types = {}
|
1389
1353
|
end
|
1390
|
-
end
|
1391
|
-
|
1392
|
-
class DetachParams < Stripe::RequestParams
|
1393
|
-
# Specifies which fields in the response should be expanded.
|
1394
|
-
attr_accessor :expand
|
1395
1354
|
|
1396
|
-
def
|
1397
|
-
@
|
1355
|
+
def self.field_remappings
|
1356
|
+
@field_remappings = {}
|
1398
1357
|
end
|
1399
1358
|
end
|
1400
1359
|
# Attribute for field acss_debit
|
@@ -1465,6 +1424,8 @@ module Stripe
|
|
1465
1424
|
attr_reader :link
|
1466
1425
|
# Has the value `true` if the object exists in live mode or the value `false` if the object exists in test mode.
|
1467
1426
|
attr_reader :livemode
|
1427
|
+
# Attribute for field mb_way
|
1428
|
+
attr_reader :mb_way
|
1468
1429
|
# 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.
|
1469
1430
|
attr_reader :metadata
|
1470
1431
|
# Attribute for field mobilepay
|
@@ -1603,5 +1564,67 @@ module Stripe
|
|
1603
1564
|
opts: opts
|
1604
1565
|
)
|
1605
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
|
1606
1629
|
end
|
1607
1630
|
end
|