stripe 19.4.0.pre.beta.1 → 19.4.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 +2 -63
- data/lib/stripe/api_version.rb +2 -1
- data/lib/stripe/error_object.rb +43 -19
- data/lib/stripe/errors.rb +0 -87
- data/lib/stripe/event_types.rb +0 -236
- data/lib/stripe/events/unknown_event_notification.rb +0 -1
- data/lib/stripe/object_types.rb +0 -60
- data/lib/stripe/params/account_create_params.rb +73 -398
- data/lib/stripe/params/account_person_create_params.rb +6 -0
- data/lib/stripe/params/account_person_update_params.rb +6 -0
- data/lib/stripe/params/account_reject_params.rb +4 -1
- data/lib/stripe/params/account_session_create_params.rb +21 -230
- data/lib/stripe/params/{quote_mark_draft_params.rb → account_unreject_params.rb} +1 -1
- data/lib/stripe/params/account_update_params.rb +81 -332
- data/lib/stripe/params/billing/alert_create_params.rb +1 -1
- data/lib/stripe/params/billing_portal/configuration_create_params.rb +1 -1
- data/lib/stripe/params/billing_portal/configuration_update_params.rb +1 -1
- data/lib/stripe/params/charge_capture_params.rb +0 -1646
- data/lib/stripe/params/charge_update_params.rb +0 -1646
- data/lib/stripe/params/checkout/session_create_params.rb +24 -133
- data/lib/stripe/params/checkout/session_update_params.rb +1 -176
- data/lib/stripe/params/confirmation_token_create_params.rb +0 -78
- data/lib/stripe/params/coupon_create_params.rb +1 -17
- data/lib/stripe/params/customer_create_params.rb +1 -1
- data/lib/stripe/params/customer_session_create_params.rb +1 -32
- data/lib/stripe/params/customer_tax_id_create_params.rb +1 -1
- data/lib/stripe/params/dispute_update_params.rb +1 -10
- data/lib/stripe/params/financial_connections/session_create_params.rb +9 -38
- 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 +16 -844
- 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/authorization_capture_params.rb +1 -1
- data/lib/stripe/params/issuing/authorization_create_params.rb +1 -1
- data/lib/stripe/params/issuing/authorization_finalize_amount_params.rb +1 -1
- data/lib/stripe/params/issuing/card_create_params.rb +4 -0
- data/lib/stripe/params/issuing/card_update_params.rb +4 -0
- data/lib/stripe/params/issuing/cardholder_create_params.rb +1 -2
- data/lib/stripe/params/issuing/transaction_create_force_capture_params.rb +1 -1
- data/lib/stripe/params/issuing/transaction_create_unlinked_refund_params.rb +1 -1
- data/lib/stripe/params/issuing/transaction_list_params.rb +0 -4
- data/lib/stripe/params/payment_intent_capture_params.rb +1 -1643
- data/lib/stripe/params/payment_intent_confirm_params.rb +137 -3047
- data/lib/stripe/params/payment_intent_create_params.rb +152 -3062
- data/lib/stripe/params/payment_intent_increment_authorization_params.rb +0 -37
- data/lib/stripe/params/payment_intent_update_params.rb +105 -3049
- data/lib/stripe/params/payment_link_create_params.rb +0 -15
- data/lib/stripe/params/payment_link_update_params.rb +58 -0
- data/lib/stripe/params/payment_method_configuration_create_params.rb +0 -105
- data/lib/stripe/params/payment_method_configuration_update_params.rb +0 -105
- data/lib/stripe/params/payment_method_create_params.rb +0 -74
- data/lib/stripe/params/{account_notice_list_params.rb → payment_record_list_params.rb} +15 -5
- 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/promotion_code_create_params.rb +1 -1
- data/lib/stripe/params/promotion_code_update_params.rb +1 -1
- data/lib/stripe/params/quote_create_params.rb +31 -810
- data/lib/stripe/params/quote_list_params.rb +0 -4
- data/lib/stripe/params/quote_update_params.rb +32 -818
- data/lib/stripe/params/setup_intent_confirm_params.rb +7 -108
- data/lib/stripe/params/setup_intent_create_params.rb +7 -108
- data/lib/stripe/params/setup_intent_update_params.rb +7 -108
- data/lib/stripe/params/subscription_create_params.rb +6 -170
- data/lib/stripe/params/subscription_item_create_params.rb +2 -62
- data/lib/stripe/params/subscription_item_update_params.rb +1 -45
- data/lib/stripe/params/subscription_resume_params.rb +0 -4
- data/lib/stripe/params/subscription_schedule_create_params.rb +65 -171
- data/lib/stripe/params/subscription_schedule_list_params.rb +1 -1
- data/lib/stripe/params/subscription_schedule_update_params.rb +66 -172
- data/lib/stripe/params/subscription_update_params.rb +6 -154
- data/lib/stripe/params/tax/calculation_create_params.rb +2 -6
- data/lib/stripe/params/tax/registration_create_params.rb +12 -90
- data/lib/stripe/params/tax_id_create_params.rb +1 -1
- data/lib/stripe/params/terminal/configuration_create_params.rb +0 -13
- data/lib/stripe/params/terminal/configuration_update_params.rb +0 -13
- data/lib/stripe/params/test_helpers/confirmation_token_create_params.rb +0 -78
- data/lib/stripe/params/test_helpers/issuing/authorization_capture_params.rb +1 -1
- data/lib/stripe/params/test_helpers/issuing/authorization_create_params.rb +1 -1
- data/lib/stripe/params/test_helpers/issuing/authorization_finalize_amount_params.rb +1 -1
- data/lib/stripe/params/test_helpers/issuing/transaction_create_force_capture_params.rb +1 -1
- data/lib/stripe/params/test_helpers/issuing/transaction_create_unlinked_refund_params.rb +1 -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/token_create_params.rb +78 -0
- 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/billing/meter_event_create_params.rb +2 -2
- data/lib/stripe/params/v2/billing/meter_event_stream_create_params.rb +2 -2
- data/lib/stripe/params/v2/core/account_create_params.rb +48 -403
- data/lib/stripe/params/v2/core/account_token_create_params.rb +44 -13
- data/lib/stripe/params/v2/core/account_update_params.rb +48 -396
- data/lib/stripe/params.rb +4 -426
- data/lib/stripe/resources/account.rb +87 -265
- data/lib/stripe/resources/account_session.rb +8 -81
- data/lib/stripe/resources/balance.rb +0 -83
- data/lib/stripe/resources/balance_transaction.rb +1 -1
- data/lib/stripe/resources/bank_account.rb +2 -2
- data/lib/stripe/resources/billing/alert_triggered.rb +0 -4
- data/lib/stripe/resources/billing_portal/configuration.rb +1 -1
- data/lib/stripe/resources/capability.rb +2 -2
- data/lib/stripe/resources/card.rb +1 -18
- data/lib/stripe/resources/charge.rb +4 -230
- data/lib/stripe/resources/checkout/session.rb +20 -92
- data/lib/stripe/resources/confirmation_token.rb +1 -132
- data/lib/stripe/resources/coupon.rb +1 -26
- data/lib/stripe/resources/credit_note_line_item.rb +0 -18
- data/lib/stripe/resources/customer.rb +0 -16
- data/lib/stripe/resources/customer_session.rb +0 -36
- data/lib/stripe/resources/dispute.rb +4 -24
- data/lib/stripe/resources/event.rb +1 -64
- data/lib/stripe/resources/financial_connections/account.rb +1 -45
- data/lib/stripe/resources/financial_connections/authorization.rb +1 -24
- data/lib/stripe/resources/financial_connections/session.rb +25 -91
- data/lib/stripe/resources/invoice.rb +2 -118
- data/lib/stripe/resources/invoice_item.rb +0 -2
- data/lib/stripe/resources/invoice_line_item.rb +0 -40
- data/lib/stripe/resources/issuing/authorization.rb +0 -16
- data/lib/stripe/resources/issuing/card.rb +2 -16
- data/lib/stripe/resources/issuing/cardholder.rb +0 -16
- data/lib/stripe/resources/issuing/dispute.rb +1 -16
- data/lib/stripe/resources/issuing/transaction.rb +1 -19
- data/lib/stripe/resources/line_item.rb +0 -42
- data/lib/stripe/resources/mandate.rb +0 -12
- data/lib/stripe/resources/payment_attempt_record.rb +3 -179
- data/lib/stripe/resources/payment_intent.rb +23 -1574
- data/lib/stripe/resources/payment_method.rb +3 -154
- data/lib/stripe/resources/payment_method_configuration.rb +0 -170
- data/lib/stripe/resources/payment_record.rb +10 -179
- data/lib/stripe/resources/person.rb +2 -2
- data/lib/stripe/resources/price.rb +0 -20
- data/lib/stripe/resources/product.rb +0 -18
- data/lib/stripe/resources/quote.rb +23 -569
- data/lib/stripe/resources/radar/value_list_item.rb +1 -15
- data/lib/stripe/resources/refund.rb +6 -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 +0 -35
- data/lib/stripe/resources/setup_intent.rb +3 -38
- data/lib/stripe/resources/source.rb +0 -54
- data/lib/stripe/resources/subscription.rb +0 -167
- data/lib/stripe/resources/subscription_item.rb +1 -41
- data/lib/stripe/resources/subscription_schedule.rb +49 -200
- data/lib/stripe/resources/tax/calculation.rb +1 -1
- data/lib/stripe/resources/tax/calculation_line_item.rb +0 -2
- data/lib/stripe/resources/tax/registration.rb +10 -106
- data/lib/stripe/resources/tax/transaction.rb +1 -1
- data/lib/stripe/resources/tax_code.rb +1 -15
- data/lib/stripe/resources/tax_id.rb +1 -1
- data/lib/stripe/resources/terminal/configuration.rb +0 -16
- data/lib/stripe/resources/terminal/reader.rb +0 -8
- data/lib/stripe/resources/token.rb +1 -15
- data/lib/stripe/resources/topup.rb +31 -1
- 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/billing/meter_event.rb +2 -2
- data/lib/stripe/resources/v2/billing/meter_event_adjustment.rb +1 -1
- data/lib/stripe/resources/v2/core/account.rb +100 -949
- data/lib/stripe/resources/v2/core/event_notification.rb +0 -1
- data/lib/stripe/resources.rb +0 -425
- data/lib/stripe/services/account_person_service.rb +1 -1
- data/lib/stripe/services/account_service.rb +14 -14
- data/lib/stripe/services/billing_service.rb +1 -2
- data/lib/stripe/services/coupon_service.rb +0 -14
- data/lib/stripe/services/customer_service.rb +0 -15
- data/lib/stripe/services/dispute_service.rb +1 -1
- 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 -11
- 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 +0 -37
- data/lib/stripe/services/payment_method_service.rb +1 -1
- data/lib/stripe/services/payment_record_service.rb +11 -0
- 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 -11
- data/lib/stripe/services/subscription_service.rb +0 -56
- 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_service.rb +1 -3
- data/lib/stripe/services/v2_services.rb +1 -8
- data/lib/stripe/services.rb +0 -209
- 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/telemetry_id.rb +65 -0
- data/lib/stripe/util.rb +1 -7
- data/lib/stripe/version.rb +1 -1
- data/lib/stripe.rb +2 -54
- data/rbi/stripe/resources/v2/core/event_notification.rbi +0 -3
- data/rbi/stripe/stripe_client.rbi +0 -13
- data/rbi/stripe.rbi +46727 -112851
- metadata +7 -380
- data/lib/stripe/events/v2_core_account_including_configuration_money_manager_capability_status_updated_event.rb +0 -63
- data/lib/stripe/events/v2_core_account_including_configuration_money_manager_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_under_review_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_under_review_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_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_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_pause_params.rb +0 -50
- 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 -53
- 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/iam/activity_log_retrieve_params.rb +0 -10
- 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 -88
- 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 -144
- data/lib/stripe/resources/capital/financing_summary.rb +0 -84
- 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/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 -106
- data/lib/stripe/resources/quote_line.rb +0 -525
- data/lib/stripe/resources/quote_preview_invoice.rb +0 -1183
- data/lib/stripe/resources/quote_preview_subscription_schedule.rb +0 -736
- data/lib/stripe/resources/shared_payment/granted_token.rb +0 -1801
- 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 -486
- 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 -234
- 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 -211
- 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 -232
- 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 -102
- 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/data_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 -32
- 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 -594
|
@@ -60,25 +60,6 @@ module Stripe
|
|
|
60
60
|
end
|
|
61
61
|
end
|
|
62
62
|
|
|
63
|
-
class Surcharge < ::Stripe::StripeObject
|
|
64
|
-
# Portion of the amount that corresponds to a surcharge.
|
|
65
|
-
attr_reader :amount
|
|
66
|
-
# Indicate whether to enforce validations on the surcharge amount.
|
|
67
|
-
attr_reader :enforce_validation
|
|
68
|
-
# The maximum amount allowed for the surcharge.
|
|
69
|
-
attr_reader :maximum_amount
|
|
70
|
-
# The status of the surcharge.
|
|
71
|
-
attr_reader :status
|
|
72
|
-
|
|
73
|
-
def self.inner_class_types
|
|
74
|
-
@inner_class_types = {}
|
|
75
|
-
end
|
|
76
|
-
|
|
77
|
-
def self.field_remappings
|
|
78
|
-
@field_remappings = {}
|
|
79
|
-
end
|
|
80
|
-
end
|
|
81
|
-
|
|
82
63
|
class Tax < ::Stripe::StripeObject
|
|
83
64
|
# The total amount of tax on the transaction represented in the [smallest currency unit](https://docs.stripe.com/currencies#zero-decimal). Required for L2 rates. An integer greater than or equal to 0.
|
|
84
65
|
#
|
|
@@ -116,58 +97,13 @@ module Stripe
|
|
|
116
97
|
attr_reader :line_items
|
|
117
98
|
# Attribute for field shipping
|
|
118
99
|
attr_reader :shipping
|
|
119
|
-
# Attribute for field surcharge
|
|
120
|
-
attr_reader :surcharge
|
|
121
100
|
# Attribute for field tax
|
|
122
101
|
attr_reader :tax
|
|
123
102
|
# Attribute for field tip
|
|
124
103
|
attr_reader :tip
|
|
125
104
|
|
|
126
105
|
def self.inner_class_types
|
|
127
|
-
@inner_class_types = {
|
|
128
|
-
error: Error,
|
|
129
|
-
shipping: Shipping,
|
|
130
|
-
surcharge: Surcharge,
|
|
131
|
-
tax: Tax,
|
|
132
|
-
tip: Tip,
|
|
133
|
-
}
|
|
134
|
-
end
|
|
135
|
-
|
|
136
|
-
def self.field_remappings
|
|
137
|
-
@field_remappings = {}
|
|
138
|
-
end
|
|
139
|
-
end
|
|
140
|
-
|
|
141
|
-
class AsyncWorkflows < ::Stripe::StripeObject
|
|
142
|
-
class Inputs < ::Stripe::StripeObject
|
|
143
|
-
class Tax < ::Stripe::StripeObject
|
|
144
|
-
# The [TaxCalculation](https://docs.stripe.com/api/tax/calculations) id
|
|
145
|
-
attr_reader :calculation
|
|
146
|
-
|
|
147
|
-
def self.inner_class_types
|
|
148
|
-
@inner_class_types = {}
|
|
149
|
-
end
|
|
150
|
-
|
|
151
|
-
def self.field_remappings
|
|
152
|
-
@field_remappings = {}
|
|
153
|
-
end
|
|
154
|
-
end
|
|
155
|
-
# Attribute for field tax
|
|
156
|
-
attr_reader :tax
|
|
157
|
-
|
|
158
|
-
def self.inner_class_types
|
|
159
|
-
@inner_class_types = { tax: Tax }
|
|
160
|
-
end
|
|
161
|
-
|
|
162
|
-
def self.field_remappings
|
|
163
|
-
@field_remappings = {}
|
|
164
|
-
end
|
|
165
|
-
end
|
|
166
|
-
# Attribute for field inputs
|
|
167
|
-
attr_reader :inputs
|
|
168
|
-
|
|
169
|
-
def self.inner_class_types
|
|
170
|
-
@inner_class_types = { inputs: Inputs }
|
|
106
|
+
@inner_class_types = { error: Error, shipping: Shipping, tax: Tax, tip: Tip }
|
|
171
107
|
end
|
|
172
108
|
|
|
173
109
|
def self.field_remappings
|
|
@@ -1342,1185 +1278,23 @@ module Stripe
|
|
|
1342
1278
|
}
|
|
1343
1279
|
end
|
|
1344
1280
|
|
|
1345
|
-
def self.field_remappings
|
|
1346
|
-
@field_remappings = {}
|
|
1347
|
-
end
|
|
1348
|
-
end
|
|
1349
|
-
|
|
1350
|
-
class PaymentDetails < ::Stripe::StripeObject
|
|
1351
|
-
class CarRental < ::Stripe::StripeObject
|
|
1352
|
-
class Affiliate < ::Stripe::StripeObject
|
|
1353
|
-
# The name of the affiliate that originated the purchase.
|
|
1354
|
-
attr_reader :name
|
|
1355
|
-
|
|
1356
|
-
def self.inner_class_types
|
|
1357
|
-
@inner_class_types = {}
|
|
1358
|
-
end
|
|
1359
|
-
|
|
1360
|
-
def self.field_remappings
|
|
1361
|
-
@field_remappings = {}
|
|
1362
|
-
end
|
|
1363
|
-
end
|
|
1364
|
-
|
|
1365
|
-
class Delivery < ::Stripe::StripeObject
|
|
1366
|
-
class Recipient < ::Stripe::StripeObject
|
|
1367
|
-
# The email of the recipient the ticket is delivered to.
|
|
1368
|
-
attr_reader :email
|
|
1369
|
-
# The name of the recipient the ticket is delivered to.
|
|
1370
|
-
attr_reader :name
|
|
1371
|
-
# The phone number of the recipient the ticket is delivered to.
|
|
1372
|
-
attr_reader :phone
|
|
1373
|
-
|
|
1374
|
-
def self.inner_class_types
|
|
1375
|
-
@inner_class_types = {}
|
|
1376
|
-
end
|
|
1377
|
-
|
|
1378
|
-
def self.field_remappings
|
|
1379
|
-
@field_remappings = {}
|
|
1380
|
-
end
|
|
1381
|
-
end
|
|
1382
|
-
# The delivery method for the payment
|
|
1383
|
-
attr_reader :mode
|
|
1384
|
-
# Attribute for field recipient
|
|
1385
|
-
attr_reader :recipient
|
|
1386
|
-
|
|
1387
|
-
def self.inner_class_types
|
|
1388
|
-
@inner_class_types = { recipient: Recipient }
|
|
1389
|
-
end
|
|
1390
|
-
|
|
1391
|
-
def self.field_remappings
|
|
1392
|
-
@field_remappings = {}
|
|
1393
|
-
end
|
|
1394
|
-
end
|
|
1395
|
-
|
|
1396
|
-
class Distance < ::Stripe::StripeObject
|
|
1397
|
-
# Distance traveled.
|
|
1398
|
-
attr_reader :amount
|
|
1399
|
-
# Unit of measurement for the distance traveled. One of `miles` or `kilometers`
|
|
1400
|
-
attr_reader :unit
|
|
1401
|
-
|
|
1402
|
-
def self.inner_class_types
|
|
1403
|
-
@inner_class_types = {}
|
|
1404
|
-
end
|
|
1405
|
-
|
|
1406
|
-
def self.field_remappings
|
|
1407
|
-
@field_remappings = {}
|
|
1408
|
-
end
|
|
1409
|
-
end
|
|
1410
|
-
|
|
1411
|
-
class Driver < ::Stripe::StripeObject
|
|
1412
|
-
# Driver's identification number.
|
|
1413
|
-
attr_reader :driver_identification_number
|
|
1414
|
-
# Driver's tax number.
|
|
1415
|
-
attr_reader :driver_tax_number
|
|
1416
|
-
# Full name of the driver on the reservation.
|
|
1417
|
-
attr_reader :name
|
|
1418
|
-
|
|
1419
|
-
def self.inner_class_types
|
|
1420
|
-
@inner_class_types = {}
|
|
1421
|
-
end
|
|
1422
|
-
|
|
1423
|
-
def self.field_remappings
|
|
1424
|
-
@field_remappings = {}
|
|
1425
|
-
end
|
|
1426
|
-
end
|
|
1427
|
-
|
|
1428
|
-
class PickupAddress < ::Stripe::StripeObject
|
|
1429
|
-
# City, district, suburb, town, or village.
|
|
1430
|
-
attr_reader :city
|
|
1431
|
-
# Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)).
|
|
1432
|
-
attr_reader :country
|
|
1433
|
-
# Address line 1, such as the street, PO Box, or company name.
|
|
1434
|
-
attr_reader :line1
|
|
1435
|
-
# Address line 2, such as the apartment, suite, unit, or building.
|
|
1436
|
-
attr_reader :line2
|
|
1437
|
-
# ZIP or postal code.
|
|
1438
|
-
attr_reader :postal_code
|
|
1439
|
-
# State, county, province, or region ([ISO 3166-2](https://en.wikipedia.org/wiki/ISO_3166-2)).
|
|
1440
|
-
attr_reader :state
|
|
1441
|
-
|
|
1442
|
-
def self.inner_class_types
|
|
1443
|
-
@inner_class_types = {}
|
|
1444
|
-
end
|
|
1445
|
-
|
|
1446
|
-
def self.field_remappings
|
|
1447
|
-
@field_remappings = {}
|
|
1448
|
-
end
|
|
1449
|
-
end
|
|
1450
|
-
|
|
1451
|
-
class ReturnAddress < ::Stripe::StripeObject
|
|
1452
|
-
# City, district, suburb, town, or village.
|
|
1453
|
-
attr_reader :city
|
|
1454
|
-
# Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)).
|
|
1455
|
-
attr_reader :country
|
|
1456
|
-
# Address line 1, such as the street, PO Box, or company name.
|
|
1457
|
-
attr_reader :line1
|
|
1458
|
-
# Address line 2, such as the apartment, suite, unit, or building.
|
|
1459
|
-
attr_reader :line2
|
|
1460
|
-
# ZIP or postal code.
|
|
1461
|
-
attr_reader :postal_code
|
|
1462
|
-
# State, county, province, or region ([ISO 3166-2](https://en.wikipedia.org/wiki/ISO_3166-2)).
|
|
1463
|
-
attr_reader :state
|
|
1464
|
-
|
|
1465
|
-
def self.inner_class_types
|
|
1466
|
-
@inner_class_types = {}
|
|
1467
|
-
end
|
|
1468
|
-
|
|
1469
|
-
def self.field_remappings
|
|
1470
|
-
@field_remappings = {}
|
|
1471
|
-
end
|
|
1472
|
-
end
|
|
1473
|
-
# Attribute for field affiliate
|
|
1474
|
-
attr_reader :affiliate
|
|
1475
|
-
# The booking number associated with the car rental.
|
|
1476
|
-
attr_reader :booking_number
|
|
1477
|
-
# Class code of the car.
|
|
1478
|
-
attr_reader :car_class_code
|
|
1479
|
-
# Make of the car.
|
|
1480
|
-
attr_reader :car_make
|
|
1481
|
-
# Model of the car.
|
|
1482
|
-
attr_reader :car_model
|
|
1483
|
-
# The name of the rental car company.
|
|
1484
|
-
attr_reader :company
|
|
1485
|
-
# The customer service phone number of the car rental company.
|
|
1486
|
-
attr_reader :customer_service_phone_number
|
|
1487
|
-
# Number of days the car is being rented.
|
|
1488
|
-
attr_reader :days_rented
|
|
1489
|
-
# Attribute for field delivery
|
|
1490
|
-
attr_reader :delivery
|
|
1491
|
-
# Attribute for field distance
|
|
1492
|
-
attr_reader :distance
|
|
1493
|
-
# The details of the drivers associated with the trip.
|
|
1494
|
-
attr_reader :drivers
|
|
1495
|
-
# List of additional charges being billed.
|
|
1496
|
-
attr_reader :extra_charges
|
|
1497
|
-
# Indicates if the customer did not keep nor cancel their booking.
|
|
1498
|
-
attr_reader :no_show
|
|
1499
|
-
# Attribute for field pickup_address
|
|
1500
|
-
attr_reader :pickup_address
|
|
1501
|
-
# Car pick-up time. Measured in seconds since the Unix epoch.
|
|
1502
|
-
attr_reader :pickup_at
|
|
1503
|
-
# Name of the pickup location.
|
|
1504
|
-
attr_reader :pickup_location_name
|
|
1505
|
-
# Rental rate.
|
|
1506
|
-
attr_reader :rate_amount
|
|
1507
|
-
# The frequency at which the rate amount is applied. One of `day`, `week` or `month`
|
|
1508
|
-
attr_reader :rate_interval
|
|
1509
|
-
# The full name of the person or entity renting the car.
|
|
1510
|
-
attr_reader :renter_name
|
|
1511
|
-
# Attribute for field return_address
|
|
1512
|
-
attr_reader :return_address
|
|
1513
|
-
# Car return time. Measured in seconds since the Unix epoch.
|
|
1514
|
-
attr_reader :return_at
|
|
1515
|
-
# Name of the return location.
|
|
1516
|
-
attr_reader :return_location_name
|
|
1517
|
-
# Indicates whether the goods or services are tax-exempt or tax is not collected.
|
|
1518
|
-
attr_reader :tax_exempt
|
|
1519
|
-
# The vehicle identification number of the car.
|
|
1520
|
-
attr_reader :vehicle_identification_number
|
|
1521
|
-
|
|
1522
|
-
def self.inner_class_types
|
|
1523
|
-
@inner_class_types = {
|
|
1524
|
-
affiliate: Affiliate,
|
|
1525
|
-
delivery: Delivery,
|
|
1526
|
-
distance: Distance,
|
|
1527
|
-
drivers: Driver,
|
|
1528
|
-
pickup_address: PickupAddress,
|
|
1529
|
-
return_address: ReturnAddress,
|
|
1530
|
-
}
|
|
1531
|
-
end
|
|
1532
|
-
|
|
1533
|
-
def self.field_remappings
|
|
1534
|
-
@field_remappings = {}
|
|
1535
|
-
end
|
|
1536
|
-
end
|
|
1537
|
-
|
|
1538
|
-
class CarRentalDatum < ::Stripe::StripeObject
|
|
1539
|
-
class Affiliate < ::Stripe::StripeObject
|
|
1540
|
-
# Affiliate code.
|
|
1541
|
-
attr_reader :code
|
|
1542
|
-
# Affiliate name.
|
|
1543
|
-
attr_reader :name
|
|
1544
|
-
|
|
1545
|
-
def self.inner_class_types
|
|
1546
|
-
@inner_class_types = {}
|
|
1547
|
-
end
|
|
1548
|
-
|
|
1549
|
-
def self.field_remappings
|
|
1550
|
-
@field_remappings = {}
|
|
1551
|
-
end
|
|
1552
|
-
end
|
|
1553
|
-
|
|
1554
|
-
class Distance < ::Stripe::StripeObject
|
|
1555
|
-
# Distance amount.
|
|
1556
|
-
attr_reader :amount
|
|
1557
|
-
# Unit for the distance.
|
|
1558
|
-
attr_reader :unit
|
|
1559
|
-
|
|
1560
|
-
def self.inner_class_types
|
|
1561
|
-
@inner_class_types = {}
|
|
1562
|
-
end
|
|
1563
|
-
|
|
1564
|
-
def self.field_remappings
|
|
1565
|
-
@field_remappings = {}
|
|
1566
|
-
end
|
|
1567
|
-
end
|
|
1568
|
-
|
|
1569
|
-
class Driver < ::Stripe::StripeObject
|
|
1570
|
-
class DateOfBirth < ::Stripe::StripeObject
|
|
1571
|
-
# Day of birth.
|
|
1572
|
-
attr_reader :day
|
|
1573
|
-
# Month of birth.
|
|
1574
|
-
attr_reader :month
|
|
1575
|
-
# Year of birth.
|
|
1576
|
-
attr_reader :year
|
|
1577
|
-
|
|
1578
|
-
def self.inner_class_types
|
|
1579
|
-
@inner_class_types = {}
|
|
1580
|
-
end
|
|
1581
|
-
|
|
1582
|
-
def self.field_remappings
|
|
1583
|
-
@field_remappings = {}
|
|
1584
|
-
end
|
|
1585
|
-
end
|
|
1586
|
-
# Attribute for field date_of_birth
|
|
1587
|
-
attr_reader :date_of_birth
|
|
1588
|
-
# Driver's identification number.
|
|
1589
|
-
attr_reader :driver_identification_number
|
|
1590
|
-
# Driver's tax number.
|
|
1591
|
-
attr_reader :driver_tax_number
|
|
1592
|
-
# Full name of the driver.
|
|
1593
|
-
attr_reader :name
|
|
1594
|
-
|
|
1595
|
-
def self.inner_class_types
|
|
1596
|
-
@inner_class_types = { date_of_birth: DateOfBirth }
|
|
1597
|
-
end
|
|
1598
|
-
|
|
1599
|
-
def self.field_remappings
|
|
1600
|
-
@field_remappings = {}
|
|
1601
|
-
end
|
|
1602
|
-
end
|
|
1603
|
-
|
|
1604
|
-
class DropOff < ::Stripe::StripeObject
|
|
1605
|
-
class Address < ::Stripe::StripeObject
|
|
1606
|
-
# City, district, suburb, town, or village.
|
|
1607
|
-
attr_reader :city
|
|
1608
|
-
# Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)).
|
|
1609
|
-
attr_reader :country
|
|
1610
|
-
# Address line 1, such as the street, PO Box, or company name.
|
|
1611
|
-
attr_reader :line1
|
|
1612
|
-
# Address line 2, such as the apartment, suite, unit, or building.
|
|
1613
|
-
attr_reader :line2
|
|
1614
|
-
# ZIP or postal code.
|
|
1615
|
-
attr_reader :postal_code
|
|
1616
|
-
# State, county, province, or region ([ISO 3166-2](https://en.wikipedia.org/wiki/ISO_3166-2)).
|
|
1617
|
-
attr_reader :state
|
|
1618
|
-
|
|
1619
|
-
def self.inner_class_types
|
|
1620
|
-
@inner_class_types = {}
|
|
1621
|
-
end
|
|
1622
|
-
|
|
1623
|
-
def self.field_remappings
|
|
1624
|
-
@field_remappings = {}
|
|
1625
|
-
end
|
|
1626
|
-
end
|
|
1627
|
-
# Attribute for field address
|
|
1628
|
-
attr_reader :address
|
|
1629
|
-
# Name of the location.
|
|
1630
|
-
attr_reader :location_name
|
|
1631
|
-
# Time associated with the location.
|
|
1632
|
-
attr_reader :time
|
|
1633
|
-
|
|
1634
|
-
def self.inner_class_types
|
|
1635
|
-
@inner_class_types = { address: Address }
|
|
1636
|
-
end
|
|
1637
|
-
|
|
1638
|
-
def self.field_remappings
|
|
1639
|
-
@field_remappings = {}
|
|
1640
|
-
end
|
|
1641
|
-
end
|
|
1642
|
-
|
|
1643
|
-
class Insurance < ::Stripe::StripeObject
|
|
1644
|
-
# Amount of the insurance.
|
|
1645
|
-
attr_reader :amount
|
|
1646
|
-
# Currency for the insurance price.
|
|
1647
|
-
attr_reader :currency
|
|
1648
|
-
# Name of the insurance company.
|
|
1649
|
-
attr_reader :insurance_company_name
|
|
1650
|
-
# Type of insurance.
|
|
1651
|
-
attr_reader :insurance_type
|
|
1652
|
-
|
|
1653
|
-
def self.inner_class_types
|
|
1654
|
-
@inner_class_types = {}
|
|
1655
|
-
end
|
|
1656
|
-
|
|
1657
|
-
def self.field_remappings
|
|
1658
|
-
@field_remappings = {}
|
|
1659
|
-
end
|
|
1660
|
-
end
|
|
1661
|
-
|
|
1662
|
-
class Pickup < ::Stripe::StripeObject
|
|
1663
|
-
class Address < ::Stripe::StripeObject
|
|
1664
|
-
# City, district, suburb, town, or village.
|
|
1665
|
-
attr_reader :city
|
|
1666
|
-
# Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)).
|
|
1667
|
-
attr_reader :country
|
|
1668
|
-
# Address line 1, such as the street, PO Box, or company name.
|
|
1669
|
-
attr_reader :line1
|
|
1670
|
-
# Address line 2, such as the apartment, suite, unit, or building.
|
|
1671
|
-
attr_reader :line2
|
|
1672
|
-
# ZIP or postal code.
|
|
1673
|
-
attr_reader :postal_code
|
|
1674
|
-
# State, county, province, or region ([ISO 3166-2](https://en.wikipedia.org/wiki/ISO_3166-2)).
|
|
1675
|
-
attr_reader :state
|
|
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
|
-
# Attribute for field address
|
|
1686
|
-
attr_reader :address
|
|
1687
|
-
# Name of the location.
|
|
1688
|
-
attr_reader :location_name
|
|
1689
|
-
# Time associated with the location.
|
|
1690
|
-
attr_reader :time
|
|
1691
|
-
|
|
1692
|
-
def self.inner_class_types
|
|
1693
|
-
@inner_class_types = { address: Address }
|
|
1694
|
-
end
|
|
1695
|
-
|
|
1696
|
-
def self.field_remappings
|
|
1697
|
-
@field_remappings = {}
|
|
1698
|
-
end
|
|
1699
|
-
end
|
|
1700
|
-
|
|
1701
|
-
class Total < ::Stripe::StripeObject
|
|
1702
|
-
class Discounts < ::Stripe::StripeObject
|
|
1703
|
-
# Corporate client discount code.
|
|
1704
|
-
attr_reader :corporate_client_code
|
|
1705
|
-
# Coupon code applied.
|
|
1706
|
-
attr_reader :coupon
|
|
1707
|
-
# Maximum free miles or kilometers included.
|
|
1708
|
-
attr_reader :maximum_free_miles_or_kilometers
|
|
1709
|
-
|
|
1710
|
-
def self.inner_class_types
|
|
1711
|
-
@inner_class_types = {}
|
|
1712
|
-
end
|
|
1713
|
-
|
|
1714
|
-
def self.field_remappings
|
|
1715
|
-
@field_remappings = {}
|
|
1716
|
-
end
|
|
1717
|
-
end
|
|
1718
|
-
|
|
1719
|
-
class ExtraCharge < ::Stripe::StripeObject
|
|
1720
|
-
# Amount of the extra charge.
|
|
1721
|
-
attr_reader :amount
|
|
1722
|
-
# Type of extra charge.
|
|
1723
|
-
attr_reader :type
|
|
1724
|
-
|
|
1725
|
-
def self.inner_class_types
|
|
1726
|
-
@inner_class_types = {}
|
|
1727
|
-
end
|
|
1728
|
-
|
|
1729
|
-
def self.field_remappings
|
|
1730
|
-
@field_remappings = {}
|
|
1731
|
-
end
|
|
1732
|
-
end
|
|
1733
|
-
|
|
1734
|
-
class Tax < ::Stripe::StripeObject
|
|
1735
|
-
class Tax < ::Stripe::StripeObject
|
|
1736
|
-
# Tax amount.
|
|
1737
|
-
attr_reader :amount
|
|
1738
|
-
# Tax rate.
|
|
1739
|
-
attr_reader :rate
|
|
1740
|
-
# Type of tax.
|
|
1741
|
-
attr_reader :type
|
|
1742
|
-
|
|
1743
|
-
def self.inner_class_types
|
|
1744
|
-
@inner_class_types = {}
|
|
1745
|
-
end
|
|
1746
|
-
|
|
1747
|
-
def self.field_remappings
|
|
1748
|
-
@field_remappings = {}
|
|
1749
|
-
end
|
|
1750
|
-
end
|
|
1751
|
-
# Indicates whether the rental is tax-exempt.
|
|
1752
|
-
attr_reader :tax_exempt_indicator
|
|
1753
|
-
# Tax details.
|
|
1754
|
-
attr_reader :taxes
|
|
1755
|
-
|
|
1756
|
-
def self.inner_class_types
|
|
1757
|
-
@inner_class_types = { taxes: Tax }
|
|
1758
|
-
end
|
|
1759
|
-
|
|
1760
|
-
def self.field_remappings
|
|
1761
|
-
@field_remappings = {}
|
|
1762
|
-
end
|
|
1763
|
-
end
|
|
1764
|
-
# Total amount.
|
|
1765
|
-
attr_reader :amount
|
|
1766
|
-
# Currency for the total amount.
|
|
1767
|
-
attr_reader :currency
|
|
1768
|
-
# Attribute for field discounts
|
|
1769
|
-
attr_reader :discounts
|
|
1770
|
-
# Additional charges for the rental.
|
|
1771
|
-
attr_reader :extra_charges
|
|
1772
|
-
# Rate per unit.
|
|
1773
|
-
attr_reader :rate_per_unit
|
|
1774
|
-
# Unit for the rate.
|
|
1775
|
-
attr_reader :rate_unit
|
|
1776
|
-
# Attribute for field tax
|
|
1777
|
-
attr_reader :tax
|
|
1778
|
-
|
|
1779
|
-
def self.inner_class_types
|
|
1780
|
-
@inner_class_types = { discounts: Discounts, extra_charges: ExtraCharge, tax: Tax }
|
|
1781
|
-
end
|
|
1782
|
-
|
|
1783
|
-
def self.field_remappings
|
|
1784
|
-
@field_remappings = {}
|
|
1785
|
-
end
|
|
1786
|
-
end
|
|
1787
|
-
|
|
1788
|
-
class Vehicle < ::Stripe::StripeObject
|
|
1789
|
-
# Make of the vehicle.
|
|
1790
|
-
attr_reader :make
|
|
1791
|
-
# Model of the vehicle.
|
|
1792
|
-
attr_reader :model
|
|
1793
|
-
# Odometer reading.
|
|
1794
|
-
attr_reader :odometer
|
|
1795
|
-
# Type of the vehicle.
|
|
1796
|
-
attr_reader :type
|
|
1797
|
-
# Class of the vehicle.
|
|
1798
|
-
attr_reader :vehicle_class
|
|
1799
|
-
# Vehicle identification number.
|
|
1800
|
-
attr_reader :vehicle_identification_number
|
|
1801
|
-
|
|
1802
|
-
def self.inner_class_types
|
|
1803
|
-
@inner_class_types = {}
|
|
1804
|
-
end
|
|
1805
|
-
|
|
1806
|
-
def self.field_remappings
|
|
1807
|
-
@field_remappings = {}
|
|
1808
|
-
end
|
|
1809
|
-
end
|
|
1810
|
-
# Attribute for field affiliate
|
|
1811
|
-
attr_reader :affiliate
|
|
1812
|
-
# The booking number associated with the car rental.
|
|
1813
|
-
attr_reader :booking_number
|
|
1814
|
-
# The name of the car rental company.
|
|
1815
|
-
attr_reader :carrier_name
|
|
1816
|
-
# The customer service phone number of the car rental company.
|
|
1817
|
-
attr_reader :customer_service_phone_number
|
|
1818
|
-
# Number of days the car is being rented.
|
|
1819
|
-
attr_reader :days_rented
|
|
1820
|
-
# Attribute for field distance
|
|
1821
|
-
attr_reader :distance
|
|
1822
|
-
# The details of the drivers associated with the rental.
|
|
1823
|
-
attr_reader :drivers
|
|
1824
|
-
# Attribute for field drop_off
|
|
1825
|
-
attr_reader :drop_off
|
|
1826
|
-
# Insurance details for the car rental.
|
|
1827
|
-
attr_reader :insurances
|
|
1828
|
-
# Indicates if the customer did not keep nor cancel their booking.
|
|
1829
|
-
attr_reader :no_show_indicator
|
|
1830
|
-
# Attribute for field pickup
|
|
1831
|
-
attr_reader :pickup
|
|
1832
|
-
# Name of the person renting the vehicle.
|
|
1833
|
-
attr_reader :renter_name
|
|
1834
|
-
# Attribute for field total
|
|
1835
|
-
attr_reader :total
|
|
1836
|
-
# Attribute for field vehicle
|
|
1837
|
-
attr_reader :vehicle
|
|
1838
|
-
|
|
1839
|
-
def self.inner_class_types
|
|
1840
|
-
@inner_class_types = {
|
|
1841
|
-
affiliate: Affiliate,
|
|
1842
|
-
distance: Distance,
|
|
1843
|
-
drivers: Driver,
|
|
1844
|
-
drop_off: DropOff,
|
|
1845
|
-
insurances: Insurance,
|
|
1846
|
-
pickup: Pickup,
|
|
1847
|
-
total: Total,
|
|
1848
|
-
vehicle: Vehicle,
|
|
1849
|
-
}
|
|
1850
|
-
end
|
|
1851
|
-
|
|
1852
|
-
def self.field_remappings
|
|
1853
|
-
@field_remappings = {}
|
|
1854
|
-
end
|
|
1855
|
-
end
|
|
1856
|
-
|
|
1857
|
-
class EventDetails < ::Stripe::StripeObject
|
|
1858
|
-
class Address < ::Stripe::StripeObject
|
|
1859
|
-
# City, district, suburb, town, or village.
|
|
1860
|
-
attr_reader :city
|
|
1861
|
-
# Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)).
|
|
1862
|
-
attr_reader :country
|
|
1863
|
-
# Address line 1, such as the street, PO Box, or company name.
|
|
1864
|
-
attr_reader :line1
|
|
1865
|
-
# Address line 2, such as the apartment, suite, unit, or building.
|
|
1866
|
-
attr_reader :line2
|
|
1867
|
-
# ZIP or postal code.
|
|
1868
|
-
attr_reader :postal_code
|
|
1869
|
-
# State, county, province, or region ([ISO 3166-2](https://en.wikipedia.org/wiki/ISO_3166-2)).
|
|
1870
|
-
attr_reader :state
|
|
1871
|
-
|
|
1872
|
-
def self.inner_class_types
|
|
1873
|
-
@inner_class_types = {}
|
|
1874
|
-
end
|
|
1875
|
-
|
|
1876
|
-
def self.field_remappings
|
|
1877
|
-
@field_remappings = {}
|
|
1878
|
-
end
|
|
1879
|
-
end
|
|
1880
|
-
|
|
1881
|
-
class Affiliate < ::Stripe::StripeObject
|
|
1882
|
-
# The name of the affiliate that originated the purchase.
|
|
1883
|
-
attr_reader :name
|
|
1884
|
-
|
|
1885
|
-
def self.inner_class_types
|
|
1886
|
-
@inner_class_types = {}
|
|
1887
|
-
end
|
|
1888
|
-
|
|
1889
|
-
def self.field_remappings
|
|
1890
|
-
@field_remappings = {}
|
|
1891
|
-
end
|
|
1892
|
-
end
|
|
1893
|
-
|
|
1894
|
-
class Delivery < ::Stripe::StripeObject
|
|
1895
|
-
class Recipient < ::Stripe::StripeObject
|
|
1896
|
-
# The email of the recipient the ticket is delivered to.
|
|
1897
|
-
attr_reader :email
|
|
1898
|
-
# The name of the recipient the ticket is delivered to.
|
|
1899
|
-
attr_reader :name
|
|
1900
|
-
# The phone number of the recipient the ticket is delivered to.
|
|
1901
|
-
attr_reader :phone
|
|
1902
|
-
|
|
1903
|
-
def self.inner_class_types
|
|
1904
|
-
@inner_class_types = {}
|
|
1905
|
-
end
|
|
1906
|
-
|
|
1907
|
-
def self.field_remappings
|
|
1908
|
-
@field_remappings = {}
|
|
1909
|
-
end
|
|
1910
|
-
end
|
|
1911
|
-
# The delivery method for the payment
|
|
1912
|
-
attr_reader :mode
|
|
1913
|
-
# Attribute for field recipient
|
|
1914
|
-
attr_reader :recipient
|
|
1915
|
-
|
|
1916
|
-
def self.inner_class_types
|
|
1917
|
-
@inner_class_types = { recipient: Recipient }
|
|
1918
|
-
end
|
|
1919
|
-
|
|
1920
|
-
def self.field_remappings
|
|
1921
|
-
@field_remappings = {}
|
|
1922
|
-
end
|
|
1923
|
-
end
|
|
1924
|
-
# Indicates if the tickets are digitally checked when entering the venue.
|
|
1925
|
-
attr_reader :access_controlled_venue
|
|
1926
|
-
# Attribute for field address
|
|
1927
|
-
attr_reader :address
|
|
1928
|
-
# Attribute for field affiliate
|
|
1929
|
-
attr_reader :affiliate
|
|
1930
|
-
# The name of the company
|
|
1931
|
-
attr_reader :company
|
|
1932
|
-
# Attribute for field delivery
|
|
1933
|
-
attr_reader :delivery
|
|
1934
|
-
# Event end time. Measured in seconds since the Unix epoch.
|
|
1935
|
-
attr_reader :ends_at
|
|
1936
|
-
# Type of the event entertainment (concert, sports event etc)
|
|
1937
|
-
attr_reader :genre
|
|
1938
|
-
# The name of the event.
|
|
1939
|
-
attr_reader :name
|
|
1940
|
-
# Event start time. Measured in seconds since the Unix epoch.
|
|
1941
|
-
attr_reader :starts_at
|
|
1942
|
-
|
|
1943
|
-
def self.inner_class_types
|
|
1944
|
-
@inner_class_types = { address: Address, affiliate: Affiliate, delivery: Delivery }
|
|
1945
|
-
end
|
|
1946
|
-
|
|
1947
|
-
def self.field_remappings
|
|
1948
|
-
@field_remappings = {}
|
|
1949
|
-
end
|
|
1950
|
-
end
|
|
1951
|
-
|
|
1952
|
-
class FlightDatum < ::Stripe::StripeObject
|
|
1953
|
-
class Affiliate < ::Stripe::StripeObject
|
|
1954
|
-
# Affiliate code.
|
|
1955
|
-
attr_reader :code
|
|
1956
|
-
# Affiliate name.
|
|
1957
|
-
attr_reader :name
|
|
1958
|
-
# Code provided by the company to a travel agent authorizing ticket issuance.
|
|
1959
|
-
attr_reader :travel_authorization_code
|
|
1960
|
-
|
|
1961
|
-
def self.inner_class_types
|
|
1962
|
-
@inner_class_types = {}
|
|
1963
|
-
end
|
|
1964
|
-
|
|
1965
|
-
def self.field_remappings
|
|
1966
|
-
@field_remappings = {}
|
|
1967
|
-
end
|
|
1968
|
-
end
|
|
1969
|
-
|
|
1970
|
-
class Insurance < ::Stripe::StripeObject
|
|
1971
|
-
# Amount of the insurance.
|
|
1972
|
-
attr_reader :amount
|
|
1973
|
-
# Currency for the insurance price.
|
|
1974
|
-
attr_reader :currency
|
|
1975
|
-
# Name of the insurance company.
|
|
1976
|
-
attr_reader :insurance_company_name
|
|
1977
|
-
# Type of insurance.
|
|
1978
|
-
attr_reader :insurance_type
|
|
1979
|
-
|
|
1980
|
-
def self.inner_class_types
|
|
1981
|
-
@inner_class_types = {}
|
|
1982
|
-
end
|
|
1983
|
-
|
|
1984
|
-
def self.field_remappings
|
|
1985
|
-
@field_remappings = {}
|
|
1986
|
-
end
|
|
1987
|
-
end
|
|
1988
|
-
|
|
1989
|
-
class Passenger < ::Stripe::StripeObject
|
|
1990
|
-
# Full name of the passenger.
|
|
1991
|
-
attr_reader :name
|
|
1992
|
-
|
|
1993
|
-
def self.inner_class_types
|
|
1994
|
-
@inner_class_types = {}
|
|
1995
|
-
end
|
|
1996
|
-
|
|
1997
|
-
def self.field_remappings
|
|
1998
|
-
@field_remappings = {}
|
|
1999
|
-
end
|
|
2000
|
-
end
|
|
2001
|
-
|
|
2002
|
-
class Segment < ::Stripe::StripeObject
|
|
2003
|
-
class Arrival < ::Stripe::StripeObject
|
|
2004
|
-
# Arrival airport IATA code.
|
|
2005
|
-
attr_reader :airport
|
|
2006
|
-
# Arrival date and time.
|
|
2007
|
-
attr_reader :arrives_at
|
|
2008
|
-
# Arrival city.
|
|
2009
|
-
attr_reader :city
|
|
2010
|
-
# Arrival country.
|
|
2011
|
-
attr_reader :country
|
|
2012
|
-
|
|
2013
|
-
def self.inner_class_types
|
|
2014
|
-
@inner_class_types = {}
|
|
2015
|
-
end
|
|
2016
|
-
|
|
2017
|
-
def self.field_remappings
|
|
2018
|
-
@field_remappings = {}
|
|
2019
|
-
end
|
|
2020
|
-
end
|
|
2021
|
-
|
|
2022
|
-
class Departure < ::Stripe::StripeObject
|
|
2023
|
-
# Departure airport IATA code.
|
|
2024
|
-
attr_reader :airport
|
|
2025
|
-
# Departure city.
|
|
2026
|
-
attr_reader :city
|
|
2027
|
-
# Departure country.
|
|
2028
|
-
attr_reader :country
|
|
2029
|
-
# Departure date and time.
|
|
2030
|
-
attr_reader :departs_at
|
|
2031
|
-
|
|
2032
|
-
def self.inner_class_types
|
|
2033
|
-
@inner_class_types = {}
|
|
2034
|
-
end
|
|
2035
|
-
|
|
2036
|
-
def self.field_remappings
|
|
2037
|
-
@field_remappings = {}
|
|
2038
|
-
end
|
|
2039
|
-
end
|
|
2040
|
-
# Segment fare amount.
|
|
2041
|
-
attr_reader :amount
|
|
2042
|
-
# Attribute for field arrival
|
|
2043
|
-
attr_reader :arrival
|
|
2044
|
-
# Airline carrier code.
|
|
2045
|
-
attr_reader :carrier_code
|
|
2046
|
-
# Carrier name.
|
|
2047
|
-
attr_reader :carrier_name
|
|
2048
|
-
# Segment currency.
|
|
2049
|
-
attr_reader :currency
|
|
2050
|
-
# Attribute for field departure
|
|
2051
|
-
attr_reader :departure
|
|
2052
|
-
# Exchange ticket number.
|
|
2053
|
-
attr_reader :exchange_ticket_number
|
|
2054
|
-
# Fare basis code.
|
|
2055
|
-
attr_reader :fare_basis_code
|
|
2056
|
-
# Additional fees.
|
|
2057
|
-
attr_reader :fees
|
|
2058
|
-
# Flight number.
|
|
2059
|
-
attr_reader :flight_number
|
|
2060
|
-
# Stopover indicator.
|
|
2061
|
-
attr_reader :is_stop_over_indicator
|
|
2062
|
-
# Refundable ticket indicator.
|
|
2063
|
-
attr_reader :refundable
|
|
2064
|
-
# Class of service.
|
|
2065
|
-
attr_reader :service_class
|
|
2066
|
-
# Tax amount for segment.
|
|
2067
|
-
attr_reader :tax_amount
|
|
2068
|
-
# Ticket number.
|
|
2069
|
-
attr_reader :ticket_number
|
|
2070
|
-
|
|
2071
|
-
def self.inner_class_types
|
|
2072
|
-
@inner_class_types = { arrival: Arrival, departure: Departure }
|
|
2073
|
-
end
|
|
2074
|
-
|
|
2075
|
-
def self.field_remappings
|
|
2076
|
-
@field_remappings = {}
|
|
2077
|
-
end
|
|
2078
|
-
end
|
|
2079
|
-
|
|
2080
|
-
class Total < ::Stripe::StripeObject
|
|
2081
|
-
class Discounts < ::Stripe::StripeObject
|
|
2082
|
-
# Corporate client discount code.
|
|
2083
|
-
attr_reader :corporate_client_code
|
|
2084
|
-
|
|
2085
|
-
def self.inner_class_types
|
|
2086
|
-
@inner_class_types = {}
|
|
2087
|
-
end
|
|
2088
|
-
|
|
2089
|
-
def self.field_remappings
|
|
2090
|
-
@field_remappings = {}
|
|
2091
|
-
end
|
|
2092
|
-
end
|
|
2093
|
-
|
|
2094
|
-
class ExtraCharge < ::Stripe::StripeObject
|
|
2095
|
-
# Amount of the extra charge.
|
|
2096
|
-
attr_reader :amount
|
|
2097
|
-
# Type of extra charge.
|
|
2098
|
-
attr_reader :type
|
|
2099
|
-
|
|
2100
|
-
def self.inner_class_types
|
|
2101
|
-
@inner_class_types = {}
|
|
2102
|
-
end
|
|
2103
|
-
|
|
2104
|
-
def self.field_remappings
|
|
2105
|
-
@field_remappings = {}
|
|
2106
|
-
end
|
|
2107
|
-
end
|
|
2108
|
-
|
|
2109
|
-
class Tax < ::Stripe::StripeObject
|
|
2110
|
-
class Tax < ::Stripe::StripeObject
|
|
2111
|
-
# Tax amount.
|
|
2112
|
-
attr_reader :amount
|
|
2113
|
-
# Tax rate.
|
|
2114
|
-
attr_reader :rate
|
|
2115
|
-
# Type of tax.
|
|
2116
|
-
attr_reader :type
|
|
2117
|
-
|
|
2118
|
-
def self.inner_class_types
|
|
2119
|
-
@inner_class_types = {}
|
|
2120
|
-
end
|
|
2121
|
-
|
|
2122
|
-
def self.field_remappings
|
|
2123
|
-
@field_remappings = {}
|
|
2124
|
-
end
|
|
2125
|
-
end
|
|
2126
|
-
# Tax details.
|
|
2127
|
-
attr_reader :taxes
|
|
2128
|
-
|
|
2129
|
-
def self.inner_class_types
|
|
2130
|
-
@inner_class_types = { taxes: Tax }
|
|
2131
|
-
end
|
|
2132
|
-
|
|
2133
|
-
def self.field_remappings
|
|
2134
|
-
@field_remappings = {}
|
|
2135
|
-
end
|
|
2136
|
-
end
|
|
2137
|
-
# Total amount.
|
|
2138
|
-
attr_reader :amount
|
|
2139
|
-
# Reason for credit.
|
|
2140
|
-
attr_reader :credit_reason
|
|
2141
|
-
# Currency for the total amount.
|
|
2142
|
-
attr_reader :currency
|
|
2143
|
-
# Attribute for field discounts
|
|
2144
|
-
attr_reader :discounts
|
|
2145
|
-
# Additional charges for the flight.
|
|
2146
|
-
attr_reader :extra_charges
|
|
2147
|
-
# Attribute for field tax
|
|
2148
|
-
attr_reader :tax
|
|
2149
|
-
|
|
2150
|
-
def self.inner_class_types
|
|
2151
|
-
@inner_class_types = { discounts: Discounts, extra_charges: ExtraCharge, tax: Tax }
|
|
2152
|
-
end
|
|
2153
|
-
|
|
2154
|
-
def self.field_remappings
|
|
2155
|
-
@field_remappings = {}
|
|
2156
|
-
end
|
|
2157
|
-
end
|
|
2158
|
-
# Attribute for field affiliate
|
|
2159
|
-
attr_reader :affiliate
|
|
2160
|
-
# The booking number associated with the flight reservation.
|
|
2161
|
-
attr_reader :booking_number
|
|
2162
|
-
# The computerized reservation system used to make the reservation and purchase the ticket.
|
|
2163
|
-
attr_reader :computerized_reservation_system
|
|
2164
|
-
# Ticket restrictions.
|
|
2165
|
-
attr_reader :endorsements_and_restrictions
|
|
2166
|
-
# Insurance details for the flight.
|
|
2167
|
-
attr_reader :insurances
|
|
2168
|
-
# The list of passengers for this flight.
|
|
2169
|
-
attr_reader :passengers
|
|
2170
|
-
# The list of flight segments for this reservation.
|
|
2171
|
-
attr_reader :segments
|
|
2172
|
-
# Electronic ticket indicator.
|
|
2173
|
-
attr_reader :ticket_electronically_issued_indicator
|
|
2174
|
-
# Attribute for field total
|
|
2175
|
-
attr_reader :total
|
|
2176
|
-
# Type of flight transaction.
|
|
2177
|
-
attr_reader :transaction_type
|
|
2178
|
-
|
|
2179
|
-
def self.inner_class_types
|
|
2180
|
-
@inner_class_types = {
|
|
2181
|
-
affiliate: Affiliate,
|
|
2182
|
-
insurances: Insurance,
|
|
2183
|
-
passengers: Passenger,
|
|
2184
|
-
segments: Segment,
|
|
2185
|
-
total: Total,
|
|
2186
|
-
}
|
|
2187
|
-
end
|
|
2188
|
-
|
|
2189
|
-
def self.field_remappings
|
|
2190
|
-
@field_remappings = {}
|
|
2191
|
-
end
|
|
2192
|
-
end
|
|
2193
|
-
|
|
2194
|
-
class LodgingDatum < ::Stripe::StripeObject
|
|
2195
|
-
class Accommodation < ::Stripe::StripeObject
|
|
2196
|
-
# Type of accommodation.
|
|
2197
|
-
attr_reader :accommodation_type
|
|
2198
|
-
# Bed type.
|
|
2199
|
-
attr_reader :bed_type
|
|
2200
|
-
# Daily accommodation rate in cents.
|
|
2201
|
-
attr_reader :daily_rate_amount
|
|
2202
|
-
# Number of nights.
|
|
2203
|
-
attr_reader :nights
|
|
2204
|
-
# Number of rooms, cabanas, apartments, and so on.
|
|
2205
|
-
attr_reader :number_of_rooms
|
|
2206
|
-
# Rate type.
|
|
2207
|
-
attr_reader :rate_type
|
|
2208
|
-
# Whether smoking is allowed.
|
|
2209
|
-
attr_reader :smoking_indicator
|
|
2210
|
-
|
|
2211
|
-
def self.inner_class_types
|
|
2212
|
-
@inner_class_types = {}
|
|
2213
|
-
end
|
|
2214
|
-
|
|
2215
|
-
def self.field_remappings
|
|
2216
|
-
@field_remappings = {}
|
|
2217
|
-
end
|
|
2218
|
-
end
|
|
2219
|
-
|
|
2220
|
-
class Affiliate < ::Stripe::StripeObject
|
|
2221
|
-
# Affiliate partner code.
|
|
2222
|
-
attr_reader :code
|
|
2223
|
-
# Affiliate partner name.
|
|
2224
|
-
attr_reader :name
|
|
2225
|
-
|
|
2226
|
-
def self.inner_class_types
|
|
2227
|
-
@inner_class_types = {}
|
|
2228
|
-
end
|
|
2229
|
-
|
|
2230
|
-
def self.field_remappings
|
|
2231
|
-
@field_remappings = {}
|
|
2232
|
-
end
|
|
2233
|
-
end
|
|
2234
|
-
|
|
2235
|
-
class Guest < ::Stripe::StripeObject
|
|
2236
|
-
# Guest's full name.
|
|
2237
|
-
attr_reader :name
|
|
2238
|
-
|
|
2239
|
-
def self.inner_class_types
|
|
2240
|
-
@inner_class_types = {}
|
|
2241
|
-
end
|
|
2242
|
-
|
|
2243
|
-
def self.field_remappings
|
|
2244
|
-
@field_remappings = {}
|
|
2245
|
-
end
|
|
2246
|
-
end
|
|
2247
|
-
|
|
2248
|
-
class Host < ::Stripe::StripeObject
|
|
2249
|
-
class Address < ::Stripe::StripeObject
|
|
2250
|
-
# City, district, suburb, town, or village.
|
|
2251
|
-
attr_reader :city
|
|
2252
|
-
# Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)).
|
|
2253
|
-
attr_reader :country
|
|
2254
|
-
# Address line 1, such as the street, PO Box, or company name.
|
|
2255
|
-
attr_reader :line1
|
|
2256
|
-
# Address line 2, such as the apartment, suite, unit, or building.
|
|
2257
|
-
attr_reader :line2
|
|
2258
|
-
# ZIP or postal code.
|
|
2259
|
-
attr_reader :postal_code
|
|
2260
|
-
# State, county, province, or region ([ISO 3166-2](https://en.wikipedia.org/wiki/ISO_3166-2)).
|
|
2261
|
-
attr_reader :state
|
|
2262
|
-
|
|
2263
|
-
def self.inner_class_types
|
|
2264
|
-
@inner_class_types = {}
|
|
2265
|
-
end
|
|
2266
|
-
|
|
2267
|
-
def self.field_remappings
|
|
2268
|
-
@field_remappings = {}
|
|
2269
|
-
end
|
|
2270
|
-
end
|
|
2271
|
-
# Attribute for field address
|
|
2272
|
-
attr_reader :address
|
|
2273
|
-
# Host's country of domicile.
|
|
2274
|
-
attr_reader :country_of_domicile
|
|
2275
|
-
# Reference number for the host.
|
|
2276
|
-
attr_reader :host_reference
|
|
2277
|
-
# Type of host.
|
|
2278
|
-
attr_reader :host_type
|
|
2279
|
-
# Name of the lodging property or host.
|
|
2280
|
-
attr_reader :name
|
|
2281
|
-
# Total number of reservations for the host.
|
|
2282
|
-
attr_reader :number_of_reservations
|
|
2283
|
-
# Property phone number.
|
|
2284
|
-
attr_reader :property_phone_number
|
|
2285
|
-
# Host's registration date.
|
|
2286
|
-
attr_reader :registered_at
|
|
2287
|
-
|
|
2288
|
-
def self.inner_class_types
|
|
2289
|
-
@inner_class_types = { address: Address }
|
|
2290
|
-
end
|
|
2291
|
-
|
|
2292
|
-
def self.field_remappings
|
|
2293
|
-
@field_remappings = {}
|
|
2294
|
-
end
|
|
2295
|
-
end
|
|
2296
|
-
|
|
2297
|
-
class Insurance < ::Stripe::StripeObject
|
|
2298
|
-
# Price of the insurance coverage in cents.
|
|
2299
|
-
attr_reader :amount
|
|
2300
|
-
# Currency of the insurance amount.
|
|
2301
|
-
attr_reader :currency
|
|
2302
|
-
# Name of the insurance company.
|
|
2303
|
-
attr_reader :insurance_company_name
|
|
2304
|
-
# Type of insurance coverage.
|
|
2305
|
-
attr_reader :insurance_type
|
|
2306
|
-
|
|
2307
|
-
def self.inner_class_types
|
|
2308
|
-
@inner_class_types = {}
|
|
2309
|
-
end
|
|
2310
|
-
|
|
2311
|
-
def self.field_remappings
|
|
2312
|
-
@field_remappings = {}
|
|
2313
|
-
end
|
|
2314
|
-
end
|
|
2315
|
-
|
|
2316
|
-
class Total < ::Stripe::StripeObject
|
|
2317
|
-
class Discounts < ::Stripe::StripeObject
|
|
2318
|
-
# Corporate client discount code.
|
|
2319
|
-
attr_reader :corporate_client_code
|
|
2320
|
-
# Coupon code.
|
|
2321
|
-
attr_reader :coupon
|
|
2322
|
-
|
|
2323
|
-
def self.inner_class_types
|
|
2324
|
-
@inner_class_types = {}
|
|
2325
|
-
end
|
|
2326
|
-
|
|
2327
|
-
def self.field_remappings
|
|
2328
|
-
@field_remappings = {}
|
|
2329
|
-
end
|
|
2330
|
-
end
|
|
2331
|
-
|
|
2332
|
-
class ExtraCharge < ::Stripe::StripeObject
|
|
2333
|
-
# Amount of the extra charge in cents.
|
|
2334
|
-
attr_reader :amount
|
|
2335
|
-
# Type of extra charge.
|
|
2336
|
-
attr_reader :type
|
|
2337
|
-
|
|
2338
|
-
def self.inner_class_types
|
|
2339
|
-
@inner_class_types = {}
|
|
2340
|
-
end
|
|
2341
|
-
|
|
2342
|
-
def self.field_remappings
|
|
2343
|
-
@field_remappings = {}
|
|
2344
|
-
end
|
|
2345
|
-
end
|
|
2346
|
-
|
|
2347
|
-
class Tax < ::Stripe::StripeObject
|
|
2348
|
-
class Tax < ::Stripe::StripeObject
|
|
2349
|
-
# Tax amount in cents.
|
|
2350
|
-
attr_reader :amount
|
|
2351
|
-
# Tax rate.
|
|
2352
|
-
attr_reader :rate
|
|
2353
|
-
# Type of tax applied.
|
|
2354
|
-
attr_reader :type
|
|
2355
|
-
|
|
2356
|
-
def self.inner_class_types
|
|
2357
|
-
@inner_class_types = {}
|
|
2358
|
-
end
|
|
2359
|
-
|
|
2360
|
-
def self.field_remappings
|
|
2361
|
-
@field_remappings = {}
|
|
2362
|
-
end
|
|
2363
|
-
end
|
|
2364
|
-
# Indicates whether the transaction is tax exempt.
|
|
2365
|
-
attr_reader :tax_exempt_indicator
|
|
2366
|
-
# Tax details.
|
|
2367
|
-
attr_reader :taxes
|
|
2368
|
-
|
|
2369
|
-
def self.inner_class_types
|
|
2370
|
-
@inner_class_types = { taxes: Tax }
|
|
2371
|
-
end
|
|
2372
|
-
|
|
2373
|
-
def self.field_remappings
|
|
2374
|
-
@field_remappings = {}
|
|
2375
|
-
end
|
|
2376
|
-
end
|
|
2377
|
-
# Total price of the lodging reservation in cents.
|
|
2378
|
-
attr_reader :amount
|
|
2379
|
-
# Cash advances in cents.
|
|
2380
|
-
attr_reader :cash_advances
|
|
2381
|
-
# Currency of the total amount.
|
|
2382
|
-
attr_reader :currency
|
|
2383
|
-
# Attribute for field discounts
|
|
2384
|
-
attr_reader :discounts
|
|
2385
|
-
# Additional charges for the lodging.
|
|
2386
|
-
attr_reader :extra_charges
|
|
2387
|
-
# Prepaid amount in cents.
|
|
2388
|
-
attr_reader :prepaid_amount
|
|
2389
|
-
# Attribute for field tax
|
|
2390
|
-
attr_reader :tax
|
|
2391
|
-
|
|
2392
|
-
def self.inner_class_types
|
|
2393
|
-
@inner_class_types = { discounts: Discounts, extra_charges: ExtraCharge, tax: Tax }
|
|
2394
|
-
end
|
|
2395
|
-
|
|
2396
|
-
def self.field_remappings
|
|
2397
|
-
@field_remappings = {}
|
|
2398
|
-
end
|
|
2399
|
-
end
|
|
2400
|
-
# Attribute for field accommodation
|
|
2401
|
-
attr_reader :accommodation
|
|
2402
|
-
# Attribute for field affiliate
|
|
2403
|
-
attr_reader :affiliate
|
|
2404
|
-
# Booking confirmation number for the lodging.
|
|
2405
|
-
attr_reader :booking_number
|
|
2406
|
-
# Check-in date.
|
|
2407
|
-
attr_reader :checkin_at
|
|
2408
|
-
# Check-out date.
|
|
2409
|
-
attr_reader :checkout_at
|
|
2410
|
-
# Customer service phone number for the lodging company.
|
|
2411
|
-
attr_reader :customer_service_phone_number
|
|
2412
|
-
# Whether the lodging is compliant with any hotel fire safety regulations.
|
|
2413
|
-
attr_reader :fire_safety_act_compliance_indicator
|
|
2414
|
-
# List of guests for the lodging.
|
|
2415
|
-
attr_reader :guests
|
|
2416
|
-
# Attribute for field host
|
|
2417
|
-
attr_reader :host
|
|
2418
|
-
# List of insurances for the lodging.
|
|
2419
|
-
attr_reader :insurances
|
|
2420
|
-
# Whether the renter is a no-show.
|
|
2421
|
-
attr_reader :no_show_indicator
|
|
2422
|
-
# Renter ID number for the lodging.
|
|
2423
|
-
attr_reader :renter_id_number
|
|
2424
|
-
# Renter name for the lodging.
|
|
2425
|
-
attr_reader :renter_name
|
|
2426
|
-
# Attribute for field total
|
|
2427
|
-
attr_reader :total
|
|
2428
|
-
|
|
2429
|
-
def self.inner_class_types
|
|
2430
|
-
@inner_class_types = {
|
|
2431
|
-
accommodation: Accommodation,
|
|
2432
|
-
affiliate: Affiliate,
|
|
2433
|
-
guests: Guest,
|
|
2434
|
-
host: Host,
|
|
2435
|
-
insurances: Insurance,
|
|
2436
|
-
total: Total,
|
|
2437
|
-
}
|
|
2438
|
-
end
|
|
2439
|
-
|
|
2440
|
-
def self.field_remappings
|
|
2441
|
-
@field_remappings = {}
|
|
2442
|
-
end
|
|
2443
|
-
end
|
|
2444
|
-
|
|
2445
|
-
class Subscription < ::Stripe::StripeObject
|
|
2446
|
-
class Affiliate < ::Stripe::StripeObject
|
|
2447
|
-
# The name of the affiliate that originated the purchase.
|
|
2448
|
-
attr_reader :name
|
|
2449
|
-
|
|
2450
|
-
def self.inner_class_types
|
|
2451
|
-
@inner_class_types = {}
|
|
2452
|
-
end
|
|
2453
|
-
|
|
2454
|
-
def self.field_remappings
|
|
2455
|
-
@field_remappings = {}
|
|
2456
|
-
end
|
|
2457
|
-
end
|
|
2458
|
-
|
|
2459
|
-
class BillingInterval < ::Stripe::StripeObject
|
|
2460
|
-
# The number of intervals, as an whole number greater than 0. Stripe multiplies this by the interval type to get the overall duration.
|
|
2461
|
-
attr_reader :count
|
|
2462
|
-
# Specifies a type of interval unit. Either `day`, `week`, `month` or `year`.
|
|
2463
|
-
attr_reader :interval
|
|
2464
|
-
|
|
2465
|
-
def self.inner_class_types
|
|
2466
|
-
@inner_class_types = {}
|
|
2467
|
-
end
|
|
2468
|
-
|
|
2469
|
-
def self.field_remappings
|
|
2470
|
-
@field_remappings = {}
|
|
2471
|
-
end
|
|
2472
|
-
end
|
|
2473
|
-
# Attribute for field affiliate
|
|
2474
|
-
attr_reader :affiliate
|
|
2475
|
-
# Info whether the subscription will be auto renewed upon expiry.
|
|
2476
|
-
attr_reader :auto_renewal
|
|
2477
|
-
# Attribute for field billing_interval
|
|
2478
|
-
attr_reader :billing_interval
|
|
2479
|
-
# Subscription end time. Measured in seconds since the Unix epoch.
|
|
2480
|
-
attr_reader :ends_at
|
|
2481
|
-
# Name of the product on subscription. e.g. Apple Music Subscription.
|
|
2482
|
-
attr_reader :name
|
|
2483
|
-
# Subscription start time. Measured in seconds since the Unix epoch.
|
|
2484
|
-
attr_reader :starts_at
|
|
2485
|
-
|
|
2486
|
-
def self.inner_class_types
|
|
2487
|
-
@inner_class_types = { affiliate: Affiliate, billing_interval: BillingInterval }
|
|
2488
|
-
end
|
|
2489
|
-
|
|
2490
|
-
def self.field_remappings
|
|
2491
|
-
@field_remappings = {}
|
|
2492
|
-
end
|
|
1281
|
+
def self.field_remappings
|
|
1282
|
+
@field_remappings = {}
|
|
2493
1283
|
end
|
|
2494
|
-
|
|
2495
|
-
|
|
2496
|
-
|
|
2497
|
-
attr_reader :car_rental_data
|
|
1284
|
+
end
|
|
1285
|
+
|
|
1286
|
+
class PaymentDetails < ::Stripe::StripeObject
|
|
2498
1287
|
# A unique value to identify the customer. This field is available only for card payments.
|
|
2499
1288
|
#
|
|
2500
1289
|
# This field is truncated to 25 alphanumeric characters, excluding spaces, before being sent to card networks.
|
|
2501
1290
|
attr_reader :customer_reference
|
|
2502
|
-
# Attribute for field event_details
|
|
2503
|
-
attr_reader :event_details
|
|
2504
|
-
# Attribute for field flight_data
|
|
2505
|
-
attr_reader :flight_data
|
|
2506
|
-
# Attribute for field lodging_data
|
|
2507
|
-
attr_reader :lodging_data
|
|
2508
1291
|
# A unique value assigned by the business to identify the transaction. Required for L2 and L3 rates.
|
|
2509
1292
|
#
|
|
2510
1293
|
# For Cards, this field is truncated to 25 alphanumeric characters, excluding spaces, before being sent to card networks. For Klarna, this field is truncated to 255 characters and is visible to customers when they view the order in the Klarna app.
|
|
2511
1294
|
attr_reader :order_reference
|
|
2512
|
-
# Attribute for field subscription
|
|
2513
|
-
attr_reader :subscription
|
|
2514
1295
|
|
|
2515
1296
|
def self.inner_class_types
|
|
2516
|
-
@inner_class_types = {
|
|
2517
|
-
car_rental: CarRental,
|
|
2518
|
-
car_rental_data: CarRentalDatum,
|
|
2519
|
-
event_details: EventDetails,
|
|
2520
|
-
flight_data: FlightDatum,
|
|
2521
|
-
lodging_data: LodgingDatum,
|
|
2522
|
-
subscription: Subscription,
|
|
2523
|
-
}
|
|
1297
|
+
@inner_class_types = {}
|
|
2524
1298
|
end
|
|
2525
1299
|
|
|
2526
1300
|
def self.field_remappings
|
|
@@ -2908,43 +1682,6 @@ module Stripe
|
|
|
2908
1682
|
@field_remappings = {}
|
|
2909
1683
|
end
|
|
2910
1684
|
end
|
|
2911
|
-
|
|
2912
|
-
class StatementDetails < ::Stripe::StripeObject
|
|
2913
|
-
class Address < ::Stripe::StripeObject
|
|
2914
|
-
# City, district, suburb, town, or village.
|
|
2915
|
-
attr_reader :city
|
|
2916
|
-
# Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)).
|
|
2917
|
-
attr_reader :country
|
|
2918
|
-
# Address line 1, such as the street, PO Box, or company name.
|
|
2919
|
-
attr_reader :line1
|
|
2920
|
-
# Address line 2, such as the apartment, suite, unit, or building.
|
|
2921
|
-
attr_reader :line2
|
|
2922
|
-
# ZIP or postal code.
|
|
2923
|
-
attr_reader :postal_code
|
|
2924
|
-
# State, county, province, or region ([ISO 3166-2](https://en.wikipedia.org/wiki/ISO_3166-2)).
|
|
2925
|
-
attr_reader :state
|
|
2926
|
-
|
|
2927
|
-
def self.inner_class_types
|
|
2928
|
-
@inner_class_types = {}
|
|
2929
|
-
end
|
|
2930
|
-
|
|
2931
|
-
def self.field_remappings
|
|
2932
|
-
@field_remappings = {}
|
|
2933
|
-
end
|
|
2934
|
-
end
|
|
2935
|
-
# Attribute for field address
|
|
2936
|
-
attr_reader :address
|
|
2937
|
-
# Phone number
|
|
2938
|
-
attr_reader :phone
|
|
2939
|
-
|
|
2940
|
-
def self.inner_class_types
|
|
2941
|
-
@inner_class_types = { address: Address }
|
|
2942
|
-
end
|
|
2943
|
-
|
|
2944
|
-
def self.field_remappings
|
|
2945
|
-
@field_remappings = {}
|
|
2946
|
-
end
|
|
2947
|
-
end
|
|
2948
1685
|
# Controls when the funds will be captured from the customer's account.
|
|
2949
1686
|
attr_reader :capture_method
|
|
2950
1687
|
# Installment details for this payment.
|
|
@@ -2955,8 +1692,6 @@ module Stripe
|
|
|
2955
1692
|
attr_reader :mandate_options
|
|
2956
1693
|
# Selected network to process this payment intent on. Depends on the available networks of the card attached to the payment intent. Can be only set confirm-time.
|
|
2957
1694
|
attr_reader :network
|
|
2958
|
-
# Request ability to [decrement the authorization](https://docs.stripe.com/payments/decremental-authorization) for this PaymentIntent.
|
|
2959
|
-
attr_reader :request_decremental_authorization
|
|
2960
1695
|
# Request ability to [capture beyond the standard authorization validity window](https://docs.stripe.com/payments/extended-authorization) for this PaymentIntent.
|
|
2961
1696
|
attr_reader :request_extended_authorization
|
|
2962
1697
|
# Request ability to [increment the authorization](https://docs.stripe.com/payments/incremental-authorization) for this PaymentIntent.
|
|
@@ -2965,8 +1700,6 @@ module Stripe
|
|
|
2965
1700
|
attr_reader :request_multicapture
|
|
2966
1701
|
# Request ability to [overcapture](https://docs.stripe.com/payments/overcapture) for this PaymentIntent.
|
|
2967
1702
|
attr_reader :request_overcapture
|
|
2968
|
-
# Request partial authorization on this PaymentIntent.
|
|
2969
|
-
attr_reader :request_partial_authorization
|
|
2970
1703
|
# We strongly recommend that you rely on our SCA Engine to automatically prompt your customers for authentication based on risk level and [other requirements](https://docs.stripe.com/strong-customer-authentication). However, if you wish to request 3D Secure based on logic from your own fraud engine, provide this option. If not provided, this value defaults to `automatic`. Read our guide on [manually requesting 3D Secure](https://docs.stripe.com/payments/3d-secure/authentication-flow#manual-three-ds) for more information on how this configuration interacts with Radar and our SCA Engine.
|
|
2971
1704
|
attr_reader :request_three_d_secure
|
|
2972
1705
|
# When enabled, using a card that is attached to a customer will require the CVC to be provided again (i.e. using the cvc_token parameter).
|
|
@@ -2983,15 +1716,9 @@ module Stripe
|
|
|
2983
1716
|
attr_reader :statement_descriptor_suffix_kana
|
|
2984
1717
|
# Provides information about a card payment that customers see on their statements. Concatenated with the Kanji prefix (shortened Kanji descriptor) or Kanji statement descriptor that’s set on the account to form the complete statement descriptor. Maximum 17 characters. On card statements, the *concatenation* of both prefix and suffix (including separators) will appear truncated to 17 characters.
|
|
2985
1718
|
attr_reader :statement_descriptor_suffix_kanji
|
|
2986
|
-
# Attribute for field statement_details
|
|
2987
|
-
attr_reader :statement_details
|
|
2988
1719
|
|
|
2989
1720
|
def self.inner_class_types
|
|
2990
|
-
@inner_class_types = {
|
|
2991
|
-
installments: Installments,
|
|
2992
|
-
mandate_options: MandateOptions,
|
|
2993
|
-
statement_details: StatementDetails,
|
|
2994
|
-
}
|
|
1721
|
+
@inner_class_types = { installments: Installments, mandate_options: MandateOptions }
|
|
2995
1722
|
end
|
|
2996
1723
|
|
|
2997
1724
|
def self.field_remappings
|
|
@@ -3180,25 +1907,6 @@ module Stripe
|
|
|
3180
1907
|
end
|
|
3181
1908
|
end
|
|
3182
1909
|
|
|
3183
|
-
class Gopay < ::Stripe::StripeObject
|
|
3184
|
-
# Indicates that you intend to make future payments with this PaymentIntent's payment method.
|
|
3185
|
-
#
|
|
3186
|
-
# If you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](/api/payment_methods/attach) the payment method to a Customer after the transaction completes.
|
|
3187
|
-
#
|
|
3188
|
-
# If the payment method is `card_present` and isn't a digital wallet, Stripe creates and attaches a [generated_card](/api/charges/object#charge_object-payment_method_details-card_present-generated_card) payment method representing the card to the Customer instead.
|
|
3189
|
-
#
|
|
3190
|
-
# When processing card payments, Stripe uses `setup_future_usage` to help you comply with regional legislation and network rules, such as [SCA](/strong-customer-authentication).
|
|
3191
|
-
attr_reader :setup_future_usage
|
|
3192
|
-
|
|
3193
|
-
def self.inner_class_types
|
|
3194
|
-
@inner_class_types = {}
|
|
3195
|
-
end
|
|
3196
|
-
|
|
3197
|
-
def self.field_remappings
|
|
3198
|
-
@field_remappings = {}
|
|
3199
|
-
end
|
|
3200
|
-
end
|
|
3201
|
-
|
|
3202
1910
|
class Grabpay < ::Stripe::StripeObject
|
|
3203
1911
|
# Indicates that you intend to make future payments with this PaymentIntent's payment method.
|
|
3204
1912
|
#
|
|
@@ -3218,29 +1926,6 @@ module Stripe
|
|
|
3218
1926
|
end
|
|
3219
1927
|
end
|
|
3220
1928
|
|
|
3221
|
-
class IdBankTransfer < ::Stripe::StripeObject
|
|
3222
|
-
# The UNIX timestamp until which the virtual bank account is valid. Permitted range is from now till 2678400 seconds (31 days) from now.
|
|
3223
|
-
attr_reader :expires_after
|
|
3224
|
-
# The UNIX timestamp until which the virtual bank account is valid. Permitted range is from now until 30 days from now. If unset, it defaults to 1 days from now.
|
|
3225
|
-
attr_reader :expires_at
|
|
3226
|
-
# Indicates that you intend to make future payments with this PaymentIntent's payment method.
|
|
3227
|
-
#
|
|
3228
|
-
# If you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](/api/payment_methods/attach) the payment method to a Customer after the transaction completes.
|
|
3229
|
-
#
|
|
3230
|
-
# If the payment method is `card_present` and isn't a digital wallet, Stripe creates and attaches a [generated_card](/api/charges/object#charge_object-payment_method_details-card_present-generated_card) payment method representing the card to the Customer instead.
|
|
3231
|
-
#
|
|
3232
|
-
# When processing card payments, Stripe uses `setup_future_usage` to help you comply with regional legislation and network rules, such as [SCA](/strong-customer-authentication).
|
|
3233
|
-
attr_reader :setup_future_usage
|
|
3234
|
-
|
|
3235
|
-
def self.inner_class_types
|
|
3236
|
-
@inner_class_types = {}
|
|
3237
|
-
end
|
|
3238
|
-
|
|
3239
|
-
def self.field_remappings
|
|
3240
|
-
@field_remappings = {}
|
|
3241
|
-
end
|
|
3242
|
-
end
|
|
3243
|
-
|
|
3244
1929
|
class Ideal < ::Stripe::StripeObject
|
|
3245
1930
|
# Indicates that you intend to make future payments with this PaymentIntent's payment method.
|
|
3246
1931
|
#
|
|
@@ -3539,6 +2224,14 @@ module Stripe
|
|
|
3539
2224
|
class Payco < ::Stripe::StripeObject
|
|
3540
2225
|
# Controls when the funds will be captured from the customer's account.
|
|
3541
2226
|
attr_reader :capture_method
|
|
2227
|
+
# Indicates that you intend to make future payments with this PaymentIntent's payment method.
|
|
2228
|
+
#
|
|
2229
|
+
# If you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](/api/payment_methods/attach) the payment method to a Customer after the transaction completes.
|
|
2230
|
+
#
|
|
2231
|
+
# If the payment method is `card_present` and isn't a digital wallet, Stripe creates and attaches a [generated_card](/api/charges/object#charge_object-payment_method_details-card_present-generated_card) payment method representing the card to the Customer instead.
|
|
2232
|
+
#
|
|
2233
|
+
# When processing card payments, Stripe uses `setup_future_usage` to help you comply with regional legislation and network rules, such as [SCA](/strong-customer-authentication).
|
|
2234
|
+
attr_reader :setup_future_usage
|
|
3542
2235
|
|
|
3543
2236
|
def self.inner_class_types
|
|
3544
2237
|
@inner_class_types = {}
|
|
@@ -3569,56 +2262,12 @@ module Stripe
|
|
|
3569
2262
|
end
|
|
3570
2263
|
|
|
3571
2264
|
class Paypal < ::Stripe::StripeObject
|
|
3572
|
-
class LineItem < ::Stripe::StripeObject
|
|
3573
|
-
class Tax < ::Stripe::StripeObject
|
|
3574
|
-
# The tax for a single unit of the line item in minor units. Cannot be a negative number.
|
|
3575
|
-
attr_reader :amount
|
|
3576
|
-
# The tax behavior for the line item.
|
|
3577
|
-
attr_reader :behavior
|
|
3578
|
-
|
|
3579
|
-
def self.inner_class_types
|
|
3580
|
-
@inner_class_types = {}
|
|
3581
|
-
end
|
|
3582
|
-
|
|
3583
|
-
def self.field_remappings
|
|
3584
|
-
@field_remappings = {}
|
|
3585
|
-
end
|
|
3586
|
-
end
|
|
3587
|
-
# Type of the line item.
|
|
3588
|
-
attr_reader :category
|
|
3589
|
-
# Description of the line item.
|
|
3590
|
-
attr_reader :description
|
|
3591
|
-
# Descriptive name of the line item.
|
|
3592
|
-
attr_reader :name
|
|
3593
|
-
# Quantity of the line item. Cannot be a negative number.
|
|
3594
|
-
attr_reader :quantity
|
|
3595
|
-
# Client facing stock keeping unit, article number or similar.
|
|
3596
|
-
attr_reader :sku
|
|
3597
|
-
# The Stripe account ID of the connected account that sells the item. This is only needed when using [Separate Charges and Transfers](https://docs.stripe.com/connect/separate-charges-and-transfers).
|
|
3598
|
-
attr_reader :sold_by
|
|
3599
|
-
# Attribute for field tax
|
|
3600
|
-
attr_reader :tax
|
|
3601
|
-
# Price for a single unit of the line item in minor units. Cannot be a negative number.
|
|
3602
|
-
attr_reader :unit_amount
|
|
3603
|
-
|
|
3604
|
-
def self.inner_class_types
|
|
3605
|
-
@inner_class_types = { tax: Tax }
|
|
3606
|
-
end
|
|
3607
|
-
|
|
3608
|
-
def self.field_remappings
|
|
3609
|
-
@field_remappings = {}
|
|
3610
|
-
end
|
|
3611
|
-
end
|
|
3612
2265
|
# Controls when the funds will be captured from the customer's account.
|
|
3613
2266
|
attr_reader :capture_method
|
|
3614
|
-
# The line items purchased by the customer.
|
|
3615
|
-
attr_reader :line_items
|
|
3616
2267
|
# Preferred locale of the PayPal checkout page that the customer is redirected to.
|
|
3617
2268
|
attr_reader :preferred_locale
|
|
3618
2269
|
# A reference of the PayPal transaction visible to customer which is mapped to PayPal's invoice ID. This must be a globally unique ID if you have configured in your PayPal settings to block multiple payments per invoice ID.
|
|
3619
2270
|
attr_reader :reference
|
|
3620
|
-
# A reference of the PayPal transaction visible to customer which is mapped to PayPal's invoice ID. This must be a globally unique ID if you have configured in your PayPal settings to block multiple payments per invoice ID.
|
|
3621
|
-
attr_reader :reference_id
|
|
3622
2271
|
# Indicates that you intend to make future payments with this PaymentIntent's payment method.
|
|
3623
2272
|
#
|
|
3624
2273
|
# If you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](/api/payment_methods/attach) the payment method to a Customer after the transaction completes.
|
|
@@ -3627,19 +2276,7 @@ module Stripe
|
|
|
3627
2276
|
#
|
|
3628
2277
|
# When processing card payments, Stripe uses `setup_future_usage` to help you comply with regional legislation and network rules, such as [SCA](/strong-customer-authentication).
|
|
3629
2278
|
attr_reader :setup_future_usage
|
|
3630
|
-
# The Stripe connected account IDs of the sellers on the platform for this transaction (optional). Only allowed when [separate charges and transfers](https://stripe.com/docs/connect/separate-charges-and-transfers) are used.
|
|
3631
|
-
attr_reader :subsellers
|
|
3632
|
-
|
|
3633
|
-
def self.inner_class_types
|
|
3634
|
-
@inner_class_types = { line_items: LineItem }
|
|
3635
|
-
end
|
|
3636
|
-
|
|
3637
|
-
def self.field_remappings
|
|
3638
|
-
@field_remappings = {}
|
|
3639
|
-
end
|
|
3640
|
-
end
|
|
3641
2279
|
|
|
3642
|
-
class Paypay < ::Stripe::StripeObject
|
|
3643
2280
|
def self.inner_class_types
|
|
3644
2281
|
@inner_class_types = {}
|
|
3645
2282
|
end
|
|
@@ -3764,7 +2401,9 @@ module Stripe
|
|
|
3764
2401
|
end
|
|
3765
2402
|
end
|
|
3766
2403
|
|
|
3767
|
-
class
|
|
2404
|
+
class RevolutPay < ::Stripe::StripeObject
|
|
2405
|
+
# Controls when the funds will be captured from the customer's account.
|
|
2406
|
+
attr_reader :capture_method
|
|
3768
2407
|
# Indicates that you intend to make future payments with this PaymentIntent's payment method.
|
|
3769
2408
|
#
|
|
3770
2409
|
# If you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](/api/payment_methods/attach) the payment method to a Customer after the transaction completes.
|
|
@@ -3783,17 +2422,7 @@ module Stripe
|
|
|
3783
2422
|
end
|
|
3784
2423
|
end
|
|
3785
2424
|
|
|
3786
|
-
class
|
|
3787
|
-
def self.inner_class_types
|
|
3788
|
-
@inner_class_types = {}
|
|
3789
|
-
end
|
|
3790
|
-
|
|
3791
|
-
def self.field_remappings
|
|
3792
|
-
@field_remappings = {}
|
|
3793
|
-
end
|
|
3794
|
-
end
|
|
3795
|
-
|
|
3796
|
-
class RevolutPay < ::Stripe::StripeObject
|
|
2425
|
+
class SamsungPay < ::Stripe::StripeObject
|
|
3797
2426
|
# Controls when the funds will be captured from the customer's account.
|
|
3798
2427
|
attr_reader :capture_method
|
|
3799
2428
|
# Indicates that you intend to make future payments with this PaymentIntent's payment method.
|
|
@@ -3814,19 +2443,6 @@ module Stripe
|
|
|
3814
2443
|
end
|
|
3815
2444
|
end
|
|
3816
2445
|
|
|
3817
|
-
class SamsungPay < ::Stripe::StripeObject
|
|
3818
|
-
# Controls when the funds will be captured from the customer's account.
|
|
3819
|
-
attr_reader :capture_method
|
|
3820
|
-
|
|
3821
|
-
def self.inner_class_types
|
|
3822
|
-
@inner_class_types = {}
|
|
3823
|
-
end
|
|
3824
|
-
|
|
3825
|
-
def self.field_remappings
|
|
3826
|
-
@field_remappings = {}
|
|
3827
|
-
end
|
|
3828
|
-
end
|
|
3829
|
-
|
|
3830
2446
|
class Satispay < ::Stripe::StripeObject
|
|
3831
2447
|
# Controls when the funds will be captured from the customer's account.
|
|
3832
2448
|
attr_reader :capture_method
|
|
@@ -3896,25 +2512,6 @@ module Stripe
|
|
|
3896
2512
|
end
|
|
3897
2513
|
end
|
|
3898
2514
|
|
|
3899
|
-
class Shopeepay < ::Stripe::StripeObject
|
|
3900
|
-
# Indicates that you intend to make future payments with this PaymentIntent's payment method.
|
|
3901
|
-
#
|
|
3902
|
-
# If you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](/api/payment_methods/attach) the payment method to a Customer after the transaction completes.
|
|
3903
|
-
#
|
|
3904
|
-
# If the payment method is `card_present` and isn't a digital wallet, Stripe creates and attaches a [generated_card](/api/charges/object#charge_object-payment_method_details-card_present-generated_card) payment method representing the card to the Customer instead.
|
|
3905
|
-
#
|
|
3906
|
-
# When processing card payments, Stripe uses `setup_future_usage` to help you comply with regional legislation and network rules, such as [SCA](/strong-customer-authentication).
|
|
3907
|
-
attr_reader :setup_future_usage
|
|
3908
|
-
|
|
3909
|
-
def self.inner_class_types
|
|
3910
|
-
@inner_class_types = {}
|
|
3911
|
-
end
|
|
3912
|
-
|
|
3913
|
-
def self.field_remappings
|
|
3914
|
-
@field_remappings = {}
|
|
3915
|
-
end
|
|
3916
|
-
end
|
|
3917
|
-
|
|
3918
2515
|
class Sofort < ::Stripe::StripeObject
|
|
3919
2516
|
# Preferred language of the SOFORT authorization page that the customer is redirected to.
|
|
3920
2517
|
attr_reader :preferred_language
|
|
@@ -3936,25 +2533,6 @@ module Stripe
|
|
|
3936
2533
|
end
|
|
3937
2534
|
end
|
|
3938
2535
|
|
|
3939
|
-
class StripeBalance < ::Stripe::StripeObject
|
|
3940
|
-
# Indicates that you intend to make future payments with this PaymentIntent's payment method.
|
|
3941
|
-
#
|
|
3942
|
-
# If you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](/api/payment_methods/attach) the payment method to a Customer after the transaction completes.
|
|
3943
|
-
#
|
|
3944
|
-
# If the payment method is `card_present` and isn't a digital wallet, Stripe creates and attaches a [generated_card](/api/charges/object#charge_object-payment_method_details-card_present-generated_card) payment method representing the card to the Customer instead.
|
|
3945
|
-
#
|
|
3946
|
-
# When processing card payments, Stripe uses `setup_future_usage` to help you comply with regional legislation and network rules, such as [SCA](/strong-customer-authentication).
|
|
3947
|
-
attr_reader :setup_future_usage
|
|
3948
|
-
|
|
3949
|
-
def self.inner_class_types
|
|
3950
|
-
@inner_class_types = {}
|
|
3951
|
-
end
|
|
3952
|
-
|
|
3953
|
-
def self.field_remappings
|
|
3954
|
-
@field_remappings = {}
|
|
3955
|
-
end
|
|
3956
|
-
end
|
|
3957
|
-
|
|
3958
2536
|
class Sunbit < ::Stripe::StripeObject
|
|
3959
2537
|
# Controls when the funds will be captured from the customer's account.
|
|
3960
2538
|
attr_reader :capture_method
|
|
@@ -4040,21 +2618,6 @@ module Stripe
|
|
|
4040
2618
|
class Filters < ::Stripe::StripeObject
|
|
4041
2619
|
# The account subcategories to use to filter for possible accounts to link. Valid subcategories are `checking` and `savings`.
|
|
4042
2620
|
attr_reader :account_subcategories
|
|
4043
|
-
# The institution to use to filter for possible accounts to link.
|
|
4044
|
-
attr_reader :institution
|
|
4045
|
-
|
|
4046
|
-
def self.inner_class_types
|
|
4047
|
-
@inner_class_types = {}
|
|
4048
|
-
end
|
|
4049
|
-
|
|
4050
|
-
def self.field_remappings
|
|
4051
|
-
@field_remappings = {}
|
|
4052
|
-
end
|
|
4053
|
-
end
|
|
4054
|
-
|
|
4055
|
-
class ManualEntry < ::Stripe::StripeObject
|
|
4056
|
-
# Settings for configuring manual entry of account details.
|
|
4057
|
-
attr_reader :mode
|
|
4058
2621
|
|
|
4059
2622
|
def self.inner_class_types
|
|
4060
2623
|
@inner_class_types = {}
|
|
@@ -4066,8 +2629,6 @@ module Stripe
|
|
|
4066
2629
|
end
|
|
4067
2630
|
# Attribute for field filters
|
|
4068
2631
|
attr_reader :filters
|
|
4069
|
-
# Attribute for field manual_entry
|
|
4070
|
-
attr_reader :manual_entry
|
|
4071
2632
|
# The list of permissions to request. The `payment_method` permission must be included.
|
|
4072
2633
|
attr_reader :permissions
|
|
4073
2634
|
# Data features requested to be retrieved upon account creation.
|
|
@@ -4076,7 +2637,7 @@ module Stripe
|
|
|
4076
2637
|
attr_reader :return_url
|
|
4077
2638
|
|
|
4078
2639
|
def self.inner_class_types
|
|
4079
|
-
@inner_class_types = { filters: Filters
|
|
2640
|
+
@inner_class_types = { filters: Filters }
|
|
4080
2641
|
end
|
|
4081
2642
|
|
|
4082
2643
|
def self.field_remappings
|
|
@@ -4210,12 +2771,8 @@ module Stripe
|
|
|
4210
2771
|
attr_reader :fpx
|
|
4211
2772
|
# Attribute for field giropay
|
|
4212
2773
|
attr_reader :giropay
|
|
4213
|
-
# Attribute for field gopay
|
|
4214
|
-
attr_reader :gopay
|
|
4215
2774
|
# Attribute for field grabpay
|
|
4216
2775
|
attr_reader :grabpay
|
|
4217
|
-
# Attribute for field id_bank_transfer
|
|
4218
|
-
attr_reader :id_bank_transfer
|
|
4219
2776
|
# Attribute for field ideal
|
|
4220
2777
|
attr_reader :ideal
|
|
4221
2778
|
# Attribute for field interac_present
|
|
@@ -4252,18 +2809,12 @@ module Stripe
|
|
|
4252
2809
|
attr_reader :paynow
|
|
4253
2810
|
# Attribute for field paypal
|
|
4254
2811
|
attr_reader :paypal
|
|
4255
|
-
# Attribute for field paypay
|
|
4256
|
-
attr_reader :paypay
|
|
4257
2812
|
# Attribute for field payto
|
|
4258
2813
|
attr_reader :payto
|
|
4259
2814
|
# Attribute for field pix
|
|
4260
2815
|
attr_reader :pix
|
|
4261
2816
|
# Attribute for field promptpay
|
|
4262
2817
|
attr_reader :promptpay
|
|
4263
|
-
# Attribute for field qris
|
|
4264
|
-
attr_reader :qris
|
|
4265
|
-
# Attribute for field rechnung
|
|
4266
|
-
attr_reader :rechnung
|
|
4267
2818
|
# Attribute for field revolut_pay
|
|
4268
2819
|
attr_reader :revolut_pay
|
|
4269
2820
|
# Attribute for field samsung_pay
|
|
@@ -4274,12 +2825,8 @@ module Stripe
|
|
|
4274
2825
|
attr_reader :scalapay
|
|
4275
2826
|
# Attribute for field sepa_debit
|
|
4276
2827
|
attr_reader :sepa_debit
|
|
4277
|
-
# Attribute for field shopeepay
|
|
4278
|
-
attr_reader :shopeepay
|
|
4279
2828
|
# Attribute for field sofort
|
|
4280
2829
|
attr_reader :sofort
|
|
4281
|
-
# Attribute for field stripe_balance
|
|
4282
|
-
attr_reader :stripe_balance
|
|
4283
2830
|
# Attribute for field sunbit
|
|
4284
2831
|
attr_reader :sunbit
|
|
4285
2832
|
# Attribute for field swish
|
|
@@ -4318,9 +2865,7 @@ module Stripe
|
|
|
4318
2865
|
eps: Eps,
|
|
4319
2866
|
fpx: Fpx,
|
|
4320
2867
|
giropay: Giropay,
|
|
4321
|
-
gopay: Gopay,
|
|
4322
2868
|
grabpay: Grabpay,
|
|
4323
|
-
id_bank_transfer: IdBankTransfer,
|
|
4324
2869
|
ideal: Ideal,
|
|
4325
2870
|
interac_present: InteracPresent,
|
|
4326
2871
|
kakao_pay: KakaoPay,
|
|
@@ -4339,20 +2884,15 @@ module Stripe
|
|
|
4339
2884
|
payco: Payco,
|
|
4340
2885
|
paynow: Paynow,
|
|
4341
2886
|
paypal: Paypal,
|
|
4342
|
-
paypay: Paypay,
|
|
4343
2887
|
payto: Payto,
|
|
4344
2888
|
pix: Pix,
|
|
4345
2889
|
promptpay: Promptpay,
|
|
4346
|
-
qris: Qris,
|
|
4347
|
-
rechnung: Rechnung,
|
|
4348
2890
|
revolut_pay: RevolutPay,
|
|
4349
2891
|
samsung_pay: SamsungPay,
|
|
4350
2892
|
satispay: Satispay,
|
|
4351
2893
|
scalapay: Scalapay,
|
|
4352
2894
|
sepa_debit: SepaDebit,
|
|
4353
|
-
shopeepay: Shopeepay,
|
|
4354
2895
|
sofort: Sofort,
|
|
4355
|
-
stripe_balance: StripeBalance,
|
|
4356
2896
|
sunbit: Sunbit,
|
|
4357
2897
|
swish: Swish,
|
|
4358
2898
|
twint: Twint,
|
|
@@ -4424,19 +2964,6 @@ module Stripe
|
|
|
4424
2964
|
end
|
|
4425
2965
|
end
|
|
4426
2966
|
|
|
4427
|
-
class Redaction < ::Stripe::StripeObject
|
|
4428
|
-
# Indicates whether this object and its related objects have been redacted or not.
|
|
4429
|
-
attr_reader :status
|
|
4430
|
-
|
|
4431
|
-
def self.inner_class_types
|
|
4432
|
-
@inner_class_types = {}
|
|
4433
|
-
end
|
|
4434
|
-
|
|
4435
|
-
def self.field_remappings
|
|
4436
|
-
@field_remappings = {}
|
|
4437
|
-
end
|
|
4438
|
-
end
|
|
4439
|
-
|
|
4440
2967
|
class Shipping < ::Stripe::StripeObject
|
|
4441
2968
|
class Address < ::Stripe::StripeObject
|
|
4442
2969
|
# City, district, suburb, town, or village.
|
|
@@ -4516,6 +3043,8 @@ module Stripe
|
|
|
4516
3043
|
@field_remappings = {}
|
|
4517
3044
|
end
|
|
4518
3045
|
end
|
|
3046
|
+
# The list of payment method types allowed for use with this payment. Stripe automatically returns compatible payment methods from this list in the `payment_method_types` field of the response, based on the other PaymentIntent parameters, such as `currency`, `amount`, and `customer`.
|
|
3047
|
+
attr_reader :allowed_payment_method_types
|
|
4519
3048
|
# Amount intended to be collected by this PaymentIntent. A positive integer representing how much to charge in the [smallest currency unit](https://docs.stripe.com/currencies#zero-decimal) (e.g., 100 cents to charge $1.00 or 100 to charge ¥100, a zero-decimal currency). The minimum amount is $0.50 US or [equivalent in charge currency](https://docs.stripe.com/currencies#minimum-and-maximum-charge-amounts). The amount value supports up to eight digits (e.g., a value of 99999999 for a USD charge of $999,999.99).
|
|
4520
3049
|
attr_reader :amount
|
|
4521
3050
|
# Amount that can be captured from this PaymentIntent.
|
|
@@ -4528,8 +3057,6 @@ module Stripe
|
|
|
4528
3057
|
attr_reader :application
|
|
4529
3058
|
# The amount of the application fee (if any) that will be requested to be applied to the payment and transferred to the application owner's Stripe account. The amount of the application fee collected will be capped at the total amount captured. For more information, see the PaymentIntents [use case for connected accounts](https://docs.stripe.com/payments/connected-accounts).
|
|
4530
3059
|
attr_reader :application_fee_amount
|
|
4531
|
-
# Attribute for field async_workflows
|
|
4532
|
-
attr_reader :async_workflows
|
|
4533
3060
|
# Settings to configure compatible payment methods from the [Stripe Dashboard](https://dashboard.stripe.com/settings/payment_methods)
|
|
4534
3061
|
attr_reader :automatic_payment_methods
|
|
4535
3062
|
# Populated when `status` is `canceled`, this is the time at which the PaymentIntent was canceled. Measured in seconds since the Unix epoch.
|
|
@@ -4566,8 +3093,6 @@ module Stripe
|
|
|
4566
3093
|
attr_reader :description
|
|
4567
3094
|
# The list of payment method types to exclude from use with this payment.
|
|
4568
3095
|
attr_reader :excluded_payment_method_types
|
|
4569
|
-
# The FX Quote used for the PaymentIntent.
|
|
4570
|
-
attr_reader :fx_quote
|
|
4571
3096
|
# Attribute for field hooks
|
|
4572
3097
|
attr_reader :hooks
|
|
4573
3098
|
# Unique identifier for the object.
|
|
@@ -4605,12 +3130,8 @@ module Stripe
|
|
|
4605
3130
|
attr_reader :processing
|
|
4606
3131
|
# Email address that the receipt for the resulting payment will be sent to. If `receipt_email` is specified for a payment in live mode, a receipt will be sent regardless of your [email settings](https://dashboard.stripe.com/account/emails).
|
|
4607
3132
|
attr_reader :receipt_email
|
|
4608
|
-
# Redaction status of this PaymentIntent. If the PaymentIntent isn't redacted, this field is null.
|
|
4609
|
-
attr_reader :redaction
|
|
4610
3133
|
# ID of the review associated with this PaymentIntent, if any.
|
|
4611
3134
|
attr_reader :review
|
|
4612
|
-
# Indicates whether confirmation for this PaymentIntent using a secret key is `required` or `optional`.
|
|
4613
|
-
attr_reader :secret_key_confirmation
|
|
4614
3135
|
# Indicates that you intend to make future payments with this PaymentIntent's payment method.
|
|
4615
3136
|
#
|
|
4616
3137
|
# If you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](/api/payment_methods/attach) the payment method to a Customer after the transaction completes.
|
|
@@ -4804,56 +3325,6 @@ module Stripe
|
|
|
4804
3325
|
request_stripe_object(method: :post, path: "/v1/payment_intents", params: params, opts: opts)
|
|
4805
3326
|
end
|
|
4806
3327
|
|
|
4807
|
-
# Perform a decremental authorization on an eligible
|
|
4808
|
-
# [PaymentIntent](https://docs.stripe.com/docs/api/payment_intents/object). To be eligible, the
|
|
4809
|
-
# PaymentIntent's status must be requires_capture and
|
|
4810
|
-
# [decremental_authorization.status](https://docs.stripe.com/docs/api/charges/object#charge_object-payment_method_details-card-decremental_authorization)
|
|
4811
|
-
# must be available.
|
|
4812
|
-
#
|
|
4813
|
-
# Decremental authorizations decrease the authorized amount on your customer's card
|
|
4814
|
-
# to the new, lower amount provided. A single PaymentIntent can call this endpoint multiple times to further decrease the authorized amount.
|
|
4815
|
-
#
|
|
4816
|
-
# After decrement, the PaymentIntent object
|
|
4817
|
-
# returns with the updated
|
|
4818
|
-
# [amount](https://docs.stripe.com/docs/api/payment_intents/object#payment_intent_object-amount).
|
|
4819
|
-
# The PaymentIntent will now be capturable up to the new authorized amount.
|
|
4820
|
-
#
|
|
4821
|
-
# Each PaymentIntent can have a maximum of 10 decremental or incremental authorization attempts, including declines.
|
|
4822
|
-
# After it's fully captured, a PaymentIntent can no longer be decremented.
|
|
4823
|
-
def decrement_authorization(params = {}, opts = {})
|
|
4824
|
-
request_stripe_object(
|
|
4825
|
-
method: :post,
|
|
4826
|
-
path: format("/v1/payment_intents/%<intent>s/decrement_authorization", { intent: CGI.escape(self["id"]) }),
|
|
4827
|
-
params: params,
|
|
4828
|
-
opts: opts
|
|
4829
|
-
)
|
|
4830
|
-
end
|
|
4831
|
-
|
|
4832
|
-
# Perform a decremental authorization on an eligible
|
|
4833
|
-
# [PaymentIntent](https://docs.stripe.com/docs/api/payment_intents/object). To be eligible, the
|
|
4834
|
-
# PaymentIntent's status must be requires_capture and
|
|
4835
|
-
# [decremental_authorization.status](https://docs.stripe.com/docs/api/charges/object#charge_object-payment_method_details-card-decremental_authorization)
|
|
4836
|
-
# must be available.
|
|
4837
|
-
#
|
|
4838
|
-
# Decremental authorizations decrease the authorized amount on your customer's card
|
|
4839
|
-
# to the new, lower amount provided. A single PaymentIntent can call this endpoint multiple times to further decrease the authorized amount.
|
|
4840
|
-
#
|
|
4841
|
-
# After decrement, the PaymentIntent object
|
|
4842
|
-
# returns with the updated
|
|
4843
|
-
# [amount](https://docs.stripe.com/docs/api/payment_intents/object#payment_intent_object-amount).
|
|
4844
|
-
# The PaymentIntent will now be capturable up to the new authorized amount.
|
|
4845
|
-
#
|
|
4846
|
-
# Each PaymentIntent can have a maximum of 10 decremental or incremental authorization attempts, including declines.
|
|
4847
|
-
# After it's fully captured, a PaymentIntent can no longer be decremented.
|
|
4848
|
-
def self.decrement_authorization(intent, params = {}, opts = {})
|
|
4849
|
-
request_stripe_object(
|
|
4850
|
-
method: :post,
|
|
4851
|
-
path: format("/v1/payment_intents/%<intent>s/decrement_authorization", { intent: CGI.escape(intent) }),
|
|
4852
|
-
params: params,
|
|
4853
|
-
opts: opts
|
|
4854
|
-
)
|
|
4855
|
-
end
|
|
4856
|
-
|
|
4857
3328
|
# Perform an incremental authorization on an eligible
|
|
4858
3329
|
# [PaymentIntent](https://docs.stripe.com/docs/api/payment_intents/object). To be eligible, the
|
|
4859
3330
|
# PaymentIntent's status must be requires_capture and
|
|
@@ -4942,26 +3413,6 @@ module Stripe
|
|
|
4942
3413
|
search(params, opts).auto_paging_each(&blk)
|
|
4943
3414
|
end
|
|
4944
3415
|
|
|
4945
|
-
# Trigger an external action on a PaymentIntent.
|
|
4946
|
-
def trigger_action(params = {}, opts = {})
|
|
4947
|
-
request_stripe_object(
|
|
4948
|
-
method: :post,
|
|
4949
|
-
path: format("/v1/test/payment_intents/%<intent>s/trigger_action", { intent: CGI.escape(self["id"]) }),
|
|
4950
|
-
params: params,
|
|
4951
|
-
opts: opts
|
|
4952
|
-
)
|
|
4953
|
-
end
|
|
4954
|
-
|
|
4955
|
-
# Trigger an external action on a PaymentIntent.
|
|
4956
|
-
def self.trigger_action(intent, params = {}, opts = {})
|
|
4957
|
-
request_stripe_object(
|
|
4958
|
-
method: :post,
|
|
4959
|
-
path: format("/v1/test/payment_intents/%<intent>s/trigger_action", { intent: CGI.escape(intent) }),
|
|
4960
|
-
params: params,
|
|
4961
|
-
opts: opts
|
|
4962
|
-
)
|
|
4963
|
-
end
|
|
4964
|
-
|
|
4965
3416
|
# Updates properties on a PaymentIntent object without confirming.
|
|
4966
3417
|
#
|
|
4967
3418
|
# Depending on which properties you update, you might need to confirm the
|
|
@@ -5001,7 +3452,6 @@ module Stripe
|
|
|
5001
3452
|
def self.inner_class_types
|
|
5002
3453
|
@inner_class_types = {
|
|
5003
3454
|
amount_details: AmountDetails,
|
|
5004
|
-
async_workflows: AsyncWorkflows,
|
|
5005
3455
|
automatic_payment_methods: AutomaticPaymentMethods,
|
|
5006
3456
|
hooks: Hooks,
|
|
5007
3457
|
last_payment_error: LastPaymentError,
|
|
@@ -5012,7 +3462,6 @@ module Stripe
|
|
|
5012
3462
|
payment_method_options: PaymentMethodOptions,
|
|
5013
3463
|
presentment_details: PresentmentDetails,
|
|
5014
3464
|
processing: Processing,
|
|
5015
|
-
redaction: Redaction,
|
|
5016
3465
|
shipping: Shipping,
|
|
5017
3466
|
transfer_data: TransferData,
|
|
5018
3467
|
}
|