stripe 13.4.1 → 17.0.1
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_operations/nested_resource.rb +35 -35
- data/lib/stripe/api_operations/request.rb +1 -0
- data/lib/stripe/api_operations/save.rb +2 -1
- data/lib/stripe/api_operations/singleton_save.rb +2 -1
- data/lib/stripe/api_requestor.rb +12 -4
- data/lib/stripe/api_resource.rb +13 -3
- data/lib/stripe/api_version.rb +2 -1
- data/lib/stripe/connection_manager.rb +1 -3
- data/lib/stripe/errors.rb +0 -7
- data/lib/stripe/event_types.rb +20 -5
- 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 +44 -0
- data/lib/stripe/oauth.rb +1 -1
- data/lib/stripe/object_types.rb +11 -4
- 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 +16 -6
- data/lib/stripe/request_params.rb +24 -0
- data/lib/stripe/resources/account.rb +1007 -20
- data/lib/stripe/resources/account_link.rb +17 -0
- data/lib/stripe/resources/account_session.rb +658 -0
- data/lib/stripe/resources/apple_pay_domain.rb +21 -0
- data/lib/stripe/resources/application.rb +28 -0
- data/lib/stripe/resources/application_fee.rb +55 -0
- data/lib/stripe/resources/application_fee_refund.rb +25 -0
- data/lib/stripe/resources/apps/secret.rb +41 -0
- data/lib/stripe/resources/balance.rb +325 -7
- data/lib/stripe/resources/balance_settings.rb +92 -0
- data/lib/stripe/resources/balance_transaction.rb +61 -0
- data/lib/stripe/resources/bank_account.rb +126 -4
- data/lib/stripe/resources/billing/alert.rb +55 -0
- data/lib/stripe/resources/billing/alert_triggered.rb +34 -0
- data/lib/stripe/resources/billing/credit_balance_summary.rb +88 -0
- data/lib/stripe/resources/billing/credit_balance_transaction.rb +151 -0
- data/lib/stripe/resources/billing/credit_grant.rb +108 -0
- data/lib/stripe/resources/billing/meter.rb +93 -0
- data/lib/stripe/resources/billing/meter_event.rb +23 -0
- data/lib/stripe/resources/billing/meter_event_adjustment.rb +33 -0
- data/lib/stripe/resources/billing/meter_event_summary.rb +25 -0
- data/lib/stripe/resources/billing_portal/configuration.rb +254 -0
- data/lib/stripe/resources/billing_portal/session.rb +200 -1
- data/lib/stripe/resources/capability.rb +140 -0
- data/lib/stripe/resources/card.rb +93 -0
- data/lib/stripe/resources/cash_balance.rb +33 -0
- data/lib/stripe/resources/charge.rb +2221 -7
- data/lib/stripe/resources/checkout/session.rb +2206 -6
- data/lib/stripe/resources/climate/order.rb +106 -0
- data/lib/stripe/resources/climate/product.rb +45 -0
- data/lib/stripe/resources/climate/supplier.rb +43 -0
- data/lib/stripe/resources/confirmation_token.rb +1679 -0
- data/lib/stripe/resources/connect_collection_transfer.rb +32 -0
- data/lib/stripe/resources/country_spec.rb +69 -1
- data/lib/stripe/resources/coupon.rb +70 -0
- data/lib/stripe/resources/credit_note.rb +213 -9
- data/lib/stripe/resources/credit_note_line_item.rb +111 -0
- data/lib/stripe/resources/customer.rb +228 -0
- data/lib/stripe/resources/customer_balance_transaction.rb +37 -0
- data/lib/stripe/resources/customer_cash_balance_transaction.rb +217 -0
- data/lib/stripe/resources/customer_session.rb +118 -3
- data/lib/stripe/resources/discount.rb +49 -0
- data/lib/stripe/resources/dispute.rb +405 -1
- data/lib/stripe/resources/entitlements/active_entitlement.rb +19 -0
- data/lib/stripe/resources/entitlements/active_entitlement_summary.rb +31 -0
- data/lib/stripe/resources/entitlements/feature.rb +23 -0
- data/lib/stripe/resources/ephemeral_key.rb +21 -0
- data/lib/stripe/resources/event.rb +74 -26
- data/lib/stripe/resources/exchange_rate.rb +25 -0
- data/lib/stripe/resources/file.rb +32 -1
- data/lib/stripe/resources/file_link.rb +27 -0
- data/lib/stripe/resources/financial_connections/account.rb +193 -0
- data/lib/stripe/resources/financial_connections/account_owner.rb +25 -0
- data/lib/stripe/resources/financial_connections/account_ownership.rb +17 -0
- data/lib/stripe/resources/financial_connections/session.rb +60 -0
- data/lib/stripe/resources/financial_connections/transaction.rb +47 -0
- data/lib/stripe/resources/forwarding/request.rb +111 -0
- data/lib/stripe/resources/funding_instructions.rb +502 -1
- data/lib/stripe/resources/identity/verification_report.rb +372 -0
- data/lib/stripe/resources/identity/verification_session.rb +290 -11
- data/lib/stripe/resources/invoice.rb +997 -34
- data/lib/stripe/resources/invoice_item.rb +160 -4
- data/lib/stripe/resources/invoice_line_item.rb +278 -1
- data/lib/stripe/resources/invoice_payment.rb +90 -0
- data/lib/stripe/resources/invoice_rendering_template.rb +25 -0
- data/lib/stripe/resources/issuing/authorization.rb +449 -8
- data/lib/stripe/resources/issuing/card.rb +264 -0
- data/lib/stripe/resources/issuing/cardholder.rb +242 -0
- data/lib/stripe/resources/issuing/dispute.rb +257 -3
- data/lib/stripe/resources/issuing/personalization_design.rb +87 -0
- data/lib/stripe/resources/issuing/physical_bundle.rb +39 -0
- data/lib/stripe/resources/issuing/token.rb +163 -0
- data/lib/stripe/resources/issuing/transaction.rb +363 -0
- data/lib/stripe/resources/line_item.rb +71 -0
- data/lib/stripe/resources/login_link.rb +17 -1
- data/lib/stripe/resources/mandate.rb +358 -0
- data/lib/stripe/resources/payment_intent.rb +2775 -23
- data/lib/stripe/resources/payment_link.rb +686 -0
- data/lib/stripe/resources/payment_method.rb +1536 -12
- data/lib/stripe/resources/payment_method_configuration.rb +1759 -0
- data/lib/stripe/resources/payment_method_domain.rb +209 -8
- data/lib/stripe/resources/payout.rb +81 -4
- data/lib/stripe/resources/person.rb +469 -2
- data/lib/stripe/resources/plan.rb +87 -1
- data/lib/stripe/resources/price.rb +192 -2
- data/lib/stripe/resources/product.rb +83 -0
- data/lib/stripe/resources/product_feature.rb +20 -0
- data/lib/stripe/resources/promotion_code.rb +86 -3
- data/lib/stripe/resources/quote.rb +510 -0
- data/lib/stripe/resources/radar/early_fraud_warning.rb +25 -0
- data/lib/stripe/resources/radar/value_list.rb +31 -0
- data/lib/stripe/resources/radar/value_list_item.rb +25 -0
- data/lib/stripe/resources/refund.rb +614 -0
- data/lib/stripe/resources/reporting/report_run.rb +60 -0
- data/lib/stripe/resources/reporting/report_type.rb +27 -0
- data/lib/stripe/resources/reserve_transaction.rb +30 -0
- data/lib/stripe/resources/reversal.rb +30 -1
- data/lib/stripe/resources/review.rb +77 -1
- data/lib/stripe/resources/setup_attempt.rb +589 -0
- data/lib/stripe/resources/setup_intent.rb +574 -3
- data/lib/stripe/resources/shipping_rate.rb +107 -0
- data/lib/stripe/resources/sigma/scheduled_query_run.rb +43 -0
- data/lib/stripe/resources/source.rb +885 -2
- data/lib/stripe/resources/source_mandate_notification.rb +98 -0
- data/lib/stripe/resources/source_transaction.rb +139 -0
- data/lib/stripe/resources/subscription.rb +606 -9
- data/lib/stripe/resources/subscription_item.rb +60 -5
- data/lib/stripe/resources/subscription_schedule.rb +526 -0
- data/lib/stripe/resources/tax/calculation.rb +273 -0
- data/lib/stripe/resources/tax/calculation_line_item.rb +90 -0
- data/lib/stripe/resources/tax/registration.rb +2189 -0
- data/lib/stripe/resources/tax/settings.rb +114 -0
- data/lib/stripe/resources/tax/transaction.rb +231 -0
- data/lib/stripe/resources/tax/transaction_line_item.rb +47 -0
- data/lib/stripe/resources/tax_code.rb +17 -0
- data/lib/stripe/resources/tax_deducted_at_source.rb +30 -0
- data/lib/stripe/resources/tax_id.rb +66 -0
- data/lib/stripe/resources/tax_rate.rb +63 -2
- data/lib/stripe/resources/terminal/configuration.rb +634 -0
- data/lib/stripe/resources/terminal/connection_token.rb +15 -0
- data/lib/stripe/resources/terminal/location.rb +112 -1
- data/lib/stripe/resources/terminal/reader.rb +605 -0
- data/lib/stripe/resources/test_helpers/test_clock.rb +53 -0
- data/lib/stripe/resources/token.rb +39 -2
- data/lib/stripe/resources/topup.rb +41 -0
- data/lib/stripe/resources/transfer.rb +44 -1
- data/lib/stripe/resources/treasury/credit_reversal.rb +49 -0
- data/lib/stripe/resources/treasury/debit_reversal.rb +64 -0
- data/lib/stripe/resources/treasury/financial_account.rb +145 -1
- data/lib/stripe/resources/treasury/financial_account_features.rb +381 -0
- data/lib/stripe/resources/treasury/inbound_transfer.rb +178 -0
- data/lib/stripe/resources/treasury/outbound_payment.rb +256 -0
- data/lib/stripe/resources/treasury/outbound_transfer.rb +236 -0
- data/lib/stripe/resources/treasury/received_credit.rb +214 -0
- data/lib/stripe/resources/treasury/received_debit.rb +177 -0
- data/lib/stripe/resources/treasury/transaction.rb +117 -0
- data/lib/stripe/resources/treasury/transaction_entry.rb +94 -0
- data/lib/stripe/resources/v2/amount.rb +9 -0
- data/lib/stripe/resources/v2/billing/meter_event.rb +26 -0
- data/lib/stripe/resources/v2/billing/meter_event_adjustment.rb +37 -0
- data/lib/stripe/resources/v2/billing/meter_event_session.rb +22 -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 +35 -0
- data/lib/stripe/resources.rb +13 -4
- data/lib/stripe/services/account_external_account_service.rb +1 -1
- data/lib/stripe/services/account_login_link_service.rb +1 -1
- data/lib/stripe/services/account_service.rb +12 -12
- data/lib/stripe/services/application_fee_service.rb +1 -1
- data/lib/stripe/services/apps_service.rb +1 -1
- data/lib/stripe/services/balance_service.rb +1 -1
- data/lib/stripe/services/balance_settings_service.rb +30 -0
- data/lib/stripe/services/billing/meter_service.rb +1 -1
- data/lib/stripe/services/billing_portal_service.rb +1 -1
- data/lib/stripe/services/billing_service.rb +1 -1
- data/lib/stripe/services/charge_service.rb +4 -4
- data/lib/stripe/services/checkout/session_service.rb +8 -6
- data/lib/stripe/services/checkout_service.rb +1 -1
- data/lib/stripe/services/climate_service.rb +1 -1
- data/lib/stripe/services/credit_note_service.rb +8 -9
- data/lib/stripe/services/customer_balance_transaction_service.rb +3 -3
- data/lib/stripe/services/customer_cash_balance_transaction_service.rb +2 -2
- data/lib/stripe/services/customer_payment_source_service.rb +1 -1
- data/lib/stripe/services/customer_service.rb +6 -6
- data/lib/stripe/services/dispute_service.rb +1 -1
- data/lib/stripe/services/entitlements_service.rb +1 -1
- data/lib/stripe/services/exchange_rate_service.rb +4 -0
- data/lib/stripe/services/file_service.rb +1 -1
- data/lib/stripe/services/financial_connections/account_service.rb +1 -1
- data/lib/stripe/services/financial_connections_service.rb +1 -1
- data/lib/stripe/services/forwarding_service.rb +1 -1
- data/lib/stripe/services/identity/verification_session_service.rb +5 -5
- data/lib/stripe/services/identity_service.rb +1 -1
- data/lib/stripe/services/invoice_payment_service.rb +28 -0
- data/lib/stripe/services/invoice_service.rb +34 -30
- data/lib/stripe/services/issuing/authorization_service.rb +4 -4
- data/lib/stripe/services/issuing/dispute_service.rb +2 -2
- data/lib/stripe/services/issuing_service.rb +1 -1
- data/lib/stripe/services/payment_intent_service.rb +20 -15
- data/lib/stripe/services/payment_link_service.rb +1 -1
- data/lib/stripe/services/payment_method_domain_service.rb +4 -4
- data/lib/stripe/services/payment_method_service.rb +9 -9
- data/lib/stripe/services/payout_service.rb +2 -2
- data/lib/stripe/services/plan_service.rb +1 -1
- data/lib/stripe/services/price_service.rb +3 -3
- data/lib/stripe/services/product_service.rb +2 -2
- data/lib/stripe/services/promotion_code_service.rb +2 -2
- data/lib/stripe/services/quote_service.rb +3 -3
- data/lib/stripe/services/radar/early_fraud_warning_service.rb +1 -1
- data/lib/stripe/services/radar_service.rb +1 -1
- data/lib/stripe/services/reporting_service.rb +1 -1
- data/lib/stripe/services/setup_intent_service.rb +3 -3
- data/lib/stripe/services/sigma_service.rb +1 -1
- data/lib/stripe/services/source_service.rb +2 -2
- data/lib/stripe/services/subscription_item_service.rb +0 -8
- data/lib/stripe/services/subscription_service.rb +19 -8
- data/lib/stripe/services/tax/calculation_service.rb +1 -1
- data/lib/stripe/services/tax/transaction_service.rb +1 -1
- data/lib/stripe/services/tax_service.rb +1 -1
- data/lib/stripe/services/terminal/location_service.rb +1 -1
- data/lib/stripe/services/terminal/reader_service.rb +33 -0
- data/lib/stripe/services/terminal_service.rb +1 -1
- data/lib/stripe/services/test_helpers/issuing_service.rb +1 -1
- data/lib/stripe/services/test_helpers/terminal/reader_service.rb +22 -0
- data/lib/stripe/services/test_helpers/terminal_service.rb +1 -1
- data/lib/stripe/services/test_helpers/treasury_service.rb +1 -1
- data/lib/stripe/services/test_helpers_service.rb +1 -1
- data/lib/stripe/services/token_service.rb +1 -1
- data/lib/stripe/services/transfer_service.rb +2 -2
- data/lib/stripe/services/treasury/financial_account_service.rb +2 -2
- data/lib/stripe/services/treasury_service.rb +1 -1
- data/lib/stripe/services/v1_services.rb +7 -5
- data/lib/stripe/services/v2/billing_service.rb +4 -4
- data/lib/stripe/services/v2/core_service.rb +3 -3
- data/lib/stripe/services/v2_services.rb +1 -1
- data/lib/stripe/services.rb +2 -3
- data/lib/stripe/stripe_client.rb +10 -6
- data/lib/stripe/stripe_configuration.rb +1 -6
- data/lib/stripe/stripe_context.rb +68 -0
- data/lib/stripe/stripe_object.rb +57 -12
- data/lib/stripe/stripe_service.rb +3 -1
- data/lib/stripe/util.rb +34 -12
- data/lib/stripe/version.rb +1 -1
- data/lib/stripe/webhook.rb +1 -1
- data/lib/stripe.rb +6 -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 +612 -28
- data/CHANGELOG.md +0 -1589
- data/CODE_OF_CONDUCT.md +0 -77
- data/CONTRIBUTORS +0 -3
- data/Gemfile +0 -37
- data/History.txt +0 -1
- data/LICENSE +0 -21
- data/Makefile +0 -22
- data/OPENAPI_VERSION +0 -1
- data/README.md +0 -422
- 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/usage_record.rb +0 -17
- data/lib/stripe/resources/usage_record_summary.rb +0 -12
- data/lib/stripe/resources/v2/event.rb +0 -13
- data/lib/stripe/resources/v2/event_destination.rb +0 -13
- data/lib/stripe/services/invoice_upcoming_lines_service.rb +0 -17
- data/lib/stripe/services/subscription_item_usage_record_service.rb +0 -23
- data/lib/stripe/services/subscription_item_usage_record_summary_service.rb +0 -19
- data/lib/stripe/thin_event.rb +0 -37
- data/stripe.gemspec +0 -44
|
@@ -15,6 +15,1672 @@ module Stripe
|
|
|
15
15
|
"confirmation_token"
|
|
16
16
|
end
|
|
17
17
|
|
|
18
|
+
class MandateData < Stripe::StripeObject
|
|
19
|
+
class CustomerAcceptance < Stripe::StripeObject
|
|
20
|
+
class Online < Stripe::StripeObject
|
|
21
|
+
# The IP address from which the Mandate was accepted by the customer.
|
|
22
|
+
attr_reader :ip_address
|
|
23
|
+
# The user agent of the browser from which the Mandate was accepted by the customer.
|
|
24
|
+
attr_reader :user_agent
|
|
25
|
+
|
|
26
|
+
def self.inner_class_types
|
|
27
|
+
@inner_class_types = {}
|
|
28
|
+
end
|
|
29
|
+
|
|
30
|
+
def self.field_remappings
|
|
31
|
+
@field_remappings = {}
|
|
32
|
+
end
|
|
33
|
+
end
|
|
34
|
+
# If this is a Mandate accepted online, this hash contains details about the online acceptance.
|
|
35
|
+
attr_reader :online
|
|
36
|
+
# The type of customer acceptance information included with the Mandate.
|
|
37
|
+
attr_reader :type
|
|
38
|
+
|
|
39
|
+
def self.inner_class_types
|
|
40
|
+
@inner_class_types = { online: Online }
|
|
41
|
+
end
|
|
42
|
+
|
|
43
|
+
def self.field_remappings
|
|
44
|
+
@field_remappings = {}
|
|
45
|
+
end
|
|
46
|
+
end
|
|
47
|
+
# This hash contains details about the customer acceptance of the Mandate.
|
|
48
|
+
attr_reader :customer_acceptance
|
|
49
|
+
|
|
50
|
+
def self.inner_class_types
|
|
51
|
+
@inner_class_types = { customer_acceptance: CustomerAcceptance }
|
|
52
|
+
end
|
|
53
|
+
|
|
54
|
+
def self.field_remappings
|
|
55
|
+
@field_remappings = {}
|
|
56
|
+
end
|
|
57
|
+
end
|
|
58
|
+
|
|
59
|
+
class PaymentMethodOptions < Stripe::StripeObject
|
|
60
|
+
class Card < Stripe::StripeObject
|
|
61
|
+
class Installments < Stripe::StripeObject
|
|
62
|
+
class Plan < Stripe::StripeObject
|
|
63
|
+
# For `fixed_count` installment plans, this is the number of installment payments your customer will make to their credit card.
|
|
64
|
+
attr_reader :count
|
|
65
|
+
# For `fixed_count` installment plans, this is the interval between installment payments your customer will make to their credit card.
|
|
66
|
+
# One of `month`.
|
|
67
|
+
attr_reader :interval
|
|
68
|
+
# Type of installment plan, one of `fixed_count`, `bonus`, or `revolving`.
|
|
69
|
+
attr_reader :type
|
|
70
|
+
|
|
71
|
+
def self.inner_class_types
|
|
72
|
+
@inner_class_types = {}
|
|
73
|
+
end
|
|
74
|
+
|
|
75
|
+
def self.field_remappings
|
|
76
|
+
@field_remappings = {}
|
|
77
|
+
end
|
|
78
|
+
end
|
|
79
|
+
# Attribute for field plan
|
|
80
|
+
attr_reader :plan
|
|
81
|
+
|
|
82
|
+
def self.inner_class_types
|
|
83
|
+
@inner_class_types = { plan: Plan }
|
|
84
|
+
end
|
|
85
|
+
|
|
86
|
+
def self.field_remappings
|
|
87
|
+
@field_remappings = {}
|
|
88
|
+
end
|
|
89
|
+
end
|
|
90
|
+
# The `cvc_update` Token collected from the Payment Element.
|
|
91
|
+
attr_reader :cvc_token
|
|
92
|
+
# Installment configuration for payments.
|
|
93
|
+
attr_reader :installments
|
|
94
|
+
|
|
95
|
+
def self.inner_class_types
|
|
96
|
+
@inner_class_types = { installments: Installments }
|
|
97
|
+
end
|
|
98
|
+
|
|
99
|
+
def self.field_remappings
|
|
100
|
+
@field_remappings = {}
|
|
101
|
+
end
|
|
102
|
+
end
|
|
103
|
+
# This hash contains the card payment method options.
|
|
104
|
+
attr_reader :card
|
|
105
|
+
|
|
106
|
+
def self.inner_class_types
|
|
107
|
+
@inner_class_types = { card: Card }
|
|
108
|
+
end
|
|
109
|
+
|
|
110
|
+
def self.field_remappings
|
|
111
|
+
@field_remappings = {}
|
|
112
|
+
end
|
|
113
|
+
end
|
|
114
|
+
|
|
115
|
+
class PaymentMethodPreview < Stripe::StripeObject
|
|
116
|
+
class AcssDebit < Stripe::StripeObject
|
|
117
|
+
# Name of the bank associated with the bank account.
|
|
118
|
+
attr_reader :bank_name
|
|
119
|
+
# Uniquely identifies this particular bank account. You can use this attribute to check whether two bank accounts are the same.
|
|
120
|
+
attr_reader :fingerprint
|
|
121
|
+
# Institution number of the bank account.
|
|
122
|
+
attr_reader :institution_number
|
|
123
|
+
# Last four digits of the bank account number.
|
|
124
|
+
attr_reader :last4
|
|
125
|
+
# Transit number of the bank account.
|
|
126
|
+
attr_reader :transit_number
|
|
127
|
+
|
|
128
|
+
def self.inner_class_types
|
|
129
|
+
@inner_class_types = {}
|
|
130
|
+
end
|
|
131
|
+
|
|
132
|
+
def self.field_remappings
|
|
133
|
+
@field_remappings = {}
|
|
134
|
+
end
|
|
135
|
+
end
|
|
136
|
+
|
|
137
|
+
class Affirm < Stripe::StripeObject
|
|
138
|
+
def self.inner_class_types
|
|
139
|
+
@inner_class_types = {}
|
|
140
|
+
end
|
|
141
|
+
|
|
142
|
+
def self.field_remappings
|
|
143
|
+
@field_remappings = {}
|
|
144
|
+
end
|
|
145
|
+
end
|
|
146
|
+
|
|
147
|
+
class AfterpayClearpay < Stripe::StripeObject
|
|
148
|
+
def self.inner_class_types
|
|
149
|
+
@inner_class_types = {}
|
|
150
|
+
end
|
|
151
|
+
|
|
152
|
+
def self.field_remappings
|
|
153
|
+
@field_remappings = {}
|
|
154
|
+
end
|
|
155
|
+
end
|
|
156
|
+
|
|
157
|
+
class Alipay < Stripe::StripeObject
|
|
158
|
+
def self.inner_class_types
|
|
159
|
+
@inner_class_types = {}
|
|
160
|
+
end
|
|
161
|
+
|
|
162
|
+
def self.field_remappings
|
|
163
|
+
@field_remappings = {}
|
|
164
|
+
end
|
|
165
|
+
end
|
|
166
|
+
|
|
167
|
+
class Alma < Stripe::StripeObject
|
|
168
|
+
def self.inner_class_types
|
|
169
|
+
@inner_class_types = {}
|
|
170
|
+
end
|
|
171
|
+
|
|
172
|
+
def self.field_remappings
|
|
173
|
+
@field_remappings = {}
|
|
174
|
+
end
|
|
175
|
+
end
|
|
176
|
+
|
|
177
|
+
class AmazonPay < Stripe::StripeObject
|
|
178
|
+
def self.inner_class_types
|
|
179
|
+
@inner_class_types = {}
|
|
180
|
+
end
|
|
181
|
+
|
|
182
|
+
def self.field_remappings
|
|
183
|
+
@field_remappings = {}
|
|
184
|
+
end
|
|
185
|
+
end
|
|
186
|
+
|
|
187
|
+
class AuBecsDebit < Stripe::StripeObject
|
|
188
|
+
# Six-digit number identifying bank and branch associated with this bank account.
|
|
189
|
+
attr_reader :bsb_number
|
|
190
|
+
# Uniquely identifies this particular bank account. You can use this attribute to check whether two bank accounts are the same.
|
|
191
|
+
attr_reader :fingerprint
|
|
192
|
+
# Last four digits of the bank account number.
|
|
193
|
+
attr_reader :last4
|
|
194
|
+
|
|
195
|
+
def self.inner_class_types
|
|
196
|
+
@inner_class_types = {}
|
|
197
|
+
end
|
|
198
|
+
|
|
199
|
+
def self.field_remappings
|
|
200
|
+
@field_remappings = {}
|
|
201
|
+
end
|
|
202
|
+
end
|
|
203
|
+
|
|
204
|
+
class BacsDebit < Stripe::StripeObject
|
|
205
|
+
# Uniquely identifies this particular bank account. You can use this attribute to check whether two bank accounts are the same.
|
|
206
|
+
attr_reader :fingerprint
|
|
207
|
+
# Last four digits of the bank account number.
|
|
208
|
+
attr_reader :last4
|
|
209
|
+
# Sort code of the bank account. (e.g., `10-20-30`)
|
|
210
|
+
attr_reader :sort_code
|
|
211
|
+
|
|
212
|
+
def self.inner_class_types
|
|
213
|
+
@inner_class_types = {}
|
|
214
|
+
end
|
|
215
|
+
|
|
216
|
+
def self.field_remappings
|
|
217
|
+
@field_remappings = {}
|
|
218
|
+
end
|
|
219
|
+
end
|
|
220
|
+
|
|
221
|
+
class Bancontact < Stripe::StripeObject
|
|
222
|
+
def self.inner_class_types
|
|
223
|
+
@inner_class_types = {}
|
|
224
|
+
end
|
|
225
|
+
|
|
226
|
+
def self.field_remappings
|
|
227
|
+
@field_remappings = {}
|
|
228
|
+
end
|
|
229
|
+
end
|
|
230
|
+
|
|
231
|
+
class Billie < Stripe::StripeObject
|
|
232
|
+
def self.inner_class_types
|
|
233
|
+
@inner_class_types = {}
|
|
234
|
+
end
|
|
235
|
+
|
|
236
|
+
def self.field_remappings
|
|
237
|
+
@field_remappings = {}
|
|
238
|
+
end
|
|
239
|
+
end
|
|
240
|
+
|
|
241
|
+
class BillingDetails < Stripe::StripeObject
|
|
242
|
+
class Address < Stripe::StripeObject
|
|
243
|
+
# City, district, suburb, town, or village.
|
|
244
|
+
attr_reader :city
|
|
245
|
+
# Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)).
|
|
246
|
+
attr_reader :country
|
|
247
|
+
# Address line 1, such as the street, PO Box, or company name.
|
|
248
|
+
attr_reader :line1
|
|
249
|
+
# Address line 2, such as the apartment, suite, unit, or building.
|
|
250
|
+
attr_reader :line2
|
|
251
|
+
# ZIP or postal code.
|
|
252
|
+
attr_reader :postal_code
|
|
253
|
+
# State, county, province, or region.
|
|
254
|
+
attr_reader :state
|
|
255
|
+
|
|
256
|
+
def self.inner_class_types
|
|
257
|
+
@inner_class_types = {}
|
|
258
|
+
end
|
|
259
|
+
|
|
260
|
+
def self.field_remappings
|
|
261
|
+
@field_remappings = {}
|
|
262
|
+
end
|
|
263
|
+
end
|
|
264
|
+
# Billing address.
|
|
265
|
+
attr_reader :address
|
|
266
|
+
# Email address.
|
|
267
|
+
attr_reader :email
|
|
268
|
+
# Full name.
|
|
269
|
+
attr_reader :name
|
|
270
|
+
# Billing phone number (including extension).
|
|
271
|
+
attr_reader :phone
|
|
272
|
+
# Taxpayer identification number. Used only for transactions between LATAM buyers and non-LATAM sellers.
|
|
273
|
+
attr_reader :tax_id
|
|
274
|
+
|
|
275
|
+
def self.inner_class_types
|
|
276
|
+
@inner_class_types = { address: Address }
|
|
277
|
+
end
|
|
278
|
+
|
|
279
|
+
def self.field_remappings
|
|
280
|
+
@field_remappings = {}
|
|
281
|
+
end
|
|
282
|
+
end
|
|
283
|
+
|
|
284
|
+
class Blik < Stripe::StripeObject
|
|
285
|
+
def self.inner_class_types
|
|
286
|
+
@inner_class_types = {}
|
|
287
|
+
end
|
|
288
|
+
|
|
289
|
+
def self.field_remappings
|
|
290
|
+
@field_remappings = {}
|
|
291
|
+
end
|
|
292
|
+
end
|
|
293
|
+
|
|
294
|
+
class Boleto < Stripe::StripeObject
|
|
295
|
+
# Uniquely identifies the customer tax id (CNPJ or CPF)
|
|
296
|
+
attr_reader :tax_id
|
|
297
|
+
|
|
298
|
+
def self.inner_class_types
|
|
299
|
+
@inner_class_types = {}
|
|
300
|
+
end
|
|
301
|
+
|
|
302
|
+
def self.field_remappings
|
|
303
|
+
@field_remappings = {}
|
|
304
|
+
end
|
|
305
|
+
end
|
|
306
|
+
|
|
307
|
+
class Card < Stripe::StripeObject
|
|
308
|
+
class Checks < Stripe::StripeObject
|
|
309
|
+
# If a address line1 was provided, results of the check, one of `pass`, `fail`, `unavailable`, or `unchecked`.
|
|
310
|
+
attr_reader :address_line1_check
|
|
311
|
+
# If a address postal code was provided, results of the check, one of `pass`, `fail`, `unavailable`, or `unchecked`.
|
|
312
|
+
attr_reader :address_postal_code_check
|
|
313
|
+
# If a CVC was provided, results of the check, one of `pass`, `fail`, `unavailable`, or `unchecked`.
|
|
314
|
+
attr_reader :cvc_check
|
|
315
|
+
|
|
316
|
+
def self.inner_class_types
|
|
317
|
+
@inner_class_types = {}
|
|
318
|
+
end
|
|
319
|
+
|
|
320
|
+
def self.field_remappings
|
|
321
|
+
@field_remappings = {}
|
|
322
|
+
end
|
|
323
|
+
end
|
|
324
|
+
|
|
325
|
+
class GeneratedFrom < Stripe::StripeObject
|
|
326
|
+
class PaymentMethodDetails < Stripe::StripeObject
|
|
327
|
+
class CardPresent < Stripe::StripeObject
|
|
328
|
+
class Offline < Stripe::StripeObject
|
|
329
|
+
# Time at which the payment was collected while offline
|
|
330
|
+
attr_reader :stored_at
|
|
331
|
+
# The method used to process this payment method offline. Only deferred is allowed.
|
|
332
|
+
attr_reader :type
|
|
333
|
+
|
|
334
|
+
def self.inner_class_types
|
|
335
|
+
@inner_class_types = {}
|
|
336
|
+
end
|
|
337
|
+
|
|
338
|
+
def self.field_remappings
|
|
339
|
+
@field_remappings = {}
|
|
340
|
+
end
|
|
341
|
+
end
|
|
342
|
+
|
|
343
|
+
class Receipt < Stripe::StripeObject
|
|
344
|
+
# The type of account being debited or credited
|
|
345
|
+
attr_reader :account_type
|
|
346
|
+
# The Application Cryptogram, a unique value generated by the card to authenticate the transaction with issuers.
|
|
347
|
+
attr_reader :application_cryptogram
|
|
348
|
+
# The Application Identifier (AID) on the card used to determine which networks are eligible to process the transaction. Referenced from EMV tag 9F12, data encoded on the card's chip.
|
|
349
|
+
attr_reader :application_preferred_name
|
|
350
|
+
# Identifier for this transaction.
|
|
351
|
+
attr_reader :authorization_code
|
|
352
|
+
# EMV tag 8A. A code returned by the card issuer.
|
|
353
|
+
attr_reader :authorization_response_code
|
|
354
|
+
# Describes the method used by the cardholder to verify ownership of the card. One of the following: `approval`, `failure`, `none`, `offline_pin`, `offline_pin_and_signature`, `online_pin`, or `signature`.
|
|
355
|
+
attr_reader :cardholder_verification_method
|
|
356
|
+
# Similar to the application_preferred_name, identifying the applications (AIDs) available on the card. Referenced from EMV tag 84.
|
|
357
|
+
attr_reader :dedicated_file_name
|
|
358
|
+
# A 5-byte string that records the checks and validations that occur between the card and the terminal. These checks determine how the terminal processes the transaction and what risk tolerance is acceptable. Referenced from EMV Tag 95.
|
|
359
|
+
attr_reader :terminal_verification_results
|
|
360
|
+
# An indication of which steps were completed during the card read process. Referenced from EMV Tag 9B.
|
|
361
|
+
attr_reader :transaction_status_information
|
|
362
|
+
|
|
363
|
+
def self.inner_class_types
|
|
364
|
+
@inner_class_types = {}
|
|
365
|
+
end
|
|
366
|
+
|
|
367
|
+
def self.field_remappings
|
|
368
|
+
@field_remappings = {}
|
|
369
|
+
end
|
|
370
|
+
end
|
|
371
|
+
|
|
372
|
+
class Wallet < Stripe::StripeObject
|
|
373
|
+
# The type of mobile wallet, one of `apple_pay`, `google_pay`, `samsung_pay`, or `unknown`.
|
|
374
|
+
attr_reader :type
|
|
375
|
+
|
|
376
|
+
def self.inner_class_types
|
|
377
|
+
@inner_class_types = {}
|
|
378
|
+
end
|
|
379
|
+
|
|
380
|
+
def self.field_remappings
|
|
381
|
+
@field_remappings = {}
|
|
382
|
+
end
|
|
383
|
+
end
|
|
384
|
+
# The authorized amount
|
|
385
|
+
attr_reader :amount_authorized
|
|
386
|
+
# Card brand. Can be `amex`, `cartes_bancaires`, `diners`, `discover`, `eftpos_au`, `jcb`, `link`, `mastercard`, `unionpay`, `visa` or `unknown`.
|
|
387
|
+
attr_reader :brand
|
|
388
|
+
# The [product code](https://stripe.com/docs/card-product-codes) that identifies the specific program or product associated with a card.
|
|
389
|
+
attr_reader :brand_product
|
|
390
|
+
# When using manual capture, a future timestamp after which the charge will be automatically refunded if uncaptured.
|
|
391
|
+
attr_reader :capture_before
|
|
392
|
+
# The cardholder name as read from the card, in [ISO 7813](https://en.wikipedia.org/wiki/ISO/IEC_7813) format. May include alphanumeric characters, special characters and first/last name separator (`/`). In some cases, the cardholder name may not be available depending on how the issuer has configured the card. Cardholder name is typically not available on swipe or contactless payments, such as those made with Apple Pay and Google Pay.
|
|
393
|
+
attr_reader :cardholder_name
|
|
394
|
+
# Two-letter ISO code representing the country of the card. You could use this attribute to get a sense of the international breakdown of cards you've collected.
|
|
395
|
+
attr_reader :country
|
|
396
|
+
# A high-level description of the type of cards issued in this range. (For internal use only and not typically available in standard API requests.)
|
|
397
|
+
attr_reader :description
|
|
398
|
+
# Authorization response cryptogram.
|
|
399
|
+
attr_reader :emv_auth_data
|
|
400
|
+
# Two-digit number representing the card's expiration month.
|
|
401
|
+
attr_reader :exp_month
|
|
402
|
+
# Four-digit number representing the card's expiration year.
|
|
403
|
+
attr_reader :exp_year
|
|
404
|
+
# Uniquely identifies this particular card number. You can use this attribute to check whether two customers who’ve signed up with you are using the same card number, for example. For payment methods that tokenize card information (Apple Pay, Google Pay), the tokenized number might be provided instead of the underlying card number.
|
|
405
|
+
#
|
|
406
|
+
# *As of May 1, 2021, card fingerprint in India for Connect changed to allow two fingerprints for the same card---one for India and one for the rest of the world.*
|
|
407
|
+
attr_reader :fingerprint
|
|
408
|
+
# Card funding type. Can be `credit`, `debit`, `prepaid`, or `unknown`.
|
|
409
|
+
attr_reader :funding
|
|
410
|
+
# ID of a card PaymentMethod generated from the card_present PaymentMethod that may be attached to a Customer for future transactions. Only present if it was possible to generate a card PaymentMethod.
|
|
411
|
+
attr_reader :generated_card
|
|
412
|
+
# Issuer identification number of the card. (For internal use only and not typically available in standard API requests.)
|
|
413
|
+
attr_reader :iin
|
|
414
|
+
# Whether this [PaymentIntent](https://stripe.com/docs/api/payment_intents) is eligible for incremental authorizations. Request support using [request_incremental_authorization_support](https://stripe.com/docs/api/payment_intents/create#create_payment_intent-payment_method_options-card_present-request_incremental_authorization_support).
|
|
415
|
+
attr_reader :incremental_authorization_supported
|
|
416
|
+
# The name of the card's issuing bank. (For internal use only and not typically available in standard API requests.)
|
|
417
|
+
attr_reader :issuer
|
|
418
|
+
# The last four digits of the card.
|
|
419
|
+
attr_reader :last4
|
|
420
|
+
# Identifies which network this charge was processed on. Can be `amex`, `cartes_bancaires`, `diners`, `discover`, `eftpos_au`, `interac`, `jcb`, `link`, `mastercard`, `unionpay`, `visa`, or `unknown`.
|
|
421
|
+
attr_reader :network
|
|
422
|
+
# This is used by the financial networks to identify a transaction. Visa calls this the Transaction ID, Mastercard calls this the Trace ID, and American Express calls this the Acquirer Reference Data. This value will be present if it is returned by the financial network in the authorization response, and null otherwise.
|
|
423
|
+
attr_reader :network_transaction_id
|
|
424
|
+
# Details about payments collected offline.
|
|
425
|
+
attr_reader :offline
|
|
426
|
+
# Defines whether the authorized amount can be over-captured or not
|
|
427
|
+
attr_reader :overcapture_supported
|
|
428
|
+
# The languages that the issuing bank recommends using for localizing any customer-facing text, as read from the card. Referenced from EMV tag 5F2D, data encoded on the card's chip.
|
|
429
|
+
attr_reader :preferred_locales
|
|
430
|
+
# How card details were read in this transaction.
|
|
431
|
+
attr_reader :read_method
|
|
432
|
+
# A collection of fields required to be displayed on receipts. Only required for EMV transactions.
|
|
433
|
+
attr_reader :receipt
|
|
434
|
+
# Attribute for field wallet
|
|
435
|
+
attr_reader :wallet
|
|
436
|
+
|
|
437
|
+
def self.inner_class_types
|
|
438
|
+
@inner_class_types = { offline: Offline, receipt: Receipt, wallet: Wallet }
|
|
439
|
+
end
|
|
440
|
+
|
|
441
|
+
def self.field_remappings
|
|
442
|
+
@field_remappings = {}
|
|
443
|
+
end
|
|
444
|
+
end
|
|
445
|
+
# Attribute for field card_present
|
|
446
|
+
attr_reader :card_present
|
|
447
|
+
# The type of payment method transaction-specific details from the transaction that generated this `card` payment method. Always `card_present`.
|
|
448
|
+
attr_reader :type
|
|
449
|
+
|
|
450
|
+
def self.inner_class_types
|
|
451
|
+
@inner_class_types = { card_present: CardPresent }
|
|
452
|
+
end
|
|
453
|
+
|
|
454
|
+
def self.field_remappings
|
|
455
|
+
@field_remappings = {}
|
|
456
|
+
end
|
|
457
|
+
end
|
|
458
|
+
# The charge that created this object.
|
|
459
|
+
attr_reader :charge
|
|
460
|
+
# Transaction-specific details of the payment method used in the payment.
|
|
461
|
+
attr_reader :payment_method_details
|
|
462
|
+
# The ID of the SetupAttempt that generated this PaymentMethod, if any.
|
|
463
|
+
attr_reader :setup_attempt
|
|
464
|
+
|
|
465
|
+
def self.inner_class_types
|
|
466
|
+
@inner_class_types = { payment_method_details: PaymentMethodDetails }
|
|
467
|
+
end
|
|
468
|
+
|
|
469
|
+
def self.field_remappings
|
|
470
|
+
@field_remappings = {}
|
|
471
|
+
end
|
|
472
|
+
end
|
|
473
|
+
|
|
474
|
+
class Networks < Stripe::StripeObject
|
|
475
|
+
# All networks available for selection via [payment_method_options.card.network](/api/payment_intents/confirm#confirm_payment_intent-payment_method_options-card-network).
|
|
476
|
+
attr_reader :available
|
|
477
|
+
# The preferred network for co-branded cards. Can be `cartes_bancaires`, `mastercard`, `visa` or `invalid_preference` if requested network is not valid for the card.
|
|
478
|
+
attr_reader :preferred
|
|
479
|
+
|
|
480
|
+
def self.inner_class_types
|
|
481
|
+
@inner_class_types = {}
|
|
482
|
+
end
|
|
483
|
+
|
|
484
|
+
def self.field_remappings
|
|
485
|
+
@field_remappings = {}
|
|
486
|
+
end
|
|
487
|
+
end
|
|
488
|
+
|
|
489
|
+
class ThreeDSecureUsage < Stripe::StripeObject
|
|
490
|
+
# Whether 3D Secure is supported on this card.
|
|
491
|
+
attr_reader :supported
|
|
492
|
+
|
|
493
|
+
def self.inner_class_types
|
|
494
|
+
@inner_class_types = {}
|
|
495
|
+
end
|
|
496
|
+
|
|
497
|
+
def self.field_remappings
|
|
498
|
+
@field_remappings = {}
|
|
499
|
+
end
|
|
500
|
+
end
|
|
501
|
+
|
|
502
|
+
class Wallet < Stripe::StripeObject
|
|
503
|
+
class AmexExpressCheckout < Stripe::StripeObject
|
|
504
|
+
def self.inner_class_types
|
|
505
|
+
@inner_class_types = {}
|
|
506
|
+
end
|
|
507
|
+
|
|
508
|
+
def self.field_remappings
|
|
509
|
+
@field_remappings = {}
|
|
510
|
+
end
|
|
511
|
+
end
|
|
512
|
+
|
|
513
|
+
class ApplePay < Stripe::StripeObject
|
|
514
|
+
def self.inner_class_types
|
|
515
|
+
@inner_class_types = {}
|
|
516
|
+
end
|
|
517
|
+
|
|
518
|
+
def self.field_remappings
|
|
519
|
+
@field_remappings = {}
|
|
520
|
+
end
|
|
521
|
+
end
|
|
522
|
+
|
|
523
|
+
class GooglePay < Stripe::StripeObject
|
|
524
|
+
def self.inner_class_types
|
|
525
|
+
@inner_class_types = {}
|
|
526
|
+
end
|
|
527
|
+
|
|
528
|
+
def self.field_remappings
|
|
529
|
+
@field_remappings = {}
|
|
530
|
+
end
|
|
531
|
+
end
|
|
532
|
+
|
|
533
|
+
class Link < Stripe::StripeObject
|
|
534
|
+
def self.inner_class_types
|
|
535
|
+
@inner_class_types = {}
|
|
536
|
+
end
|
|
537
|
+
|
|
538
|
+
def self.field_remappings
|
|
539
|
+
@field_remappings = {}
|
|
540
|
+
end
|
|
541
|
+
end
|
|
542
|
+
|
|
543
|
+
class Masterpass < Stripe::StripeObject
|
|
544
|
+
class BillingAddress < Stripe::StripeObject
|
|
545
|
+
# City, district, suburb, town, or village.
|
|
546
|
+
attr_reader :city
|
|
547
|
+
# Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)).
|
|
548
|
+
attr_reader :country
|
|
549
|
+
# Address line 1, such as the street, PO Box, or company name.
|
|
550
|
+
attr_reader :line1
|
|
551
|
+
# Address line 2, such as the apartment, suite, unit, or building.
|
|
552
|
+
attr_reader :line2
|
|
553
|
+
# ZIP or postal code.
|
|
554
|
+
attr_reader :postal_code
|
|
555
|
+
# State, county, province, or region.
|
|
556
|
+
attr_reader :state
|
|
557
|
+
|
|
558
|
+
def self.inner_class_types
|
|
559
|
+
@inner_class_types = {}
|
|
560
|
+
end
|
|
561
|
+
|
|
562
|
+
def self.field_remappings
|
|
563
|
+
@field_remappings = {}
|
|
564
|
+
end
|
|
565
|
+
end
|
|
566
|
+
|
|
567
|
+
class ShippingAddress < Stripe::StripeObject
|
|
568
|
+
# City, district, suburb, town, or village.
|
|
569
|
+
attr_reader :city
|
|
570
|
+
# Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)).
|
|
571
|
+
attr_reader :country
|
|
572
|
+
# Address line 1, such as the street, PO Box, or company name.
|
|
573
|
+
attr_reader :line1
|
|
574
|
+
# Address line 2, such as the apartment, suite, unit, or building.
|
|
575
|
+
attr_reader :line2
|
|
576
|
+
# ZIP or postal code.
|
|
577
|
+
attr_reader :postal_code
|
|
578
|
+
# State, county, province, or region.
|
|
579
|
+
attr_reader :state
|
|
580
|
+
|
|
581
|
+
def self.inner_class_types
|
|
582
|
+
@inner_class_types = {}
|
|
583
|
+
end
|
|
584
|
+
|
|
585
|
+
def self.field_remappings
|
|
586
|
+
@field_remappings = {}
|
|
587
|
+
end
|
|
588
|
+
end
|
|
589
|
+
# Owner's verified billing address. Values are verified or provided by the wallet directly (if supported) at the time of authorization or settlement. They cannot be set or mutated.
|
|
590
|
+
attr_reader :billing_address
|
|
591
|
+
# Owner's verified email. Values are verified or provided by the wallet directly (if supported) at the time of authorization or settlement. They cannot be set or mutated.
|
|
592
|
+
attr_reader :email
|
|
593
|
+
# Owner's verified full name. Values are verified or provided by the wallet directly (if supported) at the time of authorization or settlement. They cannot be set or mutated.
|
|
594
|
+
attr_reader :name
|
|
595
|
+
# Owner's verified shipping address. Values are verified or provided by the wallet directly (if supported) at the time of authorization or settlement. They cannot be set or mutated.
|
|
596
|
+
attr_reader :shipping_address
|
|
597
|
+
|
|
598
|
+
def self.inner_class_types
|
|
599
|
+
@inner_class_types = {
|
|
600
|
+
billing_address: BillingAddress,
|
|
601
|
+
shipping_address: ShippingAddress,
|
|
602
|
+
}
|
|
603
|
+
end
|
|
604
|
+
|
|
605
|
+
def self.field_remappings
|
|
606
|
+
@field_remappings = {}
|
|
607
|
+
end
|
|
608
|
+
end
|
|
609
|
+
|
|
610
|
+
class SamsungPay < Stripe::StripeObject
|
|
611
|
+
def self.inner_class_types
|
|
612
|
+
@inner_class_types = {}
|
|
613
|
+
end
|
|
614
|
+
|
|
615
|
+
def self.field_remappings
|
|
616
|
+
@field_remappings = {}
|
|
617
|
+
end
|
|
618
|
+
end
|
|
619
|
+
|
|
620
|
+
class VisaCheckout < Stripe::StripeObject
|
|
621
|
+
class BillingAddress < Stripe::StripeObject
|
|
622
|
+
# City, district, suburb, town, or village.
|
|
623
|
+
attr_reader :city
|
|
624
|
+
# Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)).
|
|
625
|
+
attr_reader :country
|
|
626
|
+
# Address line 1, such as the street, PO Box, or company name.
|
|
627
|
+
attr_reader :line1
|
|
628
|
+
# Address line 2, such as the apartment, suite, unit, or building.
|
|
629
|
+
attr_reader :line2
|
|
630
|
+
# ZIP or postal code.
|
|
631
|
+
attr_reader :postal_code
|
|
632
|
+
# State, county, province, or region.
|
|
633
|
+
attr_reader :state
|
|
634
|
+
|
|
635
|
+
def self.inner_class_types
|
|
636
|
+
@inner_class_types = {}
|
|
637
|
+
end
|
|
638
|
+
|
|
639
|
+
def self.field_remappings
|
|
640
|
+
@field_remappings = {}
|
|
641
|
+
end
|
|
642
|
+
end
|
|
643
|
+
|
|
644
|
+
class ShippingAddress < Stripe::StripeObject
|
|
645
|
+
# City, district, suburb, town, or village.
|
|
646
|
+
attr_reader :city
|
|
647
|
+
# Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)).
|
|
648
|
+
attr_reader :country
|
|
649
|
+
# Address line 1, such as the street, PO Box, or company name.
|
|
650
|
+
attr_reader :line1
|
|
651
|
+
# Address line 2, such as the apartment, suite, unit, or building.
|
|
652
|
+
attr_reader :line2
|
|
653
|
+
# ZIP or postal code.
|
|
654
|
+
attr_reader :postal_code
|
|
655
|
+
# State, county, province, or region.
|
|
656
|
+
attr_reader :state
|
|
657
|
+
|
|
658
|
+
def self.inner_class_types
|
|
659
|
+
@inner_class_types = {}
|
|
660
|
+
end
|
|
661
|
+
|
|
662
|
+
def self.field_remappings
|
|
663
|
+
@field_remappings = {}
|
|
664
|
+
end
|
|
665
|
+
end
|
|
666
|
+
# Owner's verified billing address. Values are verified or provided by the wallet directly (if supported) at the time of authorization or settlement. They cannot be set or mutated.
|
|
667
|
+
attr_reader :billing_address
|
|
668
|
+
# Owner's verified email. Values are verified or provided by the wallet directly (if supported) at the time of authorization or settlement. They cannot be set or mutated.
|
|
669
|
+
attr_reader :email
|
|
670
|
+
# Owner's verified full name. Values are verified or provided by the wallet directly (if supported) at the time of authorization or settlement. They cannot be set or mutated.
|
|
671
|
+
attr_reader :name
|
|
672
|
+
# Owner's verified shipping address. Values are verified or provided by the wallet directly (if supported) at the time of authorization or settlement. They cannot be set or mutated.
|
|
673
|
+
attr_reader :shipping_address
|
|
674
|
+
|
|
675
|
+
def self.inner_class_types
|
|
676
|
+
@inner_class_types = {
|
|
677
|
+
billing_address: BillingAddress,
|
|
678
|
+
shipping_address: ShippingAddress,
|
|
679
|
+
}
|
|
680
|
+
end
|
|
681
|
+
|
|
682
|
+
def self.field_remappings
|
|
683
|
+
@field_remappings = {}
|
|
684
|
+
end
|
|
685
|
+
end
|
|
686
|
+
# Attribute for field amex_express_checkout
|
|
687
|
+
attr_reader :amex_express_checkout
|
|
688
|
+
# Attribute for field apple_pay
|
|
689
|
+
attr_reader :apple_pay
|
|
690
|
+
# (For tokenized numbers only.) The last four digits of the device account number.
|
|
691
|
+
attr_reader :dynamic_last4
|
|
692
|
+
# Attribute for field google_pay
|
|
693
|
+
attr_reader :google_pay
|
|
694
|
+
# Attribute for field link
|
|
695
|
+
attr_reader :link
|
|
696
|
+
# Attribute for field masterpass
|
|
697
|
+
attr_reader :masterpass
|
|
698
|
+
# Attribute for field samsung_pay
|
|
699
|
+
attr_reader :samsung_pay
|
|
700
|
+
# The type of the card wallet, one of `amex_express_checkout`, `apple_pay`, `google_pay`, `masterpass`, `samsung_pay`, `visa_checkout`, or `link`. An additional hash is included on the Wallet subhash with a name matching this value. It contains additional information specific to the card wallet type.
|
|
701
|
+
attr_reader :type
|
|
702
|
+
# Attribute for field visa_checkout
|
|
703
|
+
attr_reader :visa_checkout
|
|
704
|
+
|
|
705
|
+
def self.inner_class_types
|
|
706
|
+
@inner_class_types = {
|
|
707
|
+
amex_express_checkout: AmexExpressCheckout,
|
|
708
|
+
apple_pay: ApplePay,
|
|
709
|
+
google_pay: GooglePay,
|
|
710
|
+
link: Link,
|
|
711
|
+
masterpass: Masterpass,
|
|
712
|
+
samsung_pay: SamsungPay,
|
|
713
|
+
visa_checkout: VisaCheckout,
|
|
714
|
+
}
|
|
715
|
+
end
|
|
716
|
+
|
|
717
|
+
def self.field_remappings
|
|
718
|
+
@field_remappings = {}
|
|
719
|
+
end
|
|
720
|
+
end
|
|
721
|
+
# Card brand. Can be `amex`, `cartes_bancaires`, `diners`, `discover`, `eftpos_au`, `jcb`, `link`, `mastercard`, `unionpay`, `visa` or `unknown`.
|
|
722
|
+
attr_reader :brand
|
|
723
|
+
# Checks on Card address and CVC if provided.
|
|
724
|
+
attr_reader :checks
|
|
725
|
+
# Two-letter ISO code representing the country of the card. You could use this attribute to get a sense of the international breakdown of cards you've collected.
|
|
726
|
+
attr_reader :country
|
|
727
|
+
# A high-level description of the type of cards issued in this range. (For internal use only and not typically available in standard API requests.)
|
|
728
|
+
attr_reader :description
|
|
729
|
+
# The brand to use when displaying the card, this accounts for customer's brand choice on dual-branded cards. Can be `american_express`, `cartes_bancaires`, `diners_club`, `discover`, `eftpos_australia`, `interac`, `jcb`, `mastercard`, `union_pay`, `visa`, or `other` and may contain more values in the future.
|
|
730
|
+
attr_reader :display_brand
|
|
731
|
+
# Two-digit number representing the card's expiration month.
|
|
732
|
+
attr_reader :exp_month
|
|
733
|
+
# Four-digit number representing the card's expiration year.
|
|
734
|
+
attr_reader :exp_year
|
|
735
|
+
# Uniquely identifies this particular card number. You can use this attribute to check whether two customers who’ve signed up with you are using the same card number, for example. For payment methods that tokenize card information (Apple Pay, Google Pay), the tokenized number might be provided instead of the underlying card number.
|
|
736
|
+
#
|
|
737
|
+
# *As of May 1, 2021, card fingerprint in India for Connect changed to allow two fingerprints for the same card---one for India and one for the rest of the world.*
|
|
738
|
+
attr_reader :fingerprint
|
|
739
|
+
# Card funding type. Can be `credit`, `debit`, `prepaid`, or `unknown`.
|
|
740
|
+
attr_reader :funding
|
|
741
|
+
# Details of the original PaymentMethod that created this object.
|
|
742
|
+
attr_reader :generated_from
|
|
743
|
+
# Issuer identification number of the card. (For internal use only and not typically available in standard API requests.)
|
|
744
|
+
attr_reader :iin
|
|
745
|
+
# The name of the card's issuing bank. (For internal use only and not typically available in standard API requests.)
|
|
746
|
+
attr_reader :issuer
|
|
747
|
+
# The last four digits of the card.
|
|
748
|
+
attr_reader :last4
|
|
749
|
+
# Contains information about card networks that can be used to process the payment.
|
|
750
|
+
attr_reader :networks
|
|
751
|
+
# Status of a card based on the card issuer.
|
|
752
|
+
attr_reader :regulated_status
|
|
753
|
+
# Contains details on how this Card may be used for 3D Secure authentication.
|
|
754
|
+
attr_reader :three_d_secure_usage
|
|
755
|
+
# If this Card is part of a card wallet, this contains the details of the card wallet.
|
|
756
|
+
attr_reader :wallet
|
|
757
|
+
|
|
758
|
+
def self.inner_class_types
|
|
759
|
+
@inner_class_types = {
|
|
760
|
+
checks: Checks,
|
|
761
|
+
generated_from: GeneratedFrom,
|
|
762
|
+
networks: Networks,
|
|
763
|
+
three_d_secure_usage: ThreeDSecureUsage,
|
|
764
|
+
wallet: Wallet,
|
|
765
|
+
}
|
|
766
|
+
end
|
|
767
|
+
|
|
768
|
+
def self.field_remappings
|
|
769
|
+
@field_remappings = {}
|
|
770
|
+
end
|
|
771
|
+
end
|
|
772
|
+
|
|
773
|
+
class CardPresent < Stripe::StripeObject
|
|
774
|
+
class Networks < Stripe::StripeObject
|
|
775
|
+
# All networks available for selection via [payment_method_options.card.network](/api/payment_intents/confirm#confirm_payment_intent-payment_method_options-card-network).
|
|
776
|
+
attr_reader :available
|
|
777
|
+
# The preferred network for the card.
|
|
778
|
+
attr_reader :preferred
|
|
779
|
+
|
|
780
|
+
def self.inner_class_types
|
|
781
|
+
@inner_class_types = {}
|
|
782
|
+
end
|
|
783
|
+
|
|
784
|
+
def self.field_remappings
|
|
785
|
+
@field_remappings = {}
|
|
786
|
+
end
|
|
787
|
+
end
|
|
788
|
+
|
|
789
|
+
class Offline < Stripe::StripeObject
|
|
790
|
+
# Time at which the payment was collected while offline
|
|
791
|
+
attr_reader :stored_at
|
|
792
|
+
# The method used to process this payment method offline. Only deferred is allowed.
|
|
793
|
+
attr_reader :type
|
|
794
|
+
|
|
795
|
+
def self.inner_class_types
|
|
796
|
+
@inner_class_types = {}
|
|
797
|
+
end
|
|
798
|
+
|
|
799
|
+
def self.field_remappings
|
|
800
|
+
@field_remappings = {}
|
|
801
|
+
end
|
|
802
|
+
end
|
|
803
|
+
|
|
804
|
+
class Wallet < Stripe::StripeObject
|
|
805
|
+
# The type of mobile wallet, one of `apple_pay`, `google_pay`, `samsung_pay`, or `unknown`.
|
|
806
|
+
attr_reader :type
|
|
807
|
+
|
|
808
|
+
def self.inner_class_types
|
|
809
|
+
@inner_class_types = {}
|
|
810
|
+
end
|
|
811
|
+
|
|
812
|
+
def self.field_remappings
|
|
813
|
+
@field_remappings = {}
|
|
814
|
+
end
|
|
815
|
+
end
|
|
816
|
+
# Card brand. Can be `amex`, `cartes_bancaires`, `diners`, `discover`, `eftpos_au`, `jcb`, `link`, `mastercard`, `unionpay`, `visa` or `unknown`.
|
|
817
|
+
attr_reader :brand
|
|
818
|
+
# The [product code](https://stripe.com/docs/card-product-codes) that identifies the specific program or product associated with a card.
|
|
819
|
+
attr_reader :brand_product
|
|
820
|
+
# The cardholder name as read from the card, in [ISO 7813](https://en.wikipedia.org/wiki/ISO/IEC_7813) format. May include alphanumeric characters, special characters and first/last name separator (`/`). In some cases, the cardholder name may not be available depending on how the issuer has configured the card. Cardholder name is typically not available on swipe or contactless payments, such as those made with Apple Pay and Google Pay.
|
|
821
|
+
attr_reader :cardholder_name
|
|
822
|
+
# Two-letter ISO code representing the country of the card. You could use this attribute to get a sense of the international breakdown of cards you've collected.
|
|
823
|
+
attr_reader :country
|
|
824
|
+
# A high-level description of the type of cards issued in this range. (For internal use only and not typically available in standard API requests.)
|
|
825
|
+
attr_reader :description
|
|
826
|
+
# Two-digit number representing the card's expiration month.
|
|
827
|
+
attr_reader :exp_month
|
|
828
|
+
# Four-digit number representing the card's expiration year.
|
|
829
|
+
attr_reader :exp_year
|
|
830
|
+
# Uniquely identifies this particular card number. You can use this attribute to check whether two customers who’ve signed up with you are using the same card number, for example. For payment methods that tokenize card information (Apple Pay, Google Pay), the tokenized number might be provided instead of the underlying card number.
|
|
831
|
+
#
|
|
832
|
+
# *As of May 1, 2021, card fingerprint in India for Connect changed to allow two fingerprints for the same card---one for India and one for the rest of the world.*
|
|
833
|
+
attr_reader :fingerprint
|
|
834
|
+
# Card funding type. Can be `credit`, `debit`, `prepaid`, or `unknown`.
|
|
835
|
+
attr_reader :funding
|
|
836
|
+
# Issuer identification number of the card. (For internal use only and not typically available in standard API requests.)
|
|
837
|
+
attr_reader :iin
|
|
838
|
+
# The name of the card's issuing bank. (For internal use only and not typically available in standard API requests.)
|
|
839
|
+
attr_reader :issuer
|
|
840
|
+
# The last four digits of the card.
|
|
841
|
+
attr_reader :last4
|
|
842
|
+
# Contains information about card networks that can be used to process the payment.
|
|
843
|
+
attr_reader :networks
|
|
844
|
+
# Details about payment methods collected offline.
|
|
845
|
+
attr_reader :offline
|
|
846
|
+
# The languages that the issuing bank recommends using for localizing any customer-facing text, as read from the card. Referenced from EMV tag 5F2D, data encoded on the card's chip.
|
|
847
|
+
attr_reader :preferred_locales
|
|
848
|
+
# How card details were read in this transaction.
|
|
849
|
+
attr_reader :read_method
|
|
850
|
+
# Attribute for field wallet
|
|
851
|
+
attr_reader :wallet
|
|
852
|
+
|
|
853
|
+
def self.inner_class_types
|
|
854
|
+
@inner_class_types = { networks: Networks, offline: Offline, wallet: Wallet }
|
|
855
|
+
end
|
|
856
|
+
|
|
857
|
+
def self.field_remappings
|
|
858
|
+
@field_remappings = {}
|
|
859
|
+
end
|
|
860
|
+
end
|
|
861
|
+
|
|
862
|
+
class Cashapp < Stripe::StripeObject
|
|
863
|
+
# A unique and immutable identifier assigned by Cash App to every buyer.
|
|
864
|
+
attr_reader :buyer_id
|
|
865
|
+
# A public identifier for buyers using Cash App.
|
|
866
|
+
attr_reader :cashtag
|
|
867
|
+
|
|
868
|
+
def self.inner_class_types
|
|
869
|
+
@inner_class_types = {}
|
|
870
|
+
end
|
|
871
|
+
|
|
872
|
+
def self.field_remappings
|
|
873
|
+
@field_remappings = {}
|
|
874
|
+
end
|
|
875
|
+
end
|
|
876
|
+
|
|
877
|
+
class Crypto < Stripe::StripeObject
|
|
878
|
+
def self.inner_class_types
|
|
879
|
+
@inner_class_types = {}
|
|
880
|
+
end
|
|
881
|
+
|
|
882
|
+
def self.field_remappings
|
|
883
|
+
@field_remappings = {}
|
|
884
|
+
end
|
|
885
|
+
end
|
|
886
|
+
|
|
887
|
+
class CustomerBalance < Stripe::StripeObject
|
|
888
|
+
def self.inner_class_types
|
|
889
|
+
@inner_class_types = {}
|
|
890
|
+
end
|
|
891
|
+
|
|
892
|
+
def self.field_remappings
|
|
893
|
+
@field_remappings = {}
|
|
894
|
+
end
|
|
895
|
+
end
|
|
896
|
+
|
|
897
|
+
class Eps < Stripe::StripeObject
|
|
898
|
+
# The customer's bank. Should be one of `arzte_und_apotheker_bank`, `austrian_anadi_bank_ag`, `bank_austria`, `bankhaus_carl_spangler`, `bankhaus_schelhammer_und_schattera_ag`, `bawag_psk_ag`, `bks_bank_ag`, `brull_kallmus_bank_ag`, `btv_vier_lander_bank`, `capital_bank_grawe_gruppe_ag`, `deutsche_bank_ag`, `dolomitenbank`, `easybank_ag`, `erste_bank_und_sparkassen`, `hypo_alpeadriabank_international_ag`, `hypo_noe_lb_fur_niederosterreich_u_wien`, `hypo_oberosterreich_salzburg_steiermark`, `hypo_tirol_bank_ag`, `hypo_vorarlberg_bank_ag`, `hypo_bank_burgenland_aktiengesellschaft`, `marchfelder_bank`, `oberbank_ag`, `raiffeisen_bankengruppe_osterreich`, `schoellerbank_ag`, `sparda_bank_wien`, `volksbank_gruppe`, `volkskreditbank_ag`, or `vr_bank_braunau`.
|
|
899
|
+
attr_reader :bank
|
|
900
|
+
|
|
901
|
+
def self.inner_class_types
|
|
902
|
+
@inner_class_types = {}
|
|
903
|
+
end
|
|
904
|
+
|
|
905
|
+
def self.field_remappings
|
|
906
|
+
@field_remappings = {}
|
|
907
|
+
end
|
|
908
|
+
end
|
|
909
|
+
|
|
910
|
+
class Fpx < Stripe::StripeObject
|
|
911
|
+
# Account holder type, if provided. Can be one of `individual` or `company`.
|
|
912
|
+
attr_reader :account_holder_type
|
|
913
|
+
# The customer's bank, if provided. Can be one of `affin_bank`, `agrobank`, `alliance_bank`, `ambank`, `bank_islam`, `bank_muamalat`, `bank_rakyat`, `bsn`, `cimb`, `hong_leong_bank`, `hsbc`, `kfh`, `maybank2u`, `ocbc`, `public_bank`, `rhb`, `standard_chartered`, `uob`, `deutsche_bank`, `maybank2e`, `pb_enterprise`, or `bank_of_china`.
|
|
914
|
+
attr_reader :bank
|
|
915
|
+
|
|
916
|
+
def self.inner_class_types
|
|
917
|
+
@inner_class_types = {}
|
|
918
|
+
end
|
|
919
|
+
|
|
920
|
+
def self.field_remappings
|
|
921
|
+
@field_remappings = {}
|
|
922
|
+
end
|
|
923
|
+
end
|
|
924
|
+
|
|
925
|
+
class Giropay < Stripe::StripeObject
|
|
926
|
+
def self.inner_class_types
|
|
927
|
+
@inner_class_types = {}
|
|
928
|
+
end
|
|
929
|
+
|
|
930
|
+
def self.field_remappings
|
|
931
|
+
@field_remappings = {}
|
|
932
|
+
end
|
|
933
|
+
end
|
|
934
|
+
|
|
935
|
+
class Grabpay < Stripe::StripeObject
|
|
936
|
+
def self.inner_class_types
|
|
937
|
+
@inner_class_types = {}
|
|
938
|
+
end
|
|
939
|
+
|
|
940
|
+
def self.field_remappings
|
|
941
|
+
@field_remappings = {}
|
|
942
|
+
end
|
|
943
|
+
end
|
|
944
|
+
|
|
945
|
+
class Ideal < Stripe::StripeObject
|
|
946
|
+
# The customer's bank, if provided. Can be one of `abn_amro`, `asn_bank`, `bunq`, `buut`, `handelsbanken`, `ing`, `knab`, `moneyou`, `n26`, `nn`, `rabobank`, `regiobank`, `revolut`, `sns_bank`, `triodos_bank`, `van_lanschot`, or `yoursafe`.
|
|
947
|
+
attr_reader :bank
|
|
948
|
+
# The Bank Identifier Code of the customer's bank, if the bank was provided.
|
|
949
|
+
attr_reader :bic
|
|
950
|
+
|
|
951
|
+
def self.inner_class_types
|
|
952
|
+
@inner_class_types = {}
|
|
953
|
+
end
|
|
954
|
+
|
|
955
|
+
def self.field_remappings
|
|
956
|
+
@field_remappings = {}
|
|
957
|
+
end
|
|
958
|
+
end
|
|
959
|
+
|
|
960
|
+
class InteracPresent < Stripe::StripeObject
|
|
961
|
+
class Networks < Stripe::StripeObject
|
|
962
|
+
# All networks available for selection via [payment_method_options.card.network](/api/payment_intents/confirm#confirm_payment_intent-payment_method_options-card-network).
|
|
963
|
+
attr_reader :available
|
|
964
|
+
# The preferred network for the card.
|
|
965
|
+
attr_reader :preferred
|
|
966
|
+
|
|
967
|
+
def self.inner_class_types
|
|
968
|
+
@inner_class_types = {}
|
|
969
|
+
end
|
|
970
|
+
|
|
971
|
+
def self.field_remappings
|
|
972
|
+
@field_remappings = {}
|
|
973
|
+
end
|
|
974
|
+
end
|
|
975
|
+
# Card brand. Can be `interac`, `mastercard` or `visa`.
|
|
976
|
+
attr_reader :brand
|
|
977
|
+
# The cardholder name as read from the card, in [ISO 7813](https://en.wikipedia.org/wiki/ISO/IEC_7813) format. May include alphanumeric characters, special characters and first/last name separator (`/`). In some cases, the cardholder name may not be available depending on how the issuer has configured the card. Cardholder name is typically not available on swipe or contactless payments, such as those made with Apple Pay and Google Pay.
|
|
978
|
+
attr_reader :cardholder_name
|
|
979
|
+
# Two-letter ISO code representing the country of the card. You could use this attribute to get a sense of the international breakdown of cards you've collected.
|
|
980
|
+
attr_reader :country
|
|
981
|
+
# A high-level description of the type of cards issued in this range. (For internal use only and not typically available in standard API requests.)
|
|
982
|
+
attr_reader :description
|
|
983
|
+
# Two-digit number representing the card's expiration month.
|
|
984
|
+
attr_reader :exp_month
|
|
985
|
+
# Four-digit number representing the card's expiration year.
|
|
986
|
+
attr_reader :exp_year
|
|
987
|
+
# Uniquely identifies this particular card number. You can use this attribute to check whether two customers who’ve signed up with you are using the same card number, for example. For payment methods that tokenize card information (Apple Pay, Google Pay), the tokenized number might be provided instead of the underlying card number.
|
|
988
|
+
#
|
|
989
|
+
# *As of May 1, 2021, card fingerprint in India for Connect changed to allow two fingerprints for the same card---one for India and one for the rest of the world.*
|
|
990
|
+
attr_reader :fingerprint
|
|
991
|
+
# Card funding type. Can be `credit`, `debit`, `prepaid`, or `unknown`.
|
|
992
|
+
attr_reader :funding
|
|
993
|
+
# Issuer identification number of the card. (For internal use only and not typically available in standard API requests.)
|
|
994
|
+
attr_reader :iin
|
|
995
|
+
# The name of the card's issuing bank. (For internal use only and not typically available in standard API requests.)
|
|
996
|
+
attr_reader :issuer
|
|
997
|
+
# The last four digits of the card.
|
|
998
|
+
attr_reader :last4
|
|
999
|
+
# Contains information about card networks that can be used to process the payment.
|
|
1000
|
+
attr_reader :networks
|
|
1001
|
+
# The languages that the issuing bank recommends using for localizing any customer-facing text, as read from the card. Referenced from EMV tag 5F2D, data encoded on the card's chip.
|
|
1002
|
+
attr_reader :preferred_locales
|
|
1003
|
+
# How card details were read in this transaction.
|
|
1004
|
+
attr_reader :read_method
|
|
1005
|
+
|
|
1006
|
+
def self.inner_class_types
|
|
1007
|
+
@inner_class_types = { networks: Networks }
|
|
1008
|
+
end
|
|
1009
|
+
|
|
1010
|
+
def self.field_remappings
|
|
1011
|
+
@field_remappings = {}
|
|
1012
|
+
end
|
|
1013
|
+
end
|
|
1014
|
+
|
|
1015
|
+
class KakaoPay < Stripe::StripeObject
|
|
1016
|
+
def self.inner_class_types
|
|
1017
|
+
@inner_class_types = {}
|
|
1018
|
+
end
|
|
1019
|
+
|
|
1020
|
+
def self.field_remappings
|
|
1021
|
+
@field_remappings = {}
|
|
1022
|
+
end
|
|
1023
|
+
end
|
|
1024
|
+
|
|
1025
|
+
class Klarna < Stripe::StripeObject
|
|
1026
|
+
class Dob < Stripe::StripeObject
|
|
1027
|
+
# The day of birth, between 1 and 31.
|
|
1028
|
+
attr_reader :day
|
|
1029
|
+
# The month of birth, between 1 and 12.
|
|
1030
|
+
attr_reader :month
|
|
1031
|
+
# The four-digit year of birth.
|
|
1032
|
+
attr_reader :year
|
|
1033
|
+
|
|
1034
|
+
def self.inner_class_types
|
|
1035
|
+
@inner_class_types = {}
|
|
1036
|
+
end
|
|
1037
|
+
|
|
1038
|
+
def self.field_remappings
|
|
1039
|
+
@field_remappings = {}
|
|
1040
|
+
end
|
|
1041
|
+
end
|
|
1042
|
+
# The customer's date of birth, if provided.
|
|
1043
|
+
attr_reader :dob
|
|
1044
|
+
|
|
1045
|
+
def self.inner_class_types
|
|
1046
|
+
@inner_class_types = { dob: Dob }
|
|
1047
|
+
end
|
|
1048
|
+
|
|
1049
|
+
def self.field_remappings
|
|
1050
|
+
@field_remappings = {}
|
|
1051
|
+
end
|
|
1052
|
+
end
|
|
1053
|
+
|
|
1054
|
+
class Konbini < Stripe::StripeObject
|
|
1055
|
+
def self.inner_class_types
|
|
1056
|
+
@inner_class_types = {}
|
|
1057
|
+
end
|
|
1058
|
+
|
|
1059
|
+
def self.field_remappings
|
|
1060
|
+
@field_remappings = {}
|
|
1061
|
+
end
|
|
1062
|
+
end
|
|
1063
|
+
|
|
1064
|
+
class KrCard < Stripe::StripeObject
|
|
1065
|
+
# The local credit or debit card brand.
|
|
1066
|
+
attr_reader :brand
|
|
1067
|
+
# The last four digits of the card. This may not be present for American Express cards.
|
|
1068
|
+
attr_reader :last4
|
|
1069
|
+
|
|
1070
|
+
def self.inner_class_types
|
|
1071
|
+
@inner_class_types = {}
|
|
1072
|
+
end
|
|
1073
|
+
|
|
1074
|
+
def self.field_remappings
|
|
1075
|
+
@field_remappings = {}
|
|
1076
|
+
end
|
|
1077
|
+
end
|
|
1078
|
+
|
|
1079
|
+
class Link < Stripe::StripeObject
|
|
1080
|
+
# Account owner's email address.
|
|
1081
|
+
attr_reader :email
|
|
1082
|
+
# [Deprecated] This is a legacy parameter that no longer has any function.
|
|
1083
|
+
attr_reader :persistent_token
|
|
1084
|
+
|
|
1085
|
+
def self.inner_class_types
|
|
1086
|
+
@inner_class_types = {}
|
|
1087
|
+
end
|
|
1088
|
+
|
|
1089
|
+
def self.field_remappings
|
|
1090
|
+
@field_remappings = {}
|
|
1091
|
+
end
|
|
1092
|
+
end
|
|
1093
|
+
|
|
1094
|
+
class MbWay < Stripe::StripeObject
|
|
1095
|
+
def self.inner_class_types
|
|
1096
|
+
@inner_class_types = {}
|
|
1097
|
+
end
|
|
1098
|
+
|
|
1099
|
+
def self.field_remappings
|
|
1100
|
+
@field_remappings = {}
|
|
1101
|
+
end
|
|
1102
|
+
end
|
|
1103
|
+
|
|
1104
|
+
class Mobilepay < Stripe::StripeObject
|
|
1105
|
+
def self.inner_class_types
|
|
1106
|
+
@inner_class_types = {}
|
|
1107
|
+
end
|
|
1108
|
+
|
|
1109
|
+
def self.field_remappings
|
|
1110
|
+
@field_remappings = {}
|
|
1111
|
+
end
|
|
1112
|
+
end
|
|
1113
|
+
|
|
1114
|
+
class Multibanco < Stripe::StripeObject
|
|
1115
|
+
def self.inner_class_types
|
|
1116
|
+
@inner_class_types = {}
|
|
1117
|
+
end
|
|
1118
|
+
|
|
1119
|
+
def self.field_remappings
|
|
1120
|
+
@field_remappings = {}
|
|
1121
|
+
end
|
|
1122
|
+
end
|
|
1123
|
+
|
|
1124
|
+
class NaverPay < Stripe::StripeObject
|
|
1125
|
+
# Uniquely identifies this particular Naver Pay account. You can use this attribute to check whether two Naver Pay accounts are the same.
|
|
1126
|
+
attr_reader :buyer_id
|
|
1127
|
+
# Whether to fund this transaction with Naver Pay points or a card.
|
|
1128
|
+
attr_reader :funding
|
|
1129
|
+
|
|
1130
|
+
def self.inner_class_types
|
|
1131
|
+
@inner_class_types = {}
|
|
1132
|
+
end
|
|
1133
|
+
|
|
1134
|
+
def self.field_remappings
|
|
1135
|
+
@field_remappings = {}
|
|
1136
|
+
end
|
|
1137
|
+
end
|
|
1138
|
+
|
|
1139
|
+
class NzBankAccount < Stripe::StripeObject
|
|
1140
|
+
# The name on the bank account. Only present if the account holder name is different from the name of the authorized signatory collected in the PaymentMethod’s billing details.
|
|
1141
|
+
attr_reader :account_holder_name
|
|
1142
|
+
# The numeric code for the bank account's bank.
|
|
1143
|
+
attr_reader :bank_code
|
|
1144
|
+
# The name of the bank.
|
|
1145
|
+
attr_reader :bank_name
|
|
1146
|
+
# The numeric code for the bank account's bank branch.
|
|
1147
|
+
attr_reader :branch_code
|
|
1148
|
+
# Last four digits of the bank account number.
|
|
1149
|
+
attr_reader :last4
|
|
1150
|
+
# The suffix of the bank account number.
|
|
1151
|
+
attr_reader :suffix
|
|
1152
|
+
|
|
1153
|
+
def self.inner_class_types
|
|
1154
|
+
@inner_class_types = {}
|
|
1155
|
+
end
|
|
1156
|
+
|
|
1157
|
+
def self.field_remappings
|
|
1158
|
+
@field_remappings = {}
|
|
1159
|
+
end
|
|
1160
|
+
end
|
|
1161
|
+
|
|
1162
|
+
class Oxxo < Stripe::StripeObject
|
|
1163
|
+
def self.inner_class_types
|
|
1164
|
+
@inner_class_types = {}
|
|
1165
|
+
end
|
|
1166
|
+
|
|
1167
|
+
def self.field_remappings
|
|
1168
|
+
@field_remappings = {}
|
|
1169
|
+
end
|
|
1170
|
+
end
|
|
1171
|
+
|
|
1172
|
+
class P24 < Stripe::StripeObject
|
|
1173
|
+
# The customer's bank, if provided.
|
|
1174
|
+
attr_reader :bank
|
|
1175
|
+
|
|
1176
|
+
def self.inner_class_types
|
|
1177
|
+
@inner_class_types = {}
|
|
1178
|
+
end
|
|
1179
|
+
|
|
1180
|
+
def self.field_remappings
|
|
1181
|
+
@field_remappings = {}
|
|
1182
|
+
end
|
|
1183
|
+
end
|
|
1184
|
+
|
|
1185
|
+
class PayByBank < Stripe::StripeObject
|
|
1186
|
+
def self.inner_class_types
|
|
1187
|
+
@inner_class_types = {}
|
|
1188
|
+
end
|
|
1189
|
+
|
|
1190
|
+
def self.field_remappings
|
|
1191
|
+
@field_remappings = {}
|
|
1192
|
+
end
|
|
1193
|
+
end
|
|
1194
|
+
|
|
1195
|
+
class Payco < Stripe::StripeObject
|
|
1196
|
+
def self.inner_class_types
|
|
1197
|
+
@inner_class_types = {}
|
|
1198
|
+
end
|
|
1199
|
+
|
|
1200
|
+
def self.field_remappings
|
|
1201
|
+
@field_remappings = {}
|
|
1202
|
+
end
|
|
1203
|
+
end
|
|
1204
|
+
|
|
1205
|
+
class Paynow < Stripe::StripeObject
|
|
1206
|
+
def self.inner_class_types
|
|
1207
|
+
@inner_class_types = {}
|
|
1208
|
+
end
|
|
1209
|
+
|
|
1210
|
+
def self.field_remappings
|
|
1211
|
+
@field_remappings = {}
|
|
1212
|
+
end
|
|
1213
|
+
end
|
|
1214
|
+
|
|
1215
|
+
class Paypal < Stripe::StripeObject
|
|
1216
|
+
# Two-letter ISO code representing the buyer's country. Values are provided by PayPal directly (if supported) at the time of authorization or settlement. They cannot be set or mutated.
|
|
1217
|
+
attr_reader :country
|
|
1218
|
+
# Owner's email. Values are provided by PayPal directly
|
|
1219
|
+
# (if supported) at the time of authorization or settlement. They cannot be set or mutated.
|
|
1220
|
+
attr_reader :payer_email
|
|
1221
|
+
# PayPal account PayerID. This identifier uniquely identifies the PayPal customer.
|
|
1222
|
+
attr_reader :payer_id
|
|
1223
|
+
|
|
1224
|
+
def self.inner_class_types
|
|
1225
|
+
@inner_class_types = {}
|
|
1226
|
+
end
|
|
1227
|
+
|
|
1228
|
+
def self.field_remappings
|
|
1229
|
+
@field_remappings = {}
|
|
1230
|
+
end
|
|
1231
|
+
end
|
|
1232
|
+
|
|
1233
|
+
class Pix < Stripe::StripeObject
|
|
1234
|
+
def self.inner_class_types
|
|
1235
|
+
@inner_class_types = {}
|
|
1236
|
+
end
|
|
1237
|
+
|
|
1238
|
+
def self.field_remappings
|
|
1239
|
+
@field_remappings = {}
|
|
1240
|
+
end
|
|
1241
|
+
end
|
|
1242
|
+
|
|
1243
|
+
class Promptpay < Stripe::StripeObject
|
|
1244
|
+
def self.inner_class_types
|
|
1245
|
+
@inner_class_types = {}
|
|
1246
|
+
end
|
|
1247
|
+
|
|
1248
|
+
def self.field_remappings
|
|
1249
|
+
@field_remappings = {}
|
|
1250
|
+
end
|
|
1251
|
+
end
|
|
1252
|
+
|
|
1253
|
+
class RevolutPay < Stripe::StripeObject
|
|
1254
|
+
def self.inner_class_types
|
|
1255
|
+
@inner_class_types = {}
|
|
1256
|
+
end
|
|
1257
|
+
|
|
1258
|
+
def self.field_remappings
|
|
1259
|
+
@field_remappings = {}
|
|
1260
|
+
end
|
|
1261
|
+
end
|
|
1262
|
+
|
|
1263
|
+
class SamsungPay < Stripe::StripeObject
|
|
1264
|
+
def self.inner_class_types
|
|
1265
|
+
@inner_class_types = {}
|
|
1266
|
+
end
|
|
1267
|
+
|
|
1268
|
+
def self.field_remappings
|
|
1269
|
+
@field_remappings = {}
|
|
1270
|
+
end
|
|
1271
|
+
end
|
|
1272
|
+
|
|
1273
|
+
class Satispay < Stripe::StripeObject
|
|
1274
|
+
def self.inner_class_types
|
|
1275
|
+
@inner_class_types = {}
|
|
1276
|
+
end
|
|
1277
|
+
|
|
1278
|
+
def self.field_remappings
|
|
1279
|
+
@field_remappings = {}
|
|
1280
|
+
end
|
|
1281
|
+
end
|
|
1282
|
+
|
|
1283
|
+
class SepaDebit < Stripe::StripeObject
|
|
1284
|
+
class GeneratedFrom < Stripe::StripeObject
|
|
1285
|
+
# The ID of the Charge that generated this PaymentMethod, if any.
|
|
1286
|
+
attr_reader :charge
|
|
1287
|
+
# The ID of the SetupAttempt that generated this PaymentMethod, if any.
|
|
1288
|
+
attr_reader :setup_attempt
|
|
1289
|
+
|
|
1290
|
+
def self.inner_class_types
|
|
1291
|
+
@inner_class_types = {}
|
|
1292
|
+
end
|
|
1293
|
+
|
|
1294
|
+
def self.field_remappings
|
|
1295
|
+
@field_remappings = {}
|
|
1296
|
+
end
|
|
1297
|
+
end
|
|
1298
|
+
# Bank code of bank associated with the bank account.
|
|
1299
|
+
attr_reader :bank_code
|
|
1300
|
+
# Branch code of bank associated with the bank account.
|
|
1301
|
+
attr_reader :branch_code
|
|
1302
|
+
# Two-letter ISO code representing the country the bank account is located in.
|
|
1303
|
+
attr_reader :country
|
|
1304
|
+
# Uniquely identifies this particular bank account. You can use this attribute to check whether two bank accounts are the same.
|
|
1305
|
+
attr_reader :fingerprint
|
|
1306
|
+
# Information about the object that generated this PaymentMethod.
|
|
1307
|
+
attr_reader :generated_from
|
|
1308
|
+
# Last four characters of the IBAN.
|
|
1309
|
+
attr_reader :last4
|
|
1310
|
+
|
|
1311
|
+
def self.inner_class_types
|
|
1312
|
+
@inner_class_types = { generated_from: GeneratedFrom }
|
|
1313
|
+
end
|
|
1314
|
+
|
|
1315
|
+
def self.field_remappings
|
|
1316
|
+
@field_remappings = {}
|
|
1317
|
+
end
|
|
1318
|
+
end
|
|
1319
|
+
|
|
1320
|
+
class Sofort < Stripe::StripeObject
|
|
1321
|
+
# Two-letter ISO code representing the country the bank account is located in.
|
|
1322
|
+
attr_reader :country
|
|
1323
|
+
|
|
1324
|
+
def self.inner_class_types
|
|
1325
|
+
@inner_class_types = {}
|
|
1326
|
+
end
|
|
1327
|
+
|
|
1328
|
+
def self.field_remappings
|
|
1329
|
+
@field_remappings = {}
|
|
1330
|
+
end
|
|
1331
|
+
end
|
|
1332
|
+
|
|
1333
|
+
class Swish < Stripe::StripeObject
|
|
1334
|
+
def self.inner_class_types
|
|
1335
|
+
@inner_class_types = {}
|
|
1336
|
+
end
|
|
1337
|
+
|
|
1338
|
+
def self.field_remappings
|
|
1339
|
+
@field_remappings = {}
|
|
1340
|
+
end
|
|
1341
|
+
end
|
|
1342
|
+
|
|
1343
|
+
class Twint < Stripe::StripeObject
|
|
1344
|
+
def self.inner_class_types
|
|
1345
|
+
@inner_class_types = {}
|
|
1346
|
+
end
|
|
1347
|
+
|
|
1348
|
+
def self.field_remappings
|
|
1349
|
+
@field_remappings = {}
|
|
1350
|
+
end
|
|
1351
|
+
end
|
|
1352
|
+
|
|
1353
|
+
class UsBankAccount < Stripe::StripeObject
|
|
1354
|
+
class Networks < Stripe::StripeObject
|
|
1355
|
+
# The preferred network.
|
|
1356
|
+
attr_reader :preferred
|
|
1357
|
+
# All supported networks.
|
|
1358
|
+
attr_reader :supported
|
|
1359
|
+
|
|
1360
|
+
def self.inner_class_types
|
|
1361
|
+
@inner_class_types = {}
|
|
1362
|
+
end
|
|
1363
|
+
|
|
1364
|
+
def self.field_remappings
|
|
1365
|
+
@field_remappings = {}
|
|
1366
|
+
end
|
|
1367
|
+
end
|
|
1368
|
+
|
|
1369
|
+
class StatusDetails < Stripe::StripeObject
|
|
1370
|
+
class Blocked < Stripe::StripeObject
|
|
1371
|
+
# The ACH network code that resulted in this block.
|
|
1372
|
+
attr_reader :network_code
|
|
1373
|
+
# The reason why this PaymentMethod's fingerprint has been blocked
|
|
1374
|
+
attr_reader :reason
|
|
1375
|
+
|
|
1376
|
+
def self.inner_class_types
|
|
1377
|
+
@inner_class_types = {}
|
|
1378
|
+
end
|
|
1379
|
+
|
|
1380
|
+
def self.field_remappings
|
|
1381
|
+
@field_remappings = {}
|
|
1382
|
+
end
|
|
1383
|
+
end
|
|
1384
|
+
# Attribute for field blocked
|
|
1385
|
+
attr_reader :blocked
|
|
1386
|
+
|
|
1387
|
+
def self.inner_class_types
|
|
1388
|
+
@inner_class_types = { blocked: Blocked }
|
|
1389
|
+
end
|
|
1390
|
+
|
|
1391
|
+
def self.field_remappings
|
|
1392
|
+
@field_remappings = {}
|
|
1393
|
+
end
|
|
1394
|
+
end
|
|
1395
|
+
# Account holder type: individual or company.
|
|
1396
|
+
attr_reader :account_holder_type
|
|
1397
|
+
# Account type: checkings or savings. Defaults to checking if omitted.
|
|
1398
|
+
attr_reader :account_type
|
|
1399
|
+
# The name of the bank.
|
|
1400
|
+
attr_reader :bank_name
|
|
1401
|
+
# The ID of the Financial Connections Account used to create the payment method.
|
|
1402
|
+
attr_reader :financial_connections_account
|
|
1403
|
+
# Uniquely identifies this particular bank account. You can use this attribute to check whether two bank accounts are the same.
|
|
1404
|
+
attr_reader :fingerprint
|
|
1405
|
+
# Last four digits of the bank account number.
|
|
1406
|
+
attr_reader :last4
|
|
1407
|
+
# Contains information about US bank account networks that can be used.
|
|
1408
|
+
attr_reader :networks
|
|
1409
|
+
# Routing number of the bank account.
|
|
1410
|
+
attr_reader :routing_number
|
|
1411
|
+
# Contains information about the future reusability of this PaymentMethod.
|
|
1412
|
+
attr_reader :status_details
|
|
1413
|
+
|
|
1414
|
+
def self.inner_class_types
|
|
1415
|
+
@inner_class_types = { networks: Networks, status_details: StatusDetails }
|
|
1416
|
+
end
|
|
1417
|
+
|
|
1418
|
+
def self.field_remappings
|
|
1419
|
+
@field_remappings = {}
|
|
1420
|
+
end
|
|
1421
|
+
end
|
|
1422
|
+
|
|
1423
|
+
class WechatPay < Stripe::StripeObject
|
|
1424
|
+
def self.inner_class_types
|
|
1425
|
+
@inner_class_types = {}
|
|
1426
|
+
end
|
|
1427
|
+
|
|
1428
|
+
def self.field_remappings
|
|
1429
|
+
@field_remappings = {}
|
|
1430
|
+
end
|
|
1431
|
+
end
|
|
1432
|
+
|
|
1433
|
+
class Zip < Stripe::StripeObject
|
|
1434
|
+
def self.inner_class_types
|
|
1435
|
+
@inner_class_types = {}
|
|
1436
|
+
end
|
|
1437
|
+
|
|
1438
|
+
def self.field_remappings
|
|
1439
|
+
@field_remappings = {}
|
|
1440
|
+
end
|
|
1441
|
+
end
|
|
1442
|
+
# Attribute for field acss_debit
|
|
1443
|
+
attr_reader :acss_debit
|
|
1444
|
+
# Attribute for field affirm
|
|
1445
|
+
attr_reader :affirm
|
|
1446
|
+
# Attribute for field afterpay_clearpay
|
|
1447
|
+
attr_reader :afterpay_clearpay
|
|
1448
|
+
# Attribute for field alipay
|
|
1449
|
+
attr_reader :alipay
|
|
1450
|
+
# 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”.
|
|
1451
|
+
attr_reader :allow_redisplay
|
|
1452
|
+
# Attribute for field alma
|
|
1453
|
+
attr_reader :alma
|
|
1454
|
+
# Attribute for field amazon_pay
|
|
1455
|
+
attr_reader :amazon_pay
|
|
1456
|
+
# Attribute for field au_becs_debit
|
|
1457
|
+
attr_reader :au_becs_debit
|
|
1458
|
+
# Attribute for field bacs_debit
|
|
1459
|
+
attr_reader :bacs_debit
|
|
1460
|
+
# Attribute for field bancontact
|
|
1461
|
+
attr_reader :bancontact
|
|
1462
|
+
# Attribute for field billie
|
|
1463
|
+
attr_reader :billie
|
|
1464
|
+
# Attribute for field billing_details
|
|
1465
|
+
attr_reader :billing_details
|
|
1466
|
+
# Attribute for field blik
|
|
1467
|
+
attr_reader :blik
|
|
1468
|
+
# Attribute for field boleto
|
|
1469
|
+
attr_reader :boleto
|
|
1470
|
+
# Attribute for field card
|
|
1471
|
+
attr_reader :card
|
|
1472
|
+
# Attribute for field card_present
|
|
1473
|
+
attr_reader :card_present
|
|
1474
|
+
# Attribute for field cashapp
|
|
1475
|
+
attr_reader :cashapp
|
|
1476
|
+
# Attribute for field crypto
|
|
1477
|
+
attr_reader :crypto
|
|
1478
|
+
# The ID of the Customer to which this PaymentMethod is saved. This will not be set when the PaymentMethod has not been saved to a Customer.
|
|
1479
|
+
attr_reader :customer
|
|
1480
|
+
# Attribute for field customer_balance
|
|
1481
|
+
attr_reader :customer_balance
|
|
1482
|
+
# Attribute for field eps
|
|
1483
|
+
attr_reader :eps
|
|
1484
|
+
# Attribute for field fpx
|
|
1485
|
+
attr_reader :fpx
|
|
1486
|
+
# Attribute for field giropay
|
|
1487
|
+
attr_reader :giropay
|
|
1488
|
+
# Attribute for field grabpay
|
|
1489
|
+
attr_reader :grabpay
|
|
1490
|
+
# Attribute for field ideal
|
|
1491
|
+
attr_reader :ideal
|
|
1492
|
+
# Attribute for field interac_present
|
|
1493
|
+
attr_reader :interac_present
|
|
1494
|
+
# Attribute for field kakao_pay
|
|
1495
|
+
attr_reader :kakao_pay
|
|
1496
|
+
# Attribute for field klarna
|
|
1497
|
+
attr_reader :klarna
|
|
1498
|
+
# Attribute for field konbini
|
|
1499
|
+
attr_reader :konbini
|
|
1500
|
+
# Attribute for field kr_card
|
|
1501
|
+
attr_reader :kr_card
|
|
1502
|
+
# Attribute for field link
|
|
1503
|
+
attr_reader :link
|
|
1504
|
+
# Attribute for field mb_way
|
|
1505
|
+
attr_reader :mb_way
|
|
1506
|
+
# Attribute for field mobilepay
|
|
1507
|
+
attr_reader :mobilepay
|
|
1508
|
+
# Attribute for field multibanco
|
|
1509
|
+
attr_reader :multibanco
|
|
1510
|
+
# Attribute for field naver_pay
|
|
1511
|
+
attr_reader :naver_pay
|
|
1512
|
+
# Attribute for field nz_bank_account
|
|
1513
|
+
attr_reader :nz_bank_account
|
|
1514
|
+
# Attribute for field oxxo
|
|
1515
|
+
attr_reader :oxxo
|
|
1516
|
+
# Attribute for field p24
|
|
1517
|
+
attr_reader :p24
|
|
1518
|
+
# Attribute for field pay_by_bank
|
|
1519
|
+
attr_reader :pay_by_bank
|
|
1520
|
+
# Attribute for field payco
|
|
1521
|
+
attr_reader :payco
|
|
1522
|
+
# Attribute for field paynow
|
|
1523
|
+
attr_reader :paynow
|
|
1524
|
+
# Attribute for field paypal
|
|
1525
|
+
attr_reader :paypal
|
|
1526
|
+
# Attribute for field pix
|
|
1527
|
+
attr_reader :pix
|
|
1528
|
+
# Attribute for field promptpay
|
|
1529
|
+
attr_reader :promptpay
|
|
1530
|
+
# Attribute for field revolut_pay
|
|
1531
|
+
attr_reader :revolut_pay
|
|
1532
|
+
# Attribute for field samsung_pay
|
|
1533
|
+
attr_reader :samsung_pay
|
|
1534
|
+
# Attribute for field satispay
|
|
1535
|
+
attr_reader :satispay
|
|
1536
|
+
# Attribute for field sepa_debit
|
|
1537
|
+
attr_reader :sepa_debit
|
|
1538
|
+
# Attribute for field sofort
|
|
1539
|
+
attr_reader :sofort
|
|
1540
|
+
# Attribute for field swish
|
|
1541
|
+
attr_reader :swish
|
|
1542
|
+
# Attribute for field twint
|
|
1543
|
+
attr_reader :twint
|
|
1544
|
+
# 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.
|
|
1545
|
+
attr_reader :type
|
|
1546
|
+
# Attribute for field us_bank_account
|
|
1547
|
+
attr_reader :us_bank_account
|
|
1548
|
+
# Attribute for field wechat_pay
|
|
1549
|
+
attr_reader :wechat_pay
|
|
1550
|
+
# Attribute for field zip
|
|
1551
|
+
attr_reader :zip
|
|
1552
|
+
|
|
1553
|
+
def self.inner_class_types
|
|
1554
|
+
@inner_class_types = {
|
|
1555
|
+
acss_debit: AcssDebit,
|
|
1556
|
+
affirm: Affirm,
|
|
1557
|
+
afterpay_clearpay: AfterpayClearpay,
|
|
1558
|
+
alipay: Alipay,
|
|
1559
|
+
alma: Alma,
|
|
1560
|
+
amazon_pay: AmazonPay,
|
|
1561
|
+
au_becs_debit: AuBecsDebit,
|
|
1562
|
+
bacs_debit: BacsDebit,
|
|
1563
|
+
bancontact: Bancontact,
|
|
1564
|
+
billie: Billie,
|
|
1565
|
+
billing_details: BillingDetails,
|
|
1566
|
+
blik: Blik,
|
|
1567
|
+
boleto: Boleto,
|
|
1568
|
+
card: Card,
|
|
1569
|
+
card_present: CardPresent,
|
|
1570
|
+
cashapp: Cashapp,
|
|
1571
|
+
crypto: Crypto,
|
|
1572
|
+
customer_balance: CustomerBalance,
|
|
1573
|
+
eps: Eps,
|
|
1574
|
+
fpx: Fpx,
|
|
1575
|
+
giropay: Giropay,
|
|
1576
|
+
grabpay: Grabpay,
|
|
1577
|
+
ideal: Ideal,
|
|
1578
|
+
interac_present: InteracPresent,
|
|
1579
|
+
kakao_pay: KakaoPay,
|
|
1580
|
+
klarna: Klarna,
|
|
1581
|
+
konbini: Konbini,
|
|
1582
|
+
kr_card: KrCard,
|
|
1583
|
+
link: Link,
|
|
1584
|
+
mb_way: MbWay,
|
|
1585
|
+
mobilepay: Mobilepay,
|
|
1586
|
+
multibanco: Multibanco,
|
|
1587
|
+
naver_pay: NaverPay,
|
|
1588
|
+
nz_bank_account: NzBankAccount,
|
|
1589
|
+
oxxo: Oxxo,
|
|
1590
|
+
p24: P24,
|
|
1591
|
+
pay_by_bank: PayByBank,
|
|
1592
|
+
payco: Payco,
|
|
1593
|
+
paynow: Paynow,
|
|
1594
|
+
paypal: Paypal,
|
|
1595
|
+
pix: Pix,
|
|
1596
|
+
promptpay: Promptpay,
|
|
1597
|
+
revolut_pay: RevolutPay,
|
|
1598
|
+
samsung_pay: SamsungPay,
|
|
1599
|
+
satispay: Satispay,
|
|
1600
|
+
sepa_debit: SepaDebit,
|
|
1601
|
+
sofort: Sofort,
|
|
1602
|
+
swish: Swish,
|
|
1603
|
+
twint: Twint,
|
|
1604
|
+
us_bank_account: UsBankAccount,
|
|
1605
|
+
wechat_pay: WechatPay,
|
|
1606
|
+
zip: Zip,
|
|
1607
|
+
}
|
|
1608
|
+
end
|
|
1609
|
+
|
|
1610
|
+
def self.field_remappings
|
|
1611
|
+
@field_remappings = {}
|
|
1612
|
+
end
|
|
1613
|
+
end
|
|
1614
|
+
|
|
1615
|
+
class Shipping < Stripe::StripeObject
|
|
1616
|
+
class Address < Stripe::StripeObject
|
|
1617
|
+
# City, district, suburb, town, or village.
|
|
1618
|
+
attr_reader :city
|
|
1619
|
+
# Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)).
|
|
1620
|
+
attr_reader :country
|
|
1621
|
+
# Address line 1, such as the street, PO Box, or company name.
|
|
1622
|
+
attr_reader :line1
|
|
1623
|
+
# Address line 2, such as the apartment, suite, unit, or building.
|
|
1624
|
+
attr_reader :line2
|
|
1625
|
+
# ZIP or postal code.
|
|
1626
|
+
attr_reader :postal_code
|
|
1627
|
+
# State, county, province, or region.
|
|
1628
|
+
attr_reader :state
|
|
1629
|
+
|
|
1630
|
+
def self.inner_class_types
|
|
1631
|
+
@inner_class_types = {}
|
|
1632
|
+
end
|
|
1633
|
+
|
|
1634
|
+
def self.field_remappings
|
|
1635
|
+
@field_remappings = {}
|
|
1636
|
+
end
|
|
1637
|
+
end
|
|
1638
|
+
# Attribute for field address
|
|
1639
|
+
attr_reader :address
|
|
1640
|
+
# Recipient name.
|
|
1641
|
+
attr_reader :name
|
|
1642
|
+
# Recipient phone (including extension).
|
|
1643
|
+
attr_reader :phone
|
|
1644
|
+
|
|
1645
|
+
def self.inner_class_types
|
|
1646
|
+
@inner_class_types = { address: Address }
|
|
1647
|
+
end
|
|
1648
|
+
|
|
1649
|
+
def self.field_remappings
|
|
1650
|
+
@field_remappings = {}
|
|
1651
|
+
end
|
|
1652
|
+
end
|
|
1653
|
+
# Time at which the object was created. Measured in seconds since the Unix epoch.
|
|
1654
|
+
attr_reader :created
|
|
1655
|
+
# Time at which this ConfirmationToken expires and can no longer be used to confirm a PaymentIntent or SetupIntent.
|
|
1656
|
+
attr_reader :expires_at
|
|
1657
|
+
# Unique identifier for the object.
|
|
1658
|
+
attr_reader :id
|
|
1659
|
+
# Has the value `true` if the object exists in live mode or the value `false` if the object exists in test mode.
|
|
1660
|
+
attr_reader :livemode
|
|
1661
|
+
# Data used for generating a Mandate.
|
|
1662
|
+
attr_reader :mandate_data
|
|
1663
|
+
# String representing the object's type. Objects of the same type share the same value.
|
|
1664
|
+
attr_reader :object
|
|
1665
|
+
# ID of the PaymentIntent that this ConfirmationToken was used to confirm, or null if this ConfirmationToken has not yet been used.
|
|
1666
|
+
attr_reader :payment_intent
|
|
1667
|
+
# Payment-method-specific configuration for this ConfirmationToken.
|
|
1668
|
+
attr_reader :payment_method_options
|
|
1669
|
+
# Payment details collected by the Payment Element, used to create a PaymentMethod when a PaymentIntent or SetupIntent is confirmed with this ConfirmationToken.
|
|
1670
|
+
attr_reader :payment_method_preview
|
|
1671
|
+
# Return URL used to confirm the Intent.
|
|
1672
|
+
attr_reader :return_url
|
|
1673
|
+
# Indicates that you intend to make future payments with this ConfirmationToken's payment method.
|
|
1674
|
+
#
|
|
1675
|
+
# The presence of this property will [attach the payment method](https://stripe.com/docs/payments/save-during-payment) to the PaymentIntent's Customer, if present, after the PaymentIntent is confirmed and any required actions from the user are complete.
|
|
1676
|
+
attr_reader :setup_future_usage
|
|
1677
|
+
# ID of the SetupIntent that this ConfirmationToken was used to confirm, or null if this ConfirmationToken has not yet been used.
|
|
1678
|
+
attr_reader :setup_intent
|
|
1679
|
+
# Shipping information collected on this ConfirmationToken.
|
|
1680
|
+
attr_reader :shipping
|
|
1681
|
+
# Indicates whether the Stripe SDK is used to handle confirmation flow. Defaults to `true` on ConfirmationToken.
|
|
1682
|
+
attr_reader :use_stripe_sdk
|
|
1683
|
+
|
|
18
1684
|
def test_helpers
|
|
19
1685
|
TestHelpers.new(self)
|
|
20
1686
|
end
|
|
@@ -35,5 +1701,18 @@ module Stripe
|
|
|
35
1701
|
)
|
|
36
1702
|
end
|
|
37
1703
|
end
|
|
1704
|
+
|
|
1705
|
+
def self.inner_class_types
|
|
1706
|
+
@inner_class_types = {
|
|
1707
|
+
mandate_data: MandateData,
|
|
1708
|
+
payment_method_options: PaymentMethodOptions,
|
|
1709
|
+
payment_method_preview: PaymentMethodPreview,
|
|
1710
|
+
shipping: Shipping,
|
|
1711
|
+
}
|
|
1712
|
+
end
|
|
1713
|
+
|
|
1714
|
+
def self.field_remappings
|
|
1715
|
+
@field_remappings = {}
|
|
1716
|
+
end
|
|
38
1717
|
end
|
|
39
1718
|
end
|