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
|
@@ -24,6 +24,856 @@ module Stripe
|
|
|
24
24
|
|
|
25
25
|
nested_resource_class_methods :source_transaction, operations: %i[retrieve list]
|
|
26
26
|
|
|
27
|
+
class AchCreditTransfer < Stripe::StripeObject
|
|
28
|
+
# Attribute for field account_number
|
|
29
|
+
attr_reader :account_number
|
|
30
|
+
# Attribute for field bank_name
|
|
31
|
+
attr_reader :bank_name
|
|
32
|
+
# Attribute for field fingerprint
|
|
33
|
+
attr_reader :fingerprint
|
|
34
|
+
# Attribute for field refund_account_holder_name
|
|
35
|
+
attr_reader :refund_account_holder_name
|
|
36
|
+
# Attribute for field refund_account_holder_type
|
|
37
|
+
attr_reader :refund_account_holder_type
|
|
38
|
+
# Attribute for field refund_routing_number
|
|
39
|
+
attr_reader :refund_routing_number
|
|
40
|
+
# Attribute for field routing_number
|
|
41
|
+
attr_reader :routing_number
|
|
42
|
+
# Attribute for field swift_code
|
|
43
|
+
attr_reader :swift_code
|
|
44
|
+
|
|
45
|
+
def self.inner_class_types
|
|
46
|
+
@inner_class_types = {}
|
|
47
|
+
end
|
|
48
|
+
|
|
49
|
+
def self.field_remappings
|
|
50
|
+
@field_remappings = {}
|
|
51
|
+
end
|
|
52
|
+
end
|
|
53
|
+
|
|
54
|
+
class AchDebit < Stripe::StripeObject
|
|
55
|
+
# Attribute for field bank_name
|
|
56
|
+
attr_reader :bank_name
|
|
57
|
+
# Attribute for field country
|
|
58
|
+
attr_reader :country
|
|
59
|
+
# Attribute for field fingerprint
|
|
60
|
+
attr_reader :fingerprint
|
|
61
|
+
# Attribute for field last4
|
|
62
|
+
attr_reader :last4
|
|
63
|
+
# Attribute for field routing_number
|
|
64
|
+
attr_reader :routing_number
|
|
65
|
+
# Attribute for field type
|
|
66
|
+
attr_reader :type
|
|
67
|
+
|
|
68
|
+
def self.inner_class_types
|
|
69
|
+
@inner_class_types = {}
|
|
70
|
+
end
|
|
71
|
+
|
|
72
|
+
def self.field_remappings
|
|
73
|
+
@field_remappings = {}
|
|
74
|
+
end
|
|
75
|
+
end
|
|
76
|
+
|
|
77
|
+
class AcssDebit < Stripe::StripeObject
|
|
78
|
+
# Attribute for field bank_address_city
|
|
79
|
+
attr_reader :bank_address_city
|
|
80
|
+
# Attribute for field bank_address_line_1
|
|
81
|
+
attr_reader :bank_address_line_1
|
|
82
|
+
# Attribute for field bank_address_line_2
|
|
83
|
+
attr_reader :bank_address_line_2
|
|
84
|
+
# Attribute for field bank_address_postal_code
|
|
85
|
+
attr_reader :bank_address_postal_code
|
|
86
|
+
# Attribute for field bank_name
|
|
87
|
+
attr_reader :bank_name
|
|
88
|
+
# Attribute for field category
|
|
89
|
+
attr_reader :category
|
|
90
|
+
# Attribute for field country
|
|
91
|
+
attr_reader :country
|
|
92
|
+
# Attribute for field fingerprint
|
|
93
|
+
attr_reader :fingerprint
|
|
94
|
+
# Attribute for field last4
|
|
95
|
+
attr_reader :last4
|
|
96
|
+
# Attribute for field routing_number
|
|
97
|
+
attr_reader :routing_number
|
|
98
|
+
|
|
99
|
+
def self.inner_class_types
|
|
100
|
+
@inner_class_types = {}
|
|
101
|
+
end
|
|
102
|
+
|
|
103
|
+
def self.field_remappings
|
|
104
|
+
@field_remappings = {}
|
|
105
|
+
end
|
|
106
|
+
end
|
|
107
|
+
|
|
108
|
+
class Alipay < Stripe::StripeObject
|
|
109
|
+
# Attribute for field data_string
|
|
110
|
+
attr_reader :data_string
|
|
111
|
+
# Attribute for field native_url
|
|
112
|
+
attr_reader :native_url
|
|
113
|
+
# Attribute for field statement_descriptor
|
|
114
|
+
attr_reader :statement_descriptor
|
|
115
|
+
|
|
116
|
+
def self.inner_class_types
|
|
117
|
+
@inner_class_types = {}
|
|
118
|
+
end
|
|
119
|
+
|
|
120
|
+
def self.field_remappings
|
|
121
|
+
@field_remappings = {}
|
|
122
|
+
end
|
|
123
|
+
end
|
|
124
|
+
|
|
125
|
+
class AuBecsDebit < Stripe::StripeObject
|
|
126
|
+
# Attribute for field bsb_number
|
|
127
|
+
attr_reader :bsb_number
|
|
128
|
+
# Attribute for field fingerprint
|
|
129
|
+
attr_reader :fingerprint
|
|
130
|
+
# Attribute for field last4
|
|
131
|
+
attr_reader :last4
|
|
132
|
+
|
|
133
|
+
def self.inner_class_types
|
|
134
|
+
@inner_class_types = {}
|
|
135
|
+
end
|
|
136
|
+
|
|
137
|
+
def self.field_remappings
|
|
138
|
+
@field_remappings = {}
|
|
139
|
+
end
|
|
140
|
+
end
|
|
141
|
+
|
|
142
|
+
class Bancontact < Stripe::StripeObject
|
|
143
|
+
# Attribute for field bank_code
|
|
144
|
+
attr_reader :bank_code
|
|
145
|
+
# Attribute for field bank_name
|
|
146
|
+
attr_reader :bank_name
|
|
147
|
+
# Attribute for field bic
|
|
148
|
+
attr_reader :bic
|
|
149
|
+
# Attribute for field iban_last4
|
|
150
|
+
attr_reader :iban_last4
|
|
151
|
+
# Attribute for field preferred_language
|
|
152
|
+
attr_reader :preferred_language
|
|
153
|
+
# Attribute for field statement_descriptor
|
|
154
|
+
attr_reader :statement_descriptor
|
|
155
|
+
|
|
156
|
+
def self.inner_class_types
|
|
157
|
+
@inner_class_types = {}
|
|
158
|
+
end
|
|
159
|
+
|
|
160
|
+
def self.field_remappings
|
|
161
|
+
@field_remappings = {}
|
|
162
|
+
end
|
|
163
|
+
end
|
|
164
|
+
|
|
165
|
+
class Card < Stripe::StripeObject
|
|
166
|
+
# Attribute for field address_line1_check
|
|
167
|
+
attr_reader :address_line1_check
|
|
168
|
+
# Attribute for field address_zip_check
|
|
169
|
+
attr_reader :address_zip_check
|
|
170
|
+
# Attribute for field brand
|
|
171
|
+
attr_reader :brand
|
|
172
|
+
# Attribute for field country
|
|
173
|
+
attr_reader :country
|
|
174
|
+
# Attribute for field cvc_check
|
|
175
|
+
attr_reader :cvc_check
|
|
176
|
+
# Attribute for field description
|
|
177
|
+
attr_reader :description
|
|
178
|
+
# Attribute for field dynamic_last4
|
|
179
|
+
attr_reader :dynamic_last4
|
|
180
|
+
# Attribute for field exp_month
|
|
181
|
+
attr_reader :exp_month
|
|
182
|
+
# Attribute for field exp_year
|
|
183
|
+
attr_reader :exp_year
|
|
184
|
+
# Attribute for field fingerprint
|
|
185
|
+
attr_reader :fingerprint
|
|
186
|
+
# Attribute for field funding
|
|
187
|
+
attr_reader :funding
|
|
188
|
+
# Attribute for field iin
|
|
189
|
+
attr_reader :iin
|
|
190
|
+
# Attribute for field issuer
|
|
191
|
+
attr_reader :issuer
|
|
192
|
+
# Attribute for field last4
|
|
193
|
+
attr_reader :last4
|
|
194
|
+
# Attribute for field name
|
|
195
|
+
attr_reader :name
|
|
196
|
+
# Attribute for field three_d_secure
|
|
197
|
+
attr_reader :three_d_secure
|
|
198
|
+
# Attribute for field tokenization_method
|
|
199
|
+
attr_reader :tokenization_method
|
|
200
|
+
|
|
201
|
+
def self.inner_class_types
|
|
202
|
+
@inner_class_types = {}
|
|
203
|
+
end
|
|
204
|
+
|
|
205
|
+
def self.field_remappings
|
|
206
|
+
@field_remappings = {}
|
|
207
|
+
end
|
|
208
|
+
end
|
|
209
|
+
|
|
210
|
+
class CardPresent < Stripe::StripeObject
|
|
211
|
+
# Attribute for field application_cryptogram
|
|
212
|
+
attr_reader :application_cryptogram
|
|
213
|
+
# Attribute for field application_preferred_name
|
|
214
|
+
attr_reader :application_preferred_name
|
|
215
|
+
# Attribute for field authorization_code
|
|
216
|
+
attr_reader :authorization_code
|
|
217
|
+
# Attribute for field authorization_response_code
|
|
218
|
+
attr_reader :authorization_response_code
|
|
219
|
+
# Attribute for field brand
|
|
220
|
+
attr_reader :brand
|
|
221
|
+
# Attribute for field country
|
|
222
|
+
attr_reader :country
|
|
223
|
+
# Attribute for field cvm_type
|
|
224
|
+
attr_reader :cvm_type
|
|
225
|
+
# Attribute for field data_type
|
|
226
|
+
attr_reader :data_type
|
|
227
|
+
# Attribute for field dedicated_file_name
|
|
228
|
+
attr_reader :dedicated_file_name
|
|
229
|
+
# Attribute for field description
|
|
230
|
+
attr_reader :description
|
|
231
|
+
# Attribute for field emv_auth_data
|
|
232
|
+
attr_reader :emv_auth_data
|
|
233
|
+
# Attribute for field evidence_customer_signature
|
|
234
|
+
attr_reader :evidence_customer_signature
|
|
235
|
+
# Attribute for field evidence_transaction_certificate
|
|
236
|
+
attr_reader :evidence_transaction_certificate
|
|
237
|
+
# Attribute for field exp_month
|
|
238
|
+
attr_reader :exp_month
|
|
239
|
+
# Attribute for field exp_year
|
|
240
|
+
attr_reader :exp_year
|
|
241
|
+
# Attribute for field fingerprint
|
|
242
|
+
attr_reader :fingerprint
|
|
243
|
+
# Attribute for field funding
|
|
244
|
+
attr_reader :funding
|
|
245
|
+
# Attribute for field iin
|
|
246
|
+
attr_reader :iin
|
|
247
|
+
# Attribute for field issuer
|
|
248
|
+
attr_reader :issuer
|
|
249
|
+
# Attribute for field last4
|
|
250
|
+
attr_reader :last4
|
|
251
|
+
# Attribute for field pos_device_id
|
|
252
|
+
attr_reader :pos_device_id
|
|
253
|
+
# Attribute for field pos_entry_mode
|
|
254
|
+
attr_reader :pos_entry_mode
|
|
255
|
+
# Attribute for field read_method
|
|
256
|
+
attr_reader :read_method
|
|
257
|
+
# Attribute for field reader
|
|
258
|
+
attr_reader :reader
|
|
259
|
+
# Attribute for field terminal_verification_results
|
|
260
|
+
attr_reader :terminal_verification_results
|
|
261
|
+
# Attribute for field transaction_status_information
|
|
262
|
+
attr_reader :transaction_status_information
|
|
263
|
+
|
|
264
|
+
def self.inner_class_types
|
|
265
|
+
@inner_class_types = {}
|
|
266
|
+
end
|
|
267
|
+
|
|
268
|
+
def self.field_remappings
|
|
269
|
+
@field_remappings = {}
|
|
270
|
+
end
|
|
271
|
+
end
|
|
272
|
+
|
|
273
|
+
class CodeVerification < Stripe::StripeObject
|
|
274
|
+
# The number of attempts remaining to authenticate the source object with a verification code.
|
|
275
|
+
attr_reader :attempts_remaining
|
|
276
|
+
# The status of the code verification, either `pending` (awaiting verification, `attempts_remaining` should be greater than 0), `succeeded` (successful verification) or `failed` (failed verification, cannot be verified anymore as `attempts_remaining` should be 0).
|
|
277
|
+
attr_reader :status
|
|
278
|
+
|
|
279
|
+
def self.inner_class_types
|
|
280
|
+
@inner_class_types = {}
|
|
281
|
+
end
|
|
282
|
+
|
|
283
|
+
def self.field_remappings
|
|
284
|
+
@field_remappings = {}
|
|
285
|
+
end
|
|
286
|
+
end
|
|
287
|
+
|
|
288
|
+
class Eps < Stripe::StripeObject
|
|
289
|
+
# Attribute for field reference
|
|
290
|
+
attr_reader :reference
|
|
291
|
+
# Attribute for field statement_descriptor
|
|
292
|
+
attr_reader :statement_descriptor
|
|
293
|
+
|
|
294
|
+
def self.inner_class_types
|
|
295
|
+
@inner_class_types = {}
|
|
296
|
+
end
|
|
297
|
+
|
|
298
|
+
def self.field_remappings
|
|
299
|
+
@field_remappings = {}
|
|
300
|
+
end
|
|
301
|
+
end
|
|
302
|
+
|
|
303
|
+
class Giropay < Stripe::StripeObject
|
|
304
|
+
# Attribute for field bank_code
|
|
305
|
+
attr_reader :bank_code
|
|
306
|
+
# Attribute for field bank_name
|
|
307
|
+
attr_reader :bank_name
|
|
308
|
+
# Attribute for field bic
|
|
309
|
+
attr_reader :bic
|
|
310
|
+
# Attribute for field statement_descriptor
|
|
311
|
+
attr_reader :statement_descriptor
|
|
312
|
+
|
|
313
|
+
def self.inner_class_types
|
|
314
|
+
@inner_class_types = {}
|
|
315
|
+
end
|
|
316
|
+
|
|
317
|
+
def self.field_remappings
|
|
318
|
+
@field_remappings = {}
|
|
319
|
+
end
|
|
320
|
+
end
|
|
321
|
+
|
|
322
|
+
class Ideal < Stripe::StripeObject
|
|
323
|
+
# Attribute for field bank
|
|
324
|
+
attr_reader :bank
|
|
325
|
+
# Attribute for field bic
|
|
326
|
+
attr_reader :bic
|
|
327
|
+
# Attribute for field iban_last4
|
|
328
|
+
attr_reader :iban_last4
|
|
329
|
+
# Attribute for field statement_descriptor
|
|
330
|
+
attr_reader :statement_descriptor
|
|
331
|
+
|
|
332
|
+
def self.inner_class_types
|
|
333
|
+
@inner_class_types = {}
|
|
334
|
+
end
|
|
335
|
+
|
|
336
|
+
def self.field_remappings
|
|
337
|
+
@field_remappings = {}
|
|
338
|
+
end
|
|
339
|
+
end
|
|
340
|
+
|
|
341
|
+
class Klarna < Stripe::StripeObject
|
|
342
|
+
# Attribute for field background_image_url
|
|
343
|
+
attr_reader :background_image_url
|
|
344
|
+
# Attribute for field client_token
|
|
345
|
+
attr_reader :client_token
|
|
346
|
+
# Attribute for field first_name
|
|
347
|
+
attr_reader :first_name
|
|
348
|
+
# Attribute for field last_name
|
|
349
|
+
attr_reader :last_name
|
|
350
|
+
# Attribute for field locale
|
|
351
|
+
attr_reader :locale
|
|
352
|
+
# Attribute for field logo_url
|
|
353
|
+
attr_reader :logo_url
|
|
354
|
+
# Attribute for field page_title
|
|
355
|
+
attr_reader :page_title
|
|
356
|
+
# Attribute for field pay_later_asset_urls_descriptive
|
|
357
|
+
attr_reader :pay_later_asset_urls_descriptive
|
|
358
|
+
# Attribute for field pay_later_asset_urls_standard
|
|
359
|
+
attr_reader :pay_later_asset_urls_standard
|
|
360
|
+
# Attribute for field pay_later_name
|
|
361
|
+
attr_reader :pay_later_name
|
|
362
|
+
# Attribute for field pay_later_redirect_url
|
|
363
|
+
attr_reader :pay_later_redirect_url
|
|
364
|
+
# Attribute for field pay_now_asset_urls_descriptive
|
|
365
|
+
attr_reader :pay_now_asset_urls_descriptive
|
|
366
|
+
# Attribute for field pay_now_asset_urls_standard
|
|
367
|
+
attr_reader :pay_now_asset_urls_standard
|
|
368
|
+
# Attribute for field pay_now_name
|
|
369
|
+
attr_reader :pay_now_name
|
|
370
|
+
# Attribute for field pay_now_redirect_url
|
|
371
|
+
attr_reader :pay_now_redirect_url
|
|
372
|
+
# Attribute for field pay_over_time_asset_urls_descriptive
|
|
373
|
+
attr_reader :pay_over_time_asset_urls_descriptive
|
|
374
|
+
# Attribute for field pay_over_time_asset_urls_standard
|
|
375
|
+
attr_reader :pay_over_time_asset_urls_standard
|
|
376
|
+
# Attribute for field pay_over_time_name
|
|
377
|
+
attr_reader :pay_over_time_name
|
|
378
|
+
# Attribute for field pay_over_time_redirect_url
|
|
379
|
+
attr_reader :pay_over_time_redirect_url
|
|
380
|
+
# Attribute for field payment_method_categories
|
|
381
|
+
attr_reader :payment_method_categories
|
|
382
|
+
# Attribute for field purchase_country
|
|
383
|
+
attr_reader :purchase_country
|
|
384
|
+
# Attribute for field purchase_type
|
|
385
|
+
attr_reader :purchase_type
|
|
386
|
+
# Attribute for field redirect_url
|
|
387
|
+
attr_reader :redirect_url
|
|
388
|
+
# Attribute for field shipping_delay
|
|
389
|
+
attr_reader :shipping_delay
|
|
390
|
+
# Attribute for field shipping_first_name
|
|
391
|
+
attr_reader :shipping_first_name
|
|
392
|
+
# Attribute for field shipping_last_name
|
|
393
|
+
attr_reader :shipping_last_name
|
|
394
|
+
|
|
395
|
+
def self.inner_class_types
|
|
396
|
+
@inner_class_types = {}
|
|
397
|
+
end
|
|
398
|
+
|
|
399
|
+
def self.field_remappings
|
|
400
|
+
@field_remappings = {}
|
|
401
|
+
end
|
|
402
|
+
end
|
|
403
|
+
|
|
404
|
+
class Multibanco < Stripe::StripeObject
|
|
405
|
+
# Attribute for field entity
|
|
406
|
+
attr_reader :entity
|
|
407
|
+
# Attribute for field reference
|
|
408
|
+
attr_reader :reference
|
|
409
|
+
# Attribute for field refund_account_holder_address_city
|
|
410
|
+
attr_reader :refund_account_holder_address_city
|
|
411
|
+
# Attribute for field refund_account_holder_address_country
|
|
412
|
+
attr_reader :refund_account_holder_address_country
|
|
413
|
+
# Attribute for field refund_account_holder_address_line1
|
|
414
|
+
attr_reader :refund_account_holder_address_line1
|
|
415
|
+
# Attribute for field refund_account_holder_address_line2
|
|
416
|
+
attr_reader :refund_account_holder_address_line2
|
|
417
|
+
# Attribute for field refund_account_holder_address_postal_code
|
|
418
|
+
attr_reader :refund_account_holder_address_postal_code
|
|
419
|
+
# Attribute for field refund_account_holder_address_state
|
|
420
|
+
attr_reader :refund_account_holder_address_state
|
|
421
|
+
# Attribute for field refund_account_holder_name
|
|
422
|
+
attr_reader :refund_account_holder_name
|
|
423
|
+
# Attribute for field refund_iban
|
|
424
|
+
attr_reader :refund_iban
|
|
425
|
+
|
|
426
|
+
def self.inner_class_types
|
|
427
|
+
@inner_class_types = {}
|
|
428
|
+
end
|
|
429
|
+
|
|
430
|
+
def self.field_remappings
|
|
431
|
+
@field_remappings = {}
|
|
432
|
+
end
|
|
433
|
+
end
|
|
434
|
+
|
|
435
|
+
class Owner < Stripe::StripeObject
|
|
436
|
+
class Address < Stripe::StripeObject
|
|
437
|
+
# City, district, suburb, town, or village.
|
|
438
|
+
attr_reader :city
|
|
439
|
+
# Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)).
|
|
440
|
+
attr_reader :country
|
|
441
|
+
# Address line 1, such as the street, PO Box, or company name.
|
|
442
|
+
attr_reader :line1
|
|
443
|
+
# Address line 2, such as the apartment, suite, unit, or building.
|
|
444
|
+
attr_reader :line2
|
|
445
|
+
# ZIP or postal code.
|
|
446
|
+
attr_reader :postal_code
|
|
447
|
+
# State, county, province, or region.
|
|
448
|
+
attr_reader :state
|
|
449
|
+
|
|
450
|
+
def self.inner_class_types
|
|
451
|
+
@inner_class_types = {}
|
|
452
|
+
end
|
|
453
|
+
|
|
454
|
+
def self.field_remappings
|
|
455
|
+
@field_remappings = {}
|
|
456
|
+
end
|
|
457
|
+
end
|
|
458
|
+
|
|
459
|
+
class VerifiedAddress < Stripe::StripeObject
|
|
460
|
+
# City, district, suburb, town, or village.
|
|
461
|
+
attr_reader :city
|
|
462
|
+
# Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)).
|
|
463
|
+
attr_reader :country
|
|
464
|
+
# Address line 1, such as the street, PO Box, or company name.
|
|
465
|
+
attr_reader :line1
|
|
466
|
+
# Address line 2, such as the apartment, suite, unit, or building.
|
|
467
|
+
attr_reader :line2
|
|
468
|
+
# ZIP or postal code.
|
|
469
|
+
attr_reader :postal_code
|
|
470
|
+
# State, county, province, or region.
|
|
471
|
+
attr_reader :state
|
|
472
|
+
|
|
473
|
+
def self.inner_class_types
|
|
474
|
+
@inner_class_types = {}
|
|
475
|
+
end
|
|
476
|
+
|
|
477
|
+
def self.field_remappings
|
|
478
|
+
@field_remappings = {}
|
|
479
|
+
end
|
|
480
|
+
end
|
|
481
|
+
# Owner's address.
|
|
482
|
+
attr_reader :address
|
|
483
|
+
# Owner's email address.
|
|
484
|
+
attr_reader :email
|
|
485
|
+
# Owner's full name.
|
|
486
|
+
attr_reader :name
|
|
487
|
+
# Owner's phone number (including extension).
|
|
488
|
+
attr_reader :phone
|
|
489
|
+
# Verified owner's address. Verified values are verified or provided by the payment method directly (and if supported) at the time of authorization or settlement. They cannot be set or mutated.
|
|
490
|
+
attr_reader :verified_address
|
|
491
|
+
# Verified owner's email address. Verified values are verified or provided by the payment method directly (and if supported) at the time of authorization or settlement. They cannot be set or mutated.
|
|
492
|
+
attr_reader :verified_email
|
|
493
|
+
# Verified owner's full name. Verified values are verified or provided by the payment method directly (and if supported) at the time of authorization or settlement. They cannot be set or mutated.
|
|
494
|
+
attr_reader :verified_name
|
|
495
|
+
# Verified owner's phone number (including extension). Verified values are verified or provided by the payment method directly (and if supported) at the time of authorization or settlement. They cannot be set or mutated.
|
|
496
|
+
attr_reader :verified_phone
|
|
497
|
+
|
|
498
|
+
def self.inner_class_types
|
|
499
|
+
@inner_class_types = { address: Address, verified_address: VerifiedAddress }
|
|
500
|
+
end
|
|
501
|
+
|
|
502
|
+
def self.field_remappings
|
|
503
|
+
@field_remappings = {}
|
|
504
|
+
end
|
|
505
|
+
end
|
|
506
|
+
|
|
507
|
+
class P24 < Stripe::StripeObject
|
|
508
|
+
# Attribute for field reference
|
|
509
|
+
attr_reader :reference
|
|
510
|
+
|
|
511
|
+
def self.inner_class_types
|
|
512
|
+
@inner_class_types = {}
|
|
513
|
+
end
|
|
514
|
+
|
|
515
|
+
def self.field_remappings
|
|
516
|
+
@field_remappings = {}
|
|
517
|
+
end
|
|
518
|
+
end
|
|
519
|
+
|
|
520
|
+
class Receiver < Stripe::StripeObject
|
|
521
|
+
# The address of the receiver source. This is the value that should be communicated to the customer to send their funds to.
|
|
522
|
+
attr_reader :address
|
|
523
|
+
# The total amount that was moved to your balance. This is almost always equal to the amount charged. In rare cases when customers deposit excess funds and we are unable to refund those, those funds get moved to your balance and show up in amount_charged as well. The amount charged is expressed in the source's currency.
|
|
524
|
+
attr_reader :amount_charged
|
|
525
|
+
# The total amount received by the receiver source. `amount_received = amount_returned + amount_charged` should be true for consumed sources unless customers deposit excess funds. The amount received is expressed in the source's currency.
|
|
526
|
+
attr_reader :amount_received
|
|
527
|
+
# The total amount that was returned to the customer. The amount returned is expressed in the source's currency.
|
|
528
|
+
attr_reader :amount_returned
|
|
529
|
+
# Type of refund attribute method, one of `email`, `manual`, or `none`.
|
|
530
|
+
attr_reader :refund_attributes_method
|
|
531
|
+
# Type of refund attribute status, one of `missing`, `requested`, or `available`.
|
|
532
|
+
attr_reader :refund_attributes_status
|
|
533
|
+
|
|
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 Redirect < Stripe::StripeObject
|
|
544
|
+
# The failure reason for the redirect, either `user_abort` (the customer aborted or dropped out of the redirect flow), `declined` (the authentication failed or the transaction was declined), or `processing_error` (the redirect failed due to a technical error). Present only if the redirect status is `failed`.
|
|
545
|
+
attr_reader :failure_reason
|
|
546
|
+
# The URL you provide to redirect the customer to after they authenticated their payment.
|
|
547
|
+
attr_reader :return_url
|
|
548
|
+
# The status of the redirect, either `pending` (ready to be used by your customer to authenticate the transaction), `succeeded` (successful authentication, cannot be reused) or `not_required` (redirect should not be used) or `failed` (failed authentication, cannot be reused).
|
|
549
|
+
attr_reader :status
|
|
550
|
+
# The URL provided to you to redirect a customer to as part of a `redirect` authentication flow.
|
|
551
|
+
attr_reader :url
|
|
552
|
+
|
|
553
|
+
def self.inner_class_types
|
|
554
|
+
@inner_class_types = {}
|
|
555
|
+
end
|
|
556
|
+
|
|
557
|
+
def self.field_remappings
|
|
558
|
+
@field_remappings = {}
|
|
559
|
+
end
|
|
560
|
+
end
|
|
561
|
+
|
|
562
|
+
class SepaCreditTransfer < Stripe::StripeObject
|
|
563
|
+
# Attribute for field bank_name
|
|
564
|
+
attr_reader :bank_name
|
|
565
|
+
# Attribute for field bic
|
|
566
|
+
attr_reader :bic
|
|
567
|
+
# Attribute for field iban
|
|
568
|
+
attr_reader :iban
|
|
569
|
+
# Attribute for field refund_account_holder_address_city
|
|
570
|
+
attr_reader :refund_account_holder_address_city
|
|
571
|
+
# Attribute for field refund_account_holder_address_country
|
|
572
|
+
attr_reader :refund_account_holder_address_country
|
|
573
|
+
# Attribute for field refund_account_holder_address_line1
|
|
574
|
+
attr_reader :refund_account_holder_address_line1
|
|
575
|
+
# Attribute for field refund_account_holder_address_line2
|
|
576
|
+
attr_reader :refund_account_holder_address_line2
|
|
577
|
+
# Attribute for field refund_account_holder_address_postal_code
|
|
578
|
+
attr_reader :refund_account_holder_address_postal_code
|
|
579
|
+
# Attribute for field refund_account_holder_address_state
|
|
580
|
+
attr_reader :refund_account_holder_address_state
|
|
581
|
+
# Attribute for field refund_account_holder_name
|
|
582
|
+
attr_reader :refund_account_holder_name
|
|
583
|
+
# Attribute for field refund_iban
|
|
584
|
+
attr_reader :refund_iban
|
|
585
|
+
|
|
586
|
+
def self.inner_class_types
|
|
587
|
+
@inner_class_types = {}
|
|
588
|
+
end
|
|
589
|
+
|
|
590
|
+
def self.field_remappings
|
|
591
|
+
@field_remappings = {}
|
|
592
|
+
end
|
|
593
|
+
end
|
|
594
|
+
|
|
595
|
+
class SepaDebit < Stripe::StripeObject
|
|
596
|
+
# Attribute for field bank_code
|
|
597
|
+
attr_reader :bank_code
|
|
598
|
+
# Attribute for field branch_code
|
|
599
|
+
attr_reader :branch_code
|
|
600
|
+
# Attribute for field country
|
|
601
|
+
attr_reader :country
|
|
602
|
+
# Attribute for field fingerprint
|
|
603
|
+
attr_reader :fingerprint
|
|
604
|
+
# Attribute for field last4
|
|
605
|
+
attr_reader :last4
|
|
606
|
+
# Attribute for field mandate_reference
|
|
607
|
+
attr_reader :mandate_reference
|
|
608
|
+
# Attribute for field mandate_url
|
|
609
|
+
attr_reader :mandate_url
|
|
610
|
+
|
|
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 Sofort < Stripe::StripeObject
|
|
621
|
+
# Attribute for field bank_code
|
|
622
|
+
attr_reader :bank_code
|
|
623
|
+
# Attribute for field bank_name
|
|
624
|
+
attr_reader :bank_name
|
|
625
|
+
# Attribute for field bic
|
|
626
|
+
attr_reader :bic
|
|
627
|
+
# Attribute for field country
|
|
628
|
+
attr_reader :country
|
|
629
|
+
# Attribute for field iban_last4
|
|
630
|
+
attr_reader :iban_last4
|
|
631
|
+
# Attribute for field preferred_language
|
|
632
|
+
attr_reader :preferred_language
|
|
633
|
+
# Attribute for field statement_descriptor
|
|
634
|
+
attr_reader :statement_descriptor
|
|
635
|
+
|
|
636
|
+
def self.inner_class_types
|
|
637
|
+
@inner_class_types = {}
|
|
638
|
+
end
|
|
639
|
+
|
|
640
|
+
def self.field_remappings
|
|
641
|
+
@field_remappings = {}
|
|
642
|
+
end
|
|
643
|
+
end
|
|
644
|
+
|
|
645
|
+
class SourceOrder < Stripe::StripeObject
|
|
646
|
+
class Item < Stripe::StripeObject
|
|
647
|
+
# The amount (price) for this order item.
|
|
648
|
+
attr_reader :amount
|
|
649
|
+
# This currency of this order item. Required when `amount` is present.
|
|
650
|
+
attr_reader :currency
|
|
651
|
+
# Human-readable description for this order item.
|
|
652
|
+
attr_reader :description
|
|
653
|
+
# The ID of the associated object for this line item. Expandable if not null (e.g., expandable to a SKU).
|
|
654
|
+
attr_reader :parent
|
|
655
|
+
# The quantity of this order item. When type is `sku`, this is the number of instances of the SKU to be ordered.
|
|
656
|
+
attr_reader :quantity
|
|
657
|
+
# The type of this order item. Must be `sku`, `tax`, or `shipping`.
|
|
658
|
+
attr_reader :type
|
|
659
|
+
|
|
660
|
+
def self.inner_class_types
|
|
661
|
+
@inner_class_types = {}
|
|
662
|
+
end
|
|
663
|
+
|
|
664
|
+
def self.field_remappings
|
|
665
|
+
@field_remappings = {}
|
|
666
|
+
end
|
|
667
|
+
end
|
|
668
|
+
|
|
669
|
+
class Shipping < Stripe::StripeObject
|
|
670
|
+
class Address < Stripe::StripeObject
|
|
671
|
+
# City, district, suburb, town, or village.
|
|
672
|
+
attr_reader :city
|
|
673
|
+
# Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)).
|
|
674
|
+
attr_reader :country
|
|
675
|
+
# Address line 1, such as the street, PO Box, or company name.
|
|
676
|
+
attr_reader :line1
|
|
677
|
+
# Address line 2, such as the apartment, suite, unit, or building.
|
|
678
|
+
attr_reader :line2
|
|
679
|
+
# ZIP or postal code.
|
|
680
|
+
attr_reader :postal_code
|
|
681
|
+
# State, county, province, or region.
|
|
682
|
+
attr_reader :state
|
|
683
|
+
|
|
684
|
+
def self.inner_class_types
|
|
685
|
+
@inner_class_types = {}
|
|
686
|
+
end
|
|
687
|
+
|
|
688
|
+
def self.field_remappings
|
|
689
|
+
@field_remappings = {}
|
|
690
|
+
end
|
|
691
|
+
end
|
|
692
|
+
# Attribute for field address
|
|
693
|
+
attr_reader :address
|
|
694
|
+
# The delivery service that shipped a physical product, such as Fedex, UPS, USPS, etc.
|
|
695
|
+
attr_reader :carrier
|
|
696
|
+
# Recipient name.
|
|
697
|
+
attr_reader :name
|
|
698
|
+
# Recipient phone (including extension).
|
|
699
|
+
attr_reader :phone
|
|
700
|
+
# The tracking number for a physical product, obtained from the delivery service. If multiple tracking numbers were generated for this purchase, please separate them with commas.
|
|
701
|
+
attr_reader :tracking_number
|
|
702
|
+
|
|
703
|
+
def self.inner_class_types
|
|
704
|
+
@inner_class_types = { address: Address }
|
|
705
|
+
end
|
|
706
|
+
|
|
707
|
+
def self.field_remappings
|
|
708
|
+
@field_remappings = {}
|
|
709
|
+
end
|
|
710
|
+
end
|
|
711
|
+
# A positive integer in the smallest currency unit (that is, 100 cents for $1.00, or 1 for ¥1, Japanese Yen being a zero-decimal currency) representing the total amount for the order.
|
|
712
|
+
attr_reader :amount
|
|
713
|
+
# Three-letter [ISO currency code](https://www.iso.org/iso-4217-currency-codes.html), in lowercase. Must be a [supported currency](https://stripe.com/docs/currencies).
|
|
714
|
+
attr_reader :currency
|
|
715
|
+
# The email address of the customer placing the order.
|
|
716
|
+
attr_reader :email
|
|
717
|
+
# List of items constituting the order.
|
|
718
|
+
attr_reader :items
|
|
719
|
+
# Attribute for field shipping
|
|
720
|
+
attr_reader :shipping
|
|
721
|
+
|
|
722
|
+
def self.inner_class_types
|
|
723
|
+
@inner_class_types = { items: Item, shipping: Shipping }
|
|
724
|
+
end
|
|
725
|
+
|
|
726
|
+
def self.field_remappings
|
|
727
|
+
@field_remappings = {}
|
|
728
|
+
end
|
|
729
|
+
end
|
|
730
|
+
|
|
731
|
+
class ThreeDSecure < Stripe::StripeObject
|
|
732
|
+
# Attribute for field address_line1_check
|
|
733
|
+
attr_reader :address_line1_check
|
|
734
|
+
# Attribute for field address_zip_check
|
|
735
|
+
attr_reader :address_zip_check
|
|
736
|
+
# Attribute for field authenticated
|
|
737
|
+
attr_reader :authenticated
|
|
738
|
+
# Attribute for field brand
|
|
739
|
+
attr_reader :brand
|
|
740
|
+
# Attribute for field card
|
|
741
|
+
attr_reader :card
|
|
742
|
+
# Attribute for field country
|
|
743
|
+
attr_reader :country
|
|
744
|
+
# Attribute for field customer
|
|
745
|
+
attr_reader :customer
|
|
746
|
+
# Attribute for field cvc_check
|
|
747
|
+
attr_reader :cvc_check
|
|
748
|
+
# Attribute for field description
|
|
749
|
+
attr_reader :description
|
|
750
|
+
# Attribute for field dynamic_last4
|
|
751
|
+
attr_reader :dynamic_last4
|
|
752
|
+
# Attribute for field exp_month
|
|
753
|
+
attr_reader :exp_month
|
|
754
|
+
# Attribute for field exp_year
|
|
755
|
+
attr_reader :exp_year
|
|
756
|
+
# Attribute for field fingerprint
|
|
757
|
+
attr_reader :fingerprint
|
|
758
|
+
# Attribute for field funding
|
|
759
|
+
attr_reader :funding
|
|
760
|
+
# Attribute for field iin
|
|
761
|
+
attr_reader :iin
|
|
762
|
+
# Attribute for field issuer
|
|
763
|
+
attr_reader :issuer
|
|
764
|
+
# Attribute for field last4
|
|
765
|
+
attr_reader :last4
|
|
766
|
+
# Attribute for field name
|
|
767
|
+
attr_reader :name
|
|
768
|
+
# Attribute for field three_d_secure
|
|
769
|
+
attr_reader :three_d_secure
|
|
770
|
+
# Attribute for field tokenization_method
|
|
771
|
+
attr_reader :tokenization_method
|
|
772
|
+
|
|
773
|
+
def self.inner_class_types
|
|
774
|
+
@inner_class_types = {}
|
|
775
|
+
end
|
|
776
|
+
|
|
777
|
+
def self.field_remappings
|
|
778
|
+
@field_remappings = {}
|
|
779
|
+
end
|
|
780
|
+
end
|
|
781
|
+
|
|
782
|
+
class Wechat < Stripe::StripeObject
|
|
783
|
+
# Attribute for field prepay_id
|
|
784
|
+
attr_reader :prepay_id
|
|
785
|
+
# Attribute for field qr_code_url
|
|
786
|
+
attr_reader :qr_code_url
|
|
787
|
+
# Attribute for field statement_descriptor
|
|
788
|
+
attr_reader :statement_descriptor
|
|
789
|
+
|
|
790
|
+
def self.inner_class_types
|
|
791
|
+
@inner_class_types = {}
|
|
792
|
+
end
|
|
793
|
+
|
|
794
|
+
def self.field_remappings
|
|
795
|
+
@field_remappings = {}
|
|
796
|
+
end
|
|
797
|
+
end
|
|
798
|
+
# Attribute for field ach_credit_transfer
|
|
799
|
+
attr_reader :ach_credit_transfer
|
|
800
|
+
# Attribute for field ach_debit
|
|
801
|
+
attr_reader :ach_debit
|
|
802
|
+
# Attribute for field acss_debit
|
|
803
|
+
attr_reader :acss_debit
|
|
804
|
+
# Attribute for field alipay
|
|
805
|
+
attr_reader :alipay
|
|
806
|
+
# 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”.
|
|
807
|
+
attr_reader :allow_redisplay
|
|
808
|
+
# A positive integer in the smallest currency unit (that is, 100 cents for $1.00, or 1 for ¥1, Japanese Yen being a zero-decimal currency) representing the total amount associated with the source. This is the amount for which the source will be chargeable once ready. Required for `single_use` sources.
|
|
809
|
+
attr_reader :amount
|
|
810
|
+
# Attribute for field au_becs_debit
|
|
811
|
+
attr_reader :au_becs_debit
|
|
812
|
+
# Attribute for field bancontact
|
|
813
|
+
attr_reader :bancontact
|
|
814
|
+
# Attribute for field card
|
|
815
|
+
attr_reader :card
|
|
816
|
+
# Attribute for field card_present
|
|
817
|
+
attr_reader :card_present
|
|
818
|
+
# The client secret of the source. Used for client-side retrieval using a publishable key.
|
|
819
|
+
attr_reader :client_secret
|
|
820
|
+
# Attribute for field code_verification
|
|
821
|
+
attr_reader :code_verification
|
|
822
|
+
# Time at which the object was created. Measured in seconds since the Unix epoch.
|
|
823
|
+
attr_reader :created
|
|
824
|
+
# Three-letter [ISO code for the currency](https://stripe.com/docs/currencies) associated with the source. This is the currency for which the source will be chargeable once ready. Required for `single_use` sources.
|
|
825
|
+
attr_reader :currency
|
|
826
|
+
# The ID of the customer to which this source is attached. This will not be present when the source has not been attached to a customer.
|
|
827
|
+
attr_reader :customer
|
|
828
|
+
# Attribute for field eps
|
|
829
|
+
attr_reader :eps
|
|
830
|
+
# The authentication `flow` of the source. `flow` is one of `redirect`, `receiver`, `code_verification`, `none`.
|
|
831
|
+
attr_reader :flow
|
|
832
|
+
# Attribute for field giropay
|
|
833
|
+
attr_reader :giropay
|
|
834
|
+
# Unique identifier for the object.
|
|
835
|
+
attr_reader :id
|
|
836
|
+
# Attribute for field ideal
|
|
837
|
+
attr_reader :ideal
|
|
838
|
+
# Attribute for field klarna
|
|
839
|
+
attr_reader :klarna
|
|
840
|
+
# Has the value `true` if the object exists in live mode or the value `false` if the object exists in test mode.
|
|
841
|
+
attr_reader :livemode
|
|
842
|
+
# Set of [key-value pairs](https://stripe.com/docs/api/metadata) that you can attach to an object. This can be useful for storing additional information about the object in a structured format.
|
|
843
|
+
attr_reader :metadata
|
|
844
|
+
# Attribute for field multibanco
|
|
845
|
+
attr_reader :multibanco
|
|
846
|
+
# String representing the object's type. Objects of the same type share the same value.
|
|
847
|
+
attr_reader :object
|
|
848
|
+
# Information about the owner of the payment instrument that may be used or required by particular source types.
|
|
849
|
+
attr_reader :owner
|
|
850
|
+
# Attribute for field p24
|
|
851
|
+
attr_reader :p24
|
|
852
|
+
# Attribute for field receiver
|
|
853
|
+
attr_reader :receiver
|
|
854
|
+
# Attribute for field redirect
|
|
855
|
+
attr_reader :redirect
|
|
856
|
+
# Attribute for field sepa_credit_transfer
|
|
857
|
+
attr_reader :sepa_credit_transfer
|
|
858
|
+
# Attribute for field sepa_debit
|
|
859
|
+
attr_reader :sepa_debit
|
|
860
|
+
# Attribute for field sofort
|
|
861
|
+
attr_reader :sofort
|
|
862
|
+
# Attribute for field source_order
|
|
863
|
+
attr_reader :source_order
|
|
864
|
+
# Extra information about a source. This will appear on your customer's statement every time you charge the source.
|
|
865
|
+
attr_reader :statement_descriptor
|
|
866
|
+
# The status of the source, one of `canceled`, `chargeable`, `consumed`, `failed`, or `pending`. Only `chargeable` sources can be used to create a charge.
|
|
867
|
+
attr_reader :status
|
|
868
|
+
# Attribute for field three_d_secure
|
|
869
|
+
attr_reader :three_d_secure
|
|
870
|
+
# The `type` of the source. The `type` is a payment method, one of `ach_credit_transfer`, `ach_debit`, `alipay`, `bancontact`, `card`, `card_present`, `eps`, `giropay`, `ideal`, `multibanco`, `klarna`, `p24`, `sepa_debit`, `sofort`, `three_d_secure`, or `wechat`. An additional hash is included on the source with a name matching this value. It contains additional information specific to the [payment method](https://stripe.com/docs/sources) used.
|
|
871
|
+
attr_reader :type
|
|
872
|
+
# Either `reusable` or `single_use`. Whether this source should be reusable or not. Some source types may or may not be reusable by construction, while others may leave the option at creation. If an incompatible value is passed, an error will be returned.
|
|
873
|
+
attr_reader :usage
|
|
874
|
+
# Attribute for field wechat
|
|
875
|
+
attr_reader :wechat
|
|
876
|
+
|
|
27
877
|
# Creates a new source object.
|
|
28
878
|
def self.create(params = {}, opts = {})
|
|
29
879
|
request_stripe_object(method: :post, path: "/v1/sources", params: params, opts: opts)
|
|
@@ -31,7 +881,7 @@ module Stripe
|
|
|
31
881
|
|
|
32
882
|
# Updates the specified source by setting the values of the parameters passed. Any parameters not provided will be left unchanged.
|
|
33
883
|
#
|
|
34
|
-
# This request accepts the metadata and owner as arguments. It is also possible to update type specific information for selected payment methods. Please refer to our [payment method guides](https://stripe.com/docs/sources) for more detail.
|
|
884
|
+
# This request accepts the metadata and owner as arguments. It is also possible to update type specific information for selected payment methods. Please refer to our [payment method guides](https://docs.stripe.com/docs/sources) for more detail.
|
|
35
885
|
def self.update(source, params = {}, opts = {})
|
|
36
886
|
request_stripe_object(
|
|
37
887
|
method: :post,
|
|
@@ -72,7 +922,7 @@ module Stripe
|
|
|
72
922
|
"/#{CGI.escape(id)}"
|
|
73
923
|
opts = Util.normalize_opts(opts)
|
|
74
924
|
APIRequestor.active_requestor.execute_request_initialize_from(:delete, url, :api, self,
|
|
75
|
-
params: params, opts: opts)
|
|
925
|
+
params: params, opts: RequestOptions.extract_opts_from_hash(opts))
|
|
76
926
|
end
|
|
77
927
|
|
|
78
928
|
def source_transactions(params = {}, opts = {})
|
|
@@ -85,5 +935,38 @@ module Stripe
|
|
|
85
935
|
end
|
|
86
936
|
extend Gem::Deprecate
|
|
87
937
|
deprecate :source_transactions, :"Source.list_source_transactions", 2020, 1
|
|
938
|
+
|
|
939
|
+
def self.inner_class_types
|
|
940
|
+
@inner_class_types = {
|
|
941
|
+
ach_credit_transfer: AchCreditTransfer,
|
|
942
|
+
ach_debit: AchDebit,
|
|
943
|
+
acss_debit: AcssDebit,
|
|
944
|
+
alipay: Alipay,
|
|
945
|
+
au_becs_debit: AuBecsDebit,
|
|
946
|
+
bancontact: Bancontact,
|
|
947
|
+
card: Card,
|
|
948
|
+
card_present: CardPresent,
|
|
949
|
+
code_verification: CodeVerification,
|
|
950
|
+
eps: Eps,
|
|
951
|
+
giropay: Giropay,
|
|
952
|
+
ideal: Ideal,
|
|
953
|
+
klarna: Klarna,
|
|
954
|
+
multibanco: Multibanco,
|
|
955
|
+
owner: Owner,
|
|
956
|
+
p24: P24,
|
|
957
|
+
receiver: Receiver,
|
|
958
|
+
redirect: Redirect,
|
|
959
|
+
sepa_credit_transfer: SepaCreditTransfer,
|
|
960
|
+
sepa_debit: SepaDebit,
|
|
961
|
+
sofort: Sofort,
|
|
962
|
+
source_order: SourceOrder,
|
|
963
|
+
three_d_secure: ThreeDSecure,
|
|
964
|
+
wechat: Wechat,
|
|
965
|
+
}
|
|
966
|
+
end
|
|
967
|
+
|
|
968
|
+
def self.field_remappings
|
|
969
|
+
@field_remappings = {}
|
|
970
|
+
end
|
|
88
971
|
end
|
|
89
972
|
end
|