stripe 19.2.0.pre.beta.2 → 19.2.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/lib/stripe/api_requestor.rb +3 -36
- data/lib/stripe/api_version.rb +2 -1
- data/lib/stripe/errors.rb +0 -87
- data/lib/stripe/event_types.rb +0 -228
- data/lib/stripe/object_types.rb +0 -61
- data/lib/stripe/params/account_create_params.rb +17 -364
- data/lib/stripe/params/account_session_create_params.rb +1 -226
- data/lib/stripe/params/account_update_params.rb +16 -326
- data/lib/stripe/params/balance_settings_update_params.rb +42 -2
- data/lib/stripe/params/charge_capture_params.rb +0 -1646
- data/lib/stripe/params/charge_create_params.rb +4 -1
- data/lib/stripe/params/charge_update_params.rb +0 -1646
- data/lib/stripe/params/checkout/session_create_params.rb +31 -141
- data/lib/stripe/params/checkout/session_update_params.rb +1 -176
- data/lib/stripe/params/confirmation_token_create_params.rb +11 -79
- data/lib/stripe/params/coupon_create_params.rb +1 -17
- data/lib/stripe/params/customer_session_create_params.rb +1 -32
- data/lib/stripe/params/dispute_update_params.rb +1 -10
- data/lib/stripe/params/financial_connections/session_create_params.rb +2 -64
- data/lib/stripe/params/invoice_add_lines_params.rb +1 -48
- data/lib/stripe/params/invoice_attach_payment_params.rb +1 -43
- data/lib/stripe/params/invoice_create_params.rb +2 -70
- data/lib/stripe/params/invoice_create_preview_params.rb +13 -790
- data/lib/stripe/params/invoice_item_create_params.rb +1 -33
- data/lib/stripe/params/invoice_item_update_params.rb +1 -33
- data/lib/stripe/params/invoice_line_item_update_params.rb +1 -48
- data/lib/stripe/params/invoice_update_lines_params.rb +1 -48
- data/lib/stripe/params/invoice_update_params.rb +2 -70
- data/lib/stripe/params/issuing/cardholder_create_params.rb +1 -2
- data/lib/stripe/params/issuing/transaction_list_params.rb +0 -4
- data/lib/stripe/params/payment_intent_capture_params.rb +3 -1645
- data/lib/stripe/params/payment_intent_confirm_params.rb +136 -3038
- data/lib/stripe/params/payment_intent_create_params.rb +167 -3043
- data/lib/stripe/params/payment_intent_increment_authorization_params.rb +2 -39
- data/lib/stripe/params/payment_intent_update_params.rb +121 -3034
- data/lib/stripe/params/payment_link_create_params.rb +30 -16
- data/lib/stripe/params/payment_link_update_params.rb +29 -0
- data/lib/stripe/params/payment_method_configuration_create_params.rb +24 -87
- data/lib/stripe/params/payment_method_configuration_list_params.rb +4 -0
- data/lib/stripe/params/payment_method_configuration_update_params.rb +24 -87
- data/lib/stripe/params/payment_method_create_params.rb +11 -75
- data/lib/stripe/params/payout_create_params.rb +1 -1
- data/lib/stripe/params/plan_create_params.rb +0 -15
- data/lib/stripe/params/price_create_params.rb +0 -15
- data/lib/stripe/params/price_update_params.rb +0 -19
- data/lib/stripe/params/product_create_params.rb +0 -16
- data/lib/stripe/params/product_update_params.rb +0 -16
- data/lib/stripe/params/quote_create_params.rb +3 -809
- data/lib/stripe/params/quote_list_params.rb +0 -4
- data/lib/stripe/params/quote_update_params.rb +4 -817
- data/lib/stripe/params/setup_intent_confirm_params.rb +21 -110
- data/lib/stripe/params/setup_intent_create_params.rb +21 -110
- data/lib/stripe/params/setup_intent_update_params.rb +21 -110
- data/lib/stripe/params/subscription_create_params.rb +11 -181
- data/lib/stripe/params/subscription_item_create_params.rb +3 -69
- data/lib/stripe/params/subscription_item_delete_params.rb +1 -7
- data/lib/stripe/params/subscription_item_update_params.rb +2 -52
- data/lib/stripe/params/subscription_schedule_create_params.rb +9 -167
- data/lib/stripe/params/subscription_schedule_update_params.rb +9 -167
- data/lib/stripe/params/subscription_update_params.rb +11 -161
- data/lib/stripe/params/tax/calculation_create_params.rb +0 -4
- data/lib/stripe/params/tax/registration_create_params.rb +0 -104
- data/lib/stripe/params/terminal/configuration_create_params.rb +52 -13
- data/lib/stripe/params/terminal/configuration_update_params.rb +52 -13
- data/lib/stripe/params/test_helpers/confirmation_token_create_params.rb +11 -79
- data/lib/stripe/params/test_helpers/test_clock_create_params.rb +4 -1
- data/lib/stripe/params/test_helpers/treasury/received_credit_create_params.rb +1 -25
- data/lib/stripe/params/test_helpers/treasury/received_debit_create_params.rb +1 -25
- data/lib/stripe/params/transfer_create_params.rb +0 -4
- data/lib/stripe/params/treasury/financial_account_create_params.rb +1 -8
- data/lib/stripe/params/treasury/financial_account_features_update_params.rb +1 -4
- data/lib/stripe/params/treasury/financial_account_update_features_params.rb +1 -4
- data/lib/stripe/params/treasury/financial_account_update_params.rb +1 -8
- data/lib/stripe/params/treasury/outbound_payment_create_params.rb +0 -4
- data/lib/stripe/params/treasury/outbound_transfer_create_params.rb +0 -24
- data/lib/stripe/params/treasury/received_credit_create_params.rb +1 -25
- data/lib/stripe/params/treasury/received_debit_create_params.rb +1 -25
- data/lib/stripe/params/v2/core/account_create_params.rb +33 -288
- data/lib/stripe/params/v2/core/account_token_create_params.rb +28 -18
- data/lib/stripe/params/v2/core/account_update_params.rb +33 -281
- data/lib/stripe/params.rb +1342 -795
- data/lib/stripe/railtie.rb +8 -0
- data/lib/stripe/resources/account.rb +5 -259
- data/lib/stripe/resources/account_session.rb +0 -81
- data/lib/stripe/resources/balance.rb +0 -83
- data/lib/stripe/resources/balance_settings.rb +42 -2
- data/lib/stripe/resources/billing/alert_triggered.rb +0 -4
- data/lib/stripe/resources/card.rb +0 -2
- data/lib/stripe/resources/charge.rb +36 -211
- data/lib/stripe/resources/checkout/session.rb +26 -82
- data/lib/stripe/resources/confirmation_token.rb +20 -125
- data/lib/stripe/resources/coupon.rb +1 -26
- data/lib/stripe/resources/credit_note_line_item.rb +0 -18
- data/lib/stripe/resources/customer_session.rb +0 -36
- data/lib/stripe/resources/discount.rb +2 -2
- data/lib/stripe/resources/dispute.rb +0 -22
- data/lib/stripe/resources/event.rb +1 -64
- data/lib/stripe/resources/financial_connections/account.rb +0 -57
- data/lib/stripe/resources/financial_connections/session.rb +1 -125
- data/lib/stripe/resources/invoice.rb +3 -117
- data/lib/stripe/resources/invoice_item.rb +34 -3
- data/lib/stripe/resources/invoice_line_item.rb +0 -40
- data/lib/stripe/resources/issuing/dispute.rb +1 -1
- data/lib/stripe/resources/issuing/personalization_design.rb +1 -1
- data/lib/stripe/resources/issuing/transaction.rb +0 -2
- data/lib/stripe/resources/line_item.rb +0 -42
- data/lib/stripe/resources/mandate.rb +13 -12
- data/lib/stripe/resources/payment_attempt_record.rb +41 -187
- data/lib/stripe/resources/payment_intent.rb +96 -1583
- data/lib/stripe/resources/payment_link.rb +40 -0
- data/lib/stripe/resources/payment_method.rb +21 -130
- data/lib/stripe/resources/payment_method_configuration.rb +20 -122
- data/lib/stripe/resources/payment_record.rb +41 -187
- data/lib/stripe/resources/price.rb +0 -20
- data/lib/stripe/resources/product.rb +0 -18
- data/lib/stripe/resources/quote.rb +2 -569
- data/lib/stripe/resources/radar/payment_evaluation.rb +1 -1
- data/lib/stripe/resources/refund.rb +13 -18
- data/lib/stripe/resources/reserve/hold.rb +0 -7
- data/lib/stripe/resources/reserve/release.rb +0 -12
- data/lib/stripe/resources/setup_attempt.rb +4 -26
- data/lib/stripe/resources/setup_intent.rb +27 -22
- data/lib/stripe/resources/source.rb +0 -38
- data/lib/stripe/resources/subscription.rb +10 -107
- data/lib/stripe/resources/subscription_item.rb +1 -41
- data/lib/stripe/resources/subscription_schedule.rb +5 -198
- data/lib/stripe/resources/tax/calculation_line_item.rb +0 -2
- data/lib/stripe/resources/tax/registration.rb +0 -128
- data/lib/stripe/resources/tax_code.rb +1 -15
- data/lib/stripe/resources/terminal/configuration.rb +64 -16
- data/lib/stripe/resources/terminal/reader.rb +116 -8
- data/lib/stripe/resources/transfer.rb +0 -2
- data/lib/stripe/resources/treasury/financial_account.rb +0 -2
- data/lib/stripe/resources/treasury/financial_account_features.rb +0 -2
- data/lib/stripe/resources/treasury/outbound_payment.rb +0 -2
- data/lib/stripe/resources/treasury/outbound_transfer.rb +0 -30
- data/lib/stripe/resources/treasury/received_credit.rb +0 -30
- data/lib/stripe/resources/treasury/received_debit.rb +0 -32
- data/lib/stripe/resources/v2/commerce/product_catalog_import.rb +1 -1
- data/lib/stripe/resources/v2/core/account.rb +40 -607
- data/lib/stripe/resources/v2/core/account_token.rb +1 -1
- data/lib/stripe/resources/v2/core/event.rb +1 -0
- data/lib/stripe/resources.rb +500 -301
- data/lib/stripe/services/account_service.rb +0 -15
- data/lib/stripe/services/billing_service.rb +1 -2
- data/lib/stripe/services/credit_note_service.rb +0 -14
- data/lib/stripe/services/customer_service.rb +0 -15
- data/lib/stripe/services/financial_connections/account_service.rb +1 -3
- data/lib/stripe/services/financial_connections_service.rb +1 -3
- data/lib/stripe/services/invoice_service.rb +0 -41
- data/lib/stripe/services/issuing_service.rb +1 -5
- data/lib/stripe/services/mandate_service.rb +0 -5
- data/lib/stripe/services/payment_intent_service.rb +3 -38
- data/lib/stripe/services/promotion_code_service.rb +0 -29
- data/lib/stripe/services/quote_service.rb +1 -49
- data/lib/stripe/services/subscription_schedule_service.rb +0 -55
- data/lib/stripe/services/subscription_service.rb +2 -32
- data/lib/stripe/services/tax_service.rb +1 -3
- data/lib/stripe/services/terminal_service.rb +1 -2
- data/lib/stripe/services/test_helpers_service.rb +1 -2
- data/lib/stripe/services/v1_services.rb +1 -11
- data/lib/stripe/services/v2/billing_service.rb +1 -5
- data/lib/stripe/services/v2/core/account_service.rb +1 -1
- data/lib/stripe/services/v2/core/account_token_service.rb +5 -1
- data/lib/stripe/services/v2/core/event_service.rb +2 -1
- data/lib/stripe/services/v2/core_service.rb +1 -3
- data/lib/stripe/services/v2_services.rb +1 -8
- data/lib/stripe/services.rb +469 -268
- data/lib/stripe/stripe_client.rb +1 -8
- data/lib/stripe/stripe_configuration.rb +1 -3
- data/lib/stripe/stripe_object.rb +1 -1
- data/lib/stripe/util.rb +1 -7
- data/lib/stripe/version.rb +1 -1
- data/lib/stripe.rb +25 -58
- data/rbi/stripe/stripe_client.rbi +0 -13
- data/rbi/stripe.rbi +53183 -118054
- metadata +5 -377
- data/lib/stripe/events/v2_core_account_including_configuration_storer_capability_status_updated_event.rb +0 -63
- data/lib/stripe/events/v2_core_account_including_configuration_storer_updated_event.rb +0 -44
- data/lib/stripe/events/v2_core_batch_job_batch_failed_event.rb +0 -44
- data/lib/stripe/events/v2_core_batch_job_canceled_event.rb +0 -44
- data/lib/stripe/events/v2_core_batch_job_completed_event.rb +0 -44
- data/lib/stripe/events/v2_core_batch_job_created_event.rb +0 -44
- data/lib/stripe/events/v2_core_batch_job_ready_for_upload_event.rb +0 -44
- data/lib/stripe/events/v2_core_batch_job_timeout_event.rb +0 -44
- data/lib/stripe/events/v2_core_batch_job_updated_event.rb +0 -44
- data/lib/stripe/events/v2_core_batch_job_upload_timeout_event.rb +0 -44
- data/lib/stripe/events/v2_core_batch_job_validating_event.rb +0 -44
- data/lib/stripe/events/v2_core_batch_job_validation_failed_event.rb +0 -44
- data/lib/stripe/events/v2_core_health_event_generation_failure_resolved_event.rb +0 -78
- data/lib/stripe/events/v2_data_reporting_query_run_created_event.rb +0 -44
- data/lib/stripe/events/v2_data_reporting_query_run_failed_event.rb +0 -44
- data/lib/stripe/events/v2_data_reporting_query_run_succeeded_event.rb +0 -44
- data/lib/stripe/events/v2_data_reporting_query_run_updated_event.rb +0 -44
- data/lib/stripe/events/v2_extend_workflow_run_failed_event.rb +0 -75
- data/lib/stripe/events/v2_extend_workflow_run_started_event.rb +0 -44
- data/lib/stripe/events/v2_extend_workflow_run_succeeded_event.rb +0 -44
- data/lib/stripe/events/v2_money_management_adjustment_created_event.rb +0 -44
- data/lib/stripe/events/v2_money_management_financial_account_created_event.rb +0 -44
- data/lib/stripe/events/v2_money_management_financial_account_updated_event.rb +0 -44
- data/lib/stripe/events/v2_money_management_financial_address_activated_event.rb +0 -44
- data/lib/stripe/events/v2_money_management_financial_address_failed_event.rb +0 -44
- data/lib/stripe/events/v2_money_management_inbound_transfer_available_event.rb +0 -61
- data/lib/stripe/events/v2_money_management_inbound_transfer_bank_debit_failed_event.rb +0 -44
- data/lib/stripe/events/v2_money_management_inbound_transfer_bank_debit_processing_event.rb +0 -44
- data/lib/stripe/events/v2_money_management_inbound_transfer_bank_debit_queued_event.rb +0 -44
- data/lib/stripe/events/v2_money_management_inbound_transfer_bank_debit_returned_event.rb +0 -44
- data/lib/stripe/events/v2_money_management_inbound_transfer_bank_debit_succeeded_event.rb +0 -44
- data/lib/stripe/events/v2_money_management_outbound_payment_canceled_event.rb +0 -44
- data/lib/stripe/events/v2_money_management_outbound_payment_created_event.rb +0 -44
- data/lib/stripe/events/v2_money_management_outbound_payment_failed_event.rb +0 -44
- data/lib/stripe/events/v2_money_management_outbound_payment_posted_event.rb +0 -44
- data/lib/stripe/events/v2_money_management_outbound_payment_returned_event.rb +0 -44
- data/lib/stripe/events/v2_money_management_outbound_payment_updated_event.rb +0 -44
- data/lib/stripe/events/v2_money_management_outbound_transfer_canceled_event.rb +0 -44
- data/lib/stripe/events/v2_money_management_outbound_transfer_created_event.rb +0 -44
- data/lib/stripe/events/v2_money_management_outbound_transfer_failed_event.rb +0 -44
- data/lib/stripe/events/v2_money_management_outbound_transfer_posted_event.rb +0 -44
- data/lib/stripe/events/v2_money_management_outbound_transfer_returned_event.rb +0 -44
- data/lib/stripe/events/v2_money_management_outbound_transfer_updated_event.rb +0 -44
- data/lib/stripe/events/v2_money_management_payout_method_created_event.rb +0 -44
- data/lib/stripe/events/v2_money_management_payout_method_updated_event.rb +0 -44
- data/lib/stripe/events/v2_money_management_received_credit_available_event.rb +0 -61
- data/lib/stripe/events/v2_money_management_received_credit_failed_event.rb +0 -44
- data/lib/stripe/events/v2_money_management_received_credit_returned_event.rb +0 -44
- data/lib/stripe/events/v2_money_management_received_credit_succeeded_event.rb +0 -44
- data/lib/stripe/events/v2_money_management_received_debit_canceled_event.rb +0 -44
- data/lib/stripe/events/v2_money_management_received_debit_failed_event.rb +0 -44
- data/lib/stripe/events/v2_money_management_received_debit_pending_event.rb +0 -44
- data/lib/stripe/events/v2_money_management_received_debit_succeeded_event.rb +0 -44
- data/lib/stripe/events/v2_money_management_received_debit_updated_event.rb +0 -44
- data/lib/stripe/events/v2_money_management_transaction_created_event.rb +0 -63
- data/lib/stripe/events/v2_money_management_transaction_updated_event.rb +0 -44
- data/lib/stripe/events/v2_orchestrated_commerce_agreement_confirmed_event.rb +0 -97
- data/lib/stripe/events/v2_orchestrated_commerce_agreement_created_event.rb +0 -97
- data/lib/stripe/events/v2_orchestrated_commerce_agreement_partially_confirmed_event.rb +0 -97
- data/lib/stripe/events/v2_orchestrated_commerce_agreement_terminated_event.rb +0 -97
- data/lib/stripe/params/account_notice_list_params.rb +0 -25
- data/lib/stripe/params/account_notice_retrieve_params.rb +0 -13
- data/lib/stripe/params/account_notice_update_params.rb +0 -36
- data/lib/stripe/params/billing/analytics/meter_usage_retrieve_params.rb +0 -65
- data/lib/stripe/params/capital/financing_offer_list_params.rb +0 -58
- data/lib/stripe/params/capital/financing_offer_mark_delivered_params.rb +0 -15
- data/lib/stripe/params/capital/financing_offer_retrieve_params.rb +0 -15
- data/lib/stripe/params/capital/financing_summary_retrieve_params.rb +0 -15
- data/lib/stripe/params/capital/financing_transaction_list_params.rb +0 -45
- data/lib/stripe/params/capital/financing_transaction_retrieve_params.rb +0 -15
- data/lib/stripe/params/external_account_create_params.rb +0 -134
- data/lib/stripe/params/external_account_delete_params.rb +0 -6
- data/lib/stripe/params/external_account_list_params.rb +0 -25
- data/lib/stripe/params/external_account_retrieve_params.rb +0 -13
- data/lib/stripe/params/external_account_update_params.rb +0 -91
- data/lib/stripe/params/financial_connections/account_inferred_balance_list_params.rb +0 -24
- data/lib/stripe/params/financial_connections/authorization_retrieve_params.rb +0 -15
- data/lib/stripe/params/financial_connections/institution_list_params.rb +0 -24
- data/lib/stripe/params/financial_connections/institution_retrieve_params.rb +0 -15
- data/lib/stripe/params/fx_quote_create_params.rb +0 -73
- data/lib/stripe/params/fx_quote_list_params.rb +0 -22
- data/lib/stripe/params/fx_quote_retrieve_params.rb +0 -13
- data/lib/stripe/params/invoice_detach_payment_params.rb +0 -16
- data/lib/stripe/params/issuing/credit_underwriting_record_correct_params.rb +0 -163
- data/lib/stripe/params/issuing/credit_underwriting_record_create_from_application_params.rb +0 -50
- data/lib/stripe/params/issuing/credit_underwriting_record_create_from_proactive_review_params.rb +0 -128
- data/lib/stripe/params/issuing/credit_underwriting_record_list_params.rb +0 -24
- data/lib/stripe/params/issuing/credit_underwriting_record_report_decision_params.rb +0 -86
- data/lib/stripe/params/issuing/credit_underwriting_record_retrieve_params.rb +0 -15
- data/lib/stripe/params/issuing/dispute_settlement_detail_list_params.rb +0 -33
- data/lib/stripe/params/issuing/dispute_settlement_detail_retrieve_params.rb +0 -15
- data/lib/stripe/params/issuing/fraud_liability_debit_list_params.rb +0 -44
- data/lib/stripe/params/issuing/fraud_liability_debit_retrieve_params.rb +0 -15
- data/lib/stripe/params/mandate_list_params.rb +0 -39
- data/lib/stripe/params/margin_create_params.rb +0 -25
- data/lib/stripe/params/margin_list_params.rb +0 -25
- data/lib/stripe/params/margin_retrieve_params.rb +0 -13
- data/lib/stripe/params/margin_update_params.rb +0 -22
- data/lib/stripe/params/order_create_params.rb +0 -2083
- data/lib/stripe/params/order_list_params.rb +0 -25
- data/lib/stripe/params/order_retrieve_params.rb +0 -13
- data/lib/stripe/params/order_submit_params.rb +0 -16
- data/lib/stripe/params/order_update_params.rb +0 -2087
- data/lib/stripe/params/payment_intent_decrement_authorization_params.rb +0 -297
- data/lib/stripe/params/payment_intent_trigger_action_params.rb +0 -27
- data/lib/stripe/params/privacy/redaction_job_cancel_params.rb +0 -15
- data/lib/stripe/params/privacy/redaction_job_create_params.rb +0 -67
- data/lib/stripe/params/privacy/redaction_job_list_params.rb +0 -27
- data/lib/stripe/params/privacy/redaction_job_retrieve_params.rb +0 -15
- data/lib/stripe/params/privacy/redaction_job_run_params.rb +0 -15
- data/lib/stripe/params/privacy/redaction_job_update_params.rb +0 -18
- data/lib/stripe/params/privacy/redaction_job_validate_params.rb +0 -15
- data/lib/stripe/params/privacy/redaction_job_validation_error_list_params.rb +0 -24
- data/lib/stripe/params/product_catalog/trial_offer_create_params.rb +0 -63
- data/lib/stripe/params/quote_line_list_params.rb +0 -22
- data/lib/stripe/params/quote_list_lines_params.rb +0 -22
- data/lib/stripe/params/quote_list_preview_invoice_lines_params.rb +0 -22
- data/lib/stripe/params/quote_mark_draft_params.rb +0 -13
- data/lib/stripe/params/quote_mark_stale_params.rb +0 -16
- data/lib/stripe/params/quote_preview_invoice_list_params.rb +0 -22
- data/lib/stripe/params/quote_preview_subscription_schedule_list_params.rb +0 -22
- data/lib/stripe/params/quote_reestimate_params.rb +0 -13
- data/lib/stripe/params/reserve/hold_list_params.rb +0 -53
- data/lib/stripe/params/reserve/hold_retrieve_params.rb +0 -15
- data/lib/stripe/params/reserve/plan_retrieve_params.rb +0 -15
- data/lib/stripe/params/reserve/release_list_params.rb +0 -41
- data/lib/stripe/params/reserve/release_retrieve_params.rb +0 -15
- data/lib/stripe/params/shared_payment/granted_token_create_params.rb +0 -47
- data/lib/stripe/params/shared_payment/granted_token_retrieve_params.rb +0 -15
- data/lib/stripe/params/shared_payment/granted_token_revoke_params.rb +0 -15
- data/lib/stripe/params/shared_payment/issued_token_create_params.rb +0 -67
- data/lib/stripe/params/shared_payment/issued_token_retrieve_params.rb +0 -15
- data/lib/stripe/params/shared_payment/issued_token_revoke_params.rb +0 -15
- data/lib/stripe/params/subscription_schedule_amend_params.rb +0 -578
- data/lib/stripe/params/tax/form_list_params.rb +0 -51
- data/lib/stripe/params/tax/form_pdf_params.rb +0 -15
- data/lib/stripe/params/tax/form_retrieve_params.rb +0 -15
- data/lib/stripe/params/tax/location_create_params.rb +0 -54
- data/lib/stripe/params/tax/location_list_params.rb +0 -27
- data/lib/stripe/params/tax/location_retrieve_params.rb +0 -15
- data/lib/stripe/params/terminal/reader_collected_data_retrieve_params.rb +0 -15
- data/lib/stripe/params/test_helpers/shared_payment/granted_token_create_params.rb +0 -49
- data/lib/stripe/params/test_helpers/shared_payment/granted_token_revoke_params.rb +0 -17
- data/lib/stripe/params/v2/billing/bill_setting_create_params.rb +0 -74
- data/lib/stripe/params/v2/billing/bill_setting_list_params.rb +0 -21
- data/lib/stripe/params/v2/billing/bill_setting_retrieve_params.rb +0 -10
- data/lib/stripe/params/v2/billing/bill_setting_update_params.rb +0 -80
- data/lib/stripe/params/v2/billing/bill_settings/version_list_params.rb +0 -19
- data/lib/stripe/params/v2/billing/bill_settings/version_retrieve_params.rb +0 -12
- data/lib/stripe/params/v2/billing/cadence_cancel_params.rb +0 -10
- data/lib/stripe/params/v2/billing/cadence_create_params.rb +0 -253
- data/lib/stripe/params/v2/billing/cadence_list_params.rb +0 -43
- data/lib/stripe/params/v2/billing/cadence_retrieve_params.rb +0 -17
- data/lib/stripe/params/v2/billing/cadence_update_params.rb +0 -75
- data/lib/stripe/params/v2/billing/collection_setting_create_params.rb +0 -257
- data/lib/stripe/params/v2/billing/collection_setting_list_params.rb +0 -21
- data/lib/stripe/params/v2/billing/collection_setting_retrieve_params.rb +0 -10
- data/lib/stripe/params/v2/billing/collection_setting_update_params.rb +0 -263
- data/lib/stripe/params/v2/billing/collection_settings/version_list_params.rb +0 -19
- data/lib/stripe/params/v2/billing/collection_settings/version_retrieve_params.rb +0 -12
- data/lib/stripe/params/v2/billing/profile_create_params.rb +0 -37
- data/lib/stripe/params/v2/billing/profile_list_params.rb +0 -40
- data/lib/stripe/params/v2/billing/profile_retrieve_params.rb +0 -10
- data/lib/stripe/params/v2/billing/profile_update_params.rb +0 -35
- data/lib/stripe/params/v2/core/batch_job_cancel_params.rb +0 -10
- data/lib/stripe/params/v2/core/batch_job_create_params.rb +0 -58
- data/lib/stripe/params/v2/core/batch_job_retrieve_params.rb +0 -10
- data/lib/stripe/params/v2/core/vault/gb_bank_account_acknowledge_confirmation_of_payee_params.rb +0 -12
- data/lib/stripe/params/v2/core/vault/gb_bank_account_archive_params.rb +0 -12
- data/lib/stripe/params/v2/core/vault/gb_bank_account_create_params.rb +0 -58
- data/lib/stripe/params/v2/core/vault/gb_bank_account_initiate_confirmation_of_payee_params.rb +0 -22
- data/lib/stripe/params/v2/core/vault/gb_bank_account_list_params.rb +0 -19
- data/lib/stripe/params/v2/core/vault/gb_bank_account_retrieve_params.rb +0 -12
- data/lib/stripe/params/v2/core/vault/us_bank_account_archive_params.rb +0 -12
- data/lib/stripe/params/v2/core/vault/us_bank_account_confirm_microdeposits_params.rb +0 -22
- data/lib/stripe/params/v2/core/vault/us_bank_account_create_params.rb +0 -37
- data/lib/stripe/params/v2/core/vault/us_bank_account_list_params.rb +0 -22
- data/lib/stripe/params/v2/core/vault/us_bank_account_retrieve_params.rb +0 -12
- data/lib/stripe/params/v2/core/vault/us_bank_account_send_microdeposits_params.rb +0 -12
- data/lib/stripe/params/v2/core/vault/us_bank_account_update_params.rb +0 -22
- data/lib/stripe/params/v2/data/reporting/query_run_create_params.rb +0 -31
- data/lib/stripe/params/v2/data/reporting/query_run_retrieve_params.rb +0 -12
- data/lib/stripe/params/v2/extend/workflow_invoke_params.rb +0 -17
- data/lib/stripe/params/v2/extend/workflow_list_params.rb +0 -21
- data/lib/stripe/params/v2/extend/workflow_retrieve_params.rb +0 -10
- data/lib/stripe/params/v2/extend/workflow_run_list_params.rb +0 -23
- data/lib/stripe/params/v2/extend/workflow_run_retrieve_params.rb +0 -10
- data/lib/stripe/params/v2/iam/activity_log_list_params.rb +0 -23
- data/lib/stripe/params/v2/money_management/adjustment_list_params.rb +0 -48
- data/lib/stripe/params/v2/money_management/adjustment_retrieve_params.rb +0 -10
- data/lib/stripe/params/v2/money_management/financial_account_close_params.rb +0 -28
- data/lib/stripe/params/v2/money_management/financial_account_create_params.rb +0 -34
- data/lib/stripe/params/v2/money_management/financial_account_list_params.rb +0 -20
- data/lib/stripe/params/v2/money_management/financial_account_retrieve_params.rb +0 -10
- data/lib/stripe/params/v2/money_management/financial_account_update_params.rb +0 -20
- data/lib/stripe/params/v2/money_management/financial_address_create_params.rb +0 -20
- data/lib/stripe/params/v2/money_management/financial_address_list_params.rb +0 -23
- data/lib/stripe/params/v2/money_management/financial_address_retrieve_params.rb +0 -17
- data/lib/stripe/params/v2/money_management/inbound_transfer_create_params.rb +0 -50
- data/lib/stripe/params/v2/money_management/inbound_transfer_list_params.rb +0 -44
- data/lib/stripe/params/v2/money_management/inbound_transfer_retrieve_params.rb +0 -10
- data/lib/stripe/params/v2/money_management/outbound_payment_cancel_params.rb +0 -10
- data/lib/stripe/params/v2/money_management/outbound_payment_create_params.rb +0 -102
- data/lib/stripe/params/v2/money_management/outbound_payment_list_params.rb +0 -52
- data/lib/stripe/params/v2/money_management/outbound_payment_quote_create_params.rb +0 -67
- data/lib/stripe/params/v2/money_management/outbound_payment_quote_retrieve_params.rb +0 -10
- data/lib/stripe/params/v2/money_management/outbound_payment_retrieve_params.rb +0 -10
- data/lib/stripe/params/v2/money_management/outbound_setup_intent_cancel_params.rb +0 -10
- data/lib/stripe/params/v2/money_management/outbound_setup_intent_create_params.rb +0 -92
- data/lib/stripe/params/v2/money_management/outbound_setup_intent_list_params.rb +0 -17
- data/lib/stripe/params/v2/money_management/outbound_setup_intent_retrieve_params.rb +0 -10
- data/lib/stripe/params/v2/money_management/outbound_setup_intent_update_params.rb +0 -87
- data/lib/stripe/params/v2/money_management/outbound_transfer_cancel_params.rb +0 -10
- data/lib/stripe/params/v2/money_management/outbound_transfer_create_params.rb +0 -77
- data/lib/stripe/params/v2/money_management/outbound_transfer_list_params.rb +0 -48
- data/lib/stripe/params/v2/money_management/outbound_transfer_retrieve_params.rb +0 -10
- data/lib/stripe/params/v2/money_management/payout_method_archive_params.rb +0 -10
- data/lib/stripe/params/v2/money_management/payout_method_list_params.rb +0 -31
- data/lib/stripe/params/v2/money_management/payout_method_retrieve_params.rb +0 -10
- data/lib/stripe/params/v2/money_management/payout_method_unarchive_params.rb +0 -10
- data/lib/stripe/params/v2/money_management/payout_methods_bank_account_spec_retrieve_params.rb +0 -17
- data/lib/stripe/params/v2/money_management/received_credit_list_params.rb +0 -44
- data/lib/stripe/params/v2/money_management/received_credit_retrieve_params.rb +0 -10
- data/lib/stripe/params/v2/money_management/received_debit_list_params.rb +0 -17
- data/lib/stripe/params/v2/money_management/received_debit_retrieve_params.rb +0 -10
- data/lib/stripe/params/v2/money_management/transaction_entry_list_params.rb +0 -43
- data/lib/stripe/params/v2/money_management/transaction_entry_retrieve_params.rb +0 -10
- data/lib/stripe/params/v2/money_management/transaction_list_params.rb +0 -47
- data/lib/stripe/params/v2/money_management/transaction_retrieve_params.rb +0 -10
- data/lib/stripe/params/v2/network/business_profile_me_params.rb +0 -10
- data/lib/stripe/params/v2/network/business_profile_retrieve_params.rb +0 -10
- data/lib/stripe/params/v2/orchestrated_commerce/agreement_confirm_params.rb +0 -10
- data/lib/stripe/params/v2/orchestrated_commerce/agreement_create_params.rb +0 -17
- data/lib/stripe/params/v2/orchestrated_commerce/agreement_list_params.rb +0 -20
- data/lib/stripe/params/v2/orchestrated_commerce/agreement_retrieve_params.rb +0 -10
- data/lib/stripe/params/v2/orchestrated_commerce/agreement_terminate_params.rb +0 -10
- data/lib/stripe/params/v2/test_helpers/financial_address_credit_params.rb +0 -23
- data/lib/stripe/params/v2/test_helpers/financial_address_generate_microdeposits_params.rb +0 -10
- data/lib/stripe/resources/account_notice.rb +0 -94
- data/lib/stripe/resources/billing/analytics/meter_usage.rb +0 -33
- data/lib/stripe/resources/billing/analytics/meter_usage_row.rb +0 -38
- data/lib/stripe/resources/capital/financing_offer.rb +0 -142
- data/lib/stripe/resources/capital/financing_summary.rb +0 -82
- data/lib/stripe/resources/capital/financing_transaction.rb +0 -99
- data/lib/stripe/resources/financial_connections/account_inferred_balance.rb +0 -35
- data/lib/stripe/resources/financial_connections/authorization.rb +0 -82
- data/lib/stripe/resources/financial_connections/institution.rb +0 -127
- data/lib/stripe/resources/fx_quote.rb +0 -147
- data/lib/stripe/resources/issuing/credit_underwriting_record.rb +0 -263
- data/lib/stripe/resources/issuing/dispute_settlement_detail.rb +0 -71
- data/lib/stripe/resources/issuing/fraud_liability_debit.rb +0 -51
- data/lib/stripe/resources/issuing/settlement.rb +0 -61
- data/lib/stripe/resources/margin.rb +0 -64
- data/lib/stripe/resources/order.rb +0 -927
- data/lib/stripe/resources/privacy/redaction_job.rb +0 -189
- data/lib/stripe/resources/privacy/redaction_job_validation_error.rb +0 -49
- data/lib/stripe/resources/product_catalog/trial_offer.rb +0 -103
- data/lib/stripe/resources/quote_line.rb +0 -525
- data/lib/stripe/resources/quote_preview_invoice.rb +0 -1181
- data/lib/stripe/resources/quote_preview_subscription_schedule.rb +0 -734
- data/lib/stripe/resources/shared_payment/granted_token.rb +0 -1766
- data/lib/stripe/resources/shared_payment/issued_token.rb +0 -291
- data/lib/stripe/resources/tax/form.rb +0 -264
- data/lib/stripe/resources/tax/location.rb +0 -72
- data/lib/stripe/resources/terminal/reader_collected_data.rb +0 -47
- data/lib/stripe/resources/v2/billing/bill_setting.rb +0 -102
- data/lib/stripe/resources/v2/billing/bill_setting_version.rb +0 -91
- data/lib/stripe/resources/v2/billing/cadence.rb +0 -710
- data/lib/stripe/resources/v2/billing/collection_setting.rb +0 -327
- data/lib/stripe/resources/v2/billing/collection_setting_version.rb +0 -316
- data/lib/stripe/resources/v2/billing/profile.rb +0 -47
- data/lib/stripe/resources/v2/core/batch_job.rb +0 -492
- data/lib/stripe/resources/v2/core/vault/gb_bank_account.rb +0 -136
- data/lib/stripe/resources/v2/core/vault/us_bank_account.rb +0 -105
- data/lib/stripe/resources/v2/data/reporting/query_run.rb +0 -142
- data/lib/stripe/resources/v2/extend/workflow.rb +0 -80
- data/lib/stripe/resources/v2/extend/workflow_run.rb +0 -158
- data/lib/stripe/resources/v2/financial_address_credit_simulation.rb +0 -29
- data/lib/stripe/resources/v2/financial_address_generated_microdeposits.rb +0 -31
- data/lib/stripe/resources/v2/iam/activity_log.rb +0 -187
- data/lib/stripe/resources/v2/money_management/adjustment.rb +0 -67
- data/lib/stripe/resources/v2/money_management/financial_account.rb +0 -140
- data/lib/stripe/resources/v2/money_management/financial_address.rb +0 -160
- data/lib/stripe/resources/v2/money_management/inbound_transfer.rb +0 -181
- data/lib/stripe/resources/v2/money_management/outbound_payment.rb +0 -219
- data/lib/stripe/resources/v2/money_management/outbound_payment_quote.rb +0 -144
- data/lib/stripe/resources/v2/money_management/outbound_setup_intent.rb +0 -69
- data/lib/stripe/resources/v2/money_management/outbound_transfer.rb +0 -196
- data/lib/stripe/resources/v2/money_management/payout_method.rb +0 -145
- data/lib/stripe/resources/v2/money_management/payout_methods_bank_account_spec.rb +0 -83
- data/lib/stripe/resources/v2/money_management/received_credit.rb +0 -230
- data/lib/stripe/resources/v2/money_management/received_debit.rb +0 -136
- data/lib/stripe/resources/v2/money_management/transaction.rb +0 -135
- data/lib/stripe/resources/v2/money_management/transaction_entry.rb +0 -105
- data/lib/stripe/resources/v2/network/business_profile.rb +0 -84
- data/lib/stripe/resources/v2/orchestrated_commerce/agreement.rb +0 -93
- data/lib/stripe/services/account_notice_service.rb +0 -39
- data/lib/stripe/services/billing/analytics/meter_usage_service.rb +0 -21
- data/lib/stripe/services/billing/analytics_service.rb +0 -15
- data/lib/stripe/services/capital/financing_offer_service.rb +0 -42
- data/lib/stripe/services/capital/financing_summary_service.rb +0 -19
- data/lib/stripe/services/capital/financing_transaction_service.rb +0 -31
- data/lib/stripe/services/capital_service.rb +0 -15
- data/lib/stripe/services/external_account_service.rb +0 -68
- data/lib/stripe/services/financial_connections/account_inferred_balance_service.rb +0 -19
- data/lib/stripe/services/financial_connections/authorization_service.rb +0 -19
- data/lib/stripe/services/financial_connections/institution_service.rb +0 -30
- data/lib/stripe/services/fx_quote_service.rb +0 -27
- data/lib/stripe/services/issuing/credit_underwriting_record_service.rb +0 -74
- data/lib/stripe/services/issuing/dispute_settlement_detail_service.rb +0 -30
- data/lib/stripe/services/issuing/fraud_liability_debit_service.rb +0 -30
- data/lib/stripe/services/margin_service.rb +0 -50
- data/lib/stripe/services/order_service.rb +0 -53
- data/lib/stripe/services/privacy/redaction_job_service.rb +0 -104
- data/lib/stripe/services/privacy/redaction_job_validation_error_service.rb +0 -19
- data/lib/stripe/services/privacy_service.rb +0 -13
- data/lib/stripe/services/product_catalog/trial_offer_service.rb +0 -19
- data/lib/stripe/services/product_catalog_service.rb +0 -13
- data/lib/stripe/services/quote_line_service.rb +0 -17
- data/lib/stripe/services/quote_preview_invoice_service.rb +0 -17
- data/lib/stripe/services/quote_preview_subscription_schedule_service.rb +0 -17
- data/lib/stripe/services/reserve/hold_service.rb +0 -30
- data/lib/stripe/services/reserve/plan_service.rb +0 -19
- data/lib/stripe/services/reserve/release_service.rb +0 -30
- data/lib/stripe/services/reserve_service.rb +0 -15
- data/lib/stripe/services/shared_payment/granted_token_service.rb +0 -19
- data/lib/stripe/services/shared_payment/issued_token_service.rb +0 -41
- data/lib/stripe/services/shared_payment_service.rb +0 -14
- data/lib/stripe/services/tax/form_service.rb +0 -37
- data/lib/stripe/services/tax/location_service.rb +0 -45
- data/lib/stripe/services/terminal/reader_collected_data_service.rb +0 -19
- data/lib/stripe/services/test_helpers/shared_payment/granted_token_service.rb +0 -32
- data/lib/stripe/services/test_helpers/shared_payment_service.rb +0 -15
- data/lib/stripe/services/v2/billing/bill_setting_service.rb +0 -61
- data/lib/stripe/services/v2/billing/bill_settings/version_service.rb +0 -34
- data/lib/stripe/services/v2/billing/cadence_service.rb +0 -65
- data/lib/stripe/services/v2/billing/collection_setting_service.rb +0 -69
- data/lib/stripe/services/v2/billing/collection_settings/version_service.rb +0 -34
- data/lib/stripe/services/v2/billing/profile_service.rb +0 -54
- data/lib/stripe/services/v2/core/batch_job_service.rb +0 -43
- data/lib/stripe/services/v2/core/vault/gb_bank_account_service.rb +0 -85
- data/lib/stripe/services/v2/core/vault/us_bank_account_service.rb +0 -101
- data/lib/stripe/services/v2/core/vault_service.rb +0 -18
- data/lib/stripe/services/v2/data/reporting/query_run_service.rb +0 -35
- data/lib/stripe/services/v2/data/reporting_service.rb +0 -17
- data/lib/stripe/services/v2/datum_service.rb +0 -15
- data/lib/stripe/services/v2/extend/workflow_run_service.rb +0 -32
- data/lib/stripe/services/v2/extend/workflow_service.rb +0 -45
- data/lib/stripe/services/v2/extend_service.rb +0 -16
- data/lib/stripe/services/v2/iam/activity_log_service.rb +0 -21
- data/lib/stripe/services/v2/iam_service.rb +0 -15
- data/lib/stripe/services/v2/money_management/adjustment_service.rb +0 -32
- data/lib/stripe/services/v2/money_management/financial_account_service.rb +0 -70
- data/lib/stripe/services/v2/money_management/financial_address_service.rb +0 -46
- data/lib/stripe/services/v2/money_management/inbound_transfer_service.rb +0 -45
- data/lib/stripe/services/v2/money_management/outbound_payment_quote_service.rb +0 -34
- data/lib/stripe/services/v2/money_management/outbound_payment_service.rb +0 -62
- data/lib/stripe/services/v2/money_management/outbound_setup_intent_service.rb +0 -75
- data/lib/stripe/services/v2/money_management/outbound_transfer_service.rb +0 -60
- data/lib/stripe/services/v2/money_management/payout_method_service.rb +0 -66
- data/lib/stripe/services/v2/money_management/payout_methods_bank_account_spec_service.rb +0 -23
- data/lib/stripe/services/v2/money_management/received_credit_service.rb +0 -32
- data/lib/stripe/services/v2/money_management/received_debit_service.rb +0 -32
- data/lib/stripe/services/v2/money_management/transaction_entry_service.rb +0 -32
- data/lib/stripe/services/v2/money_management/transaction_service.rb +0 -32
- data/lib/stripe/services/v2/money_management_service.rb +0 -31
- data/lib/stripe/services/v2/network/business_profile_service.rb +0 -32
- data/lib/stripe/services/v2/network_service.rb +0 -15
- data/lib/stripe/services/v2/orchestrated_commerce/agreement_service.rb +0 -65
- data/lib/stripe/services/v2/orchestrated_commerce_service.rb +0 -15
- data/lib/stripe/services/v2/test_helper_service.rb +0 -15
- data/lib/stripe/services/v2/test_helpers/financial_address_service.rb +0 -36
- data/lib/stripe/stripe_event_notification_handler.rb +0 -581
|
@@ -1,1766 +0,0 @@
|
|
|
1
|
-
# File generated from our OpenAPI spec
|
|
2
|
-
# frozen_string_literal: true
|
|
3
|
-
|
|
4
|
-
module Stripe
|
|
5
|
-
module SharedPayment
|
|
6
|
-
# SharedPaymentGrantedToken is the view-only resource of a SharedPaymentIssuedToken, which is a limited-use reference to a PaymentMethod.
|
|
7
|
-
# When another Stripe merchant shares a SharedPaymentIssuedToken with you, you can view attributes of the shared token using the SharedPaymentGrantedToken API, and use it with a PaymentIntent.
|
|
8
|
-
class GrantedToken < APIResource
|
|
9
|
-
OBJECT_NAME = "shared_payment.granted_token"
|
|
10
|
-
def self.object_name
|
|
11
|
-
"shared_payment.granted_token"
|
|
12
|
-
end
|
|
13
|
-
|
|
14
|
-
class AgentDetails < ::Stripe::StripeObject
|
|
15
|
-
# The Stripe Profile ID of the agent that issued this SharedPaymentGrantedToken.
|
|
16
|
-
attr_reader :network_business_profile
|
|
17
|
-
|
|
18
|
-
def self.inner_class_types
|
|
19
|
-
@inner_class_types = {}
|
|
20
|
-
end
|
|
21
|
-
|
|
22
|
-
def self.field_remappings
|
|
23
|
-
@field_remappings = {}
|
|
24
|
-
end
|
|
25
|
-
end
|
|
26
|
-
|
|
27
|
-
class PaymentMethodDetails < ::Stripe::StripeObject
|
|
28
|
-
class AcssDebit < ::Stripe::StripeObject
|
|
29
|
-
# Account number of the bank account.
|
|
30
|
-
attr_reader :account_number
|
|
31
|
-
# Name of the bank associated with the bank account.
|
|
32
|
-
attr_reader :bank_name
|
|
33
|
-
# Uniquely identifies this particular bank account. You can use this attribute to check whether two bank accounts are the same.
|
|
34
|
-
attr_reader :fingerprint
|
|
35
|
-
# Institution number of the bank account.
|
|
36
|
-
attr_reader :institution_number
|
|
37
|
-
# Last four digits of the bank account number.
|
|
38
|
-
attr_reader :last4
|
|
39
|
-
# Transit number of the bank account.
|
|
40
|
-
attr_reader :transit_number
|
|
41
|
-
|
|
42
|
-
def self.inner_class_types
|
|
43
|
-
@inner_class_types = {}
|
|
44
|
-
end
|
|
45
|
-
|
|
46
|
-
def self.field_remappings
|
|
47
|
-
@field_remappings = {}
|
|
48
|
-
end
|
|
49
|
-
end
|
|
50
|
-
|
|
51
|
-
class Affirm < ::Stripe::StripeObject
|
|
52
|
-
def self.inner_class_types
|
|
53
|
-
@inner_class_types = {}
|
|
54
|
-
end
|
|
55
|
-
|
|
56
|
-
def self.field_remappings
|
|
57
|
-
@field_remappings = {}
|
|
58
|
-
end
|
|
59
|
-
end
|
|
60
|
-
|
|
61
|
-
class AfterpayClearpay < ::Stripe::StripeObject
|
|
62
|
-
def self.inner_class_types
|
|
63
|
-
@inner_class_types = {}
|
|
64
|
-
end
|
|
65
|
-
|
|
66
|
-
def self.field_remappings
|
|
67
|
-
@field_remappings = {}
|
|
68
|
-
end
|
|
69
|
-
end
|
|
70
|
-
|
|
71
|
-
class Alipay < ::Stripe::StripeObject
|
|
72
|
-
def self.inner_class_types
|
|
73
|
-
@inner_class_types = {}
|
|
74
|
-
end
|
|
75
|
-
|
|
76
|
-
def self.field_remappings
|
|
77
|
-
@field_remappings = {}
|
|
78
|
-
end
|
|
79
|
-
end
|
|
80
|
-
|
|
81
|
-
class Alma < ::Stripe::StripeObject
|
|
82
|
-
def self.inner_class_types
|
|
83
|
-
@inner_class_types = {}
|
|
84
|
-
end
|
|
85
|
-
|
|
86
|
-
def self.field_remappings
|
|
87
|
-
@field_remappings = {}
|
|
88
|
-
end
|
|
89
|
-
end
|
|
90
|
-
|
|
91
|
-
class AmazonPay < ::Stripe::StripeObject
|
|
92
|
-
def self.inner_class_types
|
|
93
|
-
@inner_class_types = {}
|
|
94
|
-
end
|
|
95
|
-
|
|
96
|
-
def self.field_remappings
|
|
97
|
-
@field_remappings = {}
|
|
98
|
-
end
|
|
99
|
-
end
|
|
100
|
-
|
|
101
|
-
class AuBecsDebit < ::Stripe::StripeObject
|
|
102
|
-
# Six-digit number identifying bank and branch associated with this bank account.
|
|
103
|
-
attr_reader :bsb_number
|
|
104
|
-
# Uniquely identifies this particular bank account. You can use this attribute to check whether two bank accounts are the same.
|
|
105
|
-
attr_reader :fingerprint
|
|
106
|
-
# Last four digits of the bank account number.
|
|
107
|
-
attr_reader :last4
|
|
108
|
-
|
|
109
|
-
def self.inner_class_types
|
|
110
|
-
@inner_class_types = {}
|
|
111
|
-
end
|
|
112
|
-
|
|
113
|
-
def self.field_remappings
|
|
114
|
-
@field_remappings = {}
|
|
115
|
-
end
|
|
116
|
-
end
|
|
117
|
-
|
|
118
|
-
class BacsDebit < ::Stripe::StripeObject
|
|
119
|
-
# Uniquely identifies this particular bank account. You can use this attribute to check whether two bank accounts are the same.
|
|
120
|
-
attr_reader :fingerprint
|
|
121
|
-
# Last four digits of the bank account number.
|
|
122
|
-
attr_reader :last4
|
|
123
|
-
# Sort code of the bank account. (e.g., `10-20-30`)
|
|
124
|
-
attr_reader :sort_code
|
|
125
|
-
|
|
126
|
-
def self.inner_class_types
|
|
127
|
-
@inner_class_types = {}
|
|
128
|
-
end
|
|
129
|
-
|
|
130
|
-
def self.field_remappings
|
|
131
|
-
@field_remappings = {}
|
|
132
|
-
end
|
|
133
|
-
end
|
|
134
|
-
|
|
135
|
-
class Bancontact < ::Stripe::StripeObject
|
|
136
|
-
def self.inner_class_types
|
|
137
|
-
@inner_class_types = {}
|
|
138
|
-
end
|
|
139
|
-
|
|
140
|
-
def self.field_remappings
|
|
141
|
-
@field_remappings = {}
|
|
142
|
-
end
|
|
143
|
-
end
|
|
144
|
-
|
|
145
|
-
class Billie < ::Stripe::StripeObject
|
|
146
|
-
def self.inner_class_types
|
|
147
|
-
@inner_class_types = {}
|
|
148
|
-
end
|
|
149
|
-
|
|
150
|
-
def self.field_remappings
|
|
151
|
-
@field_remappings = {}
|
|
152
|
-
end
|
|
153
|
-
end
|
|
154
|
-
|
|
155
|
-
class BillingDetails < ::Stripe::StripeObject
|
|
156
|
-
class Address < ::Stripe::StripeObject
|
|
157
|
-
# City, district, suburb, town, or village.
|
|
158
|
-
attr_reader :city
|
|
159
|
-
# Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)).
|
|
160
|
-
attr_reader :country
|
|
161
|
-
# Address line 1, such as the street, PO Box, or company name.
|
|
162
|
-
attr_reader :line1
|
|
163
|
-
# Address line 2, such as the apartment, suite, unit, or building.
|
|
164
|
-
attr_reader :line2
|
|
165
|
-
# ZIP or postal code.
|
|
166
|
-
attr_reader :postal_code
|
|
167
|
-
# State, county, province, or region ([ISO 3166-2](https://en.wikipedia.org/wiki/ISO_3166-2)).
|
|
168
|
-
attr_reader :state
|
|
169
|
-
|
|
170
|
-
def self.inner_class_types
|
|
171
|
-
@inner_class_types = {}
|
|
172
|
-
end
|
|
173
|
-
|
|
174
|
-
def self.field_remappings
|
|
175
|
-
@field_remappings = {}
|
|
176
|
-
end
|
|
177
|
-
end
|
|
178
|
-
# Billing address.
|
|
179
|
-
attr_reader :address
|
|
180
|
-
# Email address.
|
|
181
|
-
attr_reader :email
|
|
182
|
-
# Full name.
|
|
183
|
-
attr_reader :name
|
|
184
|
-
# Billing phone number (including extension).
|
|
185
|
-
attr_reader :phone
|
|
186
|
-
# Taxpayer identification number. Used only for transactions between LATAM buyers and non-LATAM sellers.
|
|
187
|
-
attr_reader :tax_id
|
|
188
|
-
|
|
189
|
-
def self.inner_class_types
|
|
190
|
-
@inner_class_types = { address: Address }
|
|
191
|
-
end
|
|
192
|
-
|
|
193
|
-
def self.field_remappings
|
|
194
|
-
@field_remappings = {}
|
|
195
|
-
end
|
|
196
|
-
end
|
|
197
|
-
|
|
198
|
-
class Blik < ::Stripe::StripeObject
|
|
199
|
-
def self.inner_class_types
|
|
200
|
-
@inner_class_types = {}
|
|
201
|
-
end
|
|
202
|
-
|
|
203
|
-
def self.field_remappings
|
|
204
|
-
@field_remappings = {}
|
|
205
|
-
end
|
|
206
|
-
end
|
|
207
|
-
|
|
208
|
-
class Boleto < ::Stripe::StripeObject
|
|
209
|
-
# Uniquely identifies the customer tax id (CNPJ or CPF)
|
|
210
|
-
attr_reader :tax_id
|
|
211
|
-
|
|
212
|
-
def self.inner_class_types
|
|
213
|
-
@inner_class_types = {}
|
|
214
|
-
end
|
|
215
|
-
|
|
216
|
-
def self.field_remappings
|
|
217
|
-
@field_remappings = {}
|
|
218
|
-
end
|
|
219
|
-
end
|
|
220
|
-
|
|
221
|
-
class Card < ::Stripe::StripeObject
|
|
222
|
-
class Checks < ::Stripe::StripeObject
|
|
223
|
-
# If a address line1 was provided, results of the check, one of `pass`, `fail`, `unavailable`, or `unchecked`.
|
|
224
|
-
attr_reader :address_line1_check
|
|
225
|
-
# If a address postal code was provided, results of the check, one of `pass`, `fail`, `unavailable`, or `unchecked`.
|
|
226
|
-
attr_reader :address_postal_code_check
|
|
227
|
-
# If a CVC was provided, results of the check, one of `pass`, `fail`, `unavailable`, or `unchecked`.
|
|
228
|
-
attr_reader :cvc_check
|
|
229
|
-
|
|
230
|
-
def self.inner_class_types
|
|
231
|
-
@inner_class_types = {}
|
|
232
|
-
end
|
|
233
|
-
|
|
234
|
-
def self.field_remappings
|
|
235
|
-
@field_remappings = {}
|
|
236
|
-
end
|
|
237
|
-
end
|
|
238
|
-
|
|
239
|
-
class Networks < ::Stripe::StripeObject
|
|
240
|
-
# All networks available for selection via [payment_method_options.card.network](/api/payment_intents/confirm#confirm_payment_intent-payment_method_options-card-network).
|
|
241
|
-
attr_reader :available
|
|
242
|
-
# The preferred network for co-branded cards. Can be `cartes_bancaires`, `mastercard`, `visa` or `invalid_preference` if requested network is not valid for the card.
|
|
243
|
-
attr_reader :preferred
|
|
244
|
-
|
|
245
|
-
def self.inner_class_types
|
|
246
|
-
@inner_class_types = {}
|
|
247
|
-
end
|
|
248
|
-
|
|
249
|
-
def self.field_remappings
|
|
250
|
-
@field_remappings = {}
|
|
251
|
-
end
|
|
252
|
-
end
|
|
253
|
-
|
|
254
|
-
class Wallet < ::Stripe::StripeObject
|
|
255
|
-
class AmexExpressCheckout < ::Stripe::StripeObject
|
|
256
|
-
def self.inner_class_types
|
|
257
|
-
@inner_class_types = {}
|
|
258
|
-
end
|
|
259
|
-
|
|
260
|
-
def self.field_remappings
|
|
261
|
-
@field_remappings = {}
|
|
262
|
-
end
|
|
263
|
-
end
|
|
264
|
-
|
|
265
|
-
class ApplePay < ::Stripe::StripeObject
|
|
266
|
-
def self.inner_class_types
|
|
267
|
-
@inner_class_types = {}
|
|
268
|
-
end
|
|
269
|
-
|
|
270
|
-
def self.field_remappings
|
|
271
|
-
@field_remappings = {}
|
|
272
|
-
end
|
|
273
|
-
end
|
|
274
|
-
|
|
275
|
-
class GooglePay < ::Stripe::StripeObject
|
|
276
|
-
def self.inner_class_types
|
|
277
|
-
@inner_class_types = {}
|
|
278
|
-
end
|
|
279
|
-
|
|
280
|
-
def self.field_remappings
|
|
281
|
-
@field_remappings = {}
|
|
282
|
-
end
|
|
283
|
-
end
|
|
284
|
-
|
|
285
|
-
class Link < ::Stripe::StripeObject
|
|
286
|
-
def self.inner_class_types
|
|
287
|
-
@inner_class_types = {}
|
|
288
|
-
end
|
|
289
|
-
|
|
290
|
-
def self.field_remappings
|
|
291
|
-
@field_remappings = {}
|
|
292
|
-
end
|
|
293
|
-
end
|
|
294
|
-
|
|
295
|
-
class Masterpass < ::Stripe::StripeObject
|
|
296
|
-
class BillingAddress < ::Stripe::StripeObject
|
|
297
|
-
# City, district, suburb, town, or village.
|
|
298
|
-
attr_reader :city
|
|
299
|
-
# Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)).
|
|
300
|
-
attr_reader :country
|
|
301
|
-
# Address line 1, such as the street, PO Box, or company name.
|
|
302
|
-
attr_reader :line1
|
|
303
|
-
# Address line 2, such as the apartment, suite, unit, or building.
|
|
304
|
-
attr_reader :line2
|
|
305
|
-
# ZIP or postal code.
|
|
306
|
-
attr_reader :postal_code
|
|
307
|
-
# State, county, province, or region ([ISO 3166-2](https://en.wikipedia.org/wiki/ISO_3166-2)).
|
|
308
|
-
attr_reader :state
|
|
309
|
-
|
|
310
|
-
def self.inner_class_types
|
|
311
|
-
@inner_class_types = {}
|
|
312
|
-
end
|
|
313
|
-
|
|
314
|
-
def self.field_remappings
|
|
315
|
-
@field_remappings = {}
|
|
316
|
-
end
|
|
317
|
-
end
|
|
318
|
-
|
|
319
|
-
class ShippingAddress < ::Stripe::StripeObject
|
|
320
|
-
# City, district, suburb, town, or village.
|
|
321
|
-
attr_reader :city
|
|
322
|
-
# Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)).
|
|
323
|
-
attr_reader :country
|
|
324
|
-
# Address line 1, such as the street, PO Box, or company name.
|
|
325
|
-
attr_reader :line1
|
|
326
|
-
# Address line 2, such as the apartment, suite, unit, or building.
|
|
327
|
-
attr_reader :line2
|
|
328
|
-
# ZIP or postal code.
|
|
329
|
-
attr_reader :postal_code
|
|
330
|
-
# State, county, province, or region ([ISO 3166-2](https://en.wikipedia.org/wiki/ISO_3166-2)).
|
|
331
|
-
attr_reader :state
|
|
332
|
-
|
|
333
|
-
def self.inner_class_types
|
|
334
|
-
@inner_class_types = {}
|
|
335
|
-
end
|
|
336
|
-
|
|
337
|
-
def self.field_remappings
|
|
338
|
-
@field_remappings = {}
|
|
339
|
-
end
|
|
340
|
-
end
|
|
341
|
-
# Owner's verified billing address. Values are verified or provided by the wallet directly (if supported) at the time of authorization or settlement. They cannot be set or mutated.
|
|
342
|
-
attr_reader :billing_address
|
|
343
|
-
# Owner's verified email. Values are verified or provided by the wallet directly (if supported) at the time of authorization or settlement. They cannot be set or mutated.
|
|
344
|
-
attr_reader :email
|
|
345
|
-
# Owner's verified full name. Values are verified or provided by the wallet directly (if supported) at the time of authorization or settlement. They cannot be set or mutated.
|
|
346
|
-
attr_reader :name
|
|
347
|
-
# Owner's verified shipping address. Values are verified or provided by the wallet directly (if supported) at the time of authorization or settlement. They cannot be set or mutated.
|
|
348
|
-
attr_reader :shipping_address
|
|
349
|
-
|
|
350
|
-
def self.inner_class_types
|
|
351
|
-
@inner_class_types = {
|
|
352
|
-
billing_address: BillingAddress,
|
|
353
|
-
shipping_address: ShippingAddress,
|
|
354
|
-
}
|
|
355
|
-
end
|
|
356
|
-
|
|
357
|
-
def self.field_remappings
|
|
358
|
-
@field_remappings = {}
|
|
359
|
-
end
|
|
360
|
-
end
|
|
361
|
-
|
|
362
|
-
class SamsungPay < ::Stripe::StripeObject
|
|
363
|
-
def self.inner_class_types
|
|
364
|
-
@inner_class_types = {}
|
|
365
|
-
end
|
|
366
|
-
|
|
367
|
-
def self.field_remappings
|
|
368
|
-
@field_remappings = {}
|
|
369
|
-
end
|
|
370
|
-
end
|
|
371
|
-
|
|
372
|
-
class VisaCheckout < ::Stripe::StripeObject
|
|
373
|
-
class BillingAddress < ::Stripe::StripeObject
|
|
374
|
-
# City, district, suburb, town, or village.
|
|
375
|
-
attr_reader :city
|
|
376
|
-
# Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)).
|
|
377
|
-
attr_reader :country
|
|
378
|
-
# Address line 1, such as the street, PO Box, or company name.
|
|
379
|
-
attr_reader :line1
|
|
380
|
-
# Address line 2, such as the apartment, suite, unit, or building.
|
|
381
|
-
attr_reader :line2
|
|
382
|
-
# ZIP or postal code.
|
|
383
|
-
attr_reader :postal_code
|
|
384
|
-
# State, county, province, or region ([ISO 3166-2](https://en.wikipedia.org/wiki/ISO_3166-2)).
|
|
385
|
-
attr_reader :state
|
|
386
|
-
|
|
387
|
-
def self.inner_class_types
|
|
388
|
-
@inner_class_types = {}
|
|
389
|
-
end
|
|
390
|
-
|
|
391
|
-
def self.field_remappings
|
|
392
|
-
@field_remappings = {}
|
|
393
|
-
end
|
|
394
|
-
end
|
|
395
|
-
|
|
396
|
-
class ShippingAddress < ::Stripe::StripeObject
|
|
397
|
-
# City, district, suburb, town, or village.
|
|
398
|
-
attr_reader :city
|
|
399
|
-
# Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)).
|
|
400
|
-
attr_reader :country
|
|
401
|
-
# Address line 1, such as the street, PO Box, or company name.
|
|
402
|
-
attr_reader :line1
|
|
403
|
-
# Address line 2, such as the apartment, suite, unit, or building.
|
|
404
|
-
attr_reader :line2
|
|
405
|
-
# ZIP or postal code.
|
|
406
|
-
attr_reader :postal_code
|
|
407
|
-
# State, county, province, or region ([ISO 3166-2](https://en.wikipedia.org/wiki/ISO_3166-2)).
|
|
408
|
-
attr_reader :state
|
|
409
|
-
|
|
410
|
-
def self.inner_class_types
|
|
411
|
-
@inner_class_types = {}
|
|
412
|
-
end
|
|
413
|
-
|
|
414
|
-
def self.field_remappings
|
|
415
|
-
@field_remappings = {}
|
|
416
|
-
end
|
|
417
|
-
end
|
|
418
|
-
# Owner's verified billing address. Values are verified or provided by the wallet directly (if supported) at the time of authorization or settlement. They cannot be set or mutated.
|
|
419
|
-
attr_reader :billing_address
|
|
420
|
-
# Owner's verified email. Values are verified or provided by the wallet directly (if supported) at the time of authorization or settlement. They cannot be set or mutated.
|
|
421
|
-
attr_reader :email
|
|
422
|
-
# Owner's verified full name. Values are verified or provided by the wallet directly (if supported) at the time of authorization or settlement. They cannot be set or mutated.
|
|
423
|
-
attr_reader :name
|
|
424
|
-
# Owner's verified shipping address. Values are verified or provided by the wallet directly (if supported) at the time of authorization or settlement. They cannot be set or mutated.
|
|
425
|
-
attr_reader :shipping_address
|
|
426
|
-
|
|
427
|
-
def self.inner_class_types
|
|
428
|
-
@inner_class_types = {
|
|
429
|
-
billing_address: BillingAddress,
|
|
430
|
-
shipping_address: ShippingAddress,
|
|
431
|
-
}
|
|
432
|
-
end
|
|
433
|
-
|
|
434
|
-
def self.field_remappings
|
|
435
|
-
@field_remappings = {}
|
|
436
|
-
end
|
|
437
|
-
end
|
|
438
|
-
# Attribute for field amex_express_checkout
|
|
439
|
-
attr_reader :amex_express_checkout
|
|
440
|
-
# Attribute for field apple_pay
|
|
441
|
-
attr_reader :apple_pay
|
|
442
|
-
# (For tokenized numbers only.) The last four digits of the device account number.
|
|
443
|
-
attr_reader :dynamic_last4
|
|
444
|
-
# Attribute for field google_pay
|
|
445
|
-
attr_reader :google_pay
|
|
446
|
-
# Attribute for field link
|
|
447
|
-
attr_reader :link
|
|
448
|
-
# Attribute for field masterpass
|
|
449
|
-
attr_reader :masterpass
|
|
450
|
-
# Attribute for field samsung_pay
|
|
451
|
-
attr_reader :samsung_pay
|
|
452
|
-
# The type of the card wallet, one of `amex_express_checkout`, `apple_pay`, `google_pay`, `masterpass`, `samsung_pay`, `visa_checkout`, or `link`. An additional hash is included on the Wallet subhash with a name matching this value. It contains additional information specific to the card wallet type.
|
|
453
|
-
attr_reader :type
|
|
454
|
-
# Attribute for field visa_checkout
|
|
455
|
-
attr_reader :visa_checkout
|
|
456
|
-
|
|
457
|
-
def self.inner_class_types
|
|
458
|
-
@inner_class_types = {
|
|
459
|
-
amex_express_checkout: AmexExpressCheckout,
|
|
460
|
-
apple_pay: ApplePay,
|
|
461
|
-
google_pay: GooglePay,
|
|
462
|
-
link: Link,
|
|
463
|
-
masterpass: Masterpass,
|
|
464
|
-
samsung_pay: SamsungPay,
|
|
465
|
-
visa_checkout: VisaCheckout,
|
|
466
|
-
}
|
|
467
|
-
end
|
|
468
|
-
|
|
469
|
-
def self.field_remappings
|
|
470
|
-
@field_remappings = {}
|
|
471
|
-
end
|
|
472
|
-
end
|
|
473
|
-
# Card brand. Can be `amex`, `cartes_bancaires`, `diners`, `discover`, `eftpos_au`, `jcb`, `link`, `mastercard`, `unionpay`, `visa` or `unknown`.
|
|
474
|
-
attr_reader :brand
|
|
475
|
-
# Checks on Card address and CVC if provided.
|
|
476
|
-
attr_reader :checks
|
|
477
|
-
# Two-letter ISO code representing the country of the card. You could use this attribute to get a sense of the international breakdown of cards you've collected.
|
|
478
|
-
attr_reader :country
|
|
479
|
-
# A high-level description of the type of cards issued in this range. (For internal use only and not typically available in standard API requests.)
|
|
480
|
-
attr_reader :description
|
|
481
|
-
# The brand to use when displaying the card, this accounts for customer's brand choice on dual-branded cards. Can be `american_express`, `cartes_bancaires`, `diners_club`, `discover`, `eftpos_australia`, `interac`, `jcb`, `mastercard`, `union_pay`, `visa`, or `other` and may contain more values in the future.
|
|
482
|
-
attr_reader :display_brand
|
|
483
|
-
# Two-digit number representing the card's expiration month.
|
|
484
|
-
attr_reader :exp_month
|
|
485
|
-
# Four-digit number representing the card's expiration year.
|
|
486
|
-
attr_reader :exp_year
|
|
487
|
-
# Uniquely identifies this particular card number. You can use this attribute to check whether two customers who’ve signed up with you are using the same card number, for example. For payment methods that tokenize card information (Apple Pay, Google Pay), the tokenized number might be provided instead of the underlying card number.
|
|
488
|
-
#
|
|
489
|
-
# *As of May 1, 2021, card fingerprint in India for Connect changed to allow two fingerprints for the same card---one for India and one for the rest of the world.*
|
|
490
|
-
attr_reader :fingerprint
|
|
491
|
-
# Card funding type. Can be `credit`, `debit`, `prepaid`, or `unknown`.
|
|
492
|
-
attr_reader :funding
|
|
493
|
-
# Issuer identification number of the card. (For internal use only and not typically available in standard API requests.)
|
|
494
|
-
attr_reader :iin
|
|
495
|
-
# The name of the card's issuing bank. (For internal use only and not typically available in standard API requests.)
|
|
496
|
-
attr_reader :issuer
|
|
497
|
-
# The last four digits of the card.
|
|
498
|
-
attr_reader :last4
|
|
499
|
-
# Contains information about card networks that can be used to process the payment.
|
|
500
|
-
attr_reader :networks
|
|
501
|
-
# If this Card is part of a card wallet, this contains the details of the card wallet.
|
|
502
|
-
attr_reader :wallet
|
|
503
|
-
|
|
504
|
-
def self.inner_class_types
|
|
505
|
-
@inner_class_types = { checks: Checks, networks: Networks, wallet: Wallet }
|
|
506
|
-
end
|
|
507
|
-
|
|
508
|
-
def self.field_remappings
|
|
509
|
-
@field_remappings = {}
|
|
510
|
-
end
|
|
511
|
-
end
|
|
512
|
-
|
|
513
|
-
class CardPresent < ::Stripe::StripeObject
|
|
514
|
-
class Networks < ::Stripe::StripeObject
|
|
515
|
-
# All networks available for selection via [payment_method_options.card.network](/api/payment_intents/confirm#confirm_payment_intent-payment_method_options-card-network).
|
|
516
|
-
attr_reader :available
|
|
517
|
-
# The preferred network for the card.
|
|
518
|
-
attr_reader :preferred
|
|
519
|
-
|
|
520
|
-
def self.inner_class_types
|
|
521
|
-
@inner_class_types = {}
|
|
522
|
-
end
|
|
523
|
-
|
|
524
|
-
def self.field_remappings
|
|
525
|
-
@field_remappings = {}
|
|
526
|
-
end
|
|
527
|
-
end
|
|
528
|
-
|
|
529
|
-
class Offline < ::Stripe::StripeObject
|
|
530
|
-
# Time at which the payment was collected while offline
|
|
531
|
-
attr_reader :stored_at
|
|
532
|
-
# The method used to process this payment method offline. Only deferred is allowed.
|
|
533
|
-
attr_reader :type
|
|
534
|
-
|
|
535
|
-
def self.inner_class_types
|
|
536
|
-
@inner_class_types = {}
|
|
537
|
-
end
|
|
538
|
-
|
|
539
|
-
def self.field_remappings
|
|
540
|
-
@field_remappings = {}
|
|
541
|
-
end
|
|
542
|
-
end
|
|
543
|
-
|
|
544
|
-
class Wallet < ::Stripe::StripeObject
|
|
545
|
-
# The type of mobile wallet, one of `apple_pay`, `google_pay`, `samsung_pay`, or `unknown`.
|
|
546
|
-
attr_reader :type
|
|
547
|
-
|
|
548
|
-
def self.inner_class_types
|
|
549
|
-
@inner_class_types = {}
|
|
550
|
-
end
|
|
551
|
-
|
|
552
|
-
def self.field_remappings
|
|
553
|
-
@field_remappings = {}
|
|
554
|
-
end
|
|
555
|
-
end
|
|
556
|
-
# Card brand. Can be `amex`, `cartes_bancaires`, `diners`, `discover`, `eftpos_au`, `jcb`, `link`, `mastercard`, `unionpay`, `visa` or `unknown`.
|
|
557
|
-
attr_reader :brand
|
|
558
|
-
# The [product code](https://stripe.com/docs/card-product-codes) that identifies the specific program or product associated with a card.
|
|
559
|
-
attr_reader :brand_product
|
|
560
|
-
# The cardholder name as read from the card, in [ISO 7813](https://en.wikipedia.org/wiki/ISO/IEC_7813) format. May include alphanumeric characters, special characters and first/last name separator (`/`). In some cases, the cardholder name may not be available depending on how the issuer has configured the card. Cardholder name is typically not available on swipe or contactless payments, such as those made with Apple Pay and Google Pay.
|
|
561
|
-
attr_reader :cardholder_name
|
|
562
|
-
# Two-letter ISO code representing the country of the card. You could use this attribute to get a sense of the international breakdown of cards you've collected.
|
|
563
|
-
attr_reader :country
|
|
564
|
-
# A high-level description of the type of cards issued in this range. (For internal use only and not typically available in standard API requests.)
|
|
565
|
-
attr_reader :description
|
|
566
|
-
# Two-digit number representing the card's expiration month.
|
|
567
|
-
attr_reader :exp_month
|
|
568
|
-
# Four-digit number representing the card's expiration year.
|
|
569
|
-
attr_reader :exp_year
|
|
570
|
-
# Uniquely identifies this particular card number. You can use this attribute to check whether two customers who’ve signed up with you are using the same card number, for example. For payment methods that tokenize card information (Apple Pay, Google Pay), the tokenized number might be provided instead of the underlying card number.
|
|
571
|
-
#
|
|
572
|
-
# *As of May 1, 2021, card fingerprint in India for Connect changed to allow two fingerprints for the same card---one for India and one for the rest of the world.*
|
|
573
|
-
attr_reader :fingerprint
|
|
574
|
-
# Card funding type. Can be `credit`, `debit`, `prepaid`, or `unknown`.
|
|
575
|
-
attr_reader :funding
|
|
576
|
-
# Issuer identification number of the card. (For internal use only and not typically available in standard API requests.)
|
|
577
|
-
attr_reader :iin
|
|
578
|
-
# The name of the card's issuing bank. (For internal use only and not typically available in standard API requests.)
|
|
579
|
-
attr_reader :issuer
|
|
580
|
-
# The last four digits of the card.
|
|
581
|
-
attr_reader :last4
|
|
582
|
-
# Contains information about card networks that can be used to process the payment.
|
|
583
|
-
attr_reader :networks
|
|
584
|
-
# Details about payment methods collected offline.
|
|
585
|
-
attr_reader :offline
|
|
586
|
-
# The languages that the issuing bank recommends using for localizing any customer-facing text, as read from the card. Referenced from EMV tag 5F2D, data encoded on the card's chip.
|
|
587
|
-
attr_reader :preferred_locales
|
|
588
|
-
# How card details were read in this transaction.
|
|
589
|
-
attr_reader :read_method
|
|
590
|
-
# Attribute for field wallet
|
|
591
|
-
attr_reader :wallet
|
|
592
|
-
|
|
593
|
-
def self.inner_class_types
|
|
594
|
-
@inner_class_types = { networks: Networks, offline: Offline, wallet: Wallet }
|
|
595
|
-
end
|
|
596
|
-
|
|
597
|
-
def self.field_remappings
|
|
598
|
-
@field_remappings = {}
|
|
599
|
-
end
|
|
600
|
-
end
|
|
601
|
-
|
|
602
|
-
class Cashapp < ::Stripe::StripeObject
|
|
603
|
-
# A unique and immutable identifier assigned by Cash App to every buyer.
|
|
604
|
-
attr_reader :buyer_id
|
|
605
|
-
# A public identifier for buyers using Cash App.
|
|
606
|
-
attr_reader :cashtag
|
|
607
|
-
|
|
608
|
-
def self.inner_class_types
|
|
609
|
-
@inner_class_types = {}
|
|
610
|
-
end
|
|
611
|
-
|
|
612
|
-
def self.field_remappings
|
|
613
|
-
@field_remappings = {}
|
|
614
|
-
end
|
|
615
|
-
end
|
|
616
|
-
|
|
617
|
-
class Crypto < ::Stripe::StripeObject
|
|
618
|
-
def self.inner_class_types
|
|
619
|
-
@inner_class_types = {}
|
|
620
|
-
end
|
|
621
|
-
|
|
622
|
-
def self.field_remappings
|
|
623
|
-
@field_remappings = {}
|
|
624
|
-
end
|
|
625
|
-
end
|
|
626
|
-
|
|
627
|
-
class CustomerBalance < ::Stripe::StripeObject
|
|
628
|
-
def self.inner_class_types
|
|
629
|
-
@inner_class_types = {}
|
|
630
|
-
end
|
|
631
|
-
|
|
632
|
-
def self.field_remappings
|
|
633
|
-
@field_remappings = {}
|
|
634
|
-
end
|
|
635
|
-
end
|
|
636
|
-
|
|
637
|
-
class Eps < ::Stripe::StripeObject
|
|
638
|
-
# The customer's bank. Should be one of `arzte_und_apotheker_bank`, `austrian_anadi_bank_ag`, `bank_austria`, `bankhaus_carl_spangler`, `bankhaus_schelhammer_und_schattera_ag`, `bawag_psk_ag`, `bks_bank_ag`, `brull_kallmus_bank_ag`, `btv_vier_lander_bank`, `capital_bank_grawe_gruppe_ag`, `deutsche_bank_ag`, `dolomitenbank`, `easybank_ag`, `erste_bank_und_sparkassen`, `hypo_alpeadriabank_international_ag`, `hypo_noe_lb_fur_niederosterreich_u_wien`, `hypo_oberosterreich_salzburg_steiermark`, `hypo_tirol_bank_ag`, `hypo_vorarlberg_bank_ag`, `hypo_bank_burgenland_aktiengesellschaft`, `marchfelder_bank`, `oberbank_ag`, `raiffeisen_bankengruppe_osterreich`, `schoellerbank_ag`, `sparda_bank_wien`, `volksbank_gruppe`, `volkskreditbank_ag`, or `vr_bank_braunau`.
|
|
639
|
-
attr_reader :bank
|
|
640
|
-
|
|
641
|
-
def self.inner_class_types
|
|
642
|
-
@inner_class_types = {}
|
|
643
|
-
end
|
|
644
|
-
|
|
645
|
-
def self.field_remappings
|
|
646
|
-
@field_remappings = {}
|
|
647
|
-
end
|
|
648
|
-
end
|
|
649
|
-
|
|
650
|
-
class Fpx < ::Stripe::StripeObject
|
|
651
|
-
# Account holder type, if provided. Can be one of `individual` or `company`.
|
|
652
|
-
attr_reader :account_holder_type
|
|
653
|
-
# The customer's bank, if provided. Can be one of `affin_bank`, `agrobank`, `alliance_bank`, `ambank`, `bank_islam`, `bank_muamalat`, `bank_rakyat`, `bsn`, `cimb`, `hong_leong_bank`, `hsbc`, `kfh`, `maybank2u`, `ocbc`, `public_bank`, `rhb`, `standard_chartered`, `uob`, `deutsche_bank`, `maybank2e`, `pb_enterprise`, or `bank_of_china`.
|
|
654
|
-
attr_reader :bank
|
|
655
|
-
|
|
656
|
-
def self.inner_class_types
|
|
657
|
-
@inner_class_types = {}
|
|
658
|
-
end
|
|
659
|
-
|
|
660
|
-
def self.field_remappings
|
|
661
|
-
@field_remappings = {}
|
|
662
|
-
end
|
|
663
|
-
end
|
|
664
|
-
|
|
665
|
-
class Giropay < ::Stripe::StripeObject
|
|
666
|
-
def self.inner_class_types
|
|
667
|
-
@inner_class_types = {}
|
|
668
|
-
end
|
|
669
|
-
|
|
670
|
-
def self.field_remappings
|
|
671
|
-
@field_remappings = {}
|
|
672
|
-
end
|
|
673
|
-
end
|
|
674
|
-
|
|
675
|
-
class Gopay < ::Stripe::StripeObject
|
|
676
|
-
def self.inner_class_types
|
|
677
|
-
@inner_class_types = {}
|
|
678
|
-
end
|
|
679
|
-
|
|
680
|
-
def self.field_remappings
|
|
681
|
-
@field_remappings = {}
|
|
682
|
-
end
|
|
683
|
-
end
|
|
684
|
-
|
|
685
|
-
class Grabpay < ::Stripe::StripeObject
|
|
686
|
-
def self.inner_class_types
|
|
687
|
-
@inner_class_types = {}
|
|
688
|
-
end
|
|
689
|
-
|
|
690
|
-
def self.field_remappings
|
|
691
|
-
@field_remappings = {}
|
|
692
|
-
end
|
|
693
|
-
end
|
|
694
|
-
|
|
695
|
-
class IdBankTransfer < ::Stripe::StripeObject
|
|
696
|
-
# Attribute for field bank
|
|
697
|
-
attr_reader :bank
|
|
698
|
-
# Attribute for field bank_code
|
|
699
|
-
attr_reader :bank_code
|
|
700
|
-
# Attribute for field bank_name
|
|
701
|
-
attr_reader :bank_name
|
|
702
|
-
# Attribute for field display_name
|
|
703
|
-
attr_reader :display_name
|
|
704
|
-
|
|
705
|
-
def self.inner_class_types
|
|
706
|
-
@inner_class_types = {}
|
|
707
|
-
end
|
|
708
|
-
|
|
709
|
-
def self.field_remappings
|
|
710
|
-
@field_remappings = {}
|
|
711
|
-
end
|
|
712
|
-
end
|
|
713
|
-
|
|
714
|
-
class Ideal < ::Stripe::StripeObject
|
|
715
|
-
# The customer's bank, if provided. Can be one of `abn_amro`, `adyen`, `asn_bank`, `bunq`, `buut`, `finom`, `handelsbanken`, `ing`, `knab`, `mollie`, `moneyou`, `n26`, `nn`, `rabobank`, `regiobank`, `revolut`, `sns_bank`, `triodos_bank`, `van_lanschot`, or `yoursafe`.
|
|
716
|
-
attr_reader :bank
|
|
717
|
-
# The Bank Identifier Code of the customer's bank, if the bank was provided.
|
|
718
|
-
attr_reader :bic
|
|
719
|
-
|
|
720
|
-
def self.inner_class_types
|
|
721
|
-
@inner_class_types = {}
|
|
722
|
-
end
|
|
723
|
-
|
|
724
|
-
def self.field_remappings
|
|
725
|
-
@field_remappings = {}
|
|
726
|
-
end
|
|
727
|
-
end
|
|
728
|
-
|
|
729
|
-
class InteracPresent < ::Stripe::StripeObject
|
|
730
|
-
class Networks < ::Stripe::StripeObject
|
|
731
|
-
# All networks available for selection via [payment_method_options.card.network](/api/payment_intents/confirm#confirm_payment_intent-payment_method_options-card-network).
|
|
732
|
-
attr_reader :available
|
|
733
|
-
# The preferred network for the card.
|
|
734
|
-
attr_reader :preferred
|
|
735
|
-
|
|
736
|
-
def self.inner_class_types
|
|
737
|
-
@inner_class_types = {}
|
|
738
|
-
end
|
|
739
|
-
|
|
740
|
-
def self.field_remappings
|
|
741
|
-
@field_remappings = {}
|
|
742
|
-
end
|
|
743
|
-
end
|
|
744
|
-
# Card brand. Can be `interac`, `mastercard` or `visa`.
|
|
745
|
-
attr_reader :brand
|
|
746
|
-
# The cardholder name as read from the card, in [ISO 7813](https://en.wikipedia.org/wiki/ISO/IEC_7813) format. May include alphanumeric characters, special characters and first/last name separator (`/`). In some cases, the cardholder name may not be available depending on how the issuer has configured the card. Cardholder name is typically not available on swipe or contactless payments, such as those made with Apple Pay and Google Pay.
|
|
747
|
-
attr_reader :cardholder_name
|
|
748
|
-
# Two-letter ISO code representing the country of the card. You could use this attribute to get a sense of the international breakdown of cards you've collected.
|
|
749
|
-
attr_reader :country
|
|
750
|
-
# A high-level description of the type of cards issued in this range. (For internal use only and not typically available in standard API requests.)
|
|
751
|
-
attr_reader :description
|
|
752
|
-
# Two-digit number representing the card's expiration month.
|
|
753
|
-
attr_reader :exp_month
|
|
754
|
-
# Four-digit number representing the card's expiration year.
|
|
755
|
-
attr_reader :exp_year
|
|
756
|
-
# Uniquely identifies this particular card number. You can use this attribute to check whether two customers who’ve signed up with you are using the same card number, for example. For payment methods that tokenize card information (Apple Pay, Google Pay), the tokenized number might be provided instead of the underlying card number.
|
|
757
|
-
#
|
|
758
|
-
# *As of May 1, 2021, card fingerprint in India for Connect changed to allow two fingerprints for the same card---one for India and one for the rest of the world.*
|
|
759
|
-
attr_reader :fingerprint
|
|
760
|
-
# Card funding type. Can be `credit`, `debit`, `prepaid`, or `unknown`.
|
|
761
|
-
attr_reader :funding
|
|
762
|
-
# Issuer identification number of the card. (For internal use only and not typically available in standard API requests.)
|
|
763
|
-
attr_reader :iin
|
|
764
|
-
# The name of the card's issuing bank. (For internal use only and not typically available in standard API requests.)
|
|
765
|
-
attr_reader :issuer
|
|
766
|
-
# The last four digits of the card.
|
|
767
|
-
attr_reader :last4
|
|
768
|
-
# Contains information about card networks that can be used to process the payment.
|
|
769
|
-
attr_reader :networks
|
|
770
|
-
# The languages that the issuing bank recommends using for localizing any customer-facing text, as read from the card. Referenced from EMV tag 5F2D, data encoded on the card's chip.
|
|
771
|
-
attr_reader :preferred_locales
|
|
772
|
-
# How card details were read in this transaction.
|
|
773
|
-
attr_reader :read_method
|
|
774
|
-
|
|
775
|
-
def self.inner_class_types
|
|
776
|
-
@inner_class_types = { networks: Networks }
|
|
777
|
-
end
|
|
778
|
-
|
|
779
|
-
def self.field_remappings
|
|
780
|
-
@field_remappings = {}
|
|
781
|
-
end
|
|
782
|
-
end
|
|
783
|
-
|
|
784
|
-
class KakaoPay < ::Stripe::StripeObject
|
|
785
|
-
def self.inner_class_types
|
|
786
|
-
@inner_class_types = {}
|
|
787
|
-
end
|
|
788
|
-
|
|
789
|
-
def self.field_remappings
|
|
790
|
-
@field_remappings = {}
|
|
791
|
-
end
|
|
792
|
-
end
|
|
793
|
-
|
|
794
|
-
class Klarna < ::Stripe::StripeObject
|
|
795
|
-
class Dob < ::Stripe::StripeObject
|
|
796
|
-
# The day of birth, between 1 and 31.
|
|
797
|
-
attr_reader :day
|
|
798
|
-
# The month of birth, between 1 and 12.
|
|
799
|
-
attr_reader :month
|
|
800
|
-
# The four-digit year of birth.
|
|
801
|
-
attr_reader :year
|
|
802
|
-
|
|
803
|
-
def self.inner_class_types
|
|
804
|
-
@inner_class_types = {}
|
|
805
|
-
end
|
|
806
|
-
|
|
807
|
-
def self.field_remappings
|
|
808
|
-
@field_remappings = {}
|
|
809
|
-
end
|
|
810
|
-
end
|
|
811
|
-
# The customer's date of birth, if provided.
|
|
812
|
-
attr_reader :dob
|
|
813
|
-
|
|
814
|
-
def self.inner_class_types
|
|
815
|
-
@inner_class_types = { dob: Dob }
|
|
816
|
-
end
|
|
817
|
-
|
|
818
|
-
def self.field_remappings
|
|
819
|
-
@field_remappings = {}
|
|
820
|
-
end
|
|
821
|
-
end
|
|
822
|
-
|
|
823
|
-
class Konbini < ::Stripe::StripeObject
|
|
824
|
-
def self.inner_class_types
|
|
825
|
-
@inner_class_types = {}
|
|
826
|
-
end
|
|
827
|
-
|
|
828
|
-
def self.field_remappings
|
|
829
|
-
@field_remappings = {}
|
|
830
|
-
end
|
|
831
|
-
end
|
|
832
|
-
|
|
833
|
-
class KrCard < ::Stripe::StripeObject
|
|
834
|
-
# The local credit or debit card brand.
|
|
835
|
-
attr_reader :brand
|
|
836
|
-
# The last four digits of the card. This may not be present for American Express cards.
|
|
837
|
-
attr_reader :last4
|
|
838
|
-
|
|
839
|
-
def self.inner_class_types
|
|
840
|
-
@inner_class_types = {}
|
|
841
|
-
end
|
|
842
|
-
|
|
843
|
-
def self.field_remappings
|
|
844
|
-
@field_remappings = {}
|
|
845
|
-
end
|
|
846
|
-
end
|
|
847
|
-
|
|
848
|
-
class Link < ::Stripe::StripeObject
|
|
849
|
-
# Account owner's email address.
|
|
850
|
-
attr_reader :email
|
|
851
|
-
# [Deprecated] This is a legacy parameter that no longer has any function.
|
|
852
|
-
attr_reader :persistent_token
|
|
853
|
-
|
|
854
|
-
def self.inner_class_types
|
|
855
|
-
@inner_class_types = {}
|
|
856
|
-
end
|
|
857
|
-
|
|
858
|
-
def self.field_remappings
|
|
859
|
-
@field_remappings = {}
|
|
860
|
-
end
|
|
861
|
-
end
|
|
862
|
-
|
|
863
|
-
class MbWay < ::Stripe::StripeObject
|
|
864
|
-
def self.inner_class_types
|
|
865
|
-
@inner_class_types = {}
|
|
866
|
-
end
|
|
867
|
-
|
|
868
|
-
def self.field_remappings
|
|
869
|
-
@field_remappings = {}
|
|
870
|
-
end
|
|
871
|
-
end
|
|
872
|
-
|
|
873
|
-
class Mobilepay < ::Stripe::StripeObject
|
|
874
|
-
def self.inner_class_types
|
|
875
|
-
@inner_class_types = {}
|
|
876
|
-
end
|
|
877
|
-
|
|
878
|
-
def self.field_remappings
|
|
879
|
-
@field_remappings = {}
|
|
880
|
-
end
|
|
881
|
-
end
|
|
882
|
-
|
|
883
|
-
class Multibanco < ::Stripe::StripeObject
|
|
884
|
-
def self.inner_class_types
|
|
885
|
-
@inner_class_types = {}
|
|
886
|
-
end
|
|
887
|
-
|
|
888
|
-
def self.field_remappings
|
|
889
|
-
@field_remappings = {}
|
|
890
|
-
end
|
|
891
|
-
end
|
|
892
|
-
|
|
893
|
-
class NaverPay < ::Stripe::StripeObject
|
|
894
|
-
# Uniquely identifies this particular Naver Pay account. You can use this attribute to check whether two Naver Pay accounts are the same.
|
|
895
|
-
attr_reader :buyer_id
|
|
896
|
-
# Whether to fund this transaction with Naver Pay points or a card.
|
|
897
|
-
attr_reader :funding
|
|
898
|
-
|
|
899
|
-
def self.inner_class_types
|
|
900
|
-
@inner_class_types = {}
|
|
901
|
-
end
|
|
902
|
-
|
|
903
|
-
def self.field_remappings
|
|
904
|
-
@field_remappings = {}
|
|
905
|
-
end
|
|
906
|
-
end
|
|
907
|
-
|
|
908
|
-
class NzBankAccount < ::Stripe::StripeObject
|
|
909
|
-
# The name on the bank account. Only present if the account holder name is different from the name of the authorized signatory collected in the PaymentMethod’s billing details.
|
|
910
|
-
attr_reader :account_holder_name
|
|
911
|
-
# The numeric code for the bank account's bank.
|
|
912
|
-
attr_reader :bank_code
|
|
913
|
-
# The name of the bank.
|
|
914
|
-
attr_reader :bank_name
|
|
915
|
-
# The numeric code for the bank account's bank branch.
|
|
916
|
-
attr_reader :branch_code
|
|
917
|
-
# Last four digits of the bank account number.
|
|
918
|
-
attr_reader :last4
|
|
919
|
-
# The suffix of the bank account number.
|
|
920
|
-
attr_reader :suffix
|
|
921
|
-
|
|
922
|
-
def self.inner_class_types
|
|
923
|
-
@inner_class_types = {}
|
|
924
|
-
end
|
|
925
|
-
|
|
926
|
-
def self.field_remappings
|
|
927
|
-
@field_remappings = {}
|
|
928
|
-
end
|
|
929
|
-
end
|
|
930
|
-
|
|
931
|
-
class Oxxo < ::Stripe::StripeObject
|
|
932
|
-
def self.inner_class_types
|
|
933
|
-
@inner_class_types = {}
|
|
934
|
-
end
|
|
935
|
-
|
|
936
|
-
def self.field_remappings
|
|
937
|
-
@field_remappings = {}
|
|
938
|
-
end
|
|
939
|
-
end
|
|
940
|
-
|
|
941
|
-
class P24 < ::Stripe::StripeObject
|
|
942
|
-
# The customer's bank, if provided.
|
|
943
|
-
attr_reader :bank
|
|
944
|
-
|
|
945
|
-
def self.inner_class_types
|
|
946
|
-
@inner_class_types = {}
|
|
947
|
-
end
|
|
948
|
-
|
|
949
|
-
def self.field_remappings
|
|
950
|
-
@field_remappings = {}
|
|
951
|
-
end
|
|
952
|
-
end
|
|
953
|
-
|
|
954
|
-
class PayByBank < ::Stripe::StripeObject
|
|
955
|
-
def self.inner_class_types
|
|
956
|
-
@inner_class_types = {}
|
|
957
|
-
end
|
|
958
|
-
|
|
959
|
-
def self.field_remappings
|
|
960
|
-
@field_remappings = {}
|
|
961
|
-
end
|
|
962
|
-
end
|
|
963
|
-
|
|
964
|
-
class Payco < ::Stripe::StripeObject
|
|
965
|
-
def self.inner_class_types
|
|
966
|
-
@inner_class_types = {}
|
|
967
|
-
end
|
|
968
|
-
|
|
969
|
-
def self.field_remappings
|
|
970
|
-
@field_remappings = {}
|
|
971
|
-
end
|
|
972
|
-
end
|
|
973
|
-
|
|
974
|
-
class Paynow < ::Stripe::StripeObject
|
|
975
|
-
def self.inner_class_types
|
|
976
|
-
@inner_class_types = {}
|
|
977
|
-
end
|
|
978
|
-
|
|
979
|
-
def self.field_remappings
|
|
980
|
-
@field_remappings = {}
|
|
981
|
-
end
|
|
982
|
-
end
|
|
983
|
-
|
|
984
|
-
class Paypal < ::Stripe::StripeObject
|
|
985
|
-
# Two-letter ISO code representing the buyer's country. Values are provided by PayPal directly (if supported) at the time of authorization or settlement. They cannot be set or mutated.
|
|
986
|
-
attr_reader :country
|
|
987
|
-
# Uniquely identifies this particular PayPal account. You can use this attribute to check whether two PayPal accounts are the same.
|
|
988
|
-
attr_reader :fingerprint
|
|
989
|
-
# Owner's email. Values are provided by PayPal directly
|
|
990
|
-
# (if supported) at the time of authorization or settlement. They cannot be set or mutated.
|
|
991
|
-
attr_reader :payer_email
|
|
992
|
-
# PayPal account PayerID. This identifier uniquely identifies the PayPal customer.
|
|
993
|
-
attr_reader :payer_id
|
|
994
|
-
# Owner's verified email. Values are verified or provided by PayPal directly
|
|
995
|
-
# (if supported) at the time of authorization or settlement. They cannot be set or mutated.
|
|
996
|
-
attr_reader :verified_email
|
|
997
|
-
|
|
998
|
-
def self.inner_class_types
|
|
999
|
-
@inner_class_types = {}
|
|
1000
|
-
end
|
|
1001
|
-
|
|
1002
|
-
def self.field_remappings
|
|
1003
|
-
@field_remappings = {}
|
|
1004
|
-
end
|
|
1005
|
-
end
|
|
1006
|
-
|
|
1007
|
-
class Paypay < ::Stripe::StripeObject
|
|
1008
|
-
def self.inner_class_types
|
|
1009
|
-
@inner_class_types = {}
|
|
1010
|
-
end
|
|
1011
|
-
|
|
1012
|
-
def self.field_remappings
|
|
1013
|
-
@field_remappings = {}
|
|
1014
|
-
end
|
|
1015
|
-
end
|
|
1016
|
-
|
|
1017
|
-
class Payto < ::Stripe::StripeObject
|
|
1018
|
-
# Bank-State-Branch number of the bank account.
|
|
1019
|
-
attr_reader :bsb_number
|
|
1020
|
-
# Last four digits of the bank account number.
|
|
1021
|
-
attr_reader :last4
|
|
1022
|
-
# The PayID alias for the bank account.
|
|
1023
|
-
attr_reader :pay_id
|
|
1024
|
-
|
|
1025
|
-
def self.inner_class_types
|
|
1026
|
-
@inner_class_types = {}
|
|
1027
|
-
end
|
|
1028
|
-
|
|
1029
|
-
def self.field_remappings
|
|
1030
|
-
@field_remappings = {}
|
|
1031
|
-
end
|
|
1032
|
-
end
|
|
1033
|
-
|
|
1034
|
-
class Pix < ::Stripe::StripeObject
|
|
1035
|
-
def self.inner_class_types
|
|
1036
|
-
@inner_class_types = {}
|
|
1037
|
-
end
|
|
1038
|
-
|
|
1039
|
-
def self.field_remappings
|
|
1040
|
-
@field_remappings = {}
|
|
1041
|
-
end
|
|
1042
|
-
end
|
|
1043
|
-
|
|
1044
|
-
class Promptpay < ::Stripe::StripeObject
|
|
1045
|
-
def self.inner_class_types
|
|
1046
|
-
@inner_class_types = {}
|
|
1047
|
-
end
|
|
1048
|
-
|
|
1049
|
-
def self.field_remappings
|
|
1050
|
-
@field_remappings = {}
|
|
1051
|
-
end
|
|
1052
|
-
end
|
|
1053
|
-
|
|
1054
|
-
class Qris < ::Stripe::StripeObject
|
|
1055
|
-
def self.inner_class_types
|
|
1056
|
-
@inner_class_types = {}
|
|
1057
|
-
end
|
|
1058
|
-
|
|
1059
|
-
def self.field_remappings
|
|
1060
|
-
@field_remappings = {}
|
|
1061
|
-
end
|
|
1062
|
-
end
|
|
1063
|
-
|
|
1064
|
-
class Rechnung < ::Stripe::StripeObject
|
|
1065
|
-
class Dob < ::Stripe::StripeObject
|
|
1066
|
-
# The day of birth, between 1 and 31.
|
|
1067
|
-
attr_reader :day
|
|
1068
|
-
# The month of birth, between 1 and 12.
|
|
1069
|
-
attr_reader :month
|
|
1070
|
-
# The four-digit year of birth.
|
|
1071
|
-
attr_reader :year
|
|
1072
|
-
|
|
1073
|
-
def self.inner_class_types
|
|
1074
|
-
@inner_class_types = {}
|
|
1075
|
-
end
|
|
1076
|
-
|
|
1077
|
-
def self.field_remappings
|
|
1078
|
-
@field_remappings = {}
|
|
1079
|
-
end
|
|
1080
|
-
end
|
|
1081
|
-
# Attribute for field dob
|
|
1082
|
-
attr_reader :dob
|
|
1083
|
-
|
|
1084
|
-
def self.inner_class_types
|
|
1085
|
-
@inner_class_types = { dob: Dob }
|
|
1086
|
-
end
|
|
1087
|
-
|
|
1088
|
-
def self.field_remappings
|
|
1089
|
-
@field_remappings = {}
|
|
1090
|
-
end
|
|
1091
|
-
end
|
|
1092
|
-
|
|
1093
|
-
class RevolutPay < ::Stripe::StripeObject
|
|
1094
|
-
def self.inner_class_types
|
|
1095
|
-
@inner_class_types = {}
|
|
1096
|
-
end
|
|
1097
|
-
|
|
1098
|
-
def self.field_remappings
|
|
1099
|
-
@field_remappings = {}
|
|
1100
|
-
end
|
|
1101
|
-
end
|
|
1102
|
-
|
|
1103
|
-
class SamsungPay < ::Stripe::StripeObject
|
|
1104
|
-
def self.inner_class_types
|
|
1105
|
-
@inner_class_types = {}
|
|
1106
|
-
end
|
|
1107
|
-
|
|
1108
|
-
def self.field_remappings
|
|
1109
|
-
@field_remappings = {}
|
|
1110
|
-
end
|
|
1111
|
-
end
|
|
1112
|
-
|
|
1113
|
-
class Satispay < ::Stripe::StripeObject
|
|
1114
|
-
def self.inner_class_types
|
|
1115
|
-
@inner_class_types = {}
|
|
1116
|
-
end
|
|
1117
|
-
|
|
1118
|
-
def self.field_remappings
|
|
1119
|
-
@field_remappings = {}
|
|
1120
|
-
end
|
|
1121
|
-
end
|
|
1122
|
-
|
|
1123
|
-
class SepaDebit < ::Stripe::StripeObject
|
|
1124
|
-
class GeneratedFrom < ::Stripe::StripeObject
|
|
1125
|
-
# The ID of the Charge that generated this PaymentMethod, if any.
|
|
1126
|
-
attr_reader :charge
|
|
1127
|
-
# The ID of the SetupAttempt that generated this PaymentMethod, if any.
|
|
1128
|
-
attr_reader :setup_attempt
|
|
1129
|
-
|
|
1130
|
-
def self.inner_class_types
|
|
1131
|
-
@inner_class_types = {}
|
|
1132
|
-
end
|
|
1133
|
-
|
|
1134
|
-
def self.field_remappings
|
|
1135
|
-
@field_remappings = {}
|
|
1136
|
-
end
|
|
1137
|
-
end
|
|
1138
|
-
# Bank code of bank associated with the bank account.
|
|
1139
|
-
attr_reader :bank_code
|
|
1140
|
-
# Branch code of bank associated with the bank account.
|
|
1141
|
-
attr_reader :branch_code
|
|
1142
|
-
# Two-letter ISO code representing the country the bank account is located in.
|
|
1143
|
-
attr_reader :country
|
|
1144
|
-
# Uniquely identifies this particular bank account. You can use this attribute to check whether two bank accounts are the same.
|
|
1145
|
-
attr_reader :fingerprint
|
|
1146
|
-
# Information about the object that generated this PaymentMethod.
|
|
1147
|
-
attr_reader :generated_from
|
|
1148
|
-
# Last four characters of the IBAN.
|
|
1149
|
-
attr_reader :last4
|
|
1150
|
-
|
|
1151
|
-
def self.inner_class_types
|
|
1152
|
-
@inner_class_types = { generated_from: GeneratedFrom }
|
|
1153
|
-
end
|
|
1154
|
-
|
|
1155
|
-
def self.field_remappings
|
|
1156
|
-
@field_remappings = {}
|
|
1157
|
-
end
|
|
1158
|
-
end
|
|
1159
|
-
|
|
1160
|
-
class Shopeepay < ::Stripe::StripeObject
|
|
1161
|
-
def self.inner_class_types
|
|
1162
|
-
@inner_class_types = {}
|
|
1163
|
-
end
|
|
1164
|
-
|
|
1165
|
-
def self.field_remappings
|
|
1166
|
-
@field_remappings = {}
|
|
1167
|
-
end
|
|
1168
|
-
end
|
|
1169
|
-
|
|
1170
|
-
class Sofort < ::Stripe::StripeObject
|
|
1171
|
-
# Two-letter ISO code representing the country the bank account is located in.
|
|
1172
|
-
attr_reader :country
|
|
1173
|
-
|
|
1174
|
-
def self.inner_class_types
|
|
1175
|
-
@inner_class_types = {}
|
|
1176
|
-
end
|
|
1177
|
-
|
|
1178
|
-
def self.field_remappings
|
|
1179
|
-
@field_remappings = {}
|
|
1180
|
-
end
|
|
1181
|
-
end
|
|
1182
|
-
|
|
1183
|
-
class StripeBalance < ::Stripe::StripeObject
|
|
1184
|
-
# The connected account ID whose Stripe balance to use as the source of payment
|
|
1185
|
-
attr_reader :account
|
|
1186
|
-
|
|
1187
|
-
def self.inner_class_types
|
|
1188
|
-
@inner_class_types = {}
|
|
1189
|
-
end
|
|
1190
|
-
|
|
1191
|
-
def self.field_remappings
|
|
1192
|
-
@field_remappings = {}
|
|
1193
|
-
end
|
|
1194
|
-
end
|
|
1195
|
-
|
|
1196
|
-
class Sunbit < ::Stripe::StripeObject
|
|
1197
|
-
def self.inner_class_types
|
|
1198
|
-
@inner_class_types = {}
|
|
1199
|
-
end
|
|
1200
|
-
|
|
1201
|
-
def self.field_remappings
|
|
1202
|
-
@field_remappings = {}
|
|
1203
|
-
end
|
|
1204
|
-
end
|
|
1205
|
-
|
|
1206
|
-
class Swish < ::Stripe::StripeObject
|
|
1207
|
-
def self.inner_class_types
|
|
1208
|
-
@inner_class_types = {}
|
|
1209
|
-
end
|
|
1210
|
-
|
|
1211
|
-
def self.field_remappings
|
|
1212
|
-
@field_remappings = {}
|
|
1213
|
-
end
|
|
1214
|
-
end
|
|
1215
|
-
|
|
1216
|
-
class Twint < ::Stripe::StripeObject
|
|
1217
|
-
def self.inner_class_types
|
|
1218
|
-
@inner_class_types = {}
|
|
1219
|
-
end
|
|
1220
|
-
|
|
1221
|
-
def self.field_remappings
|
|
1222
|
-
@field_remappings = {}
|
|
1223
|
-
end
|
|
1224
|
-
end
|
|
1225
|
-
|
|
1226
|
-
class Upi < ::Stripe::StripeObject
|
|
1227
|
-
# Customer's unique Virtual Payment Address
|
|
1228
|
-
attr_reader :vpa
|
|
1229
|
-
|
|
1230
|
-
def self.inner_class_types
|
|
1231
|
-
@inner_class_types = {}
|
|
1232
|
-
end
|
|
1233
|
-
|
|
1234
|
-
def self.field_remappings
|
|
1235
|
-
@field_remappings = {}
|
|
1236
|
-
end
|
|
1237
|
-
end
|
|
1238
|
-
|
|
1239
|
-
class UsBankAccount < ::Stripe::StripeObject
|
|
1240
|
-
class Networks < ::Stripe::StripeObject
|
|
1241
|
-
# The preferred network.
|
|
1242
|
-
attr_reader :preferred
|
|
1243
|
-
# All supported networks.
|
|
1244
|
-
attr_reader :supported
|
|
1245
|
-
|
|
1246
|
-
def self.inner_class_types
|
|
1247
|
-
@inner_class_types = {}
|
|
1248
|
-
end
|
|
1249
|
-
|
|
1250
|
-
def self.field_remappings
|
|
1251
|
-
@field_remappings = {}
|
|
1252
|
-
end
|
|
1253
|
-
end
|
|
1254
|
-
|
|
1255
|
-
class StatusDetails < ::Stripe::StripeObject
|
|
1256
|
-
class Blocked < ::Stripe::StripeObject
|
|
1257
|
-
# The ACH network code that resulted in this block.
|
|
1258
|
-
attr_reader :network_code
|
|
1259
|
-
# The reason why this PaymentMethod's fingerprint has been blocked
|
|
1260
|
-
attr_reader :reason
|
|
1261
|
-
|
|
1262
|
-
def self.inner_class_types
|
|
1263
|
-
@inner_class_types = {}
|
|
1264
|
-
end
|
|
1265
|
-
|
|
1266
|
-
def self.field_remappings
|
|
1267
|
-
@field_remappings = {}
|
|
1268
|
-
end
|
|
1269
|
-
end
|
|
1270
|
-
# Attribute for field blocked
|
|
1271
|
-
attr_reader :blocked
|
|
1272
|
-
|
|
1273
|
-
def self.inner_class_types
|
|
1274
|
-
@inner_class_types = { blocked: Blocked }
|
|
1275
|
-
end
|
|
1276
|
-
|
|
1277
|
-
def self.field_remappings
|
|
1278
|
-
@field_remappings = {}
|
|
1279
|
-
end
|
|
1280
|
-
end
|
|
1281
|
-
# Account holder type: individual or company.
|
|
1282
|
-
attr_reader :account_holder_type
|
|
1283
|
-
# Account number of the bank account.
|
|
1284
|
-
attr_reader :account_number
|
|
1285
|
-
# Account type: checkings or savings. Defaults to checking if omitted.
|
|
1286
|
-
attr_reader :account_type
|
|
1287
|
-
# The name of the bank.
|
|
1288
|
-
attr_reader :bank_name
|
|
1289
|
-
# The ID of the Financial Connections Account used to create the payment method.
|
|
1290
|
-
attr_reader :financial_connections_account
|
|
1291
|
-
# Uniquely identifies this particular bank account. You can use this attribute to check whether two bank accounts are the same.
|
|
1292
|
-
attr_reader :fingerprint
|
|
1293
|
-
# Last four digits of the bank account number.
|
|
1294
|
-
attr_reader :last4
|
|
1295
|
-
# Contains information about US bank account networks that can be used.
|
|
1296
|
-
attr_reader :networks
|
|
1297
|
-
# Routing number of the bank account.
|
|
1298
|
-
attr_reader :routing_number
|
|
1299
|
-
# Contains information about the future reusability of this PaymentMethod.
|
|
1300
|
-
attr_reader :status_details
|
|
1301
|
-
|
|
1302
|
-
def self.inner_class_types
|
|
1303
|
-
@inner_class_types = { networks: Networks, status_details: StatusDetails }
|
|
1304
|
-
end
|
|
1305
|
-
|
|
1306
|
-
def self.field_remappings
|
|
1307
|
-
@field_remappings = {}
|
|
1308
|
-
end
|
|
1309
|
-
end
|
|
1310
|
-
|
|
1311
|
-
class WechatPay < ::Stripe::StripeObject
|
|
1312
|
-
def self.inner_class_types
|
|
1313
|
-
@inner_class_types = {}
|
|
1314
|
-
end
|
|
1315
|
-
|
|
1316
|
-
def self.field_remappings
|
|
1317
|
-
@field_remappings = {}
|
|
1318
|
-
end
|
|
1319
|
-
end
|
|
1320
|
-
|
|
1321
|
-
class Zip < ::Stripe::StripeObject
|
|
1322
|
-
def self.inner_class_types
|
|
1323
|
-
@inner_class_types = {}
|
|
1324
|
-
end
|
|
1325
|
-
|
|
1326
|
-
def self.field_remappings
|
|
1327
|
-
@field_remappings = {}
|
|
1328
|
-
end
|
|
1329
|
-
end
|
|
1330
|
-
# Attribute for field acss_debit
|
|
1331
|
-
attr_reader :acss_debit
|
|
1332
|
-
# Attribute for field affirm
|
|
1333
|
-
attr_reader :affirm
|
|
1334
|
-
# Attribute for field afterpay_clearpay
|
|
1335
|
-
attr_reader :afterpay_clearpay
|
|
1336
|
-
# Attribute for field alipay
|
|
1337
|
-
attr_reader :alipay
|
|
1338
|
-
# Attribute for field alma
|
|
1339
|
-
attr_reader :alma
|
|
1340
|
-
# Attribute for field amazon_pay
|
|
1341
|
-
attr_reader :amazon_pay
|
|
1342
|
-
# Attribute for field au_becs_debit
|
|
1343
|
-
attr_reader :au_becs_debit
|
|
1344
|
-
# Attribute for field bacs_debit
|
|
1345
|
-
attr_reader :bacs_debit
|
|
1346
|
-
# Attribute for field bancontact
|
|
1347
|
-
attr_reader :bancontact
|
|
1348
|
-
# Attribute for field billie
|
|
1349
|
-
attr_reader :billie
|
|
1350
|
-
# Billing information associated with the PaymentMethod that may be used or required by particular types of payment methods.
|
|
1351
|
-
attr_reader :billing_details
|
|
1352
|
-
# Attribute for field blik
|
|
1353
|
-
attr_reader :blik
|
|
1354
|
-
# Attribute for field boleto
|
|
1355
|
-
attr_reader :boleto
|
|
1356
|
-
# Attribute for field card
|
|
1357
|
-
attr_reader :card
|
|
1358
|
-
# Attribute for field card_present
|
|
1359
|
-
attr_reader :card_present
|
|
1360
|
-
# Attribute for field cashapp
|
|
1361
|
-
attr_reader :cashapp
|
|
1362
|
-
# Attribute for field crypto
|
|
1363
|
-
attr_reader :crypto
|
|
1364
|
-
# Attribute for field customer_balance
|
|
1365
|
-
attr_reader :customer_balance
|
|
1366
|
-
# Attribute for field eps
|
|
1367
|
-
attr_reader :eps
|
|
1368
|
-
# Attribute for field fpx
|
|
1369
|
-
attr_reader :fpx
|
|
1370
|
-
# Attribute for field giropay
|
|
1371
|
-
attr_reader :giropay
|
|
1372
|
-
# Attribute for field gopay
|
|
1373
|
-
attr_reader :gopay
|
|
1374
|
-
# Attribute for field grabpay
|
|
1375
|
-
attr_reader :grabpay
|
|
1376
|
-
# Attribute for field id_bank_transfer
|
|
1377
|
-
attr_reader :id_bank_transfer
|
|
1378
|
-
# Attribute for field ideal
|
|
1379
|
-
attr_reader :ideal
|
|
1380
|
-
# Attribute for field interac_present
|
|
1381
|
-
attr_reader :interac_present
|
|
1382
|
-
# Attribute for field kakao_pay
|
|
1383
|
-
attr_reader :kakao_pay
|
|
1384
|
-
# Attribute for field klarna
|
|
1385
|
-
attr_reader :klarna
|
|
1386
|
-
# Attribute for field konbini
|
|
1387
|
-
attr_reader :konbini
|
|
1388
|
-
# Attribute for field kr_card
|
|
1389
|
-
attr_reader :kr_card
|
|
1390
|
-
# Attribute for field link
|
|
1391
|
-
attr_reader :link
|
|
1392
|
-
# Attribute for field mb_way
|
|
1393
|
-
attr_reader :mb_way
|
|
1394
|
-
# Attribute for field mobilepay
|
|
1395
|
-
attr_reader :mobilepay
|
|
1396
|
-
# Attribute for field multibanco
|
|
1397
|
-
attr_reader :multibanco
|
|
1398
|
-
# Attribute for field naver_pay
|
|
1399
|
-
attr_reader :naver_pay
|
|
1400
|
-
# Attribute for field nz_bank_account
|
|
1401
|
-
attr_reader :nz_bank_account
|
|
1402
|
-
# Attribute for field oxxo
|
|
1403
|
-
attr_reader :oxxo
|
|
1404
|
-
# Attribute for field p24
|
|
1405
|
-
attr_reader :p24
|
|
1406
|
-
# Attribute for field pay_by_bank
|
|
1407
|
-
attr_reader :pay_by_bank
|
|
1408
|
-
# Attribute for field payco
|
|
1409
|
-
attr_reader :payco
|
|
1410
|
-
# Attribute for field paynow
|
|
1411
|
-
attr_reader :paynow
|
|
1412
|
-
# Attribute for field paypal
|
|
1413
|
-
attr_reader :paypal
|
|
1414
|
-
# Attribute for field paypay
|
|
1415
|
-
attr_reader :paypay
|
|
1416
|
-
# Attribute for field payto
|
|
1417
|
-
attr_reader :payto
|
|
1418
|
-
# Attribute for field pix
|
|
1419
|
-
attr_reader :pix
|
|
1420
|
-
# Attribute for field promptpay
|
|
1421
|
-
attr_reader :promptpay
|
|
1422
|
-
# Attribute for field qris
|
|
1423
|
-
attr_reader :qris
|
|
1424
|
-
# Attribute for field rechnung
|
|
1425
|
-
attr_reader :rechnung
|
|
1426
|
-
# Attribute for field revolut_pay
|
|
1427
|
-
attr_reader :revolut_pay
|
|
1428
|
-
# Attribute for field samsung_pay
|
|
1429
|
-
attr_reader :samsung_pay
|
|
1430
|
-
# Attribute for field satispay
|
|
1431
|
-
attr_reader :satispay
|
|
1432
|
-
# Attribute for field sepa_debit
|
|
1433
|
-
attr_reader :sepa_debit
|
|
1434
|
-
# Attribute for field shopeepay
|
|
1435
|
-
attr_reader :shopeepay
|
|
1436
|
-
# Attribute for field sofort
|
|
1437
|
-
attr_reader :sofort
|
|
1438
|
-
# Attribute for field stripe_balance
|
|
1439
|
-
attr_reader :stripe_balance
|
|
1440
|
-
# Attribute for field sunbit
|
|
1441
|
-
attr_reader :sunbit
|
|
1442
|
-
# Attribute for field swish
|
|
1443
|
-
attr_reader :swish
|
|
1444
|
-
# Attribute for field twint
|
|
1445
|
-
attr_reader :twint
|
|
1446
|
-
# The type of the PaymentMethod. An additional hash is included on the PaymentMethod with a name matching this value. It contains additional information specific to the PaymentMethod type.
|
|
1447
|
-
attr_reader :type
|
|
1448
|
-
# Attribute for field upi
|
|
1449
|
-
attr_reader :upi
|
|
1450
|
-
# Attribute for field us_bank_account
|
|
1451
|
-
attr_reader :us_bank_account
|
|
1452
|
-
# Attribute for field wechat_pay
|
|
1453
|
-
attr_reader :wechat_pay
|
|
1454
|
-
# Attribute for field zip
|
|
1455
|
-
attr_reader :zip
|
|
1456
|
-
|
|
1457
|
-
def self.inner_class_types
|
|
1458
|
-
@inner_class_types = {
|
|
1459
|
-
acss_debit: AcssDebit,
|
|
1460
|
-
affirm: Affirm,
|
|
1461
|
-
afterpay_clearpay: AfterpayClearpay,
|
|
1462
|
-
alipay: Alipay,
|
|
1463
|
-
alma: Alma,
|
|
1464
|
-
amazon_pay: AmazonPay,
|
|
1465
|
-
au_becs_debit: AuBecsDebit,
|
|
1466
|
-
bacs_debit: BacsDebit,
|
|
1467
|
-
bancontact: Bancontact,
|
|
1468
|
-
billie: Billie,
|
|
1469
|
-
billing_details: BillingDetails,
|
|
1470
|
-
blik: Blik,
|
|
1471
|
-
boleto: Boleto,
|
|
1472
|
-
card: Card,
|
|
1473
|
-
card_present: CardPresent,
|
|
1474
|
-
cashapp: Cashapp,
|
|
1475
|
-
crypto: Crypto,
|
|
1476
|
-
customer_balance: CustomerBalance,
|
|
1477
|
-
eps: Eps,
|
|
1478
|
-
fpx: Fpx,
|
|
1479
|
-
giropay: Giropay,
|
|
1480
|
-
gopay: Gopay,
|
|
1481
|
-
grabpay: Grabpay,
|
|
1482
|
-
id_bank_transfer: IdBankTransfer,
|
|
1483
|
-
ideal: Ideal,
|
|
1484
|
-
interac_present: InteracPresent,
|
|
1485
|
-
kakao_pay: KakaoPay,
|
|
1486
|
-
klarna: Klarna,
|
|
1487
|
-
konbini: Konbini,
|
|
1488
|
-
kr_card: KrCard,
|
|
1489
|
-
link: Link,
|
|
1490
|
-
mb_way: MbWay,
|
|
1491
|
-
mobilepay: Mobilepay,
|
|
1492
|
-
multibanco: Multibanco,
|
|
1493
|
-
naver_pay: NaverPay,
|
|
1494
|
-
nz_bank_account: NzBankAccount,
|
|
1495
|
-
oxxo: Oxxo,
|
|
1496
|
-
p24: P24,
|
|
1497
|
-
pay_by_bank: PayByBank,
|
|
1498
|
-
payco: Payco,
|
|
1499
|
-
paynow: Paynow,
|
|
1500
|
-
paypal: Paypal,
|
|
1501
|
-
paypay: Paypay,
|
|
1502
|
-
payto: Payto,
|
|
1503
|
-
pix: Pix,
|
|
1504
|
-
promptpay: Promptpay,
|
|
1505
|
-
qris: Qris,
|
|
1506
|
-
rechnung: Rechnung,
|
|
1507
|
-
revolut_pay: RevolutPay,
|
|
1508
|
-
samsung_pay: SamsungPay,
|
|
1509
|
-
satispay: Satispay,
|
|
1510
|
-
sepa_debit: SepaDebit,
|
|
1511
|
-
shopeepay: Shopeepay,
|
|
1512
|
-
sofort: Sofort,
|
|
1513
|
-
stripe_balance: StripeBalance,
|
|
1514
|
-
sunbit: Sunbit,
|
|
1515
|
-
swish: Swish,
|
|
1516
|
-
twint: Twint,
|
|
1517
|
-
upi: Upi,
|
|
1518
|
-
us_bank_account: UsBankAccount,
|
|
1519
|
-
wechat_pay: WechatPay,
|
|
1520
|
-
zip: Zip,
|
|
1521
|
-
}
|
|
1522
|
-
end
|
|
1523
|
-
|
|
1524
|
-
def self.field_remappings
|
|
1525
|
-
@field_remappings = {}
|
|
1526
|
-
end
|
|
1527
|
-
end
|
|
1528
|
-
|
|
1529
|
-
class RiskDetails < ::Stripe::StripeObject
|
|
1530
|
-
class Insights < ::Stripe::StripeObject
|
|
1531
|
-
class Bot < ::Stripe::StripeObject
|
|
1532
|
-
# Recommended action for this insight.
|
|
1533
|
-
attr_reader :recommended_action
|
|
1534
|
-
# Risk score for this insight.
|
|
1535
|
-
attr_reader :score
|
|
1536
|
-
|
|
1537
|
-
def self.inner_class_types
|
|
1538
|
-
@inner_class_types = {}
|
|
1539
|
-
end
|
|
1540
|
-
|
|
1541
|
-
def self.field_remappings
|
|
1542
|
-
@field_remappings = {}
|
|
1543
|
-
end
|
|
1544
|
-
end
|
|
1545
|
-
|
|
1546
|
-
class CardIssuerDecline < ::Stripe::StripeObject
|
|
1547
|
-
# Recommended action for this insight.
|
|
1548
|
-
attr_reader :recommended_action
|
|
1549
|
-
# Risk score for this insight.
|
|
1550
|
-
attr_reader :score
|
|
1551
|
-
|
|
1552
|
-
def self.inner_class_types
|
|
1553
|
-
@inner_class_types = {}
|
|
1554
|
-
end
|
|
1555
|
-
|
|
1556
|
-
def self.field_remappings
|
|
1557
|
-
@field_remappings = {}
|
|
1558
|
-
end
|
|
1559
|
-
end
|
|
1560
|
-
|
|
1561
|
-
class CardTesting < ::Stripe::StripeObject
|
|
1562
|
-
# Recommended action for this insight.
|
|
1563
|
-
attr_reader :recommended_action
|
|
1564
|
-
# Risk score for this insight.
|
|
1565
|
-
attr_reader :score
|
|
1566
|
-
|
|
1567
|
-
def self.inner_class_types
|
|
1568
|
-
@inner_class_types = {}
|
|
1569
|
-
end
|
|
1570
|
-
|
|
1571
|
-
def self.field_remappings
|
|
1572
|
-
@field_remappings = {}
|
|
1573
|
-
end
|
|
1574
|
-
end
|
|
1575
|
-
|
|
1576
|
-
class FraudulentDispute < ::Stripe::StripeObject
|
|
1577
|
-
# Recommended action for this insight.
|
|
1578
|
-
attr_reader :recommended_action
|
|
1579
|
-
# Risk score for this insight.
|
|
1580
|
-
attr_reader :score
|
|
1581
|
-
|
|
1582
|
-
def self.inner_class_types
|
|
1583
|
-
@inner_class_types = {}
|
|
1584
|
-
end
|
|
1585
|
-
|
|
1586
|
-
def self.field_remappings
|
|
1587
|
-
@field_remappings = {}
|
|
1588
|
-
end
|
|
1589
|
-
end
|
|
1590
|
-
|
|
1591
|
-
class StolenCard < ::Stripe::StripeObject
|
|
1592
|
-
# Recommended action for this insight.
|
|
1593
|
-
attr_reader :recommended_action
|
|
1594
|
-
# Risk score for this insight.
|
|
1595
|
-
attr_reader :score
|
|
1596
|
-
|
|
1597
|
-
def self.inner_class_types
|
|
1598
|
-
@inner_class_types = {}
|
|
1599
|
-
end
|
|
1600
|
-
|
|
1601
|
-
def self.field_remappings
|
|
1602
|
-
@field_remappings = {}
|
|
1603
|
-
end
|
|
1604
|
-
end
|
|
1605
|
-
# Bot risk insight.
|
|
1606
|
-
attr_reader :bot
|
|
1607
|
-
# Card issuer decline risk insight.
|
|
1608
|
-
attr_reader :card_issuer_decline
|
|
1609
|
-
# Card testing risk insight.
|
|
1610
|
-
attr_reader :card_testing
|
|
1611
|
-
# Fraudulent dispute risk insight.
|
|
1612
|
-
attr_reader :fraudulent_dispute
|
|
1613
|
-
# Stolen card risk insight.
|
|
1614
|
-
attr_reader :stolen_card
|
|
1615
|
-
|
|
1616
|
-
def self.inner_class_types
|
|
1617
|
-
@inner_class_types = {
|
|
1618
|
-
bot: Bot,
|
|
1619
|
-
card_issuer_decline: CardIssuerDecline,
|
|
1620
|
-
card_testing: CardTesting,
|
|
1621
|
-
fraudulent_dispute: FraudulentDispute,
|
|
1622
|
-
stolen_card: StolenCard,
|
|
1623
|
-
}
|
|
1624
|
-
end
|
|
1625
|
-
|
|
1626
|
-
def self.field_remappings
|
|
1627
|
-
@field_remappings = {}
|
|
1628
|
-
end
|
|
1629
|
-
end
|
|
1630
|
-
# Risk insights for this token, including scores and recommended actions for each risk type.
|
|
1631
|
-
attr_reader :insights
|
|
1632
|
-
|
|
1633
|
-
def self.inner_class_types
|
|
1634
|
-
@inner_class_types = { insights: Insights }
|
|
1635
|
-
end
|
|
1636
|
-
|
|
1637
|
-
def self.field_remappings
|
|
1638
|
-
@field_remappings = {}
|
|
1639
|
-
end
|
|
1640
|
-
end
|
|
1641
|
-
|
|
1642
|
-
class UsageDetails < ::Stripe::StripeObject
|
|
1643
|
-
class AmountCaptured < ::Stripe::StripeObject
|
|
1644
|
-
# 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).
|
|
1645
|
-
attr_reader :currency
|
|
1646
|
-
# Integer value of the amount in the smallest currency unit.
|
|
1647
|
-
attr_reader :value
|
|
1648
|
-
|
|
1649
|
-
def self.inner_class_types
|
|
1650
|
-
@inner_class_types = {}
|
|
1651
|
-
end
|
|
1652
|
-
|
|
1653
|
-
def self.field_remappings
|
|
1654
|
-
@field_remappings = {}
|
|
1655
|
-
end
|
|
1656
|
-
end
|
|
1657
|
-
# The total amount captured using this SharedPaymentToken.
|
|
1658
|
-
attr_reader :amount_captured
|
|
1659
|
-
|
|
1660
|
-
def self.inner_class_types
|
|
1661
|
-
@inner_class_types = { amount_captured: AmountCaptured }
|
|
1662
|
-
end
|
|
1663
|
-
|
|
1664
|
-
def self.field_remappings
|
|
1665
|
-
@field_remappings = {}
|
|
1666
|
-
end
|
|
1667
|
-
end
|
|
1668
|
-
|
|
1669
|
-
class UsageLimits < ::Stripe::StripeObject
|
|
1670
|
-
# 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).
|
|
1671
|
-
attr_reader :currency
|
|
1672
|
-
# Time at which this SharedPaymentToken expires and can no longer be used to confirm a PaymentIntent.
|
|
1673
|
-
attr_reader :expires_at
|
|
1674
|
-
# Max amount that can be captured using this SharedPaymentToken.
|
|
1675
|
-
attr_reader :max_amount
|
|
1676
|
-
|
|
1677
|
-
def self.inner_class_types
|
|
1678
|
-
@inner_class_types = {}
|
|
1679
|
-
end
|
|
1680
|
-
|
|
1681
|
-
def self.field_remappings
|
|
1682
|
-
@field_remappings = {}
|
|
1683
|
-
end
|
|
1684
|
-
end
|
|
1685
|
-
# Details about the agent that issued this SharedPaymentGrantedToken.
|
|
1686
|
-
attr_reader :agent_details
|
|
1687
|
-
# Time at which the object was created. Measured in seconds since the Unix epoch.
|
|
1688
|
-
attr_reader :created
|
|
1689
|
-
# Time at which this SharedPaymentGrantedToken expires and can no longer be used to confirm a PaymentIntent.
|
|
1690
|
-
attr_reader :deactivated_at
|
|
1691
|
-
# The reason why the SharedPaymentGrantedToken has been deactivated.
|
|
1692
|
-
attr_reader :deactivated_reason
|
|
1693
|
-
# Unique identifier for the object.
|
|
1694
|
-
attr_reader :id
|
|
1695
|
-
# If the object exists in live mode, the value is `true`. If the object exists in test mode, the value is `false`.
|
|
1696
|
-
attr_reader :livemode
|
|
1697
|
-
# String representing the object's type. Objects of the same type share the same value.
|
|
1698
|
-
attr_reader :object
|
|
1699
|
-
# Details of the PaymentMethod that was shared via this token.
|
|
1700
|
-
attr_reader :payment_method_details
|
|
1701
|
-
# Risk details of the SharedPaymentGrantedToken.
|
|
1702
|
-
attr_reader :risk_details
|
|
1703
|
-
# Metadata about the SharedPaymentGrantedToken.
|
|
1704
|
-
attr_reader :shared_metadata
|
|
1705
|
-
# Some details about how the SharedPaymentGrantedToken has been used already.
|
|
1706
|
-
attr_reader :usage_details
|
|
1707
|
-
# Limits on how this SharedPaymentGrantedToken can be used.
|
|
1708
|
-
attr_reader :usage_limits
|
|
1709
|
-
|
|
1710
|
-
def test_helpers
|
|
1711
|
-
TestHelpers.new(self)
|
|
1712
|
-
end
|
|
1713
|
-
|
|
1714
|
-
class TestHelpers < APIResourceTestHelpers
|
|
1715
|
-
RESOURCE_CLASS = GrantedToken
|
|
1716
|
-
def self.resource_class
|
|
1717
|
-
"GrantedToken"
|
|
1718
|
-
end
|
|
1719
|
-
|
|
1720
|
-
# Creates a new test SharedPaymentGrantedToken object. This endpoint is only available in test mode and allows sellers to create SharedPaymentGrantedTokens for testing their integration
|
|
1721
|
-
def self.create(params = {}, opts = {})
|
|
1722
|
-
request_stripe_object(
|
|
1723
|
-
method: :post,
|
|
1724
|
-
path: "/v1/test_helpers/shared_payment/granted_tokens",
|
|
1725
|
-
params: params,
|
|
1726
|
-
opts: opts
|
|
1727
|
-
)
|
|
1728
|
-
end
|
|
1729
|
-
|
|
1730
|
-
# Revokes a test SharedPaymentGrantedToken object. This endpoint is only available in test mode and allows sellers to revoke SharedPaymentGrantedTokens for testing their integration
|
|
1731
|
-
def self.revoke(shared_payment_granted_token, params = {}, opts = {})
|
|
1732
|
-
request_stripe_object(
|
|
1733
|
-
method: :post,
|
|
1734
|
-
path: format("/v1/test_helpers/shared_payment/granted_tokens/%<shared_payment_granted_token>s/revoke", { shared_payment_granted_token: CGI.escape(shared_payment_granted_token) }),
|
|
1735
|
-
params: params,
|
|
1736
|
-
opts: opts
|
|
1737
|
-
)
|
|
1738
|
-
end
|
|
1739
|
-
|
|
1740
|
-
# Revokes a test SharedPaymentGrantedToken object. This endpoint is only available in test mode and allows sellers to revoke SharedPaymentGrantedTokens for testing their integration
|
|
1741
|
-
def revoke(params = {}, opts = {})
|
|
1742
|
-
@resource.request_stripe_object(
|
|
1743
|
-
method: :post,
|
|
1744
|
-
path: format("/v1/test_helpers/shared_payment/granted_tokens/%<shared_payment_granted_token>s/revoke", { shared_payment_granted_token: CGI.escape(@resource["id"]) }),
|
|
1745
|
-
params: params,
|
|
1746
|
-
opts: opts
|
|
1747
|
-
)
|
|
1748
|
-
end
|
|
1749
|
-
end
|
|
1750
|
-
|
|
1751
|
-
def self.inner_class_types
|
|
1752
|
-
@inner_class_types = {
|
|
1753
|
-
agent_details: AgentDetails,
|
|
1754
|
-
payment_method_details: PaymentMethodDetails,
|
|
1755
|
-
risk_details: RiskDetails,
|
|
1756
|
-
usage_details: UsageDetails,
|
|
1757
|
-
usage_limits: UsageLimits,
|
|
1758
|
-
}
|
|
1759
|
-
end
|
|
1760
|
-
|
|
1761
|
-
def self.field_remappings
|
|
1762
|
-
@field_remappings = {}
|
|
1763
|
-
end
|
|
1764
|
-
end
|
|
1765
|
-
end
|
|
1766
|
-
end
|