stripe 18.3.0.pre.alpha.1 → 18.3.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 +1 -37
- data/lib/stripe/api_version.rb +2 -1
- data/lib/stripe/errors.rb +0 -66
- data/lib/stripe/event_types.rb +0 -512
- data/lib/stripe/object_types.rb +1 -90
- data/lib/stripe/params/account_create_params.rb +3 -338
- data/lib/stripe/params/account_person_create_params.rb +0 -32
- data/lib/stripe/params/account_person_update_params.rb +0 -32
- data/lib/stripe/params/account_session_create_params.rb +4 -246
- data/lib/stripe/params/account_update_params.rb +2 -300
- data/lib/stripe/params/balance_transaction_list_params.rb +2 -2
- data/lib/stripe/params/billing/alert_create_params.rb +1 -121
- data/lib/stripe/params/billing/alert_list_params.rb +0 -4
- data/lib/stripe/params/billing/credit_balance_summary_retrieve_params.rb +1 -13
- data/lib/stripe/params/billing/credit_grant_create_params.rb +2 -29
- data/lib/stripe/params/billing/meter_create_params.rb +0 -4
- data/lib/stripe/params/billing/meter_event_summary_list_params.rb +0 -8
- data/lib/stripe/params/charge_capture_params.rb +0 -1648
- data/lib/stripe/params/charge_update_params.rb +0 -1648
- data/lib/stripe/params/checkout/session_create_params.rb +19 -234
- data/lib/stripe/params/checkout/session_update_params.rb +2 -157
- data/lib/stripe/params/confirmation_token_create_params.rb +0 -77
- data/lib/stripe/params/coupon_create_params.rb +2 -18
- 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 +1 -30
- data/lib/stripe/params/identity/verification_report_list_params.rb +0 -4
- data/lib/stripe/params/invoice_add_lines_params.rb +2 -49
- data/lib/stripe/params/invoice_attach_payment_params.rb +1 -43
- data/lib/stripe/params/invoice_create_params.rb +2 -107
- data/lib/stripe/params/invoice_create_preview_params.rb +10 -942
- 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 +2 -49
- data/lib/stripe/params/invoice_list_params.rb +0 -4
- data/lib/stripe/params/invoice_update_lines_params.rb +2 -49
- data/lib/stripe/params/invoice_update_params.rb +2 -107
- data/lib/stripe/params/issuing/card_list_params.rb +1 -34
- data/lib/stripe/params/issuing/cardholder_create_params.rb +1 -2
- data/lib/stripe/params/issuing/transaction_list_params.rb +0 -4
- data/lib/stripe/params/payment_intent_capture_params.rb +16 -1629
- data/lib/stripe/params/payment_intent_confirm_params.rb +136 -3121
- data/lib/stripe/params/payment_intent_create_params.rb +138 -3136
- data/lib/stripe/params/payment_intent_increment_authorization_params.rb +15 -23
- data/lib/stripe/params/payment_intent_update_params.rb +186 -3198
- data/lib/stripe/params/payment_link_create_params.rb +4 -19
- data/lib/stripe/params/payment_link_update_params.rb +3 -3
- data/lib/stripe/params/payment_method_configuration_create_params.rb +1 -106
- data/lib/stripe/params/payment_method_configuration_update_params.rb +1 -106
- data/lib/stripe/params/payment_method_create_params.rb +0 -77
- data/lib/stripe/params/plan_create_params.rb +1 -16
- data/lib/stripe/params/price_create_params.rb +1 -16
- data/lib/stripe/params/price_update_params.rb +0 -19
- data/lib/stripe/params/product_create_params.rb +1 -17
- data/lib/stripe/params/product_update_params.rb +1 -17
- data/lib/stripe/params/quote_create_params.rb +3 -1021
- data/lib/stripe/params/quote_list_params.rb +0 -4
- data/lib/stripe/params/quote_update_params.rb +4 -1029
- data/lib/stripe/params/radar/payment_evaluation_create_params.rb +223 -0
- data/lib/stripe/params/setup_intent_confirm_params.rb +3 -187
- data/lib/stripe/params/setup_intent_create_params.rb +3 -187
- data/lib/stripe/params/setup_intent_update_params.rb +4 -188
- data/lib/stripe/params/subscription_create_params.rb +5 -270
- 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_schedule_create_params.rb +5 -231
- data/lib/stripe/params/subscription_schedule_update_params.rb +5 -231
- data/lib/stripe/params/subscription_update_params.rb +4 -253
- data/lib/stripe/params/tax/calculation_create_params.rb +2 -6
- data/lib/stripe/params/tax_id_create_params.rb +1 -1
- data/lib/stripe/params/terminal/configuration_create_params.rb +1 -33
- data/lib/stripe/params/terminal/configuration_update_params.rb +0 -32
- data/lib/stripe/params/test_helpers/confirmation_token_create_params.rb +0 -77
- 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 +0 -64
- data/lib/stripe/params/transfer_create_params.rb +0 -8
- 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_transfer_create_params.rb +0 -24
- data/lib/stripe/params/treasury/received_credit_create_params.rb +1 -25
- data/lib/stripe/params/treasury/received_debit_create_params.rb +1 -25
- data/lib/stripe/params/v2/core/account_create_params.rb +28 -959
- data/lib/stripe/params/v2/core/account_token_create_params.rb +25 -251
- data/lib/stripe/params/v2/core/account_update_params.rb +28 -938
- data/lib/stripe/params/v2/core/event_list_params.rb +1 -4
- data/lib/stripe/params/v2/core/event_retrieve_params.rb +1 -8
- data/lib/stripe/params.rb +1 -274
- data/lib/stripe/resources/account.rb +1 -182
- data/lib/stripe/resources/account_session.rb +3 -111
- data/lib/stripe/resources/application_fee.rb +0 -2
- data/lib/stripe/resources/balance.rb +0 -83
- data/lib/stripe/resources/balance_transaction.rb +1 -1
- data/lib/stripe/resources/billing/alert.rb +1 -105
- data/lib/stripe/resources/billing/alert_triggered.rb +0 -6
- data/lib/stripe/resources/billing/credit_balance_summary.rb +2 -84
- data/lib/stripe/resources/billing/credit_balance_transaction.rb +2 -84
- data/lib/stripe/resources/billing/credit_grant.rb +2 -58
- data/lib/stripe/resources/billing/meter.rb +0 -2
- data/lib/stripe/resources/billing/meter_event_summary.rb +0 -2
- data/lib/stripe/resources/card.rb +1 -20
- data/lib/stripe/resources/charge.rb +2 -234
- data/lib/stripe/resources/checkout/session.rb +7 -199
- data/lib/stripe/resources/confirmation_token.rb +1 -152
- 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 +1 -1
- data/lib/stripe/resources/customer_session.rb +0 -36
- data/lib/stripe/resources/discount.rb +0 -2
- data/lib/stripe/resources/dispute.rb +0 -22
- data/lib/stripe/resources/event.rb +1 -64
- data/lib/stripe/resources/financial_connections/account.rb +0 -25
- data/lib/stripe/resources/financial_connections/session.rb +1 -65
- data/lib/stripe/resources/identity/verification_report.rb +0 -4
- data/lib/stripe/resources/invoice.rb +3 -170
- data/lib/stripe/resources/invoice_item.rb +2 -108
- data/lib/stripe/resources/invoice_line_item.rb +3 -147
- data/lib/stripe/resources/issuing/card.rb +0 -4
- data/lib/stripe/resources/issuing/transaction.rb +0 -2
- data/lib/stripe/resources/line_item.rb +0 -42
- data/lib/stripe/resources/mandate.rb +0 -43
- data/lib/stripe/resources/payment_attempt_record.rb +2 -182
- data/lib/stripe/resources/payment_intent.rb +22 -800
- data/lib/stripe/resources/payment_link.rb +1 -1
- data/lib/stripe/resources/payment_method.rb +1 -174
- data/lib/stripe/resources/payment_method_configuration.rb +0 -170
- data/lib/stripe/resources/payment_record.rb +2 -182
- data/lib/stripe/resources/person.rb +0 -36
- data/lib/stripe/resources/plan.rb +0 -2
- data/lib/stripe/resources/price.rb +0 -22
- data/lib/stripe/resources/quote.rb +2 -806
- data/lib/stripe/resources/radar/payment_evaluation.rb +515 -0
- data/lib/stripe/resources/refund.rb +0 -18
- data/lib/stripe/resources/setup_attempt.rb +1 -49
- data/lib/stripe/resources/setup_intent.rb +1 -128
- data/lib/stripe/resources/source.rb +0 -38
- data/lib/stripe/resources/subscription.rb +1 -250
- data/lib/stripe/resources/subscription_item.rb +1 -43
- data/lib/stripe/resources/subscription_schedule.rb +3 -290
- 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 +0 -128
- 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 -36
- data/lib/stripe/resources/terminal/reader.rb +0 -8
- data/lib/stripe/resources/transfer.rb +0 -6
- 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_transfer.rb +0 -30
- data/lib/stripe/resources/treasury/received_credit.rb +0 -30
- data/lib/stripe/resources/treasury/received_debit.rb +2 -32
- data/lib/stripe/resources/v2/core/account.rb +63 -1671
- data/lib/stripe/resources/v2/core/event.rb +1 -50
- data/lib/stripe/resources.rb +1 -218
- data/lib/stripe/services/billing_service.rb +1 -2
- data/lib/stripe/services/checkout/session_service.rb +1 -1
- data/lib/stripe/services/customer_service.rb +1 -1
- data/lib/stripe/services/financial_connections/account_service.rb +1 -3
- data/lib/stripe/services/financial_connections_service.rb +1 -2
- data/lib/stripe/services/identity_service.rb +1 -2
- data/lib/stripe/services/invoice_service.rb +1 -1
- data/lib/stripe/services/issuing_service.rb +1 -6
- 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 +0 -11
- data/lib/stripe/services/quote_service.rb +1 -49
- data/lib/stripe/services/{product_catalog/trial_offer_service.rb → radar/payment_evaluation_service.rb} +4 -4
- data/lib/stripe/services/radar_service.rb +2 -2
- data/lib/stripe/services/subscription_schedule_service.rb +0 -11
- data/lib/stripe/services/subscription_service.rb +0 -11
- 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 -3
- data/lib/stripe/services/v1_services.rb +1 -12
- data/lib/stripe/services/v2/billing_service.rb +1 -18
- data/lib/stripe/services/v2/core/account_link_service.rb +0 -2
- data/lib/stripe/services/v2/core/account_service.rb +0 -10
- data/lib/stripe/services/v2/core/account_token_service.rb +0 -4
- data/lib/stripe/services/v2/core/accounts/person_service.rb +0 -10
- data/lib/stripe/services/v2/core/accounts/person_token_service.rb +0 -4
- data/lib/stripe/services/v2/core_service.rb +1 -3
- data/lib/stripe/services/v2_services.rb +1 -7
- data/lib/stripe/services.rb +1 -99
- data/lib/stripe/stripe_configuration.rb +1 -3
- data/lib/stripe/stripe_object.rb +1 -1
- data/lib/stripe/util.rb +4 -16
- data/lib/stripe/version.rb +1 -1
- data/lib/stripe.rb +0 -53
- data/rbi/stripe.rbi +85390 -164572
- metadata +7 -595
- data/lib/stripe/events/v2_billing_cadence_billed_event.rb +0 -61
- data/lib/stripe/events/v2_billing_cadence_canceled_event.rb +0 -44
- data/lib/stripe/events/v2_billing_cadence_created_event.rb +0 -61
- data/lib/stripe/events/v2_billing_license_fee_created_event.rb +0 -44
- data/lib/stripe/events/v2_billing_license_fee_updated_event.rb +0 -44
- data/lib/stripe/events/v2_billing_license_fee_version_created_event.rb +0 -61
- data/lib/stripe/events/v2_billing_licensed_item_created_event.rb +0 -44
- data/lib/stripe/events/v2_billing_licensed_item_updated_event.rb +0 -44
- data/lib/stripe/events/v2_billing_metered_item_created_event.rb +0 -44
- data/lib/stripe/events/v2_billing_metered_item_updated_event.rb +0 -44
- data/lib/stripe/events/v2_billing_pricing_plan_component_created_event.rb +0 -61
- data/lib/stripe/events/v2_billing_pricing_plan_component_updated_event.rb +0 -61
- data/lib/stripe/events/v2_billing_pricing_plan_created_event.rb +0 -44
- data/lib/stripe/events/v2_billing_pricing_plan_subscription_collection_awaiting_customer_action_event.rb +0 -44
- data/lib/stripe/events/v2_billing_pricing_plan_subscription_collection_current_event.rb +0 -44
- data/lib/stripe/events/v2_billing_pricing_plan_subscription_collection_past_due_event.rb +0 -44
- data/lib/stripe/events/v2_billing_pricing_plan_subscription_collection_paused_event.rb +0 -44
- data/lib/stripe/events/v2_billing_pricing_plan_subscription_collection_unpaid_event.rb +0 -44
- data/lib/stripe/events/v2_billing_pricing_plan_subscription_servicing_activated_event.rb +0 -44
- data/lib/stripe/events/v2_billing_pricing_plan_subscription_servicing_canceled_event.rb +0 -44
- data/lib/stripe/events/v2_billing_pricing_plan_subscription_servicing_paused_event.rb +0 -44
- data/lib/stripe/events/v2_billing_pricing_plan_updated_event.rb +0 -44
- data/lib/stripe/events/v2_billing_pricing_plan_version_created_event.rb +0 -61
- data/lib/stripe/events/v2_billing_rate_card_created_event.rb +0 -61
- data/lib/stripe/events/v2_billing_rate_card_rate_created_event.rb +0 -67
- data/lib/stripe/events/v2_billing_rate_card_subscription_activated_event.rb +0 -44
- data/lib/stripe/events/v2_billing_rate_card_subscription_canceled_event.rb +0 -44
- data/lib/stripe/events/v2_billing_rate_card_subscription_collection_awaiting_customer_action_event.rb +0 -44
- data/lib/stripe/events/v2_billing_rate_card_subscription_collection_current_event.rb +0 -44
- data/lib/stripe/events/v2_billing_rate_card_subscription_collection_past_due_event.rb +0 -44
- data/lib/stripe/events/v2_billing_rate_card_subscription_collection_paused_event.rb +0 -44
- data/lib/stripe/events/v2_billing_rate_card_subscription_collection_unpaid_event.rb +0 -44
- data/lib/stripe/events/v2_billing_rate_card_subscription_servicing_activated_event.rb +0 -44
- data/lib/stripe/events/v2_billing_rate_card_subscription_servicing_canceled_event.rb +0 -44
- data/lib/stripe/events/v2_billing_rate_card_subscription_servicing_paused_event.rb +0 -44
- data/lib/stripe/events/v2_billing_rate_card_updated_event.rb +0 -44
- data/lib/stripe/events/v2_billing_rate_card_version_created_event.rb +0 -61
- data/lib/stripe/events/v2_core_account_including_configuration_card_creator_capability_status_updated_event.rb +0 -63
- data/lib/stripe/events/v2_core_account_including_configuration_card_creator_updated_event.rb +0 -44
- data/lib/stripe/events/v2_core_account_including_configuration_storer_capability_status_updated_event.rb +0 -63
- data/lib/stripe/events/v2_core_account_including_configuration_storer_updated_event.rb +0 -44
- data/lib/stripe/events/v2_core_claimable_sandbox_claimed_event.rb +0 -44
- data/lib/stripe/events/v2_core_claimable_sandbox_created_event.rb +0 -44
- data/lib/stripe/events/v2_core_claimable_sandbox_expired_event.rb +0 -44
- data/lib/stripe/events/v2_core_claimable_sandbox_expiring_event.rb +0 -44
- data/lib/stripe/events/v2_core_claimable_sandbox_sandbox_details_owner_account_updated_event.rb +0 -44
- data/lib/stripe/events/v2_core_health_api_error_firing_event.rb +0 -86
- data/lib/stripe/events/v2_core_health_api_error_resolved_event.rb +0 -86
- data/lib/stripe/events/v2_core_health_api_latency_firing_event.rb +0 -84
- data/lib/stripe/events/v2_core_health_api_latency_resolved_event.rb +0 -84
- data/lib/stripe/events/v2_core_health_authorization_rate_drop_firing_event.rb +0 -80
- data/lib/stripe/events/v2_core_health_authorization_rate_drop_resolved_event.rb +0 -80
- data/lib/stripe/events/v2_core_health_event_generation_failure_resolved_event.rb +0 -78
- data/lib/stripe/events/v2_core_health_fraud_rate_increased_event.rb +0 -78
- data/lib/stripe/events/v2_core_health_issuing_authorization_request_errors_firing_event.rb +0 -91
- data/lib/stripe/events/v2_core_health_issuing_authorization_request_errors_resolved_event.rb +0 -93
- data/lib/stripe/events/v2_core_health_issuing_authorization_request_timeout_firing_event.rb +0 -93
- data/lib/stripe/events/v2_core_health_issuing_authorization_request_timeout_resolved_event.rb +0 -93
- data/lib/stripe/events/v2_core_health_payment_method_error_firing_event.rb +0 -82
- data/lib/stripe/events/v2_core_health_payment_method_error_resolved_event.rb +0 -82
- data/lib/stripe/events/v2_core_health_sepa_debit_delayed_firing_event.rb +0 -58
- data/lib/stripe/events/v2_core_health_sepa_debit_delayed_resolved_event.rb +0 -60
- data/lib/stripe/events/v2_core_health_traffic_volume_drop_firing_event.rb +0 -62
- data/lib/stripe/events/v2_core_health_traffic_volume_drop_resolved_event.rb +0 -62
- data/lib/stripe/events/v2_core_health_webhook_latency_firing_event.rb +0 -58
- data/lib/stripe/events/v2_core_health_webhook_latency_resolved_event.rb +0 -58
- data/lib/stripe/events/v2_iam_api_key_created_event.rb +0 -20
- data/lib/stripe/events/v2_iam_api_key_default_secret_revealed_event.rb +0 -20
- data/lib/stripe/events/v2_iam_api_key_expired_event.rb +0 -20
- data/lib/stripe/events/v2_iam_api_key_permissions_updated_event.rb +0 -20
- data/lib/stripe/events/v2_iam_api_key_rotated_event.rb +0 -38
- data/lib/stripe/events/v2_iam_api_key_updated_event.rb +0 -20
- data/lib/stripe/events/v2_money_management_adjustment_created_event.rb +0 -44
- data/lib/stripe/events/v2_money_management_financial_account_created_event.rb +0 -44
- data/lib/stripe/events/v2_money_management_financial_account_updated_event.rb +0 -44
- data/lib/stripe/events/v2_money_management_financial_address_activated_event.rb +0 -44
- data/lib/stripe/events/v2_money_management_financial_address_failed_event.rb +0 -44
- data/lib/stripe/events/v2_money_management_inbound_transfer_available_event.rb +0 -61
- data/lib/stripe/events/v2_money_management_inbound_transfer_bank_debit_failed_event.rb +0 -44
- data/lib/stripe/events/v2_money_management_inbound_transfer_bank_debit_processing_event.rb +0 -44
- data/lib/stripe/events/v2_money_management_inbound_transfer_bank_debit_queued_event.rb +0 -44
- data/lib/stripe/events/v2_money_management_inbound_transfer_bank_debit_returned_event.rb +0 -44
- data/lib/stripe/events/v2_money_management_inbound_transfer_bank_debit_succeeded_event.rb +0 -44
- data/lib/stripe/events/v2_money_management_outbound_payment_canceled_event.rb +0 -44
- data/lib/stripe/events/v2_money_management_outbound_payment_created_event.rb +0 -44
- data/lib/stripe/events/v2_money_management_outbound_payment_failed_event.rb +0 -44
- data/lib/stripe/events/v2_money_management_outbound_payment_posted_event.rb +0 -44
- data/lib/stripe/events/v2_money_management_outbound_payment_returned_event.rb +0 -44
- data/lib/stripe/events/v2_money_management_outbound_payment_updated_event.rb +0 -44
- data/lib/stripe/events/v2_money_management_outbound_transfer_canceled_event.rb +0 -44
- data/lib/stripe/events/v2_money_management_outbound_transfer_created_event.rb +0 -44
- data/lib/stripe/events/v2_money_management_outbound_transfer_failed_event.rb +0 -44
- data/lib/stripe/events/v2_money_management_outbound_transfer_posted_event.rb +0 -44
- data/lib/stripe/events/v2_money_management_outbound_transfer_returned_event.rb +0 -44
- data/lib/stripe/events/v2_money_management_outbound_transfer_updated_event.rb +0 -44
- data/lib/stripe/events/v2_money_management_payout_method_created_event.rb +0 -44
- data/lib/stripe/events/v2_money_management_payout_method_updated_event.rb +0 -44
- data/lib/stripe/events/v2_money_management_received_credit_available_event.rb +0 -61
- data/lib/stripe/events/v2_money_management_received_credit_failed_event.rb +0 -44
- data/lib/stripe/events/v2_money_management_received_credit_returned_event.rb +0 -44
- data/lib/stripe/events/v2_money_management_received_credit_succeeded_event.rb +0 -44
- data/lib/stripe/events/v2_money_management_received_debit_canceled_event.rb +0 -44
- data/lib/stripe/events/v2_money_management_received_debit_failed_event.rb +0 -44
- data/lib/stripe/events/v2_money_management_received_debit_pending_event.rb +0 -44
- data/lib/stripe/events/v2_money_management_received_debit_succeeded_event.rb +0 -44
- data/lib/stripe/events/v2_money_management_received_debit_updated_event.rb +0 -44
- data/lib/stripe/events/v2_money_management_recipient_verification_created_event.rb +0 -44
- data/lib/stripe/events/v2_money_management_recipient_verification_updated_event.rb +0 -44
- data/lib/stripe/events/v2_money_management_transaction_created_event.rb +0 -61
- data/lib/stripe/events/v2_money_management_transaction_updated_event.rb +0 -44
- data/lib/stripe/events/v2_payments_off_session_payment_attempt_failed_event.rb +0 -44
- data/lib/stripe/events/v2_payments_off_session_payment_attempt_started_event.rb +0 -46
- data/lib/stripe/events/v2_payments_off_session_payment_authorization_attempt_failed_event.rb +0 -46
- data/lib/stripe/events/v2_payments_off_session_payment_authorization_attempt_started_event.rb +0 -48
- data/lib/stripe/events/v2_payments_off_session_payment_canceled_event.rb +0 -44
- data/lib/stripe/events/v2_payments_off_session_payment_created_event.rb +0 -44
- data/lib/stripe/events/v2_payments_off_session_payment_failed_event.rb +0 -44
- data/lib/stripe/events/v2_payments_off_session_payment_requires_capture_event.rb +0 -44
- data/lib/stripe/events/v2_payments_off_session_payment_succeeded_event.rb +0 -44
- data/lib/stripe/events/v2_payments_settlement_allocation_intent_canceled_event.rb +0 -44
- data/lib/stripe/events/v2_payments_settlement_allocation_intent_created_event.rb +0 -44
- data/lib/stripe/events/v2_payments_settlement_allocation_intent_errored_event.rb +0 -65
- data/lib/stripe/events/v2_payments_settlement_allocation_intent_funds_not_received_event.rb +0 -44
- data/lib/stripe/events/v2_payments_settlement_allocation_intent_matched_event.rb +0 -44
- data/lib/stripe/events/v2_payments_settlement_allocation_intent_not_found_event.rb +0 -38
- data/lib/stripe/events/v2_payments_settlement_allocation_intent_settled_event.rb +0 -44
- data/lib/stripe/events/v2_payments_settlement_allocation_intent_split_canceled_event.rb +0 -61
- data/lib/stripe/events/v2_payments_settlement_allocation_intent_split_created_event.rb +0 -61
- data/lib/stripe/events/v2_payments_settlement_allocation_intent_split_settled_event.rb +0 -61
- data/lib/stripe/events/v2_payments_settlement_allocation_intent_submitted_event.rb +0 -44
- data/lib/stripe/events/v2_reporting_report_run_created_event.rb +0 -44
- data/lib/stripe/events/v2_reporting_report_run_failed_event.rb +0 -44
- data/lib/stripe/events/v2_reporting_report_run_succeeded_event.rb +0 -44
- data/lib/stripe/events/v2_reporting_report_run_updated_event.rb +0 -44
- data/lib/stripe/params/account_notice_list_params.rb +0 -25
- data/lib/stripe/params/account_notice_retrieve_params.rb +0 -13
- data/lib/stripe/params/account_notice_update_params.rb +0 -36
- data/lib/stripe/params/balance_transfer_create_params.rb +0 -66
- data/lib/stripe/params/billing/analytics/meter_usage_retrieve_params.rb +0 -69
- data/lib/stripe/params/capital/financing_offer_create_params.rb +0 -37
- 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_refill_params.rb +0 -37
- 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/delegated_checkout/requested_session_confirm_params.rb +0 -138
- data/lib/stripe/params/delegated_checkout/requested_session_create_params.rb +0 -205
- data/lib/stripe/params/delegated_checkout/requested_session_expire_params.rb +0 -15
- data/lib/stripe/params/delegated_checkout/requested_session_retrieve_params.rb +0 -15
- data/lib/stripe/params/delegated_checkout/requested_session_update_params.rb +0 -209
- 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/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/identity/blocklist_entry_create_params.rb +0 -29
- data/lib/stripe/params/identity/blocklist_entry_disable_params.rb +0 -15
- data/lib/stripe/params/identity/blocklist_entry_list_params.rb +0 -62
- data/lib/stripe/params/identity/blocklist_entry_retrieve_params.rb +0 -15
- 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/issuing/program_create_params.rb +0 -21
- data/lib/stripe/params/issuing/program_list_params.rb +0 -24
- data/lib/stripe/params/issuing/program_retrieve_params.rb +0 -15
- data/lib/stripe/params/issuing/program_update_params.rb +0 -21
- 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_cancel_params.rb +0 -13
- data/lib/stripe/params/order_create_params.rb +0 -2061
- data/lib/stripe/params/order_line_item_list_params.rb +0 -22
- data/lib/stripe/params/order_list_line_items_params.rb +0 -22
- data/lib/stripe/params/order_list_params.rb +0 -25
- data/lib/stripe/params/order_reopen_params.rb +0 -13
- 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 -2065
- data/lib/stripe/params/payment_intent_decrement_authorization_params.rb +0 -73
- data/lib/stripe/params/payment_intent_trigger_action_params.rb +0 -27
- data/lib/stripe/params/payment_method_check_balance_params.rb +0 -13
- data/lib/stripe/params/privacy/redaction_job_cancel_params.rb +0 -15
- data/lib/stripe/params/privacy/redaction_job_create_params.rb +0 -67
- data/lib/stripe/params/privacy/redaction_job_list_params.rb +0 -27
- data/lib/stripe/params/privacy/redaction_job_retrieve_params.rb +0 -15
- data/lib/stripe/params/privacy/redaction_job_run_params.rb +0 -15
- data/lib/stripe/params/privacy/redaction_job_update_params.rb +0 -18
- data/lib/stripe/params/privacy/redaction_job_validate_params.rb +0 -15
- data/lib/stripe/params/privacy/redaction_job_validation_error_list_params.rb +0 -24
- data/lib/stripe/params/product_catalog/trial_offer_create_params.rb +0 -63
- data/lib/stripe/params/quote_line_list_params.rb +0 -22
- data/lib/stripe/params/quote_list_lines_params.rb +0 -22
- data/lib/stripe/params/quote_list_preview_invoice_lines_params.rb +0 -22
- data/lib/stripe/params/quote_mark_draft_params.rb +0 -13
- data/lib/stripe/params/quote_mark_stale_params.rb +0 -16
- data/lib/stripe/params/quote_preview_invoice_list_params.rb +0 -22
- data/lib/stripe/params/quote_preview_subscription_schedule_list_params.rb +0 -22
- data/lib/stripe/params/quote_reestimate_params.rb +0 -13
- data/lib/stripe/params/radar/account_evaluation_create_params.rb +0 -81
- data/lib/stripe/params/radar/account_evaluation_retrieve_params.rb +0 -15
- data/lib/stripe/params/radar/account_evaluation_update_params.rb +0 -41
- 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/subscription_attach_cadence_params.rb +0 -16
- data/lib/stripe/params/subscription_schedule_amend_params.rb +0 -609
- 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/capital/financing_offer_create_params.rb +0 -39
- data/lib/stripe/params/test_helpers/capital/financing_offer_refill_params.rb +0 -39
- 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 -17
- data/lib/stripe/params/v2/billing/cadence_create_params.rb +0 -257
- 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 -78
- data/lib/stripe/params/v2/billing/collection_setting_create_params.rb +0 -223
- 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 -229
- 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/custom_pricing_unit_create_params.rb +0 -26
- data/lib/stripe/params/v2/billing/custom_pricing_unit_list_params.rb +0 -24
- data/lib/stripe/params/v2/billing/custom_pricing_unit_retrieve_params.rb +0 -10
- data/lib/stripe/params/v2/billing/custom_pricing_unit_update_params.rb +0 -26
- data/lib/stripe/params/v2/billing/intent_cancel_params.rb +0 -10
- data/lib/stripe/params/v2/billing/intent_commit_params.rb +0 -17
- data/lib/stripe/params/v2/billing/intent_create_params.rb +0 -425
- data/lib/stripe/params/v2/billing/intent_list_params.rb +0 -17
- data/lib/stripe/params/v2/billing/intent_release_reservation_params.rb +0 -10
- data/lib/stripe/params/v2/billing/intent_reserve_params.rb +0 -10
- data/lib/stripe/params/v2/billing/intent_retrieve_params.rb +0 -10
- data/lib/stripe/params/v2/billing/intents/action_list_params.rb +0 -19
- data/lib/stripe/params/v2/billing/intents/action_retrieve_params.rb +0 -12
- data/lib/stripe/params/v2/billing/license_fee_create_params.rb +0 -103
- data/lib/stripe/params/v2/billing/license_fee_list_params.rb +0 -24
- data/lib/stripe/params/v2/billing/license_fee_retrieve_params.rb +0 -10
- data/lib/stripe/params/v2/billing/license_fee_subscription_retrieve_params.rb +0 -10
- data/lib/stripe/params/v2/billing/license_fee_update_params.rb +0 -84
- data/lib/stripe/params/v2/billing/license_fees/version_list_params.rb +0 -19
- data/lib/stripe/params/v2/billing/license_fees/version_retrieve_params.rb +0 -12
- data/lib/stripe/params/v2/billing/licensed_item_create_params.rb +0 -48
- data/lib/stripe/params/v2/billing/licensed_item_list_params.rb +0 -21
- data/lib/stripe/params/v2/billing/licensed_item_retrieve_params.rb +0 -10
- data/lib/stripe/params/v2/billing/licensed_item_update_params.rb +0 -48
- data/lib/stripe/params/v2/billing/metered_item_create_params.rb +0 -73
- data/lib/stripe/params/v2/billing/metered_item_list_params.rb +0 -21
- data/lib/stripe/params/v2/billing/metered_item_retrieve_params.rb +0 -10
- data/lib/stripe/params/v2/billing/metered_item_update_params.rb +0 -50
- data/lib/stripe/params/v2/billing/pricing_plan_create_params.rb +0 -39
- data/lib/stripe/params/v2/billing/pricing_plan_list_params.rb +0 -24
- data/lib/stripe/params/v2/billing/pricing_plan_retrieve_params.rb +0 -10
- data/lib/stripe/params/v2/billing/pricing_plan_subscription_list_params.rb +0 -50
- data/lib/stripe/params/v2/billing/pricing_plan_subscription_retrieve_params.rb +0 -10
- data/lib/stripe/params/v2/billing/pricing_plan_subscription_update_params.rb +0 -20
- data/lib/stripe/params/v2/billing/pricing_plan_subscriptions/component_retrieve_params.rb +0 -12
- data/lib/stripe/params/v2/billing/pricing_plan_update_params.rb +0 -39
- data/lib/stripe/params/v2/billing/pricing_plans/component_create_params.rb +0 -73
- data/lib/stripe/params/v2/billing/pricing_plans/component_delete_params.rb +0 -12
- data/lib/stripe/params/v2/billing/pricing_plans/component_list_params.rb +0 -27
- data/lib/stripe/params/v2/billing/pricing_plans/component_retrieve_params.rb +0 -12
- data/lib/stripe/params/v2/billing/pricing_plans/component_update_params.rb +0 -22
- data/lib/stripe/params/v2/billing/pricing_plans/version_list_params.rb +0 -19
- data/lib/stripe/params/v2/billing/pricing_plans/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/billing/rate_card_create_params.rb +0 -49
- data/lib/stripe/params/v2/billing/rate_card_list_params.rb +0 -24
- data/lib/stripe/params/v2/billing/rate_card_retrieve_params.rb +0 -10
- data/lib/stripe/params/v2/billing/rate_card_subscription_cancel_params.rb +0 -10
- data/lib/stripe/params/v2/billing/rate_card_subscription_create_params.rb +0 -26
- data/lib/stripe/params/v2/billing/rate_card_subscription_list_params.rb +0 -51
- data/lib/stripe/params/v2/billing/rate_card_subscription_retrieve_params.rb +0 -10
- data/lib/stripe/params/v2/billing/rate_card_subscription_update_params.rb +0 -17
- data/lib/stripe/params/v2/billing/rate_card_update_params.rb +0 -38
- data/lib/stripe/params/v2/billing/rate_cards/rate_create_params.rb +0 -91
- data/lib/stripe/params/v2/billing/rate_cards/rate_delete_params.rb +0 -12
- data/lib/stripe/params/v2/billing/rate_cards/rate_list_params.rb +0 -25
- data/lib/stripe/params/v2/billing/rate_cards/rate_retrieve_params.rb +0 -12
- data/lib/stripe/params/v2/billing/rate_cards/version_list_params.rb +0 -19
- data/lib/stripe/params/v2/billing/rate_cards/version_retrieve_params.rb +0 -12
- data/lib/stripe/params/v2/billing/service_action_create_params.rb +0 -278
- data/lib/stripe/params/v2/billing/service_action_retrieve_params.rb +0 -10
- data/lib/stripe/params/v2/billing/service_action_update_params.rb +0 -40
- data/lib/stripe/params/v2/core/claimable_sandbox_create_params.rb +0 -36
- data/lib/stripe/params/v2/core/claimable_sandbox_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 -50
- 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 -33
- 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/iam/api_key_create_params.rb +0 -51
- data/lib/stripe/params/v2/iam/api_key_expire_params.rb +0 -10
- data/lib/stripe/params/v2/iam/api_key_list_params.rb +0 -20
- data/lib/stripe/params/v2/iam/api_key_retrieve_params.rb +0 -10
- data/lib/stripe/params/v2/iam/api_key_rotate_params.rb +0 -46
- data/lib/stripe/params/v2/iam/api_key_update_params.rb +0 -20
- 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/currency_conversion_create_params.rb +0 -68
- data/lib/stripe/params/v2/money_management/currency_conversion_list_params.rb +0 -20
- data/lib/stripe/params/v2/money_management/currency_conversion_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 -23
- 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 -31
- 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 -62
- 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 -134
- 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 -82
- 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 -103
- 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 -80
- 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 -93
- 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/recipient_verification_acknowledge_params.rb +0 -10
- data/lib/stripe/params/v2/money_management/recipient_verification_create_params.rb +0 -20
- data/lib/stripe/params/v2/money_management/recipient_verification_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/payments/off_session_payment_cancel_params.rb +0 -10
- data/lib/stripe/params/v2/payments/off_session_payment_capture_params.rb +0 -57
- data/lib/stripe/params/v2/payments/off_session_payment_create_params.rb +0 -161
- data/lib/stripe/params/v2/payments/off_session_payment_list_params.rb +0 -17
- data/lib/stripe/params/v2/payments/off_session_payment_retrieve_params.rb +0 -10
- data/lib/stripe/params/v2/payments/settlement_allocation_intent_cancel_params.rb +0 -10
- data/lib/stripe/params/v2/payments/settlement_allocation_intent_create_params.rb +0 -46
- data/lib/stripe/params/v2/payments/settlement_allocation_intent_retrieve_params.rb +0 -10
- data/lib/stripe/params/v2/payments/settlement_allocation_intent_submit_params.rb +0 -10
- data/lib/stripe/params/v2/payments/settlement_allocation_intent_update_params.rb +0 -31
- data/lib/stripe/params/v2/payments/settlement_allocation_intents/split_cancel_params.rb +0 -12
- data/lib/stripe/params/v2/payments/settlement_allocation_intents/split_create_params.rb +0 -39
- data/lib/stripe/params/v2/payments/settlement_allocation_intents/split_retrieve_params.rb +0 -12
- data/lib/stripe/params/v2/reporting/report_retrieve_params.rb +0 -10
- data/lib/stripe/params/v2/reporting/report_run_create_params.rb +0 -33
- data/lib/stripe/params/v2/reporting/report_run_retrieve_params.rb +0 -10
- data/lib/stripe/params/v2/tax/manual_rule_create_params.rb +0 -94
- data/lib/stripe/params/v2/tax/manual_rule_deactivate_params.rb +0 -10
- data/lib/stripe/params/v2/tax/manual_rule_list_params.rb +0 -17
- data/lib/stripe/params/v2/tax/manual_rule_retrieve_params.rb +0 -10
- data/lib/stripe/params/v2/tax/manual_rule_update_params.rb +0 -94
- data/lib/stripe/params/v2/test_helpers/financial_address_credit_params.rb +0 -34
- data/lib/stripe/params/v2/test_helpers/financial_address_generate_microdeposits_params.rb +0 -10
- data/lib/stripe/params/v2/test_helpers/money_management_recipient_verifications_params.rb +0 -24
- data/lib/stripe/resources/account_notice.rb +0 -94
- data/lib/stripe/resources/balance_transfer.rb +0 -139
- data/lib/stripe/resources/billing/analytics/meter_usage.rb +0 -33
- data/lib/stripe/resources/billing/analytics/meter_usage_row.rb +0 -40
- data/lib/stripe/resources/capital/financing_offer.rb +0 -183
- data/lib/stripe/resources/capital/financing_summary.rb +0 -82
- data/lib/stripe/resources/capital/financing_transaction.rb +0 -99
- data/lib/stripe/resources/delegated_checkout/requested_session.rb +0 -509
- 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/identity/blocklist_entry.rb +0 -116
- 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/program.rb +0 -69
- data/lib/stripe/resources/issuing/settlement.rb +0 -61
- data/lib/stripe/resources/margin.rb +0 -64
- data/lib/stripe/resources/order.rb +0 -987
- data/lib/stripe/resources/payment_method_balance.rb +0 -68
- data/lib/stripe/resources/privacy/redaction_job.rb +0 -187
- data/lib/stripe/resources/privacy/redaction_job_validation_error.rb +0 -49
- data/lib/stripe/resources/product_catalog/trial_offer.rb +0 -103
- data/lib/stripe/resources/quote_line.rb +0 -527
- data/lib/stripe/resources/quote_preview_invoice.rb +0 -1200
- data/lib/stripe/resources/quote_preview_subscription_schedule.rb +0 -826
- data/lib/stripe/resources/radar/account_evaluation.rb +0 -145
- data/lib/stripe/resources/shared_payment/granted_token.rb +0 -126
- 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/transit_balance.rb +0 -45
- data/lib/stripe/resources/v2/billing/bill_setting.rb +0 -102
- data/lib/stripe/resources/v2/billing/bill_setting_version.rb +0 -90
- data/lib/stripe/resources/v2/billing/cadence.rb +0 -655
- data/lib/stripe/resources/v2/billing/collection_setting.rb +0 -274
- data/lib/stripe/resources/v2/billing/collection_setting_version.rb +0 -262
- data/lib/stripe/resources/v2/billing/custom_pricing_unit.rb +0 -43
- data/lib/stripe/resources/v2/billing/intent.rb +0 -86
- data/lib/stripe/resources/v2/billing/intent_action.rb +0 -483
- data/lib/stripe/resources/v2/billing/license_fee.rb +0 -104
- data/lib/stripe/resources/v2/billing/license_fee_subscription.rb +0 -44
- data/lib/stripe/resources/v2/billing/license_fee_version.rb +0 -80
- data/lib/stripe/resources/v2/billing/licensed_item.rb +0 -60
- data/lib/stripe/resources/v2/billing/metered_item.rb +0 -85
- data/lib/stripe/resources/v2/billing/pricing_plan.rb +0 -51
- data/lib/stripe/resources/v2/billing/pricing_plan_component.rb +0 -94
- data/lib/stripe/resources/v2/billing/pricing_plan_subscription.rb +0 -94
- data/lib/stripe/resources/v2/billing/pricing_plan_subscription_components.rb +0 -49
- data/lib/stripe/resources/v2/billing/pricing_plan_version.rb +0 -38
- data/lib/stripe/resources/v2/billing/profile.rb +0 -46
- data/lib/stripe/resources/v2/billing/rate_card.rb +0 -61
- data/lib/stripe/resources/v2/billing/rate_card_rate.rb +0 -110
- data/lib/stripe/resources/v2/billing/rate_card_subscription.rb +0 -94
- data/lib/stripe/resources/v2/billing/rate_card_version.rb +0 -34
- data/lib/stripe/resources/v2/billing/service_action.rb +0 -274
- data/lib/stripe/resources/v2/core/claimable_sandbox.rb +0 -105
- data/lib/stripe/resources/v2/core/vault/gb_bank_account.rb +0 -134
- data/lib/stripe/resources/v2/core/vault/us_bank_account.rb +0 -103
- data/lib/stripe/resources/v2/financial_address_credit_simulation.rb +0 -28
- data/lib/stripe/resources/v2/financial_address_generated_microdeposits.rb +0 -44
- data/lib/stripe/resources/v2/iam/api_key.rb +0 -129
- data/lib/stripe/resources/v2/money_management/adjustment.rb +0 -82
- data/lib/stripe/resources/v2/money_management/currency_conversion.rb +0 -94
- data/lib/stripe/resources/v2/money_management/financial_account.rb +0 -223
- data/lib/stripe/resources/v2/money_management/financial_address.rb +0 -132
- data/lib/stripe/resources/v2/money_management/inbound_transfer.rb +0 -197
- data/lib/stripe/resources/v2/money_management/outbound_payment.rb +0 -347
- data/lib/stripe/resources/v2/money_management/outbound_payment_quote.rb +0 -204
- data/lib/stripe/resources/v2/money_management/outbound_setup_intent.rb +0 -69
- data/lib/stripe/resources/v2/money_management/outbound_transfer.rb +0 -242
- data/lib/stripe/resources/v2/money_management/payout_method.rb +0 -157
- data/lib/stripe/resources/v2/money_management/payout_methods_bank_account_spec.rb +0 -81
- data/lib/stripe/resources/v2/money_management/received_credit.rb +0 -280
- data/lib/stripe/resources/v2/money_management/received_debit.rb +0 -208
- data/lib/stripe/resources/v2/money_management/recipient_verification.rb +0 -83
- data/lib/stripe/resources/v2/money_management/transaction.rb +0 -180
- data/lib/stripe/resources/v2/money_management/transaction_entry.rb +0 -153
- data/lib/stripe/resources/v2/payments/off_session_payment.rb +0 -186
- data/lib/stripe/resources/v2/payments/settlement_allocation_intent.rb +0 -92
- data/lib/stripe/resources/v2/payments/settlement_allocation_intent_split.rb +0 -78
- data/lib/stripe/resources/v2/reporting/report.rb +0 -116
- data/lib/stripe/resources/v2/reporting/report_run.rb +0 -128
- data/lib/stripe/resources/v2/tax/manual_rule.rb +0 -115
- data/lib/stripe/services/account_notice_service.rb +0 -39
- data/lib/stripe/services/balance_transfer_service.rb +0 -17
- 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/delegated_checkout/requested_session_service.rb +0 -63
- data/lib/stripe/services/delegated_checkout_service.rb +0 -13
- 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/institution_service.rb +0 -30
- data/lib/stripe/services/fx_quote_service.rb +0 -27
- data/lib/stripe/services/identity/blocklist_entry_service.rb +0 -71
- 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/issuing/program_service.rb +0 -52
- data/lib/stripe/services/margin_service.rb +0 -50
- data/lib/stripe/services/order_line_item_service.rb +0 -17
- data/lib/stripe/services/order_service.rb +0 -78
- 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_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/radar/account_evaluation_service.rb +0 -41
- data/lib/stripe/services/shared_payment/granted_token_service.rb +0 -19
- data/lib/stripe/services/shared_payment_service.rb +0 -13
- 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/capital/financing_offer_service.rb +0 -32
- data/lib/stripe/services/test_helpers/capital_service.rb +0 -15
- 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 -61
- data/lib/stripe/services/v2/billing/collection_settings/version_service.rb +0 -34
- data/lib/stripe/services/v2/billing/custom_pricing_unit_service.rb +0 -54
- data/lib/stripe/services/v2/billing/intent_service.rb +0 -94
- data/lib/stripe/services/v2/billing/intents/action_service.rb +0 -34
- data/lib/stripe/services/v2/billing/license_fee_service.rb +0 -61
- data/lib/stripe/services/v2/billing/license_fee_subscription_service.rb +0 -21
- data/lib/stripe/services/v2/billing/license_fees/version_service.rb +0 -34
- data/lib/stripe/services/v2/billing/licensed_item_service.rb +0 -54
- data/lib/stripe/services/v2/billing/metered_item_service.rb +0 -54
- data/lib/stripe/services/v2/billing/pricing_plan_service.rb +0 -62
- data/lib/stripe/services/v2/billing/pricing_plan_subscription_service.rb +0 -51
- data/lib/stripe/services/v2/billing/pricing_plan_subscriptions/component_service.rb +0 -23
- data/lib/stripe/services/v2/billing/pricing_plans/component_service.rb +0 -67
- data/lib/stripe/services/v2/billing/pricing_plans/version_service.rb +0 -34
- data/lib/stripe/services/v2/billing/profile_service.rb +0 -54
- data/lib/stripe/services/v2/billing/rate_card_service.rb +0 -62
- data/lib/stripe/services/v2/billing/rate_card_subscription_service.rb +0 -65
- data/lib/stripe/services/v2/billing/rate_cards/rate_service.rb +0 -57
- data/lib/stripe/services/v2/billing/rate_cards/version_service.rb +0 -34
- data/lib/stripe/services/v2/billing/service_action_service.rb +0 -43
- data/lib/stripe/services/v2/core/claimable_sandbox_service.rb +0 -35
- data/lib/stripe/services/v2/core/vault/gb_bank_account_service.rb +0 -85
- data/lib/stripe/services/v2/core/vault/us_bank_account_service.rb +0 -101
- data/lib/stripe/services/v2/core/vault_service.rb +0 -18
- data/lib/stripe/services/v2/iam/api_key_service.rb +0 -76
- 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/currency_conversion_service.rb +0 -45
- 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 -65
- 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/recipient_verification_service.rb +0 -43
- 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 -35
- data/lib/stripe/services/v2/payment_service.rb +0 -17
- data/lib/stripe/services/v2/payments/off_session_payment_service.rb +0 -65
- data/lib/stripe/services/v2/payments/settlement_allocation_intent_service.rb +0 -72
- data/lib/stripe/services/v2/payments/settlement_allocation_intents/split_service.rb +0 -45
- data/lib/stripe/services/v2/reporting/report_run_service.rb +0 -38
- data/lib/stripe/services/v2/reporting/report_service.rb +0 -23
- data/lib/stripe/services/v2/reporting_service.rb +0 -16
- data/lib/stripe/services/v2/tax/manual_rule_service.rb +0 -65
- data/lib/stripe/services/v2/tax_service.rb +0 -15
- data/lib/stripe/services/v2/test_helper_service.rb +0 -16
- data/lib/stripe/services/v2/test_helpers/financial_address_service.rb +0 -36
- data/lib/stripe/services/v2/test_helpers/money_management_service.rb +0 -21
|
@@ -3,15 +3,6 @@
|
|
|
3
3
|
|
|
4
4
|
module Stripe
|
|
5
5
|
class PaymentIntentCreateParams < ::Stripe::RequestParams
|
|
6
|
-
class AllocatedFunds < ::Stripe::RequestParams
|
|
7
|
-
# Whether Allocated Funds creation is enabled for this PaymentIntent.
|
|
8
|
-
attr_accessor :enabled
|
|
9
|
-
|
|
10
|
-
def initialize(enabled: nil)
|
|
11
|
-
@enabled = enabled
|
|
12
|
-
end
|
|
13
|
-
end
|
|
14
|
-
|
|
15
6
|
class AmountDetails < ::Stripe::RequestParams
|
|
16
7
|
class LineItem < ::Stripe::RequestParams
|
|
17
8
|
class PaymentMethodOptions < ::Stripe::RequestParams
|
|
@@ -129,1800 +120,166 @@ module Stripe
|
|
|
129
120
|
unit_of_measure: nil
|
|
130
121
|
)
|
|
131
122
|
@discount_amount = discount_amount
|
|
132
|
-
@payment_method_options = payment_method_options
|
|
133
|
-
@product_code = product_code
|
|
134
|
-
@product_name = product_name
|
|
135
|
-
@quantity = quantity
|
|
136
|
-
@tax = tax
|
|
137
|
-
@unit_cost = unit_cost
|
|
138
|
-
@unit_of_measure = unit_of_measure
|
|
139
|
-
end
|
|
140
|
-
end
|
|
141
|
-
|
|
142
|
-
class Shipping < ::Stripe::RequestParams
|
|
143
|
-
# If a physical good is being shipped, the cost of shipping represented in the [smallest currency unit](https://docs.stripe.com/currencies#zero-decimal). An integer greater than or equal to 0.
|
|
144
|
-
attr_accessor :amount
|
|
145
|
-
# If a physical good is being shipped, the postal code of where it is being shipped from. At most 10 alphanumeric characters long, hyphens are allowed.
|
|
146
|
-
attr_accessor :from_postal_code
|
|
147
|
-
# If a physical good is being shipped, the postal code of where it is being shipped to. At most 10 alphanumeric characters long, hyphens are allowed.
|
|
148
|
-
attr_accessor :to_postal_code
|
|
149
|
-
|
|
150
|
-
def initialize(amount: nil, from_postal_code: nil, to_postal_code: nil)
|
|
151
|
-
@amount = amount
|
|
152
|
-
@from_postal_code = from_postal_code
|
|
153
|
-
@to_postal_code = to_postal_code
|
|
154
|
-
end
|
|
155
|
-
end
|
|
156
|
-
|
|
157
|
-
class Tax < ::Stripe::RequestParams
|
|
158
|
-
# 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.
|
|
159
|
-
#
|
|
160
|
-
# This field is mutually exclusive with the `amount_details[line_items][#][tax][total_tax_amount]` field.
|
|
161
|
-
attr_accessor :total_tax_amount
|
|
162
|
-
|
|
163
|
-
def initialize(total_tax_amount: nil)
|
|
164
|
-
@total_tax_amount = total_tax_amount
|
|
165
|
-
end
|
|
166
|
-
end
|
|
167
|
-
# The total discount applied on the transaction represented in the [smallest currency unit](https://docs.stripe.com/currencies#zero-decimal). An integer greater than 0.
|
|
168
|
-
#
|
|
169
|
-
# This field is mutually exclusive with the `amount_details[line_items][#][discount_amount]` field.
|
|
170
|
-
attr_accessor :discount_amount
|
|
171
|
-
# A list of line items, each containing information about a product in the PaymentIntent. There is a maximum of 100 line items.
|
|
172
|
-
attr_accessor :line_items
|
|
173
|
-
# Contains information about the shipping portion of the amount.
|
|
174
|
-
attr_accessor :shipping
|
|
175
|
-
# Contains information about the tax portion of the amount.
|
|
176
|
-
attr_accessor :tax
|
|
177
|
-
|
|
178
|
-
def initialize(discount_amount: nil, line_items: nil, shipping: nil, tax: nil)
|
|
179
|
-
@discount_amount = discount_amount
|
|
180
|
-
@line_items = line_items
|
|
181
|
-
@shipping = shipping
|
|
182
|
-
@tax = tax
|
|
183
|
-
end
|
|
184
|
-
end
|
|
185
|
-
|
|
186
|
-
class AutomaticPaymentMethods < ::Stripe::RequestParams
|
|
187
|
-
# Controls whether this PaymentIntent will accept redirect-based payment methods.
|
|
188
|
-
#
|
|
189
|
-
# Redirect-based payment methods may require your customer to be redirected to a payment method's app or site for authentication or additional steps. To [confirm](https://docs.stripe.com/api/payment_intents/confirm) this PaymentIntent, you may be required to provide a `return_url` to redirect customers back to your site after they authenticate or complete the payment.
|
|
190
|
-
attr_accessor :allow_redirects
|
|
191
|
-
# Whether this feature is enabled.
|
|
192
|
-
attr_accessor :enabled
|
|
193
|
-
|
|
194
|
-
def initialize(allow_redirects: nil, enabled: nil)
|
|
195
|
-
@allow_redirects = allow_redirects
|
|
196
|
-
@enabled = enabled
|
|
197
|
-
end
|
|
198
|
-
end
|
|
199
|
-
|
|
200
|
-
class Hooks < ::Stripe::RequestParams
|
|
201
|
-
class Inputs < ::Stripe::RequestParams
|
|
202
|
-
class Tax < ::Stripe::RequestParams
|
|
203
|
-
# The [TaxCalculation](https://docs.stripe.com/api/tax/calculations) id
|
|
204
|
-
attr_accessor :calculation
|
|
205
|
-
|
|
206
|
-
def initialize(calculation: nil)
|
|
207
|
-
@calculation = calculation
|
|
208
|
-
end
|
|
209
|
-
end
|
|
210
|
-
# Tax arguments for automations
|
|
211
|
-
attr_accessor :tax
|
|
212
|
-
|
|
213
|
-
def initialize(tax: nil)
|
|
214
|
-
@tax = tax
|
|
215
|
-
end
|
|
216
|
-
end
|
|
217
|
-
# Arguments passed in automations
|
|
218
|
-
attr_accessor :inputs
|
|
219
|
-
|
|
220
|
-
def initialize(inputs: nil)
|
|
221
|
-
@inputs = inputs
|
|
222
|
-
end
|
|
223
|
-
end
|
|
224
|
-
|
|
225
|
-
class MandateData < ::Stripe::RequestParams
|
|
226
|
-
class CustomerAcceptance < ::Stripe::RequestParams
|
|
227
|
-
class Offline < ::Stripe::RequestParams; end
|
|
228
|
-
|
|
229
|
-
class Online < ::Stripe::RequestParams
|
|
230
|
-
# The IP address from which the Mandate was accepted by the customer.
|
|
231
|
-
attr_accessor :ip_address
|
|
232
|
-
# The user agent of the browser from which the Mandate was accepted by the customer.
|
|
233
|
-
attr_accessor :user_agent
|
|
234
|
-
|
|
235
|
-
def initialize(ip_address: nil, user_agent: nil)
|
|
236
|
-
@ip_address = ip_address
|
|
237
|
-
@user_agent = user_agent
|
|
238
|
-
end
|
|
239
|
-
end
|
|
240
|
-
# The time at which the customer accepted the Mandate.
|
|
241
|
-
attr_accessor :accepted_at
|
|
242
|
-
# If this is a Mandate accepted offline, this hash contains details about the offline acceptance.
|
|
243
|
-
attr_accessor :offline
|
|
244
|
-
# If this is a Mandate accepted online, this hash contains details about the online acceptance.
|
|
245
|
-
attr_accessor :online
|
|
246
|
-
# The type of customer acceptance information included with the Mandate. One of `online` or `offline`.
|
|
247
|
-
attr_accessor :type
|
|
248
|
-
|
|
249
|
-
def initialize(accepted_at: nil, offline: nil, online: nil, type: nil)
|
|
250
|
-
@accepted_at = accepted_at
|
|
251
|
-
@offline = offline
|
|
252
|
-
@online = online
|
|
253
|
-
@type = type
|
|
254
|
-
end
|
|
255
|
-
end
|
|
256
|
-
# This hash contains details about the customer acceptance of the Mandate.
|
|
257
|
-
attr_accessor :customer_acceptance
|
|
258
|
-
|
|
259
|
-
def initialize(customer_acceptance: nil)
|
|
260
|
-
@customer_acceptance = customer_acceptance
|
|
261
|
-
end
|
|
262
|
-
end
|
|
263
|
-
|
|
264
|
-
class PaymentDetails < ::Stripe::RequestParams
|
|
265
|
-
class Benefit < ::Stripe::RequestParams
|
|
266
|
-
class FrMealVoucher < ::Stripe::RequestParams
|
|
267
|
-
# The 14-digit SIRET of the meal voucher acceptor.
|
|
268
|
-
attr_accessor :siret
|
|
269
|
-
|
|
270
|
-
def initialize(siret: nil)
|
|
271
|
-
@siret = siret
|
|
272
|
-
end
|
|
273
|
-
end
|
|
274
|
-
# French meal voucher benefit details for this PaymentIntent.
|
|
275
|
-
attr_accessor :fr_meal_voucher
|
|
276
|
-
|
|
277
|
-
def initialize(fr_meal_voucher: nil)
|
|
278
|
-
@fr_meal_voucher = fr_meal_voucher
|
|
279
|
-
end
|
|
280
|
-
end
|
|
281
|
-
|
|
282
|
-
class CarRental < ::Stripe::RequestParams
|
|
283
|
-
class Affiliate < ::Stripe::RequestParams
|
|
284
|
-
# The name of the affiliate that originated the purchase.
|
|
285
|
-
attr_accessor :name
|
|
286
|
-
|
|
287
|
-
def initialize(name: nil)
|
|
288
|
-
@name = name
|
|
289
|
-
end
|
|
290
|
-
end
|
|
291
|
-
|
|
292
|
-
class Delivery < ::Stripe::RequestParams
|
|
293
|
-
class Recipient < ::Stripe::RequestParams
|
|
294
|
-
# The email of the recipient the ticket is delivered to.
|
|
295
|
-
attr_accessor :email
|
|
296
|
-
# The name of the recipient the ticket is delivered to.
|
|
297
|
-
attr_accessor :name
|
|
298
|
-
# The phone number of the recipient the ticket is delivered to.
|
|
299
|
-
attr_accessor :phone
|
|
300
|
-
|
|
301
|
-
def initialize(email: nil, name: nil, phone: nil)
|
|
302
|
-
@email = email
|
|
303
|
-
@name = name
|
|
304
|
-
@phone = phone
|
|
305
|
-
end
|
|
306
|
-
end
|
|
307
|
-
# The delivery method for the payment
|
|
308
|
-
attr_accessor :mode
|
|
309
|
-
# Details of the recipient.
|
|
310
|
-
attr_accessor :recipient
|
|
311
|
-
|
|
312
|
-
def initialize(mode: nil, recipient: nil)
|
|
313
|
-
@mode = mode
|
|
314
|
-
@recipient = recipient
|
|
315
|
-
end
|
|
316
|
-
end
|
|
317
|
-
|
|
318
|
-
class Distance < ::Stripe::RequestParams
|
|
319
|
-
# Distance traveled.
|
|
320
|
-
attr_accessor :amount
|
|
321
|
-
# Unit of measurement for the distance traveled. One of `miles` or `kilometers`.
|
|
322
|
-
attr_accessor :unit
|
|
323
|
-
|
|
324
|
-
def initialize(amount: nil, unit: nil)
|
|
325
|
-
@amount = amount
|
|
326
|
-
@unit = unit
|
|
327
|
-
end
|
|
328
|
-
end
|
|
329
|
-
|
|
330
|
-
class Driver < ::Stripe::RequestParams
|
|
331
|
-
# Driver's identification number.
|
|
332
|
-
attr_accessor :driver_identification_number
|
|
333
|
-
# Driver's tax number.
|
|
334
|
-
attr_accessor :driver_tax_number
|
|
335
|
-
# Full name of the person or entity on the car reservation.
|
|
336
|
-
attr_accessor :name
|
|
337
|
-
|
|
338
|
-
def initialize(driver_identification_number: nil, driver_tax_number: nil, name: nil)
|
|
339
|
-
@driver_identification_number = driver_identification_number
|
|
340
|
-
@driver_tax_number = driver_tax_number
|
|
341
|
-
@name = name
|
|
342
|
-
end
|
|
343
|
-
end
|
|
344
|
-
|
|
345
|
-
class PickupAddress < ::Stripe::RequestParams
|
|
346
|
-
# City, district, suburb, town, or village.
|
|
347
|
-
attr_accessor :city
|
|
348
|
-
# Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)).
|
|
349
|
-
attr_accessor :country
|
|
350
|
-
# Address line 1, such as the street, PO Box, or company name.
|
|
351
|
-
attr_accessor :line1
|
|
352
|
-
# Address line 2, such as the apartment, suite, unit, or building.
|
|
353
|
-
attr_accessor :line2
|
|
354
|
-
# ZIP or postal code.
|
|
355
|
-
attr_accessor :postal_code
|
|
356
|
-
# State, county, province, or region ([ISO 3166-2](https://en.wikipedia.org/wiki/ISO_3166-2)).
|
|
357
|
-
attr_accessor :state
|
|
358
|
-
|
|
359
|
-
def initialize(
|
|
360
|
-
city: nil,
|
|
361
|
-
country: nil,
|
|
362
|
-
line1: nil,
|
|
363
|
-
line2: nil,
|
|
364
|
-
postal_code: nil,
|
|
365
|
-
state: nil
|
|
366
|
-
)
|
|
367
|
-
@city = city
|
|
368
|
-
@country = country
|
|
369
|
-
@line1 = line1
|
|
370
|
-
@line2 = line2
|
|
371
|
-
@postal_code = postal_code
|
|
372
|
-
@state = state
|
|
373
|
-
end
|
|
374
|
-
end
|
|
375
|
-
|
|
376
|
-
class ReturnAddress < ::Stripe::RequestParams
|
|
377
|
-
# City, district, suburb, town, or village.
|
|
378
|
-
attr_accessor :city
|
|
379
|
-
# Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)).
|
|
380
|
-
attr_accessor :country
|
|
381
|
-
# Address line 1, such as the street, PO Box, or company name.
|
|
382
|
-
attr_accessor :line1
|
|
383
|
-
# Address line 2, such as the apartment, suite, unit, or building.
|
|
384
|
-
attr_accessor :line2
|
|
385
|
-
# ZIP or postal code.
|
|
386
|
-
attr_accessor :postal_code
|
|
387
|
-
# State, county, province, or region ([ISO 3166-2](https://en.wikipedia.org/wiki/ISO_3166-2)).
|
|
388
|
-
attr_accessor :state
|
|
389
|
-
|
|
390
|
-
def initialize(
|
|
391
|
-
city: nil,
|
|
392
|
-
country: nil,
|
|
393
|
-
line1: nil,
|
|
394
|
-
line2: nil,
|
|
395
|
-
postal_code: nil,
|
|
396
|
-
state: nil
|
|
397
|
-
)
|
|
398
|
-
@city = city
|
|
399
|
-
@country = country
|
|
400
|
-
@line1 = line1
|
|
401
|
-
@line2 = line2
|
|
402
|
-
@postal_code = postal_code
|
|
403
|
-
@state = state
|
|
404
|
-
end
|
|
405
|
-
end
|
|
406
|
-
# Affiliate details for this purchase.
|
|
407
|
-
attr_accessor :affiliate
|
|
408
|
-
# The booking number associated with the car rental.
|
|
409
|
-
attr_accessor :booking_number
|
|
410
|
-
# Class code of the car.
|
|
411
|
-
attr_accessor :car_class_code
|
|
412
|
-
# Make of the car.
|
|
413
|
-
attr_accessor :car_make
|
|
414
|
-
# Model of the car.
|
|
415
|
-
attr_accessor :car_model
|
|
416
|
-
# The name of the rental car company.
|
|
417
|
-
attr_accessor :company
|
|
418
|
-
# The customer service phone number of the car rental company.
|
|
419
|
-
attr_accessor :customer_service_phone_number
|
|
420
|
-
# Number of days the car is being rented.
|
|
421
|
-
attr_accessor :days_rented
|
|
422
|
-
# Delivery details for this purchase.
|
|
423
|
-
attr_accessor :delivery
|
|
424
|
-
# The details of the distance traveled during the rental period.
|
|
425
|
-
attr_accessor :distance
|
|
426
|
-
# The details of the passengers in the travel reservation
|
|
427
|
-
attr_accessor :drivers
|
|
428
|
-
# List of additional charges being billed.
|
|
429
|
-
attr_accessor :extra_charges
|
|
430
|
-
# Indicates if the customer did not keep nor cancel their booking.
|
|
431
|
-
attr_accessor :no_show
|
|
432
|
-
# Car pick-up address.
|
|
433
|
-
attr_accessor :pickup_address
|
|
434
|
-
# Car pick-up time. Measured in seconds since the Unix epoch.
|
|
435
|
-
attr_accessor :pickup_at
|
|
436
|
-
# Name of the pickup location.
|
|
437
|
-
attr_accessor :pickup_location_name
|
|
438
|
-
# Rental rate.
|
|
439
|
-
attr_accessor :rate_amount
|
|
440
|
-
# The frequency at which the rate amount is applied. One of `day`, `week` or `month`
|
|
441
|
-
attr_accessor :rate_interval
|
|
442
|
-
# The name of the person or entity renting the car.
|
|
443
|
-
attr_accessor :renter_name
|
|
444
|
-
# Car return address.
|
|
445
|
-
attr_accessor :return_address
|
|
446
|
-
# Car return time. Measured in seconds since the Unix epoch.
|
|
447
|
-
attr_accessor :return_at
|
|
448
|
-
# Name of the return location.
|
|
449
|
-
attr_accessor :return_location_name
|
|
450
|
-
# Indicates whether the goods or services are tax-exempt or tax is not collected.
|
|
451
|
-
attr_accessor :tax_exempt
|
|
452
|
-
# The vehicle identification number.
|
|
453
|
-
attr_accessor :vehicle_identification_number
|
|
454
|
-
|
|
455
|
-
def initialize(
|
|
456
|
-
affiliate: nil,
|
|
457
|
-
booking_number: nil,
|
|
458
|
-
car_class_code: nil,
|
|
459
|
-
car_make: nil,
|
|
460
|
-
car_model: nil,
|
|
461
|
-
company: nil,
|
|
462
|
-
customer_service_phone_number: nil,
|
|
463
|
-
days_rented: nil,
|
|
464
|
-
delivery: nil,
|
|
465
|
-
distance: nil,
|
|
466
|
-
drivers: nil,
|
|
467
|
-
extra_charges: nil,
|
|
468
|
-
no_show: nil,
|
|
469
|
-
pickup_address: nil,
|
|
470
|
-
pickup_at: nil,
|
|
471
|
-
pickup_location_name: nil,
|
|
472
|
-
rate_amount: nil,
|
|
473
|
-
rate_interval: nil,
|
|
474
|
-
renter_name: nil,
|
|
475
|
-
return_address: nil,
|
|
476
|
-
return_at: nil,
|
|
477
|
-
return_location_name: nil,
|
|
478
|
-
tax_exempt: nil,
|
|
479
|
-
vehicle_identification_number: nil
|
|
480
|
-
)
|
|
481
|
-
@affiliate = affiliate
|
|
482
|
-
@booking_number = booking_number
|
|
483
|
-
@car_class_code = car_class_code
|
|
484
|
-
@car_make = car_make
|
|
485
|
-
@car_model = car_model
|
|
486
|
-
@company = company
|
|
487
|
-
@customer_service_phone_number = customer_service_phone_number
|
|
488
|
-
@days_rented = days_rented
|
|
489
|
-
@delivery = delivery
|
|
490
|
-
@distance = distance
|
|
491
|
-
@drivers = drivers
|
|
492
|
-
@extra_charges = extra_charges
|
|
493
|
-
@no_show = no_show
|
|
494
|
-
@pickup_address = pickup_address
|
|
495
|
-
@pickup_at = pickup_at
|
|
496
|
-
@pickup_location_name = pickup_location_name
|
|
497
|
-
@rate_amount = rate_amount
|
|
498
|
-
@rate_interval = rate_interval
|
|
499
|
-
@renter_name = renter_name
|
|
500
|
-
@return_address = return_address
|
|
501
|
-
@return_at = return_at
|
|
502
|
-
@return_location_name = return_location_name
|
|
503
|
-
@tax_exempt = tax_exempt
|
|
504
|
-
@vehicle_identification_number = vehicle_identification_number
|
|
505
|
-
end
|
|
506
|
-
end
|
|
507
|
-
|
|
508
|
-
class CarRentalDatum < ::Stripe::RequestParams
|
|
509
|
-
class Affiliate < ::Stripe::RequestParams
|
|
510
|
-
# Affiliate partner code.
|
|
511
|
-
attr_accessor :code
|
|
512
|
-
# Name of affiliate partner.
|
|
513
|
-
attr_accessor :name
|
|
514
|
-
|
|
515
|
-
def initialize(code: nil, name: nil)
|
|
516
|
-
@code = code
|
|
517
|
-
@name = name
|
|
518
|
-
end
|
|
519
|
-
end
|
|
520
|
-
|
|
521
|
-
class Distance < ::Stripe::RequestParams
|
|
522
|
-
# Distance traveled.
|
|
523
|
-
attr_accessor :amount
|
|
524
|
-
# Unit of measurement for the distance traveled. One of `miles` or `kilometers`.
|
|
525
|
-
attr_accessor :unit
|
|
526
|
-
|
|
527
|
-
def initialize(amount: nil, unit: nil)
|
|
528
|
-
@amount = amount
|
|
529
|
-
@unit = unit
|
|
530
|
-
end
|
|
531
|
-
end
|
|
532
|
-
|
|
533
|
-
class Driver < ::Stripe::RequestParams
|
|
534
|
-
class DateOfBirth < ::Stripe::RequestParams
|
|
535
|
-
# Day of birth (1-31).
|
|
536
|
-
attr_accessor :day
|
|
537
|
-
# Month of birth (1-12).
|
|
538
|
-
attr_accessor :month
|
|
539
|
-
# Year of birth (must be greater than 1900).
|
|
540
|
-
attr_accessor :year
|
|
541
|
-
|
|
542
|
-
def initialize(day: nil, month: nil, year: nil)
|
|
543
|
-
@day = day
|
|
544
|
-
@month = month
|
|
545
|
-
@year = year
|
|
546
|
-
end
|
|
547
|
-
end
|
|
548
|
-
# Driver's date of birth.
|
|
549
|
-
attr_accessor :date_of_birth
|
|
550
|
-
# Driver's identification number.
|
|
551
|
-
attr_accessor :driver_identification_number
|
|
552
|
-
# Driver's tax number.
|
|
553
|
-
attr_accessor :driver_tax_number
|
|
554
|
-
# Driver's full name.
|
|
555
|
-
attr_accessor :name
|
|
556
|
-
|
|
557
|
-
def initialize(
|
|
558
|
-
date_of_birth: nil,
|
|
559
|
-
driver_identification_number: nil,
|
|
560
|
-
driver_tax_number: nil,
|
|
561
|
-
name: nil
|
|
562
|
-
)
|
|
563
|
-
@date_of_birth = date_of_birth
|
|
564
|
-
@driver_identification_number = driver_identification_number
|
|
565
|
-
@driver_tax_number = driver_tax_number
|
|
566
|
-
@name = name
|
|
567
|
-
end
|
|
568
|
-
end
|
|
569
|
-
|
|
570
|
-
class DropOff < ::Stripe::RequestParams
|
|
571
|
-
class Address < ::Stripe::RequestParams
|
|
572
|
-
# City, district, suburb, town, or village.
|
|
573
|
-
attr_accessor :city
|
|
574
|
-
# Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)).
|
|
575
|
-
attr_accessor :country
|
|
576
|
-
# Address line 1, such as the street, PO Box, or company name.
|
|
577
|
-
attr_accessor :line1
|
|
578
|
-
# Address line 2, such as the apartment, suite, unit, or building.
|
|
579
|
-
attr_accessor :line2
|
|
580
|
-
# ZIP or postal code.
|
|
581
|
-
attr_accessor :postal_code
|
|
582
|
-
# State, county, province, or region ([ISO 3166-2](https://en.wikipedia.org/wiki/ISO_3166-2)).
|
|
583
|
-
attr_accessor :state
|
|
584
|
-
|
|
585
|
-
def initialize(
|
|
586
|
-
city: nil,
|
|
587
|
-
country: nil,
|
|
588
|
-
line1: nil,
|
|
589
|
-
line2: nil,
|
|
590
|
-
postal_code: nil,
|
|
591
|
-
state: nil
|
|
592
|
-
)
|
|
593
|
-
@city = city
|
|
594
|
-
@country = country
|
|
595
|
-
@line1 = line1
|
|
596
|
-
@line2 = line2
|
|
597
|
-
@postal_code = postal_code
|
|
598
|
-
@state = state
|
|
599
|
-
end
|
|
600
|
-
end
|
|
601
|
-
# Address of the rental location.
|
|
602
|
-
attr_accessor :address
|
|
603
|
-
# Location name.
|
|
604
|
-
attr_accessor :location_name
|
|
605
|
-
# Timestamp for the location.
|
|
606
|
-
attr_accessor :time
|
|
607
|
-
|
|
608
|
-
def initialize(address: nil, location_name: nil, time: nil)
|
|
609
|
-
@address = address
|
|
610
|
-
@location_name = location_name
|
|
611
|
-
@time = time
|
|
612
|
-
end
|
|
613
|
-
end
|
|
614
|
-
|
|
615
|
-
class Insurance < ::Stripe::RequestParams
|
|
616
|
-
# Amount of the insurance coverage in cents.
|
|
617
|
-
attr_accessor :amount
|
|
618
|
-
# Currency of the insurance amount.
|
|
619
|
-
attr_accessor :currency
|
|
620
|
-
# Name of the insurance company.
|
|
621
|
-
attr_accessor :insurance_company_name
|
|
622
|
-
# Type of insurance coverage.
|
|
623
|
-
attr_accessor :insurance_type
|
|
624
|
-
|
|
625
|
-
def initialize(
|
|
626
|
-
amount: nil,
|
|
627
|
-
currency: nil,
|
|
628
|
-
insurance_company_name: nil,
|
|
629
|
-
insurance_type: nil
|
|
630
|
-
)
|
|
631
|
-
@amount = amount
|
|
632
|
-
@currency = currency
|
|
633
|
-
@insurance_company_name = insurance_company_name
|
|
634
|
-
@insurance_type = insurance_type
|
|
635
|
-
end
|
|
636
|
-
end
|
|
637
|
-
|
|
638
|
-
class Pickup < ::Stripe::RequestParams
|
|
639
|
-
class Address < ::Stripe::RequestParams
|
|
640
|
-
# City, district, suburb, town, or village.
|
|
641
|
-
attr_accessor :city
|
|
642
|
-
# Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)).
|
|
643
|
-
attr_accessor :country
|
|
644
|
-
# Address line 1, such as the street, PO Box, or company name.
|
|
645
|
-
attr_accessor :line1
|
|
646
|
-
# Address line 2, such as the apartment, suite, unit, or building.
|
|
647
|
-
attr_accessor :line2
|
|
648
|
-
# ZIP or postal code.
|
|
649
|
-
attr_accessor :postal_code
|
|
650
|
-
# State, county, province, or region ([ISO 3166-2](https://en.wikipedia.org/wiki/ISO_3166-2)).
|
|
651
|
-
attr_accessor :state
|
|
652
|
-
|
|
653
|
-
def initialize(
|
|
654
|
-
city: nil,
|
|
655
|
-
country: nil,
|
|
656
|
-
line1: nil,
|
|
657
|
-
line2: nil,
|
|
658
|
-
postal_code: nil,
|
|
659
|
-
state: nil
|
|
660
|
-
)
|
|
661
|
-
@city = city
|
|
662
|
-
@country = country
|
|
663
|
-
@line1 = line1
|
|
664
|
-
@line2 = line2
|
|
665
|
-
@postal_code = postal_code
|
|
666
|
-
@state = state
|
|
667
|
-
end
|
|
668
|
-
end
|
|
669
|
-
# Address of the rental location.
|
|
670
|
-
attr_accessor :address
|
|
671
|
-
# Location name.
|
|
672
|
-
attr_accessor :location_name
|
|
673
|
-
# Timestamp for the location.
|
|
674
|
-
attr_accessor :time
|
|
675
|
-
|
|
676
|
-
def initialize(address: nil, location_name: nil, time: nil)
|
|
677
|
-
@address = address
|
|
678
|
-
@location_name = location_name
|
|
679
|
-
@time = time
|
|
680
|
-
end
|
|
681
|
-
end
|
|
682
|
-
|
|
683
|
-
class Total < ::Stripe::RequestParams
|
|
684
|
-
class Discounts < ::Stripe::RequestParams
|
|
685
|
-
# Corporate client discount code.
|
|
686
|
-
attr_accessor :corporate_client_code
|
|
687
|
-
# Coupon code applied to the rental.
|
|
688
|
-
attr_accessor :coupon
|
|
689
|
-
# Maximum number of free miles or kilometers included.
|
|
690
|
-
attr_accessor :maximum_free_miles_or_kilometers
|
|
691
|
-
|
|
692
|
-
def initialize(
|
|
693
|
-
corporate_client_code: nil,
|
|
694
|
-
coupon: nil,
|
|
695
|
-
maximum_free_miles_or_kilometers: nil
|
|
696
|
-
)
|
|
697
|
-
@corporate_client_code = corporate_client_code
|
|
698
|
-
@coupon = coupon
|
|
699
|
-
@maximum_free_miles_or_kilometers = maximum_free_miles_or_kilometers
|
|
700
|
-
end
|
|
701
|
-
end
|
|
702
|
-
|
|
703
|
-
class ExtraCharge < ::Stripe::RequestParams
|
|
704
|
-
# Amount of the extra charge in cents.
|
|
705
|
-
attr_accessor :amount
|
|
706
|
-
# Type of extra charge.
|
|
707
|
-
attr_accessor :type
|
|
708
|
-
|
|
709
|
-
def initialize(amount: nil, type: nil)
|
|
710
|
-
@amount = amount
|
|
711
|
-
@type = type
|
|
712
|
-
end
|
|
713
|
-
end
|
|
714
|
-
|
|
715
|
-
class Tax < ::Stripe::RequestParams
|
|
716
|
-
class Tax < ::Stripe::RequestParams
|
|
717
|
-
# Tax amount.
|
|
718
|
-
attr_accessor :amount
|
|
719
|
-
# Tax rate applied.
|
|
720
|
-
attr_accessor :rate
|
|
721
|
-
# Type of tax applied.
|
|
722
|
-
attr_accessor :type
|
|
723
|
-
|
|
724
|
-
def initialize(amount: nil, rate: nil, type: nil)
|
|
725
|
-
@amount = amount
|
|
726
|
-
@rate = rate
|
|
727
|
-
@type = type
|
|
728
|
-
end
|
|
729
|
-
end
|
|
730
|
-
# Indicates if the transaction is tax exempt.
|
|
731
|
-
attr_accessor :tax_exempt_indicator
|
|
732
|
-
# Array of tax details.
|
|
733
|
-
attr_accessor :taxes
|
|
734
|
-
|
|
735
|
-
def initialize(tax_exempt_indicator: nil, taxes: nil)
|
|
736
|
-
@tax_exempt_indicator = tax_exempt_indicator
|
|
737
|
-
@taxes = taxes
|
|
738
|
-
end
|
|
739
|
-
end
|
|
740
|
-
# Total amount in cents.
|
|
741
|
-
attr_accessor :amount
|
|
742
|
-
# Currency of the amount.
|
|
743
|
-
attr_accessor :currency
|
|
744
|
-
# Discount details for the rental.
|
|
745
|
-
attr_accessor :discounts
|
|
746
|
-
# Additional charges for the rental.
|
|
747
|
-
attr_accessor :extra_charges
|
|
748
|
-
# Rate per unit for the rental.
|
|
749
|
-
attr_accessor :rate_per_unit
|
|
750
|
-
# Unit of measurement for the rate.
|
|
751
|
-
attr_accessor :rate_unit
|
|
752
|
-
# Tax breakdown for the rental.
|
|
753
|
-
attr_accessor :tax
|
|
754
|
-
|
|
755
|
-
def initialize(
|
|
756
|
-
amount: nil,
|
|
757
|
-
currency: nil,
|
|
758
|
-
discounts: nil,
|
|
759
|
-
extra_charges: nil,
|
|
760
|
-
rate_per_unit: nil,
|
|
761
|
-
rate_unit: nil,
|
|
762
|
-
tax: nil
|
|
763
|
-
)
|
|
764
|
-
@amount = amount
|
|
765
|
-
@currency = currency
|
|
766
|
-
@discounts = discounts
|
|
767
|
-
@extra_charges = extra_charges
|
|
768
|
-
@rate_per_unit = rate_per_unit
|
|
769
|
-
@rate_unit = rate_unit
|
|
770
|
-
@tax = tax
|
|
771
|
-
end
|
|
772
|
-
end
|
|
773
|
-
|
|
774
|
-
class Vehicle < ::Stripe::RequestParams
|
|
775
|
-
# Make of the rental vehicle.
|
|
776
|
-
attr_accessor :make
|
|
777
|
-
# Model of the rental vehicle.
|
|
778
|
-
attr_accessor :model
|
|
779
|
-
# Odometer reading at the time of rental.
|
|
780
|
-
attr_accessor :odometer
|
|
781
|
-
# Type of the rental vehicle.
|
|
782
|
-
attr_accessor :type
|
|
783
|
-
# Class of the rental vehicle.
|
|
784
|
-
attr_accessor :vehicle_class
|
|
785
|
-
# Vehicle identification number (VIN).
|
|
786
|
-
attr_accessor :vehicle_identification_number
|
|
787
|
-
|
|
788
|
-
def initialize(
|
|
789
|
-
make: nil,
|
|
790
|
-
model: nil,
|
|
791
|
-
odometer: nil,
|
|
792
|
-
type: nil,
|
|
793
|
-
vehicle_class: nil,
|
|
794
|
-
vehicle_identification_number: nil
|
|
795
|
-
)
|
|
796
|
-
@make = make
|
|
797
|
-
@model = model
|
|
798
|
-
@odometer = odometer
|
|
799
|
-
@type = type
|
|
800
|
-
@vehicle_class = vehicle_class
|
|
801
|
-
@vehicle_identification_number = vehicle_identification_number
|
|
802
|
-
end
|
|
803
|
-
end
|
|
804
|
-
# Affiliate (such as travel agency) details for the rental.
|
|
805
|
-
attr_accessor :affiliate
|
|
806
|
-
# Booking confirmation number for the car rental.
|
|
807
|
-
attr_accessor :booking_number
|
|
808
|
-
# Name of the car rental company.
|
|
809
|
-
attr_accessor :carrier_name
|
|
810
|
-
# Customer service phone number for the car rental company.
|
|
811
|
-
attr_accessor :customer_service_phone_number
|
|
812
|
-
# Number of days the car is being rented.
|
|
813
|
-
attr_accessor :days_rented
|
|
814
|
-
# Distance details for the rental.
|
|
815
|
-
attr_accessor :distance
|
|
816
|
-
# List of drivers for the rental.
|
|
817
|
-
attr_accessor :drivers
|
|
818
|
-
# Drop-off location details.
|
|
819
|
-
attr_accessor :drop_off
|
|
820
|
-
# Insurance details for the rental.
|
|
821
|
-
attr_accessor :insurances
|
|
822
|
-
# Indicates if the customer was a no-show.
|
|
823
|
-
attr_accessor :no_show_indicator
|
|
824
|
-
# Pickup location details.
|
|
825
|
-
attr_accessor :pickup
|
|
826
|
-
# Name of the person renting the vehicle.
|
|
827
|
-
attr_accessor :renter_name
|
|
828
|
-
# Total cost breakdown for the rental.
|
|
829
|
-
attr_accessor :total
|
|
830
|
-
# Vehicle details for the rental.
|
|
831
|
-
attr_accessor :vehicle
|
|
832
|
-
|
|
833
|
-
def initialize(
|
|
834
|
-
affiliate: nil,
|
|
835
|
-
booking_number: nil,
|
|
836
|
-
carrier_name: nil,
|
|
837
|
-
customer_service_phone_number: nil,
|
|
838
|
-
days_rented: nil,
|
|
839
|
-
distance: nil,
|
|
840
|
-
drivers: nil,
|
|
841
|
-
drop_off: nil,
|
|
842
|
-
insurances: nil,
|
|
843
|
-
no_show_indicator: nil,
|
|
844
|
-
pickup: nil,
|
|
845
|
-
renter_name: nil,
|
|
846
|
-
total: nil,
|
|
847
|
-
vehicle: nil
|
|
848
|
-
)
|
|
849
|
-
@affiliate = affiliate
|
|
850
|
-
@booking_number = booking_number
|
|
851
|
-
@carrier_name = carrier_name
|
|
852
|
-
@customer_service_phone_number = customer_service_phone_number
|
|
853
|
-
@days_rented = days_rented
|
|
854
|
-
@distance = distance
|
|
855
|
-
@drivers = drivers
|
|
856
|
-
@drop_off = drop_off
|
|
857
|
-
@insurances = insurances
|
|
858
|
-
@no_show_indicator = no_show_indicator
|
|
859
|
-
@pickup = pickup
|
|
860
|
-
@renter_name = renter_name
|
|
861
|
-
@total = total
|
|
862
|
-
@vehicle = vehicle
|
|
863
|
-
end
|
|
864
|
-
end
|
|
865
|
-
|
|
866
|
-
class EventDetails < ::Stripe::RequestParams
|
|
867
|
-
class Address < ::Stripe::RequestParams
|
|
868
|
-
# City, district, suburb, town, or village.
|
|
869
|
-
attr_accessor :city
|
|
870
|
-
# Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)).
|
|
871
|
-
attr_accessor :country
|
|
872
|
-
# Address line 1, such as the street, PO Box, or company name.
|
|
873
|
-
attr_accessor :line1
|
|
874
|
-
# Address line 2, such as the apartment, suite, unit, or building.
|
|
875
|
-
attr_accessor :line2
|
|
876
|
-
# ZIP or postal code.
|
|
877
|
-
attr_accessor :postal_code
|
|
878
|
-
# State, county, province, or region ([ISO 3166-2](https://en.wikipedia.org/wiki/ISO_3166-2)).
|
|
879
|
-
attr_accessor :state
|
|
880
|
-
|
|
881
|
-
def initialize(
|
|
882
|
-
city: nil,
|
|
883
|
-
country: nil,
|
|
884
|
-
line1: nil,
|
|
885
|
-
line2: nil,
|
|
886
|
-
postal_code: nil,
|
|
887
|
-
state: nil
|
|
888
|
-
)
|
|
889
|
-
@city = city
|
|
890
|
-
@country = country
|
|
891
|
-
@line1 = line1
|
|
892
|
-
@line2 = line2
|
|
893
|
-
@postal_code = postal_code
|
|
894
|
-
@state = state
|
|
895
|
-
end
|
|
896
|
-
end
|
|
897
|
-
|
|
898
|
-
class Affiliate < ::Stripe::RequestParams
|
|
899
|
-
# The name of the affiliate that originated the purchase.
|
|
900
|
-
attr_accessor :name
|
|
901
|
-
|
|
902
|
-
def initialize(name: nil)
|
|
903
|
-
@name = name
|
|
904
|
-
end
|
|
905
|
-
end
|
|
906
|
-
|
|
907
|
-
class Delivery < ::Stripe::RequestParams
|
|
908
|
-
class Recipient < ::Stripe::RequestParams
|
|
909
|
-
# The email of the recipient the ticket is delivered to.
|
|
910
|
-
attr_accessor :email
|
|
911
|
-
# The name of the recipient the ticket is delivered to.
|
|
912
|
-
attr_accessor :name
|
|
913
|
-
# The phone number of the recipient the ticket is delivered to.
|
|
914
|
-
attr_accessor :phone
|
|
915
|
-
|
|
916
|
-
def initialize(email: nil, name: nil, phone: nil)
|
|
917
|
-
@email = email
|
|
918
|
-
@name = name
|
|
919
|
-
@phone = phone
|
|
920
|
-
end
|
|
921
|
-
end
|
|
922
|
-
# The delivery method for the payment
|
|
923
|
-
attr_accessor :mode
|
|
924
|
-
# Details of the recipient.
|
|
925
|
-
attr_accessor :recipient
|
|
926
|
-
|
|
927
|
-
def initialize(mode: nil, recipient: nil)
|
|
928
|
-
@mode = mode
|
|
929
|
-
@recipient = recipient
|
|
930
|
-
end
|
|
931
|
-
end
|
|
932
|
-
# Indicates if the tickets are digitally checked when entering the venue.
|
|
933
|
-
attr_accessor :access_controlled_venue
|
|
934
|
-
# The event location's address.
|
|
935
|
-
attr_accessor :address
|
|
936
|
-
# Affiliate details for this purchase.
|
|
937
|
-
attr_accessor :affiliate
|
|
938
|
-
# The name of the company
|
|
939
|
-
attr_accessor :company
|
|
940
|
-
# Delivery details for this purchase.
|
|
941
|
-
attr_accessor :delivery
|
|
942
|
-
# Event end time. Measured in seconds since the Unix epoch.
|
|
943
|
-
attr_accessor :ends_at
|
|
944
|
-
# Type of the event entertainment (concert, sports event etc)
|
|
945
|
-
attr_accessor :genre
|
|
946
|
-
# The name of the event.
|
|
947
|
-
attr_accessor :name
|
|
948
|
-
# Event start time. Measured in seconds since the Unix epoch.
|
|
949
|
-
attr_accessor :starts_at
|
|
950
|
-
|
|
951
|
-
def initialize(
|
|
952
|
-
access_controlled_venue: nil,
|
|
953
|
-
address: nil,
|
|
954
|
-
affiliate: nil,
|
|
955
|
-
company: nil,
|
|
956
|
-
delivery: nil,
|
|
957
|
-
ends_at: nil,
|
|
958
|
-
genre: nil,
|
|
959
|
-
name: nil,
|
|
960
|
-
starts_at: nil
|
|
961
|
-
)
|
|
962
|
-
@access_controlled_venue = access_controlled_venue
|
|
963
|
-
@address = address
|
|
964
|
-
@affiliate = affiliate
|
|
965
|
-
@company = company
|
|
966
|
-
@delivery = delivery
|
|
967
|
-
@ends_at = ends_at
|
|
968
|
-
@genre = genre
|
|
969
|
-
@name = name
|
|
970
|
-
@starts_at = starts_at
|
|
971
|
-
end
|
|
972
|
-
end
|
|
973
|
-
|
|
974
|
-
class Flight < ::Stripe::RequestParams
|
|
975
|
-
class Affiliate < ::Stripe::RequestParams
|
|
976
|
-
# The name of the affiliate that originated the purchase.
|
|
977
|
-
attr_accessor :name
|
|
978
|
-
|
|
979
|
-
def initialize(name: nil)
|
|
980
|
-
@name = name
|
|
981
|
-
end
|
|
982
|
-
end
|
|
983
|
-
|
|
984
|
-
class Delivery < ::Stripe::RequestParams
|
|
985
|
-
class Recipient < ::Stripe::RequestParams
|
|
986
|
-
# The email of the recipient the ticket is delivered to.
|
|
987
|
-
attr_accessor :email
|
|
988
|
-
# The name of the recipient the ticket is delivered to.
|
|
989
|
-
attr_accessor :name
|
|
990
|
-
# The phone number of the recipient the ticket is delivered to.
|
|
991
|
-
attr_accessor :phone
|
|
992
|
-
|
|
993
|
-
def initialize(email: nil, name: nil, phone: nil)
|
|
994
|
-
@email = email
|
|
995
|
-
@name = name
|
|
996
|
-
@phone = phone
|
|
997
|
-
end
|
|
998
|
-
end
|
|
999
|
-
# The delivery method for the payment
|
|
1000
|
-
attr_accessor :mode
|
|
1001
|
-
# Details of the recipient.
|
|
1002
|
-
attr_accessor :recipient
|
|
1003
|
-
|
|
1004
|
-
def initialize(mode: nil, recipient: nil)
|
|
1005
|
-
@mode = mode
|
|
1006
|
-
@recipient = recipient
|
|
1007
|
-
end
|
|
1008
|
-
end
|
|
1009
|
-
|
|
1010
|
-
class Passenger < ::Stripe::RequestParams
|
|
1011
|
-
# Full name of the person or entity on the flight reservation.
|
|
1012
|
-
attr_accessor :name
|
|
1013
|
-
|
|
1014
|
-
def initialize(name: nil)
|
|
1015
|
-
@name = name
|
|
1016
|
-
end
|
|
1017
|
-
end
|
|
1018
|
-
|
|
1019
|
-
class Segment < ::Stripe::RequestParams
|
|
1020
|
-
# The flight segment amount.
|
|
1021
|
-
attr_accessor :amount
|
|
1022
|
-
# The International Air Transport Association (IATA) airport code for the arrival airport.
|
|
1023
|
-
attr_accessor :arrival_airport
|
|
1024
|
-
# The arrival time for the flight segment. Measured in seconds since the Unix epoch.
|
|
1025
|
-
attr_accessor :arrives_at
|
|
1026
|
-
# The International Air Transport Association (IATA) carrier code of the carrier operating the flight segment.
|
|
1027
|
-
attr_accessor :carrier
|
|
1028
|
-
# The departure time for the flight segment. Measured in seconds since the Unix epoch.
|
|
1029
|
-
attr_accessor :departs_at
|
|
1030
|
-
# The International Air Transport Association (IATA) airport code for the departure airport.
|
|
1031
|
-
attr_accessor :departure_airport
|
|
1032
|
-
# The flight number associated with the segment
|
|
1033
|
-
attr_accessor :flight_number
|
|
1034
|
-
# The fare class for the segment.
|
|
1035
|
-
attr_accessor :service_class
|
|
1036
|
-
|
|
1037
|
-
def initialize(
|
|
1038
|
-
amount: nil,
|
|
1039
|
-
arrival_airport: nil,
|
|
1040
|
-
arrives_at: nil,
|
|
1041
|
-
carrier: nil,
|
|
1042
|
-
departs_at: nil,
|
|
1043
|
-
departure_airport: nil,
|
|
1044
|
-
flight_number: nil,
|
|
1045
|
-
service_class: nil
|
|
1046
|
-
)
|
|
1047
|
-
@amount = amount
|
|
1048
|
-
@arrival_airport = arrival_airport
|
|
1049
|
-
@arrives_at = arrives_at
|
|
1050
|
-
@carrier = carrier
|
|
1051
|
-
@departs_at = departs_at
|
|
1052
|
-
@departure_airport = departure_airport
|
|
1053
|
-
@flight_number = flight_number
|
|
1054
|
-
@service_class = service_class
|
|
1055
|
-
end
|
|
1056
|
-
end
|
|
1057
|
-
# Affiliate details for this purchase.
|
|
1058
|
-
attr_accessor :affiliate
|
|
1059
|
-
# The agency number (i.e. International Air Transport Association (IATA) agency number) of the travel agency that made the booking.
|
|
1060
|
-
attr_accessor :agency_number
|
|
1061
|
-
# The International Air Transport Association (IATA) carrier code of the carrier that issued the ticket.
|
|
1062
|
-
attr_accessor :carrier
|
|
1063
|
-
# Delivery details for this purchase.
|
|
1064
|
-
attr_accessor :delivery
|
|
1065
|
-
# The name of the person or entity on the reservation.
|
|
1066
|
-
attr_accessor :passenger_name
|
|
1067
|
-
# The details of the passengers in the travel reservation.
|
|
1068
|
-
attr_accessor :passengers
|
|
1069
|
-
# The individual flight segments associated with the trip.
|
|
1070
|
-
attr_accessor :segments
|
|
1071
|
-
# The ticket number associated with the travel reservation.
|
|
1072
|
-
attr_accessor :ticket_number
|
|
1073
|
-
|
|
1074
|
-
def initialize(
|
|
1075
|
-
affiliate: nil,
|
|
1076
|
-
agency_number: nil,
|
|
1077
|
-
carrier: nil,
|
|
1078
|
-
delivery: nil,
|
|
1079
|
-
passenger_name: nil,
|
|
1080
|
-
passengers: nil,
|
|
1081
|
-
segments: nil,
|
|
1082
|
-
ticket_number: nil
|
|
1083
|
-
)
|
|
1084
|
-
@affiliate = affiliate
|
|
1085
|
-
@agency_number = agency_number
|
|
1086
|
-
@carrier = carrier
|
|
1087
|
-
@delivery = delivery
|
|
1088
|
-
@passenger_name = passenger_name
|
|
1089
|
-
@passengers = passengers
|
|
1090
|
-
@segments = segments
|
|
1091
|
-
@ticket_number = ticket_number
|
|
1092
|
-
end
|
|
1093
|
-
end
|
|
1094
|
-
|
|
1095
|
-
class FlightDatum < ::Stripe::RequestParams
|
|
1096
|
-
class Affiliate < ::Stripe::RequestParams
|
|
1097
|
-
# Affiliate partner code.
|
|
1098
|
-
attr_accessor :code
|
|
1099
|
-
# Name of affiliate partner.
|
|
1100
|
-
attr_accessor :name
|
|
1101
|
-
# Code provided by the company to a travel agent authorizing ticket issuance.
|
|
1102
|
-
attr_accessor :travel_authorization_code
|
|
1103
|
-
|
|
1104
|
-
def initialize(code: nil, name: nil, travel_authorization_code: nil)
|
|
1105
|
-
@code = code
|
|
1106
|
-
@name = name
|
|
1107
|
-
@travel_authorization_code = travel_authorization_code
|
|
1108
|
-
end
|
|
1109
|
-
end
|
|
1110
|
-
|
|
1111
|
-
class Insurance < ::Stripe::RequestParams
|
|
1112
|
-
# Insurance cost.
|
|
1113
|
-
attr_accessor :amount
|
|
1114
|
-
# Insurance currency.
|
|
1115
|
-
attr_accessor :currency
|
|
1116
|
-
# Insurance company name.
|
|
1117
|
-
attr_accessor :insurance_company_name
|
|
1118
|
-
# Type of insurance.
|
|
1119
|
-
attr_accessor :insurance_type
|
|
1120
|
-
|
|
1121
|
-
def initialize(
|
|
1122
|
-
amount: nil,
|
|
1123
|
-
currency: nil,
|
|
1124
|
-
insurance_company_name: nil,
|
|
1125
|
-
insurance_type: nil
|
|
1126
|
-
)
|
|
1127
|
-
@amount = amount
|
|
1128
|
-
@currency = currency
|
|
1129
|
-
@insurance_company_name = insurance_company_name
|
|
1130
|
-
@insurance_type = insurance_type
|
|
1131
|
-
end
|
|
1132
|
-
end
|
|
1133
|
-
|
|
1134
|
-
class Passenger < ::Stripe::RequestParams
|
|
1135
|
-
# Passenger's full name.
|
|
1136
|
-
attr_accessor :name
|
|
1137
|
-
|
|
1138
|
-
def initialize(name: nil)
|
|
1139
|
-
@name = name
|
|
1140
|
-
end
|
|
1141
|
-
end
|
|
1142
|
-
|
|
1143
|
-
class Segment < ::Stripe::RequestParams
|
|
1144
|
-
class Arrival < ::Stripe::RequestParams
|
|
1145
|
-
# Arrival airport IATA code.
|
|
1146
|
-
attr_accessor :airport
|
|
1147
|
-
# Arrival date/time.
|
|
1148
|
-
attr_accessor :arrives_at
|
|
1149
|
-
# Arrival city.
|
|
1150
|
-
attr_accessor :city
|
|
1151
|
-
# Arrival country.
|
|
1152
|
-
attr_accessor :country
|
|
1153
|
-
|
|
1154
|
-
def initialize(airport: nil, arrives_at: nil, city: nil, country: nil)
|
|
1155
|
-
@airport = airport
|
|
1156
|
-
@arrives_at = arrives_at
|
|
1157
|
-
@city = city
|
|
1158
|
-
@country = country
|
|
1159
|
-
end
|
|
1160
|
-
end
|
|
1161
|
-
|
|
1162
|
-
class Departure < ::Stripe::RequestParams
|
|
1163
|
-
# Departure airport IATA code.
|
|
1164
|
-
attr_accessor :airport
|
|
1165
|
-
# Departure city.
|
|
1166
|
-
attr_accessor :city
|
|
1167
|
-
# Departure country.
|
|
1168
|
-
attr_accessor :country
|
|
1169
|
-
# Departure date/time.
|
|
1170
|
-
attr_accessor :departs_at
|
|
1171
|
-
|
|
1172
|
-
def initialize(airport: nil, city: nil, country: nil, departs_at: nil)
|
|
1173
|
-
@airport = airport
|
|
1174
|
-
@city = city
|
|
1175
|
-
@country = country
|
|
1176
|
-
@departs_at = departs_at
|
|
1177
|
-
end
|
|
1178
|
-
end
|
|
1179
|
-
# Segment fare amount.
|
|
1180
|
-
attr_accessor :amount
|
|
1181
|
-
# Arrival details.
|
|
1182
|
-
attr_accessor :arrival
|
|
1183
|
-
# Airline carrier code.
|
|
1184
|
-
attr_accessor :carrier_code
|
|
1185
|
-
# Carrier name.
|
|
1186
|
-
attr_accessor :carrier_name
|
|
1187
|
-
# Segment currency.
|
|
1188
|
-
attr_accessor :currency
|
|
1189
|
-
# Departure details.
|
|
1190
|
-
attr_accessor :departure
|
|
1191
|
-
# Exchange ticket number.
|
|
1192
|
-
attr_accessor :exchange_ticket_number
|
|
1193
|
-
# Fare basis code.
|
|
1194
|
-
attr_accessor :fare_basis_code
|
|
1195
|
-
# Additional fees.
|
|
1196
|
-
attr_accessor :fees
|
|
1197
|
-
# Flight number.
|
|
1198
|
-
attr_accessor :flight_number
|
|
1199
|
-
# Stopover indicator.
|
|
1200
|
-
attr_accessor :is_stop_over_indicator
|
|
1201
|
-
# Refundable ticket indicator.
|
|
1202
|
-
attr_accessor :refundable
|
|
1203
|
-
# Class of service.
|
|
1204
|
-
attr_accessor :service_class
|
|
1205
|
-
# Tax amount for segment.
|
|
1206
|
-
attr_accessor :tax_amount
|
|
1207
|
-
# Ticket number.
|
|
1208
|
-
attr_accessor :ticket_number
|
|
1209
|
-
|
|
1210
|
-
def initialize(
|
|
1211
|
-
amount: nil,
|
|
1212
|
-
arrival: nil,
|
|
1213
|
-
carrier_code: nil,
|
|
1214
|
-
carrier_name: nil,
|
|
1215
|
-
currency: nil,
|
|
1216
|
-
departure: nil,
|
|
1217
|
-
exchange_ticket_number: nil,
|
|
1218
|
-
fare_basis_code: nil,
|
|
1219
|
-
fees: nil,
|
|
1220
|
-
flight_number: nil,
|
|
1221
|
-
is_stop_over_indicator: nil,
|
|
1222
|
-
refundable: nil,
|
|
1223
|
-
service_class: nil,
|
|
1224
|
-
tax_amount: nil,
|
|
1225
|
-
ticket_number: nil
|
|
1226
|
-
)
|
|
1227
|
-
@amount = amount
|
|
1228
|
-
@arrival = arrival
|
|
1229
|
-
@carrier_code = carrier_code
|
|
1230
|
-
@carrier_name = carrier_name
|
|
1231
|
-
@currency = currency
|
|
1232
|
-
@departure = departure
|
|
1233
|
-
@exchange_ticket_number = exchange_ticket_number
|
|
1234
|
-
@fare_basis_code = fare_basis_code
|
|
1235
|
-
@fees = fees
|
|
1236
|
-
@flight_number = flight_number
|
|
1237
|
-
@is_stop_over_indicator = is_stop_over_indicator
|
|
1238
|
-
@refundable = refundable
|
|
1239
|
-
@service_class = service_class
|
|
1240
|
-
@tax_amount = tax_amount
|
|
1241
|
-
@ticket_number = ticket_number
|
|
1242
|
-
end
|
|
1243
|
-
end
|
|
1244
|
-
|
|
1245
|
-
class Total < ::Stripe::RequestParams
|
|
1246
|
-
class Discounts < ::Stripe::RequestParams
|
|
1247
|
-
# Corporate client discount code.
|
|
1248
|
-
attr_accessor :corporate_client_code
|
|
1249
|
-
|
|
1250
|
-
def initialize(corporate_client_code: nil)
|
|
1251
|
-
@corporate_client_code = corporate_client_code
|
|
1252
|
-
end
|
|
1253
|
-
end
|
|
1254
|
-
|
|
1255
|
-
class ExtraCharge < ::Stripe::RequestParams
|
|
1256
|
-
# Amount of additional charges.
|
|
1257
|
-
attr_accessor :amount
|
|
1258
|
-
# Type of additional charges.
|
|
1259
|
-
attr_accessor :type
|
|
1260
|
-
|
|
1261
|
-
def initialize(amount: nil, type: nil)
|
|
1262
|
-
@amount = amount
|
|
1263
|
-
@type = type
|
|
1264
|
-
end
|
|
1265
|
-
end
|
|
1266
|
-
|
|
1267
|
-
class Tax < ::Stripe::RequestParams
|
|
1268
|
-
class Tax < ::Stripe::RequestParams
|
|
1269
|
-
# Tax amount.
|
|
1270
|
-
attr_accessor :amount
|
|
1271
|
-
# Tax rate.
|
|
1272
|
-
attr_accessor :rate
|
|
1273
|
-
# Type of tax.
|
|
1274
|
-
attr_accessor :type
|
|
1275
|
-
|
|
1276
|
-
def initialize(amount: nil, rate: nil, type: nil)
|
|
1277
|
-
@amount = amount
|
|
1278
|
-
@rate = rate
|
|
1279
|
-
@type = type
|
|
1280
|
-
end
|
|
1281
|
-
end
|
|
1282
|
-
# Array of tax details.
|
|
1283
|
-
attr_accessor :taxes
|
|
1284
|
-
|
|
1285
|
-
def initialize(taxes: nil)
|
|
1286
|
-
@taxes = taxes
|
|
1287
|
-
end
|
|
1288
|
-
end
|
|
1289
|
-
# Total flight amount.
|
|
1290
|
-
attr_accessor :amount
|
|
1291
|
-
# Reason for credit.
|
|
1292
|
-
attr_accessor :credit_reason
|
|
1293
|
-
# Total currency.
|
|
1294
|
-
attr_accessor :currency
|
|
1295
|
-
# Discount details.
|
|
1296
|
-
attr_accessor :discounts
|
|
1297
|
-
# Additional charges.
|
|
1298
|
-
attr_accessor :extra_charges
|
|
1299
|
-
# Tax breakdown.
|
|
1300
|
-
attr_accessor :tax
|
|
1301
|
-
|
|
1302
|
-
def initialize(
|
|
1303
|
-
amount: nil,
|
|
1304
|
-
credit_reason: nil,
|
|
1305
|
-
currency: nil,
|
|
1306
|
-
discounts: nil,
|
|
1307
|
-
extra_charges: nil,
|
|
1308
|
-
tax: nil
|
|
1309
|
-
)
|
|
1310
|
-
@amount = amount
|
|
1311
|
-
@credit_reason = credit_reason
|
|
1312
|
-
@currency = currency
|
|
1313
|
-
@discounts = discounts
|
|
1314
|
-
@extra_charges = extra_charges
|
|
1315
|
-
@tax = tax
|
|
1316
|
-
end
|
|
1317
|
-
end
|
|
1318
|
-
# Affiliate details if applicable.
|
|
1319
|
-
attr_accessor :affiliate
|
|
1320
|
-
# Reservation reference.
|
|
1321
|
-
attr_accessor :booking_number
|
|
1322
|
-
# Computerized reservation system used to make the reservation and purchase the ticket.
|
|
1323
|
-
attr_accessor :computerized_reservation_system
|
|
1324
|
-
# Ticket restrictions.
|
|
1325
|
-
attr_accessor :endorsements_and_restrictions
|
|
1326
|
-
# List of insurances.
|
|
1327
|
-
attr_accessor :insurances
|
|
1328
|
-
# List of passengers.
|
|
1329
|
-
attr_accessor :passengers
|
|
1330
|
-
# List of flight segments.
|
|
1331
|
-
attr_accessor :segments
|
|
1332
|
-
# Electronic ticket indicator.
|
|
1333
|
-
attr_accessor :ticket_electronically_issued_indicator
|
|
1334
|
-
# Total cost breakdown.
|
|
1335
|
-
attr_accessor :total
|
|
1336
|
-
# Type of flight transaction.
|
|
1337
|
-
attr_accessor :transaction_type
|
|
1338
|
-
|
|
1339
|
-
def initialize(
|
|
1340
|
-
affiliate: nil,
|
|
1341
|
-
booking_number: nil,
|
|
1342
|
-
computerized_reservation_system: nil,
|
|
1343
|
-
endorsements_and_restrictions: nil,
|
|
1344
|
-
insurances: nil,
|
|
1345
|
-
passengers: nil,
|
|
1346
|
-
segments: nil,
|
|
1347
|
-
ticket_electronically_issued_indicator: nil,
|
|
1348
|
-
total: nil,
|
|
1349
|
-
transaction_type: nil
|
|
1350
|
-
)
|
|
1351
|
-
@affiliate = affiliate
|
|
1352
|
-
@booking_number = booking_number
|
|
1353
|
-
@computerized_reservation_system = computerized_reservation_system
|
|
1354
|
-
@endorsements_and_restrictions = endorsements_and_restrictions
|
|
1355
|
-
@insurances = insurances
|
|
1356
|
-
@passengers = passengers
|
|
1357
|
-
@segments = segments
|
|
1358
|
-
@ticket_electronically_issued_indicator = ticket_electronically_issued_indicator
|
|
1359
|
-
@total = total
|
|
1360
|
-
@transaction_type = transaction_type
|
|
1361
|
-
end
|
|
1362
|
-
end
|
|
1363
|
-
|
|
1364
|
-
class Lodging < ::Stripe::RequestParams
|
|
1365
|
-
class Address < ::Stripe::RequestParams
|
|
1366
|
-
# City, district, suburb, town, or village.
|
|
1367
|
-
attr_accessor :city
|
|
1368
|
-
# Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)).
|
|
1369
|
-
attr_accessor :country
|
|
1370
|
-
# Address line 1, such as the street, PO Box, or company name.
|
|
1371
|
-
attr_accessor :line1
|
|
1372
|
-
# Address line 2, such as the apartment, suite, unit, or building.
|
|
1373
|
-
attr_accessor :line2
|
|
1374
|
-
# ZIP or postal code.
|
|
1375
|
-
attr_accessor :postal_code
|
|
1376
|
-
# State, county, province, or region ([ISO 3166-2](https://en.wikipedia.org/wiki/ISO_3166-2)).
|
|
1377
|
-
attr_accessor :state
|
|
1378
|
-
|
|
1379
|
-
def initialize(
|
|
1380
|
-
city: nil,
|
|
1381
|
-
country: nil,
|
|
1382
|
-
line1: nil,
|
|
1383
|
-
line2: nil,
|
|
1384
|
-
postal_code: nil,
|
|
1385
|
-
state: nil
|
|
1386
|
-
)
|
|
1387
|
-
@city = city
|
|
1388
|
-
@country = country
|
|
1389
|
-
@line1 = line1
|
|
1390
|
-
@line2 = line2
|
|
1391
|
-
@postal_code = postal_code
|
|
1392
|
-
@state = state
|
|
1393
|
-
end
|
|
1394
|
-
end
|
|
1395
|
-
|
|
1396
|
-
class Affiliate < ::Stripe::RequestParams
|
|
1397
|
-
# The name of the affiliate that originated the purchase.
|
|
1398
|
-
attr_accessor :name
|
|
1399
|
-
|
|
1400
|
-
def initialize(name: nil)
|
|
1401
|
-
@name = name
|
|
1402
|
-
end
|
|
1403
|
-
end
|
|
1404
|
-
|
|
1405
|
-
class Delivery < ::Stripe::RequestParams
|
|
1406
|
-
class Recipient < ::Stripe::RequestParams
|
|
1407
|
-
# The email of the recipient the ticket is delivered to.
|
|
1408
|
-
attr_accessor :email
|
|
1409
|
-
# The name of the recipient the ticket is delivered to.
|
|
1410
|
-
attr_accessor :name
|
|
1411
|
-
# The phone number of the recipient the ticket is delivered to.
|
|
1412
|
-
attr_accessor :phone
|
|
1413
|
-
|
|
1414
|
-
def initialize(email: nil, name: nil, phone: nil)
|
|
1415
|
-
@email = email
|
|
1416
|
-
@name = name
|
|
1417
|
-
@phone = phone
|
|
1418
|
-
end
|
|
1419
|
-
end
|
|
1420
|
-
# The delivery method for the payment
|
|
1421
|
-
attr_accessor :mode
|
|
1422
|
-
# Details of the recipient.
|
|
1423
|
-
attr_accessor :recipient
|
|
1424
|
-
|
|
1425
|
-
def initialize(mode: nil, recipient: nil)
|
|
1426
|
-
@mode = mode
|
|
1427
|
-
@recipient = recipient
|
|
1428
|
-
end
|
|
1429
|
-
end
|
|
1430
|
-
|
|
1431
|
-
class Passenger < ::Stripe::RequestParams
|
|
1432
|
-
# Full name of the person or entity on the lodging reservation.
|
|
1433
|
-
attr_accessor :name
|
|
1434
|
-
|
|
1435
|
-
def initialize(name: nil)
|
|
1436
|
-
@name = name
|
|
1437
|
-
end
|
|
1438
|
-
end
|
|
1439
|
-
# The lodging location's address.
|
|
1440
|
-
attr_accessor :address
|
|
1441
|
-
# The number of adults on the booking
|
|
1442
|
-
attr_accessor :adults
|
|
1443
|
-
# Affiliate details for this purchase.
|
|
1444
|
-
attr_accessor :affiliate
|
|
1445
|
-
# The booking number associated with the lodging reservation.
|
|
1446
|
-
attr_accessor :booking_number
|
|
1447
|
-
# The lodging category
|
|
1448
|
-
attr_accessor :category
|
|
1449
|
-
# Lodging check-in time. Measured in seconds since the Unix epoch.
|
|
1450
|
-
attr_accessor :checkin_at
|
|
1451
|
-
# Lodging check-out time. Measured in seconds since the Unix epoch.
|
|
1452
|
-
attr_accessor :checkout_at
|
|
1453
|
-
# The customer service phone number of the lodging company.
|
|
1454
|
-
attr_accessor :customer_service_phone_number
|
|
1455
|
-
# The daily lodging room rate.
|
|
1456
|
-
attr_accessor :daily_room_rate_amount
|
|
1457
|
-
# Delivery details for this purchase.
|
|
1458
|
-
attr_accessor :delivery
|
|
1459
|
-
# List of additional charges being billed.
|
|
1460
|
-
attr_accessor :extra_charges
|
|
1461
|
-
# Indicates whether the lodging location is compliant with the Fire Safety Act.
|
|
1462
|
-
attr_accessor :fire_safety_act_compliance
|
|
1463
|
-
# The name of the lodging location.
|
|
1464
|
-
attr_accessor :name
|
|
1465
|
-
# Indicates if the customer did not keep their booking while failing to cancel the reservation.
|
|
1466
|
-
attr_accessor :no_show
|
|
1467
|
-
# The number of rooms on the booking
|
|
1468
|
-
attr_accessor :number_of_rooms
|
|
1469
|
-
# The details of the passengers in the travel reservation
|
|
1470
|
-
attr_accessor :passengers
|
|
1471
|
-
# The phone number of the lodging location.
|
|
1472
|
-
attr_accessor :property_phone_number
|
|
1473
|
-
# The room class for this purchase.
|
|
1474
|
-
attr_accessor :room_class
|
|
1475
|
-
# The number of room nights
|
|
1476
|
-
attr_accessor :room_nights
|
|
1477
|
-
# The total tax amount associating with the room reservation.
|
|
1478
|
-
attr_accessor :total_room_tax_amount
|
|
1479
|
-
# The total tax amount
|
|
1480
|
-
attr_accessor :total_tax_amount
|
|
1481
|
-
|
|
1482
|
-
def initialize(
|
|
1483
|
-
address: nil,
|
|
1484
|
-
adults: nil,
|
|
1485
|
-
affiliate: nil,
|
|
1486
|
-
booking_number: nil,
|
|
1487
|
-
category: nil,
|
|
1488
|
-
checkin_at: nil,
|
|
1489
|
-
checkout_at: nil,
|
|
1490
|
-
customer_service_phone_number: nil,
|
|
1491
|
-
daily_room_rate_amount: nil,
|
|
1492
|
-
delivery: nil,
|
|
1493
|
-
extra_charges: nil,
|
|
1494
|
-
fire_safety_act_compliance: nil,
|
|
1495
|
-
name: nil,
|
|
1496
|
-
no_show: nil,
|
|
1497
|
-
number_of_rooms: nil,
|
|
1498
|
-
passengers: nil,
|
|
1499
|
-
property_phone_number: nil,
|
|
1500
|
-
room_class: nil,
|
|
1501
|
-
room_nights: nil,
|
|
1502
|
-
total_room_tax_amount: nil,
|
|
1503
|
-
total_tax_amount: nil
|
|
1504
|
-
)
|
|
1505
|
-
@address = address
|
|
1506
|
-
@adults = adults
|
|
1507
|
-
@affiliate = affiliate
|
|
1508
|
-
@booking_number = booking_number
|
|
1509
|
-
@category = category
|
|
1510
|
-
@checkin_at = checkin_at
|
|
1511
|
-
@checkout_at = checkout_at
|
|
1512
|
-
@customer_service_phone_number = customer_service_phone_number
|
|
1513
|
-
@daily_room_rate_amount = daily_room_rate_amount
|
|
1514
|
-
@delivery = delivery
|
|
1515
|
-
@extra_charges = extra_charges
|
|
1516
|
-
@fire_safety_act_compliance = fire_safety_act_compliance
|
|
1517
|
-
@name = name
|
|
1518
|
-
@no_show = no_show
|
|
1519
|
-
@number_of_rooms = number_of_rooms
|
|
1520
|
-
@passengers = passengers
|
|
1521
|
-
@property_phone_number = property_phone_number
|
|
1522
|
-
@room_class = room_class
|
|
1523
|
-
@room_nights = room_nights
|
|
1524
|
-
@total_room_tax_amount = total_room_tax_amount
|
|
1525
|
-
@total_tax_amount = total_tax_amount
|
|
123
|
+
@payment_method_options = payment_method_options
|
|
124
|
+
@product_code = product_code
|
|
125
|
+
@product_name = product_name
|
|
126
|
+
@quantity = quantity
|
|
127
|
+
@tax = tax
|
|
128
|
+
@unit_cost = unit_cost
|
|
129
|
+
@unit_of_measure = unit_of_measure
|
|
1526
130
|
end
|
|
1527
131
|
end
|
|
1528
132
|
|
|
1529
|
-
class
|
|
1530
|
-
|
|
1531
|
-
|
|
1532
|
-
|
|
1533
|
-
|
|
1534
|
-
|
|
1535
|
-
|
|
1536
|
-
attr_accessor :daily_rate_amount
|
|
1537
|
-
# Number of nights.
|
|
1538
|
-
attr_accessor :nights
|
|
1539
|
-
# Number of rooms, cabanas, apartments, and so on.
|
|
1540
|
-
attr_accessor :number_of_rooms
|
|
1541
|
-
# Rate type.
|
|
1542
|
-
attr_accessor :rate_type
|
|
1543
|
-
# Whether smoking is allowed.
|
|
1544
|
-
attr_accessor :smoking_indicator
|
|
133
|
+
class Shipping < ::Stripe::RequestParams
|
|
134
|
+
# If a physical good is being shipped, the cost of shipping represented in the [smallest currency unit](https://docs.stripe.com/currencies#zero-decimal). An integer greater than or equal to 0.
|
|
135
|
+
attr_accessor :amount
|
|
136
|
+
# If a physical good is being shipped, the postal code of where it is being shipped from. At most 10 alphanumeric characters long, hyphens are allowed.
|
|
137
|
+
attr_accessor :from_postal_code
|
|
138
|
+
# If a physical good is being shipped, the postal code of where it is being shipped to. At most 10 alphanumeric characters long, hyphens are allowed.
|
|
139
|
+
attr_accessor :to_postal_code
|
|
1545
140
|
|
|
1546
|
-
|
|
1547
|
-
|
|
1548
|
-
|
|
1549
|
-
|
|
1550
|
-
nights: nil,
|
|
1551
|
-
number_of_rooms: nil,
|
|
1552
|
-
rate_type: nil,
|
|
1553
|
-
smoking_indicator: nil
|
|
1554
|
-
)
|
|
1555
|
-
@accommodation_type = accommodation_type
|
|
1556
|
-
@bed_type = bed_type
|
|
1557
|
-
@daily_rate_amount = daily_rate_amount
|
|
1558
|
-
@nights = nights
|
|
1559
|
-
@number_of_rooms = number_of_rooms
|
|
1560
|
-
@rate_type = rate_type
|
|
1561
|
-
@smoking_indicator = smoking_indicator
|
|
1562
|
-
end
|
|
141
|
+
def initialize(amount: nil, from_postal_code: nil, to_postal_code: nil)
|
|
142
|
+
@amount = amount
|
|
143
|
+
@from_postal_code = from_postal_code
|
|
144
|
+
@to_postal_code = to_postal_code
|
|
1563
145
|
end
|
|
146
|
+
end
|
|
1564
147
|
|
|
1565
|
-
|
|
1566
|
-
|
|
1567
|
-
|
|
1568
|
-
|
|
1569
|
-
|
|
148
|
+
class Tax < ::Stripe::RequestParams
|
|
149
|
+
# 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.
|
|
150
|
+
#
|
|
151
|
+
# This field is mutually exclusive with the `amount_details[line_items][#][tax][total_tax_amount]` field.
|
|
152
|
+
attr_accessor :total_tax_amount
|
|
1570
153
|
|
|
1571
|
-
|
|
1572
|
-
|
|
1573
|
-
@name = name
|
|
1574
|
-
end
|
|
154
|
+
def initialize(total_tax_amount: nil)
|
|
155
|
+
@total_tax_amount = total_tax_amount
|
|
1575
156
|
end
|
|
157
|
+
end
|
|
158
|
+
# The total discount applied on the transaction represented in the [smallest currency unit](https://docs.stripe.com/currencies#zero-decimal). An integer greater than 0.
|
|
159
|
+
#
|
|
160
|
+
# This field is mutually exclusive with the `amount_details[line_items][#][discount_amount]` field.
|
|
161
|
+
attr_accessor :discount_amount
|
|
162
|
+
# Set to `false` to return arithmetic validation errors in the response without failing the request. Use this when you want the operation to proceed regardless of arithmetic errors in the line item data.
|
|
163
|
+
#
|
|
164
|
+
# Omit or set to `true` to immediately return a 400 error when arithmetic validation fails. Use this for strict validation that prevents processing with line item data that has arithmetic inconsistencies.
|
|
165
|
+
#
|
|
166
|
+
# For card payments, Stripe doesn't send line item data if there's an arithmetic validation error to card networks.
|
|
167
|
+
attr_accessor :enforce_arithmetic_validation
|
|
168
|
+
# A list of line items, each containing information about a product in the PaymentIntent. There is a maximum of 200 line items.
|
|
169
|
+
attr_accessor :line_items
|
|
170
|
+
# Contains information about the shipping portion of the amount.
|
|
171
|
+
attr_accessor :shipping
|
|
172
|
+
# Contains information about the tax portion of the amount.
|
|
173
|
+
attr_accessor :tax
|
|
1576
174
|
|
|
1577
|
-
|
|
1578
|
-
|
|
1579
|
-
|
|
175
|
+
def initialize(
|
|
176
|
+
discount_amount: nil,
|
|
177
|
+
enforce_arithmetic_validation: nil,
|
|
178
|
+
line_items: nil,
|
|
179
|
+
shipping: nil,
|
|
180
|
+
tax: nil
|
|
181
|
+
)
|
|
182
|
+
@discount_amount = discount_amount
|
|
183
|
+
@enforce_arithmetic_validation = enforce_arithmetic_validation
|
|
184
|
+
@line_items = line_items
|
|
185
|
+
@shipping = shipping
|
|
186
|
+
@tax = tax
|
|
187
|
+
end
|
|
188
|
+
end
|
|
1580
189
|
|
|
1581
|
-
|
|
1582
|
-
|
|
1583
|
-
|
|
1584
|
-
|
|
190
|
+
class AutomaticPaymentMethods < ::Stripe::RequestParams
|
|
191
|
+
# Controls whether this PaymentIntent will accept redirect-based payment methods.
|
|
192
|
+
#
|
|
193
|
+
# Redirect-based payment methods may require your customer to be redirected to a payment method's app or site for authentication or additional steps. To [confirm](https://docs.stripe.com/api/payment_intents/confirm) this PaymentIntent, you may be required to provide a `return_url` to redirect customers back to your site after they authenticate or complete the payment.
|
|
194
|
+
attr_accessor :allow_redirects
|
|
195
|
+
# Whether this feature is enabled.
|
|
196
|
+
attr_accessor :enabled
|
|
1585
197
|
|
|
1586
|
-
|
|
1587
|
-
|
|
1588
|
-
|
|
1589
|
-
|
|
1590
|
-
|
|
1591
|
-
attr_accessor :country
|
|
1592
|
-
# Address line 1, such as the street, PO Box, or company name.
|
|
1593
|
-
attr_accessor :line1
|
|
1594
|
-
# Address line 2, such as the apartment, suite, unit, or building.
|
|
1595
|
-
attr_accessor :line2
|
|
1596
|
-
# ZIP or postal code.
|
|
1597
|
-
attr_accessor :postal_code
|
|
1598
|
-
# State, county, province, or region ([ISO 3166-2](https://en.wikipedia.org/wiki/ISO_3166-2)).
|
|
1599
|
-
attr_accessor :state
|
|
198
|
+
def initialize(allow_redirects: nil, enabled: nil)
|
|
199
|
+
@allow_redirects = allow_redirects
|
|
200
|
+
@enabled = enabled
|
|
201
|
+
end
|
|
202
|
+
end
|
|
1600
203
|
|
|
1601
|
-
|
|
1602
|
-
|
|
1603
|
-
|
|
1604
|
-
|
|
1605
|
-
|
|
1606
|
-
postal_code: nil,
|
|
1607
|
-
state: nil
|
|
1608
|
-
)
|
|
1609
|
-
@city = city
|
|
1610
|
-
@country = country
|
|
1611
|
-
@line1 = line1
|
|
1612
|
-
@line2 = line2
|
|
1613
|
-
@postal_code = postal_code
|
|
1614
|
-
@state = state
|
|
1615
|
-
end
|
|
1616
|
-
end
|
|
1617
|
-
# Address of the host.
|
|
1618
|
-
attr_accessor :address
|
|
1619
|
-
# Host's country of domicile.
|
|
1620
|
-
attr_accessor :country_of_domicile
|
|
1621
|
-
# Reference number for the host.
|
|
1622
|
-
attr_accessor :host_reference
|
|
1623
|
-
# Type of host.
|
|
1624
|
-
attr_accessor :host_type
|
|
1625
|
-
# Name of the lodging property or host.
|
|
1626
|
-
attr_accessor :name
|
|
1627
|
-
# Total number of reservations for the host.
|
|
1628
|
-
attr_accessor :number_of_reservations
|
|
1629
|
-
# Property phone number.
|
|
1630
|
-
attr_accessor :property_phone_number
|
|
1631
|
-
# Host's registration date.
|
|
1632
|
-
attr_accessor :registered_at
|
|
204
|
+
class Hooks < ::Stripe::RequestParams
|
|
205
|
+
class Inputs < ::Stripe::RequestParams
|
|
206
|
+
class Tax < ::Stripe::RequestParams
|
|
207
|
+
# The [TaxCalculation](https://docs.stripe.com/api/tax/calculations) id
|
|
208
|
+
attr_accessor :calculation
|
|
1633
209
|
|
|
1634
|
-
def initialize(
|
|
1635
|
-
|
|
1636
|
-
country_of_domicile: nil,
|
|
1637
|
-
host_reference: nil,
|
|
1638
|
-
host_type: nil,
|
|
1639
|
-
name: nil,
|
|
1640
|
-
number_of_reservations: nil,
|
|
1641
|
-
property_phone_number: nil,
|
|
1642
|
-
registered_at: nil
|
|
1643
|
-
)
|
|
1644
|
-
@address = address
|
|
1645
|
-
@country_of_domicile = country_of_domicile
|
|
1646
|
-
@host_reference = host_reference
|
|
1647
|
-
@host_type = host_type
|
|
1648
|
-
@name = name
|
|
1649
|
-
@number_of_reservations = number_of_reservations
|
|
1650
|
-
@property_phone_number = property_phone_number
|
|
1651
|
-
@registered_at = registered_at
|
|
210
|
+
def initialize(calculation: nil)
|
|
211
|
+
@calculation = calculation
|
|
1652
212
|
end
|
|
1653
213
|
end
|
|
214
|
+
# Tax arguments for automations
|
|
215
|
+
attr_accessor :tax
|
|
1654
216
|
|
|
1655
|
-
|
|
1656
|
-
|
|
1657
|
-
attr_accessor :amount
|
|
1658
|
-
# Currency of the insurance amount.
|
|
1659
|
-
attr_accessor :currency
|
|
1660
|
-
# Name of the insurance company.
|
|
1661
|
-
attr_accessor :insurance_company_name
|
|
1662
|
-
# Type of insurance coverage.
|
|
1663
|
-
attr_accessor :insurance_type
|
|
1664
|
-
|
|
1665
|
-
def initialize(
|
|
1666
|
-
amount: nil,
|
|
1667
|
-
currency: nil,
|
|
1668
|
-
insurance_company_name: nil,
|
|
1669
|
-
insurance_type: nil
|
|
1670
|
-
)
|
|
1671
|
-
@amount = amount
|
|
1672
|
-
@currency = currency
|
|
1673
|
-
@insurance_company_name = insurance_company_name
|
|
1674
|
-
@insurance_type = insurance_type
|
|
1675
|
-
end
|
|
217
|
+
def initialize(tax: nil)
|
|
218
|
+
@tax = tax
|
|
1676
219
|
end
|
|
220
|
+
end
|
|
221
|
+
# Arguments passed in automations
|
|
222
|
+
attr_accessor :inputs
|
|
1677
223
|
|
|
1678
|
-
|
|
1679
|
-
|
|
1680
|
-
|
|
1681
|
-
|
|
1682
|
-
# Coupon code.
|
|
1683
|
-
attr_accessor :coupon
|
|
1684
|
-
|
|
1685
|
-
def initialize(corporate_client_code: nil, coupon: nil)
|
|
1686
|
-
@corporate_client_code = corporate_client_code
|
|
1687
|
-
@coupon = coupon
|
|
1688
|
-
end
|
|
1689
|
-
end
|
|
1690
|
-
|
|
1691
|
-
class ExtraCharge < ::Stripe::RequestParams
|
|
1692
|
-
# Amount of the extra charge in cents.
|
|
1693
|
-
attr_accessor :amount
|
|
1694
|
-
# Type of extra charge.
|
|
1695
|
-
attr_accessor :type
|
|
224
|
+
def initialize(inputs: nil)
|
|
225
|
+
@inputs = inputs
|
|
226
|
+
end
|
|
227
|
+
end
|
|
1696
228
|
|
|
1697
|
-
|
|
1698
|
-
|
|
1699
|
-
|
|
1700
|
-
end
|
|
1701
|
-
end
|
|
229
|
+
class MandateData < ::Stripe::RequestParams
|
|
230
|
+
class CustomerAcceptance < ::Stripe::RequestParams
|
|
231
|
+
class Offline < ::Stripe::RequestParams; end
|
|
1702
232
|
|
|
1703
|
-
|
|
1704
|
-
|
|
1705
|
-
|
|
1706
|
-
|
|
1707
|
-
|
|
1708
|
-
attr_accessor :rate
|
|
1709
|
-
# Type of tax applied.
|
|
1710
|
-
attr_accessor :type
|
|
1711
|
-
|
|
1712
|
-
def initialize(amount: nil, rate: nil, type: nil)
|
|
1713
|
-
@amount = amount
|
|
1714
|
-
@rate = rate
|
|
1715
|
-
@type = type
|
|
1716
|
-
end
|
|
1717
|
-
end
|
|
1718
|
-
# Indicates whether the transaction is tax exempt.
|
|
1719
|
-
attr_accessor :tax_exempt_indicator
|
|
1720
|
-
# Tax details.
|
|
1721
|
-
attr_accessor :taxes
|
|
1722
|
-
|
|
1723
|
-
def initialize(tax_exempt_indicator: nil, taxes: nil)
|
|
1724
|
-
@tax_exempt_indicator = tax_exempt_indicator
|
|
1725
|
-
@taxes = taxes
|
|
1726
|
-
end
|
|
1727
|
-
end
|
|
1728
|
-
# Total price of the lodging reservation in cents.
|
|
1729
|
-
attr_accessor :amount
|
|
1730
|
-
# Cash advances in cents.
|
|
1731
|
-
attr_accessor :cash_advances
|
|
1732
|
-
# Currency of the total amount.
|
|
1733
|
-
attr_accessor :currency
|
|
1734
|
-
# Discount details for the lodging.
|
|
1735
|
-
attr_accessor :discounts
|
|
1736
|
-
# Additional charges for the lodging.
|
|
1737
|
-
attr_accessor :extra_charges
|
|
1738
|
-
# Prepaid amount in cents.
|
|
1739
|
-
attr_accessor :prepaid_amount
|
|
1740
|
-
# Tax breakdown for the lodging reservation.
|
|
1741
|
-
attr_accessor :tax
|
|
233
|
+
class Online < ::Stripe::RequestParams
|
|
234
|
+
# The IP address from which the Mandate was accepted by the customer.
|
|
235
|
+
attr_accessor :ip_address
|
|
236
|
+
# The user agent of the browser from which the Mandate was accepted by the customer.
|
|
237
|
+
attr_accessor :user_agent
|
|
1742
238
|
|
|
1743
|
-
def initialize(
|
|
1744
|
-
|
|
1745
|
-
|
|
1746
|
-
currency: nil,
|
|
1747
|
-
discounts: nil,
|
|
1748
|
-
extra_charges: nil,
|
|
1749
|
-
prepaid_amount: nil,
|
|
1750
|
-
tax: nil
|
|
1751
|
-
)
|
|
1752
|
-
@amount = amount
|
|
1753
|
-
@cash_advances = cash_advances
|
|
1754
|
-
@currency = currency
|
|
1755
|
-
@discounts = discounts
|
|
1756
|
-
@extra_charges = extra_charges
|
|
1757
|
-
@prepaid_amount = prepaid_amount
|
|
1758
|
-
@tax = tax
|
|
239
|
+
def initialize(ip_address: nil, user_agent: nil)
|
|
240
|
+
@ip_address = ip_address
|
|
241
|
+
@user_agent = user_agent
|
|
1759
242
|
end
|
|
1760
243
|
end
|
|
1761
|
-
#
|
|
1762
|
-
attr_accessor :
|
|
1763
|
-
#
|
|
1764
|
-
attr_accessor :
|
|
1765
|
-
#
|
|
1766
|
-
attr_accessor :
|
|
1767
|
-
#
|
|
1768
|
-
attr_accessor :
|
|
1769
|
-
# Check-out date.
|
|
1770
|
-
attr_accessor :checkout_at
|
|
1771
|
-
# Customer service phone number for the lodging company.
|
|
1772
|
-
attr_accessor :customer_service_phone_number
|
|
1773
|
-
# Whether the lodging is compliant with any hotel fire safety regulations.
|
|
1774
|
-
attr_accessor :fire_safety_act_compliance_indicator
|
|
1775
|
-
# List of guests for the lodging.
|
|
1776
|
-
attr_accessor :guests
|
|
1777
|
-
# Host details for the lodging.
|
|
1778
|
-
attr_accessor :host
|
|
1779
|
-
# List of insurances for the lodging.
|
|
1780
|
-
attr_accessor :insurances
|
|
1781
|
-
# Whether the renter is a no-show.
|
|
1782
|
-
attr_accessor :no_show_indicator
|
|
1783
|
-
# Renter ID number for the lodging.
|
|
1784
|
-
attr_accessor :renter_id_number
|
|
1785
|
-
# Renter name for the lodging.
|
|
1786
|
-
attr_accessor :renter_name
|
|
1787
|
-
# Total details for the lodging.
|
|
1788
|
-
attr_accessor :total
|
|
244
|
+
# The time at which the customer accepted the Mandate.
|
|
245
|
+
attr_accessor :accepted_at
|
|
246
|
+
# If this is a Mandate accepted offline, this hash contains details about the offline acceptance.
|
|
247
|
+
attr_accessor :offline
|
|
248
|
+
# If this is a Mandate accepted online, this hash contains details about the online acceptance.
|
|
249
|
+
attr_accessor :online
|
|
250
|
+
# The type of customer acceptance information included with the Mandate. One of `online` or `offline`.
|
|
251
|
+
attr_accessor :type
|
|
1789
252
|
|
|
1790
|
-
def initialize(
|
|
1791
|
-
|
|
1792
|
-
|
|
1793
|
-
|
|
1794
|
-
|
|
1795
|
-
checkout_at: nil,
|
|
1796
|
-
customer_service_phone_number: nil,
|
|
1797
|
-
fire_safety_act_compliance_indicator: nil,
|
|
1798
|
-
guests: nil,
|
|
1799
|
-
host: nil,
|
|
1800
|
-
insurances: nil,
|
|
1801
|
-
no_show_indicator: nil,
|
|
1802
|
-
renter_id_number: nil,
|
|
1803
|
-
renter_name: nil,
|
|
1804
|
-
total: nil
|
|
1805
|
-
)
|
|
1806
|
-
@accommodation = accommodation
|
|
1807
|
-
@affiliate = affiliate
|
|
1808
|
-
@booking_number = booking_number
|
|
1809
|
-
@checkin_at = checkin_at
|
|
1810
|
-
@checkout_at = checkout_at
|
|
1811
|
-
@customer_service_phone_number = customer_service_phone_number
|
|
1812
|
-
@fire_safety_act_compliance_indicator = fire_safety_act_compliance_indicator
|
|
1813
|
-
@guests = guests
|
|
1814
|
-
@host = host
|
|
1815
|
-
@insurances = insurances
|
|
1816
|
-
@no_show_indicator = no_show_indicator
|
|
1817
|
-
@renter_id_number = renter_id_number
|
|
1818
|
-
@renter_name = renter_name
|
|
1819
|
-
@total = total
|
|
253
|
+
def initialize(accepted_at: nil, offline: nil, online: nil, type: nil)
|
|
254
|
+
@accepted_at = accepted_at
|
|
255
|
+
@offline = offline
|
|
256
|
+
@online = online
|
|
257
|
+
@type = type
|
|
1820
258
|
end
|
|
1821
259
|
end
|
|
260
|
+
# This hash contains details about the customer acceptance of the Mandate.
|
|
261
|
+
attr_accessor :customer_acceptance
|
|
1822
262
|
|
|
1823
|
-
|
|
1824
|
-
|
|
1825
|
-
# The name of the affiliate that originated the purchase.
|
|
1826
|
-
attr_accessor :name
|
|
1827
|
-
|
|
1828
|
-
def initialize(name: nil)
|
|
1829
|
-
@name = name
|
|
1830
|
-
end
|
|
1831
|
-
end
|
|
1832
|
-
|
|
1833
|
-
class BillingInterval < ::Stripe::RequestParams
|
|
1834
|
-
# The number of intervals, as an whole number greater than 0. Stripe multiplies this by the interval type to get the overall duration.
|
|
1835
|
-
attr_accessor :count
|
|
1836
|
-
# Specifies a type of interval unit. Either `day`, `week`, `month` or `year`.
|
|
1837
|
-
attr_accessor :interval
|
|
1838
|
-
|
|
1839
|
-
def initialize(count: nil, interval: nil)
|
|
1840
|
-
@count = count
|
|
1841
|
-
@interval = interval
|
|
1842
|
-
end
|
|
1843
|
-
end
|
|
1844
|
-
# Affiliate details for this purchase.
|
|
1845
|
-
attr_accessor :affiliate
|
|
1846
|
-
# Info whether the subscription will be auto renewed upon expiry.
|
|
1847
|
-
attr_accessor :auto_renewal
|
|
1848
|
-
# Subscription billing details for this purchase.
|
|
1849
|
-
attr_accessor :billing_interval
|
|
1850
|
-
# Subscription end time. Measured in seconds since the Unix epoch.
|
|
1851
|
-
attr_accessor :ends_at
|
|
1852
|
-
# Name of the product on subscription. e.g. Apple Music Subscription
|
|
1853
|
-
attr_accessor :name
|
|
1854
|
-
# Subscription start time. Measured in seconds since the Unix epoch.
|
|
1855
|
-
attr_accessor :starts_at
|
|
1856
|
-
|
|
1857
|
-
def initialize(
|
|
1858
|
-
affiliate: nil,
|
|
1859
|
-
auto_renewal: nil,
|
|
1860
|
-
billing_interval: nil,
|
|
1861
|
-
ends_at: nil,
|
|
1862
|
-
name: nil,
|
|
1863
|
-
starts_at: nil
|
|
1864
|
-
)
|
|
1865
|
-
@affiliate = affiliate
|
|
1866
|
-
@auto_renewal = auto_renewal
|
|
1867
|
-
@billing_interval = billing_interval
|
|
1868
|
-
@ends_at = ends_at
|
|
1869
|
-
@name = name
|
|
1870
|
-
@starts_at = starts_at
|
|
1871
|
-
end
|
|
263
|
+
def initialize(customer_acceptance: nil)
|
|
264
|
+
@customer_acceptance = customer_acceptance
|
|
1872
265
|
end
|
|
1873
|
-
|
|
1874
|
-
|
|
1875
|
-
|
|
1876
|
-
attr_accessor :car_rental
|
|
1877
|
-
# Car rental data for this PaymentIntent.
|
|
1878
|
-
attr_accessor :car_rental_data
|
|
266
|
+
end
|
|
267
|
+
|
|
268
|
+
class PaymentDetails < ::Stripe::RequestParams
|
|
1879
269
|
# A unique value to identify the customer. This field is available only for card payments.
|
|
1880
270
|
#
|
|
1881
271
|
# This field is truncated to 25 alphanumeric characters, excluding spaces, before being sent to card networks.
|
|
1882
272
|
attr_accessor :customer_reference
|
|
1883
|
-
# Event details for this PaymentIntent
|
|
1884
|
-
attr_accessor :event_details
|
|
1885
|
-
# Flight reservation details for this PaymentIntent
|
|
1886
|
-
attr_accessor :flight
|
|
1887
|
-
# Flight data for this PaymentIntent.
|
|
1888
|
-
attr_accessor :flight_data
|
|
1889
|
-
# Lodging reservation details for this PaymentIntent
|
|
1890
|
-
attr_accessor :lodging
|
|
1891
|
-
# Lodging data for this PaymentIntent.
|
|
1892
|
-
attr_accessor :lodging_data
|
|
1893
273
|
# A unique value assigned by the business to identify the transaction. Required for L2 and L3 rates.
|
|
1894
274
|
#
|
|
1895
275
|
# Required when the Payment Method Types array contains `card`, including when [automatic_payment_methods.enabled](/api/payment_intents/create#create_payment_intent-automatic_payment_methods-enabled) is set to `true`.
|
|
1896
276
|
#
|
|
1897
277
|
# 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.
|
|
1898
278
|
attr_accessor :order_reference
|
|
1899
|
-
# Subscription details for this PaymentIntent
|
|
1900
|
-
attr_accessor :subscription
|
|
1901
279
|
|
|
1902
|
-
def initialize(
|
|
1903
|
-
benefit: nil,
|
|
1904
|
-
car_rental: nil,
|
|
1905
|
-
car_rental_data: nil,
|
|
1906
|
-
customer_reference: nil,
|
|
1907
|
-
event_details: nil,
|
|
1908
|
-
flight: nil,
|
|
1909
|
-
flight_data: nil,
|
|
1910
|
-
lodging: nil,
|
|
1911
|
-
lodging_data: nil,
|
|
1912
|
-
order_reference: nil,
|
|
1913
|
-
subscription: nil
|
|
1914
|
-
)
|
|
1915
|
-
@benefit = benefit
|
|
1916
|
-
@car_rental = car_rental
|
|
1917
|
-
@car_rental_data = car_rental_data
|
|
280
|
+
def initialize(customer_reference: nil, order_reference: nil)
|
|
1918
281
|
@customer_reference = customer_reference
|
|
1919
|
-
@event_details = event_details
|
|
1920
|
-
@flight = flight
|
|
1921
|
-
@flight_data = flight_data
|
|
1922
|
-
@lodging = lodging
|
|
1923
|
-
@lodging_data = lodging_data
|
|
1924
282
|
@order_reference = order_reference
|
|
1925
|
-
@subscription = subscription
|
|
1926
283
|
end
|
|
1927
284
|
end
|
|
1928
285
|
|
|
@@ -2063,18 +420,8 @@ module Stripe
|
|
|
2063
420
|
end
|
|
2064
421
|
|
|
2065
422
|
class Giropay < ::Stripe::RequestParams; end
|
|
2066
|
-
class Gopay < ::Stripe::RequestParams; end
|
|
2067
423
|
class Grabpay < ::Stripe::RequestParams; end
|
|
2068
424
|
|
|
2069
|
-
class IdBankTransfer < ::Stripe::RequestParams
|
|
2070
|
-
# Bank where the account is held.
|
|
2071
|
-
attr_accessor :bank
|
|
2072
|
-
|
|
2073
|
-
def initialize(bank: nil)
|
|
2074
|
-
@bank = bank
|
|
2075
|
-
end
|
|
2076
|
-
end
|
|
2077
|
-
|
|
2078
425
|
class Ideal < ::Stripe::RequestParams
|
|
2079
426
|
# The customer's bank. Only use this parameter for existing customers. Don't use it for new customers.
|
|
2080
427
|
attr_accessor :bank
|
|
@@ -2172,7 +519,6 @@ module Stripe
|
|
|
2172
519
|
class Payco < ::Stripe::RequestParams; end
|
|
2173
520
|
class Paynow < ::Stripe::RequestParams; end
|
|
2174
521
|
class Paypal < ::Stripe::RequestParams; end
|
|
2175
|
-
class Paypay < ::Stripe::RequestParams; end
|
|
2176
522
|
|
|
2177
523
|
class Payto < ::Stripe::RequestParams
|
|
2178
524
|
# The account number for the bank account.
|
|
@@ -2191,7 +537,6 @@ module Stripe
|
|
|
2191
537
|
|
|
2192
538
|
class Pix < ::Stripe::RequestParams; end
|
|
2193
539
|
class Promptpay < ::Stripe::RequestParams; end
|
|
2194
|
-
class Qris < ::Stripe::RequestParams; end
|
|
2195
540
|
|
|
2196
541
|
class RadarOptions < ::Stripe::RequestParams
|
|
2197
542
|
# A [Radar Session](https://docs.stripe.com/radar/radar-session) is a snapshot of the browser metadata and device details that help Radar make more accurate predictions on your payments.
|
|
@@ -2202,29 +547,6 @@ module Stripe
|
|
|
2202
547
|
end
|
|
2203
548
|
end
|
|
2204
549
|
|
|
2205
|
-
class Rechnung < ::Stripe::RequestParams
|
|
2206
|
-
class Dob < ::Stripe::RequestParams
|
|
2207
|
-
# The day of birth, between 1 and 31.
|
|
2208
|
-
attr_accessor :day
|
|
2209
|
-
# The month of birth, between 1 and 12.
|
|
2210
|
-
attr_accessor :month
|
|
2211
|
-
# The four-digit year of birth.
|
|
2212
|
-
attr_accessor :year
|
|
2213
|
-
|
|
2214
|
-
def initialize(day: nil, month: nil, year: nil)
|
|
2215
|
-
@day = day
|
|
2216
|
-
@month = month
|
|
2217
|
-
@year = year
|
|
2218
|
-
end
|
|
2219
|
-
end
|
|
2220
|
-
# Customer's date of birth
|
|
2221
|
-
attr_accessor :dob
|
|
2222
|
-
|
|
2223
|
-
def initialize(dob: nil)
|
|
2224
|
-
@dob = dob
|
|
2225
|
-
end
|
|
2226
|
-
end
|
|
2227
|
-
|
|
2228
550
|
class RevolutPay < ::Stripe::RequestParams; end
|
|
2229
551
|
class SamsungPay < ::Stripe::RequestParams; end
|
|
2230
552
|
class Satispay < ::Stripe::RequestParams; end
|
|
@@ -2238,8 +560,6 @@ module Stripe
|
|
|
2238
560
|
end
|
|
2239
561
|
end
|
|
2240
562
|
|
|
2241
|
-
class Shopeepay < ::Stripe::RequestParams; end
|
|
2242
|
-
|
|
2243
563
|
class Sofort < ::Stripe::RequestParams
|
|
2244
564
|
# Two-letter ISO code representing the country the bank account is located in.
|
|
2245
565
|
attr_accessor :country
|
|
@@ -2249,18 +569,6 @@ module Stripe
|
|
|
2249
569
|
end
|
|
2250
570
|
end
|
|
2251
571
|
|
|
2252
|
-
class StripeBalance < ::Stripe::RequestParams
|
|
2253
|
-
# The connected account ID whose Stripe balance to use as the source of payment
|
|
2254
|
-
attr_accessor :account
|
|
2255
|
-
# The [source_type](https://docs.stripe.com/api/balance/balance_object#balance_object-available-source_types) of the balance
|
|
2256
|
-
attr_accessor :source_type
|
|
2257
|
-
|
|
2258
|
-
def initialize(account: nil, source_type: nil)
|
|
2259
|
-
@account = account
|
|
2260
|
-
@source_type = source_type
|
|
2261
|
-
end
|
|
2262
|
-
end
|
|
2263
|
-
|
|
2264
572
|
class Swish < ::Stripe::RequestParams; end
|
|
2265
573
|
class Twint < ::Stripe::RequestParams; end
|
|
2266
574
|
|
|
@@ -2333,12 +641,8 @@ module Stripe
|
|
|
2333
641
|
attr_accessor :fpx
|
|
2334
642
|
# If this is a `giropay` PaymentMethod, this hash contains details about the Giropay payment method.
|
|
2335
643
|
attr_accessor :giropay
|
|
2336
|
-
# If this is a Gopay PaymentMethod, this hash contains details about the Gopay payment method.
|
|
2337
|
-
attr_accessor :gopay
|
|
2338
644
|
# If this is a `grabpay` PaymentMethod, this hash contains details about the GrabPay payment method.
|
|
2339
645
|
attr_accessor :grabpay
|
|
2340
|
-
# If this is an `IdBankTransfer` PaymentMethod, this hash contains details about the IdBankTransfer payment method.
|
|
2341
|
-
attr_accessor :id_bank_transfer
|
|
2342
646
|
# If this is an `ideal` PaymentMethod, this hash contains details about the iDEAL payment method.
|
|
2343
647
|
attr_accessor :ideal
|
|
2344
648
|
# If this is an `interac_present` PaymentMethod, this hash contains details about the Interac Present payment method.
|
|
@@ -2377,20 +681,14 @@ module Stripe
|
|
|
2377
681
|
attr_accessor :paynow
|
|
2378
682
|
# If this is a `paypal` PaymentMethod, this hash contains details about the PayPal payment method.
|
|
2379
683
|
attr_accessor :paypal
|
|
2380
|
-
# If this is a `paypay` PaymentMethod, this hash contains details about the PayPay payment method.
|
|
2381
|
-
attr_accessor :paypay
|
|
2382
684
|
# If this is a `payto` PaymentMethod, this hash contains details about the PayTo payment method.
|
|
2383
685
|
attr_accessor :payto
|
|
2384
686
|
# If this is a `pix` PaymentMethod, this hash contains details about the Pix payment method.
|
|
2385
687
|
attr_accessor :pix
|
|
2386
688
|
# If this is a `promptpay` PaymentMethod, this hash contains details about the PromptPay payment method.
|
|
2387
689
|
attr_accessor :promptpay
|
|
2388
|
-
# If this is a `qris` PaymentMethod, this hash contains details about the QRIS payment method.
|
|
2389
|
-
attr_accessor :qris
|
|
2390
690
|
# Options to configure Radar. See [Radar Session](https://docs.stripe.com/radar/radar-session) for more information.
|
|
2391
691
|
attr_accessor :radar_options
|
|
2392
|
-
# If this is a `rechnung` PaymentMethod, this hash contains details about the Rechnung payment method.
|
|
2393
|
-
attr_accessor :rechnung
|
|
2394
692
|
# If this is a `revolut_pay` PaymentMethod, this hash contains details about the Revolut Pay payment method.
|
|
2395
693
|
attr_accessor :revolut_pay
|
|
2396
694
|
# If this is a `samsung_pay` PaymentMethod, this hash contains details about the SamsungPay payment method.
|
|
@@ -2399,12 +697,8 @@ module Stripe
|
|
|
2399
697
|
attr_accessor :satispay
|
|
2400
698
|
# If this is a `sepa_debit` PaymentMethod, this hash contains details about the SEPA debit bank account.
|
|
2401
699
|
attr_accessor :sepa_debit
|
|
2402
|
-
# If this is a Shopeepay PaymentMethod, this hash contains details about the Shopeepay payment method.
|
|
2403
|
-
attr_accessor :shopeepay
|
|
2404
700
|
# If this is a `sofort` PaymentMethod, this hash contains details about the SOFORT payment method.
|
|
2405
701
|
attr_accessor :sofort
|
|
2406
|
-
# This hash contains details about the Stripe balance payment method.
|
|
2407
|
-
attr_accessor :stripe_balance
|
|
2408
702
|
# If this is a `swish` PaymentMethod, this hash contains details about the Swish payment method.
|
|
2409
703
|
attr_accessor :swish
|
|
2410
704
|
# If this is a TWINT PaymentMethod, this hash contains details about the TWINT payment method.
|
|
@@ -2439,9 +733,7 @@ module Stripe
|
|
|
2439
733
|
eps: nil,
|
|
2440
734
|
fpx: nil,
|
|
2441
735
|
giropay: nil,
|
|
2442
|
-
gopay: nil,
|
|
2443
736
|
grabpay: nil,
|
|
2444
|
-
id_bank_transfer: nil,
|
|
2445
737
|
ideal: nil,
|
|
2446
738
|
interac_present: nil,
|
|
2447
739
|
kakao_pay: nil,
|
|
@@ -2461,20 +753,15 @@ module Stripe
|
|
|
2461
753
|
payco: nil,
|
|
2462
754
|
paynow: nil,
|
|
2463
755
|
paypal: nil,
|
|
2464
|
-
paypay: nil,
|
|
2465
756
|
payto: nil,
|
|
2466
757
|
pix: nil,
|
|
2467
758
|
promptpay: nil,
|
|
2468
|
-
qris: nil,
|
|
2469
759
|
radar_options: nil,
|
|
2470
|
-
rechnung: nil,
|
|
2471
760
|
revolut_pay: nil,
|
|
2472
761
|
samsung_pay: nil,
|
|
2473
762
|
satispay: nil,
|
|
2474
763
|
sepa_debit: nil,
|
|
2475
|
-
shopeepay: nil,
|
|
2476
764
|
sofort: nil,
|
|
2477
|
-
stripe_balance: nil,
|
|
2478
765
|
swish: nil,
|
|
2479
766
|
twint: nil,
|
|
2480
767
|
type: nil,
|
|
@@ -2502,9 +789,7 @@ module Stripe
|
|
|
2502
789
|
@eps = eps
|
|
2503
790
|
@fpx = fpx
|
|
2504
791
|
@giropay = giropay
|
|
2505
|
-
@gopay = gopay
|
|
2506
792
|
@grabpay = grabpay
|
|
2507
|
-
@id_bank_transfer = id_bank_transfer
|
|
2508
793
|
@ideal = ideal
|
|
2509
794
|
@interac_present = interac_present
|
|
2510
795
|
@kakao_pay = kakao_pay
|
|
@@ -2524,20 +809,15 @@ module Stripe
|
|
|
2524
809
|
@payco = payco
|
|
2525
810
|
@paynow = paynow
|
|
2526
811
|
@paypal = paypal
|
|
2527
|
-
@paypay = paypay
|
|
2528
812
|
@payto = payto
|
|
2529
813
|
@pix = pix
|
|
2530
814
|
@promptpay = promptpay
|
|
2531
|
-
@qris = qris
|
|
2532
815
|
@radar_options = radar_options
|
|
2533
|
-
@rechnung = rechnung
|
|
2534
816
|
@revolut_pay = revolut_pay
|
|
2535
817
|
@samsung_pay = samsung_pay
|
|
2536
818
|
@satispay = satispay
|
|
2537
819
|
@sepa_debit = sepa_debit
|
|
2538
|
-
@shopeepay = shopeepay
|
|
2539
820
|
@sofort = sofort
|
|
2540
|
-
@stripe_balance = stripe_balance
|
|
2541
821
|
@swish = swish
|
|
2542
822
|
@twint = twint
|
|
2543
823
|
@type = type
|
|
@@ -2908,48 +1188,6 @@ module Stripe
|
|
|
2908
1188
|
end
|
|
2909
1189
|
end
|
|
2910
1190
|
|
|
2911
|
-
class StatementDetails < ::Stripe::RequestParams
|
|
2912
|
-
class Address < ::Stripe::RequestParams
|
|
2913
|
-
# City, district, suburb, town, or village.
|
|
2914
|
-
attr_accessor :city
|
|
2915
|
-
# Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)).
|
|
2916
|
-
attr_accessor :country
|
|
2917
|
-
# Address line 1, such as the street, PO Box, or company name.
|
|
2918
|
-
attr_accessor :line1
|
|
2919
|
-
# Address line 2, such as the apartment, suite, unit, or building.
|
|
2920
|
-
attr_accessor :line2
|
|
2921
|
-
# ZIP or postal code.
|
|
2922
|
-
attr_accessor :postal_code
|
|
2923
|
-
# State, county, province, or region ([ISO 3166-2](https://en.wikipedia.org/wiki/ISO_3166-2)).
|
|
2924
|
-
attr_accessor :state
|
|
2925
|
-
|
|
2926
|
-
def initialize(
|
|
2927
|
-
city: nil,
|
|
2928
|
-
country: nil,
|
|
2929
|
-
line1: nil,
|
|
2930
|
-
line2: nil,
|
|
2931
|
-
postal_code: nil,
|
|
2932
|
-
state: nil
|
|
2933
|
-
)
|
|
2934
|
-
@city = city
|
|
2935
|
-
@country = country
|
|
2936
|
-
@line1 = line1
|
|
2937
|
-
@line2 = line2
|
|
2938
|
-
@postal_code = postal_code
|
|
2939
|
-
@state = state
|
|
2940
|
-
end
|
|
2941
|
-
end
|
|
2942
|
-
# Please pass in an address that is within your Stripe user account country
|
|
2943
|
-
attr_accessor :address
|
|
2944
|
-
# Phone number (e.g., a toll-free number that customers can call)
|
|
2945
|
-
attr_accessor :phone
|
|
2946
|
-
|
|
2947
|
-
def initialize(address: nil, phone: nil)
|
|
2948
|
-
@address = address
|
|
2949
|
-
@phone = phone
|
|
2950
|
-
end
|
|
2951
|
-
end
|
|
2952
|
-
|
|
2953
1191
|
class ThreeDSecure < ::Stripe::RequestParams
|
|
2954
1192
|
class NetworkOptions < ::Stripe::RequestParams
|
|
2955
1193
|
class CartesBancaires < ::Stripe::RequestParams
|
|
@@ -3044,8 +1282,6 @@ module Stripe
|
|
|
3044
1282
|
attr_accessor :moto
|
|
3045
1283
|
# Selected network to process this PaymentIntent on. Depends on the available networks of the card attached to the PaymentIntent. Can be only set confirm-time.
|
|
3046
1284
|
attr_accessor :network
|
|
3047
|
-
# Request ability to [decrement the authorization](https://docs.stripe.com/payments/decremental-authorization) for this PaymentIntent.
|
|
3048
|
-
attr_accessor :request_decremental_authorization
|
|
3049
1285
|
# Request ability to [capture beyond the standard authorization validity window](https://docs.stripe.com/payments/extended-authorization) for this PaymentIntent.
|
|
3050
1286
|
attr_accessor :request_extended_authorization
|
|
3051
1287
|
# Request ability to [increment the authorization](https://docs.stripe.com/payments/incremental-authorization) for this PaymentIntent.
|
|
@@ -3054,8 +1290,6 @@ module Stripe
|
|
|
3054
1290
|
attr_accessor :request_multicapture
|
|
3055
1291
|
# Request ability to [overcapture](https://docs.stripe.com/payments/overcapture) for this PaymentIntent.
|
|
3056
1292
|
attr_accessor :request_overcapture
|
|
3057
|
-
# Request partial authorization on this PaymentIntent.
|
|
3058
|
-
attr_accessor :request_partial_authorization
|
|
3059
1293
|
# 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.
|
|
3060
1294
|
attr_accessor :request_three_d_secure
|
|
3061
1295
|
# 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).
|
|
@@ -3074,8 +1308,6 @@ module Stripe
|
|
|
3074
1308
|
attr_accessor :statement_descriptor_suffix_kana
|
|
3075
1309
|
# 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.
|
|
3076
1310
|
attr_accessor :statement_descriptor_suffix_kanji
|
|
3077
|
-
# Statement details for this payment intent. You can use this to override the merchant details shown on your customers' statements.
|
|
3078
|
-
attr_accessor :statement_details
|
|
3079
1311
|
# If 3D Secure authentication was performed with a third-party provider,
|
|
3080
1312
|
# the authentication details to use for this payment.
|
|
3081
1313
|
attr_accessor :three_d_secure
|
|
@@ -3087,18 +1319,15 @@ module Stripe
|
|
|
3087
1319
|
mandate_options: nil,
|
|
3088
1320
|
moto: nil,
|
|
3089
1321
|
network: nil,
|
|
3090
|
-
request_decremental_authorization: nil,
|
|
3091
1322
|
request_extended_authorization: nil,
|
|
3092
1323
|
request_incremental_authorization: nil,
|
|
3093
1324
|
request_multicapture: nil,
|
|
3094
1325
|
request_overcapture: nil,
|
|
3095
|
-
request_partial_authorization: nil,
|
|
3096
1326
|
request_three_d_secure: nil,
|
|
3097
1327
|
require_cvc_recollection: nil,
|
|
3098
1328
|
setup_future_usage: nil,
|
|
3099
1329
|
statement_descriptor_suffix_kana: nil,
|
|
3100
1330
|
statement_descriptor_suffix_kanji: nil,
|
|
3101
|
-
statement_details: nil,
|
|
3102
1331
|
three_d_secure: nil
|
|
3103
1332
|
)
|
|
3104
1333
|
@capture_method = capture_method
|
|
@@ -3107,18 +1336,15 @@ module Stripe
|
|
|
3107
1336
|
@mandate_options = mandate_options
|
|
3108
1337
|
@moto = moto
|
|
3109
1338
|
@network = network
|
|
3110
|
-
@request_decremental_authorization = request_decremental_authorization
|
|
3111
1339
|
@request_extended_authorization = request_extended_authorization
|
|
3112
1340
|
@request_incremental_authorization = request_incremental_authorization
|
|
3113
1341
|
@request_multicapture = request_multicapture
|
|
3114
1342
|
@request_overcapture = request_overcapture
|
|
3115
|
-
@request_partial_authorization = request_partial_authorization
|
|
3116
1343
|
@request_three_d_secure = request_three_d_secure
|
|
3117
1344
|
@require_cvc_recollection = require_cvc_recollection
|
|
3118
1345
|
@setup_future_usage = setup_future_usage
|
|
3119
1346
|
@statement_descriptor_suffix_kana = statement_descriptor_suffix_kana
|
|
3120
1347
|
@statement_descriptor_suffix_kanji = statement_descriptor_suffix_kanji
|
|
3121
|
-
@statement_details = statement_details
|
|
3122
1348
|
@three_d_secure = three_d_secure
|
|
3123
1349
|
end
|
|
3124
1350
|
end
|
|
@@ -3227,43 +1453,7 @@ module Stripe
|
|
|
3227
1453
|
# Configuration for the bank transfer funding type, if the `funding_type` is set to `bank_transfer`.
|
|
3228
1454
|
attr_accessor :bank_transfer
|
|
3229
1455
|
# The funding method type to be used when there are not enough funds in the customer balance. Permitted values include: `bank_transfer`.
|
|
3230
|
-
attr_accessor :funding_type
|
|
3231
|
-
# Indicates that you intend to make future payments with this PaymentIntent's payment method.
|
|
3232
|
-
#
|
|
3233
|
-
# 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.
|
|
3234
|
-
#
|
|
3235
|
-
# 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.
|
|
3236
|
-
#
|
|
3237
|
-
# 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).
|
|
3238
|
-
#
|
|
3239
|
-
# If you've already set `setup_future_usage` and you're performing a request using a publishable key, you can only update the value from `on_session` to `off_session`.
|
|
3240
|
-
attr_accessor :setup_future_usage
|
|
3241
|
-
|
|
3242
|
-
def initialize(bank_transfer: nil, funding_type: nil, setup_future_usage: nil)
|
|
3243
|
-
@bank_transfer = bank_transfer
|
|
3244
|
-
@funding_type = funding_type
|
|
3245
|
-
@setup_future_usage = setup_future_usage
|
|
3246
|
-
end
|
|
3247
|
-
end
|
|
3248
|
-
|
|
3249
|
-
class Eps < ::Stripe::RequestParams
|
|
3250
|
-
# Indicates that you intend to make future payments with this PaymentIntent's payment method.
|
|
3251
|
-
#
|
|
3252
|
-
# 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.
|
|
3253
|
-
#
|
|
3254
|
-
# 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.
|
|
3255
|
-
#
|
|
3256
|
-
# 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).
|
|
3257
|
-
#
|
|
3258
|
-
# If you've already set `setup_future_usage` and you're performing a request using a publishable key, you can only update the value from `on_session` to `off_session`.
|
|
3259
|
-
attr_accessor :setup_future_usage
|
|
3260
|
-
|
|
3261
|
-
def initialize(setup_future_usage: nil)
|
|
3262
|
-
@setup_future_usage = setup_future_usage
|
|
3263
|
-
end
|
|
3264
|
-
end
|
|
3265
|
-
|
|
3266
|
-
class Fpx < ::Stripe::RequestParams
|
|
1456
|
+
attr_accessor :funding_type
|
|
3267
1457
|
# Indicates that you intend to make future payments with this PaymentIntent's payment method.
|
|
3268
1458
|
#
|
|
3269
1459
|
# 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.
|
|
@@ -3275,12 +1465,14 @@ module Stripe
|
|
|
3275
1465
|
# If you've already set `setup_future_usage` and you're performing a request using a publishable key, you can only update the value from `on_session` to `off_session`.
|
|
3276
1466
|
attr_accessor :setup_future_usage
|
|
3277
1467
|
|
|
3278
|
-
def initialize(setup_future_usage: nil)
|
|
1468
|
+
def initialize(bank_transfer: nil, funding_type: nil, setup_future_usage: nil)
|
|
1469
|
+
@bank_transfer = bank_transfer
|
|
1470
|
+
@funding_type = funding_type
|
|
3279
1471
|
@setup_future_usage = setup_future_usage
|
|
3280
1472
|
end
|
|
3281
1473
|
end
|
|
3282
1474
|
|
|
3283
|
-
class
|
|
1475
|
+
class Eps < ::Stripe::RequestParams
|
|
3284
1476
|
# Indicates that you intend to make future payments with this PaymentIntent's payment method.
|
|
3285
1477
|
#
|
|
3286
1478
|
# 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.
|
|
@@ -3297,7 +1489,7 @@ module Stripe
|
|
|
3297
1489
|
end
|
|
3298
1490
|
end
|
|
3299
1491
|
|
|
3300
|
-
class
|
|
1492
|
+
class Fpx < ::Stripe::RequestParams
|
|
3301
1493
|
# Indicates that you intend to make future payments with this PaymentIntent's payment method.
|
|
3302
1494
|
#
|
|
3303
1495
|
# 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.
|
|
@@ -3314,7 +1506,7 @@ module Stripe
|
|
|
3314
1506
|
end
|
|
3315
1507
|
end
|
|
3316
1508
|
|
|
3317
|
-
class
|
|
1509
|
+
class Giropay < ::Stripe::RequestParams
|
|
3318
1510
|
# Indicates that you intend to make future payments with this PaymentIntent's payment method.
|
|
3319
1511
|
#
|
|
3320
1512
|
# 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.
|
|
@@ -3331,11 +1523,7 @@ module Stripe
|
|
|
3331
1523
|
end
|
|
3332
1524
|
end
|
|
3333
1525
|
|
|
3334
|
-
class
|
|
3335
|
-
# The UNIX timestamp until which the virtual bank account is valid. Permitted range is from 5 minutes from now until 31 days from now. If unset, it defaults to 3 days from now.
|
|
3336
|
-
attr_accessor :expires_after
|
|
3337
|
-
# 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.
|
|
3338
|
-
attr_accessor :expires_at
|
|
1526
|
+
class Grabpay < ::Stripe::RequestParams
|
|
3339
1527
|
# Indicates that you intend to make future payments with this PaymentIntent's payment method.
|
|
3340
1528
|
#
|
|
3341
1529
|
# 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.
|
|
@@ -3347,9 +1535,7 @@ module Stripe
|
|
|
3347
1535
|
# If you've already set `setup_future_usage` and you're performing a request using a publishable key, you can only update the value from `on_session` to `off_session`.
|
|
3348
1536
|
attr_accessor :setup_future_usage
|
|
3349
1537
|
|
|
3350
|
-
def initialize(
|
|
3351
|
-
@expires_after = expires_after
|
|
3352
|
-
@expires_at = expires_at
|
|
1538
|
+
def initialize(setup_future_usage: nil)
|
|
3353
1539
|
@setup_future_usage = setup_future_usage
|
|
3354
1540
|
end
|
|
3355
1541
|
end
|
|
@@ -3460,939 +1646,6 @@ module Stripe
|
|
|
3460
1646
|
@reference = reference
|
|
3461
1647
|
end
|
|
3462
1648
|
end
|
|
3463
|
-
|
|
3464
|
-
class SupplementaryPurchaseData < ::Stripe::RequestParams
|
|
3465
|
-
class BusReservationDetail < ::Stripe::RequestParams
|
|
3466
|
-
class Arrival < ::Stripe::RequestParams
|
|
3467
|
-
class Address < ::Stripe::RequestParams
|
|
3468
|
-
# The city or town.
|
|
3469
|
-
attr_accessor :city
|
|
3470
|
-
# The country in ISO 3166-1 alpha-2 format.
|
|
3471
|
-
attr_accessor :country
|
|
3472
|
-
# The postal code formatted according to country.
|
|
3473
|
-
attr_accessor :postal_code
|
|
3474
|
-
# The state, county, province, or region formatted according to country.
|
|
3475
|
-
attr_accessor :region
|
|
3476
|
-
# Line 1 of the street address.
|
|
3477
|
-
attr_accessor :street_address
|
|
3478
|
-
# Line 2 of the street address.
|
|
3479
|
-
attr_accessor :street_address2
|
|
3480
|
-
|
|
3481
|
-
def initialize(
|
|
3482
|
-
city: nil,
|
|
3483
|
-
country: nil,
|
|
3484
|
-
postal_code: nil,
|
|
3485
|
-
region: nil,
|
|
3486
|
-
street_address: nil,
|
|
3487
|
-
street_address2: nil
|
|
3488
|
-
)
|
|
3489
|
-
@city = city
|
|
3490
|
-
@country = country
|
|
3491
|
-
@postal_code = postal_code
|
|
3492
|
-
@region = region
|
|
3493
|
-
@street_address = street_address
|
|
3494
|
-
@street_address2 = street_address2
|
|
3495
|
-
end
|
|
3496
|
-
end
|
|
3497
|
-
# Address of the arrival location.
|
|
3498
|
-
attr_accessor :address
|
|
3499
|
-
# Identifier name or reference for the arrival location.
|
|
3500
|
-
attr_accessor :arrival_location
|
|
3501
|
-
|
|
3502
|
-
def initialize(address: nil, arrival_location: nil)
|
|
3503
|
-
@address = address
|
|
3504
|
-
@arrival_location = arrival_location
|
|
3505
|
-
end
|
|
3506
|
-
end
|
|
3507
|
-
|
|
3508
|
-
class Departure < ::Stripe::RequestParams
|
|
3509
|
-
class Address < ::Stripe::RequestParams
|
|
3510
|
-
# The city or town.
|
|
3511
|
-
attr_accessor :city
|
|
3512
|
-
# The country in ISO 3166-1 alpha-2 format.
|
|
3513
|
-
attr_accessor :country
|
|
3514
|
-
# The postal code formatted according to country.
|
|
3515
|
-
attr_accessor :postal_code
|
|
3516
|
-
# The state, county, province, or region formatted according to country.
|
|
3517
|
-
attr_accessor :region
|
|
3518
|
-
# Line 1 of the street address.
|
|
3519
|
-
attr_accessor :street_address
|
|
3520
|
-
# Line 2 of the street address.
|
|
3521
|
-
attr_accessor :street_address2
|
|
3522
|
-
|
|
3523
|
-
def initialize(
|
|
3524
|
-
city: nil,
|
|
3525
|
-
country: nil,
|
|
3526
|
-
postal_code: nil,
|
|
3527
|
-
region: nil,
|
|
3528
|
-
street_address: nil,
|
|
3529
|
-
street_address2: nil
|
|
3530
|
-
)
|
|
3531
|
-
@city = city
|
|
3532
|
-
@country = country
|
|
3533
|
-
@postal_code = postal_code
|
|
3534
|
-
@region = region
|
|
3535
|
-
@street_address = street_address
|
|
3536
|
-
@street_address2 = street_address2
|
|
3537
|
-
end
|
|
3538
|
-
end
|
|
3539
|
-
# Address of the departure location.
|
|
3540
|
-
attr_accessor :address
|
|
3541
|
-
# Timestamp of departure.
|
|
3542
|
-
attr_accessor :departs_at
|
|
3543
|
-
# Identifier name or reference for the origin location.
|
|
3544
|
-
attr_accessor :departure_location
|
|
3545
|
-
|
|
3546
|
-
def initialize(address: nil, departs_at: nil, departure_location: nil)
|
|
3547
|
-
@address = address
|
|
3548
|
-
@departs_at = departs_at
|
|
3549
|
-
@departure_location = departure_location
|
|
3550
|
-
end
|
|
3551
|
-
end
|
|
3552
|
-
|
|
3553
|
-
class Insurance < ::Stripe::RequestParams
|
|
3554
|
-
# Insurance currency.
|
|
3555
|
-
attr_accessor :currency
|
|
3556
|
-
# Name of the company providing the insurance.
|
|
3557
|
-
attr_accessor :insurance_company_name
|
|
3558
|
-
# Type of insurance.
|
|
3559
|
-
attr_accessor :insurance_type
|
|
3560
|
-
# Price of insurance in cents.
|
|
3561
|
-
attr_accessor :price
|
|
3562
|
-
|
|
3563
|
-
def initialize(
|
|
3564
|
-
currency: nil,
|
|
3565
|
-
insurance_company_name: nil,
|
|
3566
|
-
insurance_type: nil,
|
|
3567
|
-
price: nil
|
|
3568
|
-
)
|
|
3569
|
-
@currency = currency
|
|
3570
|
-
@insurance_company_name = insurance_company_name
|
|
3571
|
-
@insurance_type = insurance_type
|
|
3572
|
-
@price = price
|
|
3573
|
-
end
|
|
3574
|
-
end
|
|
3575
|
-
|
|
3576
|
-
class Passenger < ::Stripe::RequestParams
|
|
3577
|
-
# The family name of the person.
|
|
3578
|
-
attr_accessor :family_name
|
|
3579
|
-
# The given name of the person.
|
|
3580
|
-
attr_accessor :given_name
|
|
3581
|
-
|
|
3582
|
-
def initialize(family_name: nil, given_name: nil)
|
|
3583
|
-
@family_name = family_name
|
|
3584
|
-
@given_name = given_name
|
|
3585
|
-
end
|
|
3586
|
-
end
|
|
3587
|
-
# Name of associated or partner company for the service.
|
|
3588
|
-
attr_accessor :affiliate_name
|
|
3589
|
-
# Arrival details.
|
|
3590
|
-
attr_accessor :arrival
|
|
3591
|
-
# Name of transportation company.
|
|
3592
|
-
attr_accessor :carrier_name
|
|
3593
|
-
# Currency.
|
|
3594
|
-
attr_accessor :currency
|
|
3595
|
-
# Departure details.
|
|
3596
|
-
attr_accessor :departure
|
|
3597
|
-
# List of insurances for this reservation.
|
|
3598
|
-
attr_accessor :insurances
|
|
3599
|
-
# List of passengers that this reservation applies to.
|
|
3600
|
-
attr_accessor :passengers
|
|
3601
|
-
# Price in cents.
|
|
3602
|
-
attr_accessor :price
|
|
3603
|
-
# Ticket class.
|
|
3604
|
-
attr_accessor :ticket_class
|
|
3605
|
-
|
|
3606
|
-
def initialize(
|
|
3607
|
-
affiliate_name: nil,
|
|
3608
|
-
arrival: nil,
|
|
3609
|
-
carrier_name: nil,
|
|
3610
|
-
currency: nil,
|
|
3611
|
-
departure: nil,
|
|
3612
|
-
insurances: nil,
|
|
3613
|
-
passengers: nil,
|
|
3614
|
-
price: nil,
|
|
3615
|
-
ticket_class: nil
|
|
3616
|
-
)
|
|
3617
|
-
@affiliate_name = affiliate_name
|
|
3618
|
-
@arrival = arrival
|
|
3619
|
-
@carrier_name = carrier_name
|
|
3620
|
-
@currency = currency
|
|
3621
|
-
@departure = departure
|
|
3622
|
-
@insurances = insurances
|
|
3623
|
-
@passengers = passengers
|
|
3624
|
-
@price = price
|
|
3625
|
-
@ticket_class = ticket_class
|
|
3626
|
-
end
|
|
3627
|
-
end
|
|
3628
|
-
|
|
3629
|
-
class EventReservationDetail < ::Stripe::RequestParams
|
|
3630
|
-
class Address < ::Stripe::RequestParams
|
|
3631
|
-
# The city or town.
|
|
3632
|
-
attr_accessor :city
|
|
3633
|
-
# The country in ISO 3166-1 alpha-2 format.
|
|
3634
|
-
attr_accessor :country
|
|
3635
|
-
# The postal code formatted according to country.
|
|
3636
|
-
attr_accessor :postal_code
|
|
3637
|
-
# The state, county, province, or region formatted according to country.
|
|
3638
|
-
attr_accessor :region
|
|
3639
|
-
# Line 1 of the street address.
|
|
3640
|
-
attr_accessor :street_address
|
|
3641
|
-
# Line 2 of the street address.
|
|
3642
|
-
attr_accessor :street_address2
|
|
3643
|
-
|
|
3644
|
-
def initialize(
|
|
3645
|
-
city: nil,
|
|
3646
|
-
country: nil,
|
|
3647
|
-
postal_code: nil,
|
|
3648
|
-
region: nil,
|
|
3649
|
-
street_address: nil,
|
|
3650
|
-
street_address2: nil
|
|
3651
|
-
)
|
|
3652
|
-
@city = city
|
|
3653
|
-
@country = country
|
|
3654
|
-
@postal_code = postal_code
|
|
3655
|
-
@region = region
|
|
3656
|
-
@street_address = street_address
|
|
3657
|
-
@street_address2 = street_address2
|
|
3658
|
-
end
|
|
3659
|
-
end
|
|
3660
|
-
|
|
3661
|
-
class Insurance < ::Stripe::RequestParams
|
|
3662
|
-
# Insurance currency.
|
|
3663
|
-
attr_accessor :currency
|
|
3664
|
-
# Name of the company providing the insurance.
|
|
3665
|
-
attr_accessor :insurance_company_name
|
|
3666
|
-
# Type of insurance.
|
|
3667
|
-
attr_accessor :insurance_type
|
|
3668
|
-
# Price of insurance in cents.
|
|
3669
|
-
attr_accessor :price
|
|
3670
|
-
|
|
3671
|
-
def initialize(
|
|
3672
|
-
currency: nil,
|
|
3673
|
-
insurance_company_name: nil,
|
|
3674
|
-
insurance_type: nil,
|
|
3675
|
-
price: nil
|
|
3676
|
-
)
|
|
3677
|
-
@currency = currency
|
|
3678
|
-
@insurance_company_name = insurance_company_name
|
|
3679
|
-
@insurance_type = insurance_type
|
|
3680
|
-
@price = price
|
|
3681
|
-
end
|
|
3682
|
-
end
|
|
3683
|
-
# Indicates if the tickets are digitally checked when entering the venue.
|
|
3684
|
-
attr_accessor :access_controlled_venue
|
|
3685
|
-
# Address of the event.
|
|
3686
|
-
attr_accessor :address
|
|
3687
|
-
# Name of associated or partner company for the service.
|
|
3688
|
-
attr_accessor :affiliate_name
|
|
3689
|
-
# End timestamp of the event.
|
|
3690
|
-
attr_accessor :ends_at
|
|
3691
|
-
# Company selling the ticket.
|
|
3692
|
-
attr_accessor :event_company_name
|
|
3693
|
-
# Name of the event.
|
|
3694
|
-
attr_accessor :event_name
|
|
3695
|
-
# Type of the event.
|
|
3696
|
-
attr_accessor :event_type
|
|
3697
|
-
# List of insurances for this event.
|
|
3698
|
-
attr_accessor :insurances
|
|
3699
|
-
# Start timestamp of the event.
|
|
3700
|
-
attr_accessor :starts_at
|
|
3701
|
-
# Name of the venue where the event takes place.
|
|
3702
|
-
attr_accessor :venue_name
|
|
3703
|
-
|
|
3704
|
-
def initialize(
|
|
3705
|
-
access_controlled_venue: nil,
|
|
3706
|
-
address: nil,
|
|
3707
|
-
affiliate_name: nil,
|
|
3708
|
-
ends_at: nil,
|
|
3709
|
-
event_company_name: nil,
|
|
3710
|
-
event_name: nil,
|
|
3711
|
-
event_type: nil,
|
|
3712
|
-
insurances: nil,
|
|
3713
|
-
starts_at: nil,
|
|
3714
|
-
venue_name: nil
|
|
3715
|
-
)
|
|
3716
|
-
@access_controlled_venue = access_controlled_venue
|
|
3717
|
-
@address = address
|
|
3718
|
-
@affiliate_name = affiliate_name
|
|
3719
|
-
@ends_at = ends_at
|
|
3720
|
-
@event_company_name = event_company_name
|
|
3721
|
-
@event_name = event_name
|
|
3722
|
-
@event_type = event_type
|
|
3723
|
-
@insurances = insurances
|
|
3724
|
-
@starts_at = starts_at
|
|
3725
|
-
@venue_name = venue_name
|
|
3726
|
-
end
|
|
3727
|
-
end
|
|
3728
|
-
|
|
3729
|
-
class FerryReservationDetail < ::Stripe::RequestParams
|
|
3730
|
-
class Arrival < ::Stripe::RequestParams
|
|
3731
|
-
class Address < ::Stripe::RequestParams
|
|
3732
|
-
# The city or town.
|
|
3733
|
-
attr_accessor :city
|
|
3734
|
-
# The country in ISO 3166-1 alpha-2 format.
|
|
3735
|
-
attr_accessor :country
|
|
3736
|
-
# The postal code formatted according to country.
|
|
3737
|
-
attr_accessor :postal_code
|
|
3738
|
-
# The state, county, province, or region formatted according to country.
|
|
3739
|
-
attr_accessor :region
|
|
3740
|
-
# Line 1 of the street address.
|
|
3741
|
-
attr_accessor :street_address
|
|
3742
|
-
# Line 2 of the street address.
|
|
3743
|
-
attr_accessor :street_address2
|
|
3744
|
-
|
|
3745
|
-
def initialize(
|
|
3746
|
-
city: nil,
|
|
3747
|
-
country: nil,
|
|
3748
|
-
postal_code: nil,
|
|
3749
|
-
region: nil,
|
|
3750
|
-
street_address: nil,
|
|
3751
|
-
street_address2: nil
|
|
3752
|
-
)
|
|
3753
|
-
@city = city
|
|
3754
|
-
@country = country
|
|
3755
|
-
@postal_code = postal_code
|
|
3756
|
-
@region = region
|
|
3757
|
-
@street_address = street_address
|
|
3758
|
-
@street_address2 = street_address2
|
|
3759
|
-
end
|
|
3760
|
-
end
|
|
3761
|
-
# Address of the arrival location.
|
|
3762
|
-
attr_accessor :address
|
|
3763
|
-
# Identifier name or reference for the arrival location.
|
|
3764
|
-
attr_accessor :arrival_location
|
|
3765
|
-
|
|
3766
|
-
def initialize(address: nil, arrival_location: nil)
|
|
3767
|
-
@address = address
|
|
3768
|
-
@arrival_location = arrival_location
|
|
3769
|
-
end
|
|
3770
|
-
end
|
|
3771
|
-
|
|
3772
|
-
class Departure < ::Stripe::RequestParams
|
|
3773
|
-
class Address < ::Stripe::RequestParams
|
|
3774
|
-
# The city or town.
|
|
3775
|
-
attr_accessor :city
|
|
3776
|
-
# The country in ISO 3166-1 alpha-2 format.
|
|
3777
|
-
attr_accessor :country
|
|
3778
|
-
# The postal code formatted according to country.
|
|
3779
|
-
attr_accessor :postal_code
|
|
3780
|
-
# The state, county, province, or region formatted according to country.
|
|
3781
|
-
attr_accessor :region
|
|
3782
|
-
# Line 1 of the street address.
|
|
3783
|
-
attr_accessor :street_address
|
|
3784
|
-
# Line 2 of the street address.
|
|
3785
|
-
attr_accessor :street_address2
|
|
3786
|
-
|
|
3787
|
-
def initialize(
|
|
3788
|
-
city: nil,
|
|
3789
|
-
country: nil,
|
|
3790
|
-
postal_code: nil,
|
|
3791
|
-
region: nil,
|
|
3792
|
-
street_address: nil,
|
|
3793
|
-
street_address2: nil
|
|
3794
|
-
)
|
|
3795
|
-
@city = city
|
|
3796
|
-
@country = country
|
|
3797
|
-
@postal_code = postal_code
|
|
3798
|
-
@region = region
|
|
3799
|
-
@street_address = street_address
|
|
3800
|
-
@street_address2 = street_address2
|
|
3801
|
-
end
|
|
3802
|
-
end
|
|
3803
|
-
# Address of the departure location.
|
|
3804
|
-
attr_accessor :address
|
|
3805
|
-
# Timestamp of departure.
|
|
3806
|
-
attr_accessor :departs_at
|
|
3807
|
-
# Identifier name or reference for the origin location.
|
|
3808
|
-
attr_accessor :departure_location
|
|
3809
|
-
|
|
3810
|
-
def initialize(address: nil, departs_at: nil, departure_location: nil)
|
|
3811
|
-
@address = address
|
|
3812
|
-
@departs_at = departs_at
|
|
3813
|
-
@departure_location = departure_location
|
|
3814
|
-
end
|
|
3815
|
-
end
|
|
3816
|
-
|
|
3817
|
-
class Insurance < ::Stripe::RequestParams
|
|
3818
|
-
# Insurance currency.
|
|
3819
|
-
attr_accessor :currency
|
|
3820
|
-
# Name of the company providing the insurance.
|
|
3821
|
-
attr_accessor :insurance_company_name
|
|
3822
|
-
# Type of insurance.
|
|
3823
|
-
attr_accessor :insurance_type
|
|
3824
|
-
# Price of insurance in cents.
|
|
3825
|
-
attr_accessor :price
|
|
3826
|
-
|
|
3827
|
-
def initialize(
|
|
3828
|
-
currency: nil,
|
|
3829
|
-
insurance_company_name: nil,
|
|
3830
|
-
insurance_type: nil,
|
|
3831
|
-
price: nil
|
|
3832
|
-
)
|
|
3833
|
-
@currency = currency
|
|
3834
|
-
@insurance_company_name = insurance_company_name
|
|
3835
|
-
@insurance_type = insurance_type
|
|
3836
|
-
@price = price
|
|
3837
|
-
end
|
|
3838
|
-
end
|
|
3839
|
-
|
|
3840
|
-
class Passenger < ::Stripe::RequestParams
|
|
3841
|
-
# The family name of the person.
|
|
3842
|
-
attr_accessor :family_name
|
|
3843
|
-
# The given name of the person.
|
|
3844
|
-
attr_accessor :given_name
|
|
3845
|
-
|
|
3846
|
-
def initialize(family_name: nil, given_name: nil)
|
|
3847
|
-
@family_name = family_name
|
|
3848
|
-
@given_name = given_name
|
|
3849
|
-
end
|
|
3850
|
-
end
|
|
3851
|
-
# Name of associated or partner company for the service.
|
|
3852
|
-
attr_accessor :affiliate_name
|
|
3853
|
-
# Arrival details.
|
|
3854
|
-
attr_accessor :arrival
|
|
3855
|
-
# Name of transportation company.
|
|
3856
|
-
attr_accessor :carrier_name
|
|
3857
|
-
# Currency.
|
|
3858
|
-
attr_accessor :currency
|
|
3859
|
-
# Departure details.
|
|
3860
|
-
attr_accessor :departure
|
|
3861
|
-
# List of insurances for this reservation.
|
|
3862
|
-
attr_accessor :insurances
|
|
3863
|
-
# List of passengers that this reservation applies to.
|
|
3864
|
-
attr_accessor :passengers
|
|
3865
|
-
# Price in cents.
|
|
3866
|
-
attr_accessor :price
|
|
3867
|
-
# Ticket class.
|
|
3868
|
-
attr_accessor :ticket_class
|
|
3869
|
-
|
|
3870
|
-
def initialize(
|
|
3871
|
-
affiliate_name: nil,
|
|
3872
|
-
arrival: nil,
|
|
3873
|
-
carrier_name: nil,
|
|
3874
|
-
currency: nil,
|
|
3875
|
-
departure: nil,
|
|
3876
|
-
insurances: nil,
|
|
3877
|
-
passengers: nil,
|
|
3878
|
-
price: nil,
|
|
3879
|
-
ticket_class: nil
|
|
3880
|
-
)
|
|
3881
|
-
@affiliate_name = affiliate_name
|
|
3882
|
-
@arrival = arrival
|
|
3883
|
-
@carrier_name = carrier_name
|
|
3884
|
-
@currency = currency
|
|
3885
|
-
@departure = departure
|
|
3886
|
-
@insurances = insurances
|
|
3887
|
-
@passengers = passengers
|
|
3888
|
-
@price = price
|
|
3889
|
-
@ticket_class = ticket_class
|
|
3890
|
-
end
|
|
3891
|
-
end
|
|
3892
|
-
|
|
3893
|
-
class Insurance < ::Stripe::RequestParams
|
|
3894
|
-
# Insurance currency.
|
|
3895
|
-
attr_accessor :currency
|
|
3896
|
-
# Name of the company providing the insurance.
|
|
3897
|
-
attr_accessor :insurance_company_name
|
|
3898
|
-
# Type of insurance
|
|
3899
|
-
attr_accessor :insurance_type
|
|
3900
|
-
# Price of insurance in cents.
|
|
3901
|
-
attr_accessor :price
|
|
3902
|
-
|
|
3903
|
-
def initialize(
|
|
3904
|
-
currency: nil,
|
|
3905
|
-
insurance_company_name: nil,
|
|
3906
|
-
insurance_type: nil,
|
|
3907
|
-
price: nil
|
|
3908
|
-
)
|
|
3909
|
-
@currency = currency
|
|
3910
|
-
@insurance_company_name = insurance_company_name
|
|
3911
|
-
@insurance_type = insurance_type
|
|
3912
|
-
@price = price
|
|
3913
|
-
end
|
|
3914
|
-
end
|
|
3915
|
-
|
|
3916
|
-
class MarketplaceSeller < ::Stripe::RequestParams
|
|
3917
|
-
class MarketplaceSellerAddress < ::Stripe::RequestParams
|
|
3918
|
-
# The city or town.
|
|
3919
|
-
attr_accessor :city
|
|
3920
|
-
# The country in ISO 3166-1 alpha-2 format.
|
|
3921
|
-
attr_accessor :country
|
|
3922
|
-
# The postal code formatted according to country.
|
|
3923
|
-
attr_accessor :postal_code
|
|
3924
|
-
# The state, county, province, or region formatted according to country.
|
|
3925
|
-
attr_accessor :region
|
|
3926
|
-
# Line 1 of the street address.
|
|
3927
|
-
attr_accessor :street_address
|
|
3928
|
-
# Line 2 of the street address.
|
|
3929
|
-
attr_accessor :street_address2
|
|
3930
|
-
|
|
3931
|
-
def initialize(
|
|
3932
|
-
city: nil,
|
|
3933
|
-
country: nil,
|
|
3934
|
-
postal_code: nil,
|
|
3935
|
-
region: nil,
|
|
3936
|
-
street_address: nil,
|
|
3937
|
-
street_address2: nil
|
|
3938
|
-
)
|
|
3939
|
-
@city = city
|
|
3940
|
-
@country = country
|
|
3941
|
-
@postal_code = postal_code
|
|
3942
|
-
@region = region
|
|
3943
|
-
@street_address = street_address
|
|
3944
|
-
@street_address2 = street_address2
|
|
3945
|
-
end
|
|
3946
|
-
end
|
|
3947
|
-
# The references to line items for purchases with multiple associated sub-sellers.
|
|
3948
|
-
attr_accessor :line_item_references
|
|
3949
|
-
# The address of the selling or delivering merchant.
|
|
3950
|
-
attr_accessor :marketplace_seller_address
|
|
3951
|
-
# The name of the marketplace seller.
|
|
3952
|
-
attr_accessor :marketplace_seller_name
|
|
3953
|
-
# The unique identifier for the marketplace seller.
|
|
3954
|
-
attr_accessor :marketplace_seller_reference
|
|
3955
|
-
# The number of transactions the sub-seller completed in the last 12 months.
|
|
3956
|
-
attr_accessor :number_of_transactions
|
|
3957
|
-
# The category of the product.
|
|
3958
|
-
attr_accessor :product_category
|
|
3959
|
-
# The date when the seller's account with the marketplace was last logged in.
|
|
3960
|
-
attr_accessor :seller_last_login_at
|
|
3961
|
-
# The current rating of the marketplace seller. If the marketplace uses numeric ranking, map these to the enum values.
|
|
3962
|
-
attr_accessor :seller_rating
|
|
3963
|
-
# The date when the seller's account with the marketplace was created.
|
|
3964
|
-
attr_accessor :seller_registered_at
|
|
3965
|
-
# The date when the seller's account with the marketplace was last updated.
|
|
3966
|
-
attr_accessor :seller_updated_at
|
|
3967
|
-
# The references to shipping addresses for purchases with multiple associated sub-sellers.
|
|
3968
|
-
attr_accessor :shipping_references
|
|
3969
|
-
# The accumulated amount of sales transactions made by the sub-merchant or sub-seller within the past 12 months in the payment currency. These transactions are in minor currency units.
|
|
3970
|
-
attr_accessor :volume_of_transactions
|
|
3971
|
-
|
|
3972
|
-
def initialize(
|
|
3973
|
-
line_item_references: nil,
|
|
3974
|
-
marketplace_seller_address: nil,
|
|
3975
|
-
marketplace_seller_name: nil,
|
|
3976
|
-
marketplace_seller_reference: nil,
|
|
3977
|
-
number_of_transactions: nil,
|
|
3978
|
-
product_category: nil,
|
|
3979
|
-
seller_last_login_at: nil,
|
|
3980
|
-
seller_rating: nil,
|
|
3981
|
-
seller_registered_at: nil,
|
|
3982
|
-
seller_updated_at: nil,
|
|
3983
|
-
shipping_references: nil,
|
|
3984
|
-
volume_of_transactions: nil
|
|
3985
|
-
)
|
|
3986
|
-
@line_item_references = line_item_references
|
|
3987
|
-
@marketplace_seller_address = marketplace_seller_address
|
|
3988
|
-
@marketplace_seller_name = marketplace_seller_name
|
|
3989
|
-
@marketplace_seller_reference = marketplace_seller_reference
|
|
3990
|
-
@number_of_transactions = number_of_transactions
|
|
3991
|
-
@product_category = product_category
|
|
3992
|
-
@seller_last_login_at = seller_last_login_at
|
|
3993
|
-
@seller_rating = seller_rating
|
|
3994
|
-
@seller_registered_at = seller_registered_at
|
|
3995
|
-
@seller_updated_at = seller_updated_at
|
|
3996
|
-
@shipping_references = shipping_references
|
|
3997
|
-
@volume_of_transactions = volume_of_transactions
|
|
3998
|
-
end
|
|
3999
|
-
end
|
|
4000
|
-
|
|
4001
|
-
class RoundTripReservationDetail < ::Stripe::RequestParams
|
|
4002
|
-
class Arrival < ::Stripe::RequestParams
|
|
4003
|
-
class Address < ::Stripe::RequestParams
|
|
4004
|
-
# The city or town.
|
|
4005
|
-
attr_accessor :city
|
|
4006
|
-
# The country in ISO 3166-1 alpha-2 format.
|
|
4007
|
-
attr_accessor :country
|
|
4008
|
-
# The postal code formatted according to country.
|
|
4009
|
-
attr_accessor :postal_code
|
|
4010
|
-
# The state, county, province, or region formatted according to country.
|
|
4011
|
-
attr_accessor :region
|
|
4012
|
-
# Line 1 of the street address.
|
|
4013
|
-
attr_accessor :street_address
|
|
4014
|
-
# Line 2 of the street address.
|
|
4015
|
-
attr_accessor :street_address2
|
|
4016
|
-
|
|
4017
|
-
def initialize(
|
|
4018
|
-
city: nil,
|
|
4019
|
-
country: nil,
|
|
4020
|
-
postal_code: nil,
|
|
4021
|
-
region: nil,
|
|
4022
|
-
street_address: nil,
|
|
4023
|
-
street_address2: nil
|
|
4024
|
-
)
|
|
4025
|
-
@city = city
|
|
4026
|
-
@country = country
|
|
4027
|
-
@postal_code = postal_code
|
|
4028
|
-
@region = region
|
|
4029
|
-
@street_address = street_address
|
|
4030
|
-
@street_address2 = street_address2
|
|
4031
|
-
end
|
|
4032
|
-
end
|
|
4033
|
-
# Address of the arrival location.
|
|
4034
|
-
attr_accessor :address
|
|
4035
|
-
# Identifier name or reference for the arrival location.
|
|
4036
|
-
attr_accessor :arrival_location
|
|
4037
|
-
|
|
4038
|
-
def initialize(address: nil, arrival_location: nil)
|
|
4039
|
-
@address = address
|
|
4040
|
-
@arrival_location = arrival_location
|
|
4041
|
-
end
|
|
4042
|
-
end
|
|
4043
|
-
|
|
4044
|
-
class Departure < ::Stripe::RequestParams
|
|
4045
|
-
class Address < ::Stripe::RequestParams
|
|
4046
|
-
# The city or town.
|
|
4047
|
-
attr_accessor :city
|
|
4048
|
-
# The country in ISO 3166-1 alpha-2 format.
|
|
4049
|
-
attr_accessor :country
|
|
4050
|
-
# The postal code formatted according to country.
|
|
4051
|
-
attr_accessor :postal_code
|
|
4052
|
-
# The state, county, province, or region formatted according to country.
|
|
4053
|
-
attr_accessor :region
|
|
4054
|
-
# Line 1 of the street address.
|
|
4055
|
-
attr_accessor :street_address
|
|
4056
|
-
# Line 2 of the street address.
|
|
4057
|
-
attr_accessor :street_address2
|
|
4058
|
-
|
|
4059
|
-
def initialize(
|
|
4060
|
-
city: nil,
|
|
4061
|
-
country: nil,
|
|
4062
|
-
postal_code: nil,
|
|
4063
|
-
region: nil,
|
|
4064
|
-
street_address: nil,
|
|
4065
|
-
street_address2: nil
|
|
4066
|
-
)
|
|
4067
|
-
@city = city
|
|
4068
|
-
@country = country
|
|
4069
|
-
@postal_code = postal_code
|
|
4070
|
-
@region = region
|
|
4071
|
-
@street_address = street_address
|
|
4072
|
-
@street_address2 = street_address2
|
|
4073
|
-
end
|
|
4074
|
-
end
|
|
4075
|
-
# Address of the departure location.
|
|
4076
|
-
attr_accessor :address
|
|
4077
|
-
# Timestamp of departure.
|
|
4078
|
-
attr_accessor :departs_at
|
|
4079
|
-
# Identifier name or reference for the origin location.
|
|
4080
|
-
attr_accessor :departure_location
|
|
4081
|
-
|
|
4082
|
-
def initialize(address: nil, departs_at: nil, departure_location: nil)
|
|
4083
|
-
@address = address
|
|
4084
|
-
@departs_at = departs_at
|
|
4085
|
-
@departure_location = departure_location
|
|
4086
|
-
end
|
|
4087
|
-
end
|
|
4088
|
-
|
|
4089
|
-
class Insurance < ::Stripe::RequestParams
|
|
4090
|
-
# Insurance currency.
|
|
4091
|
-
attr_accessor :currency
|
|
4092
|
-
# Name of the company providing the insurance.
|
|
4093
|
-
attr_accessor :insurance_company_name
|
|
4094
|
-
# Type of insurance.
|
|
4095
|
-
attr_accessor :insurance_type
|
|
4096
|
-
# Price of insurance in cents.
|
|
4097
|
-
attr_accessor :price
|
|
4098
|
-
|
|
4099
|
-
def initialize(
|
|
4100
|
-
currency: nil,
|
|
4101
|
-
insurance_company_name: nil,
|
|
4102
|
-
insurance_type: nil,
|
|
4103
|
-
price: nil
|
|
4104
|
-
)
|
|
4105
|
-
@currency = currency
|
|
4106
|
-
@insurance_company_name = insurance_company_name
|
|
4107
|
-
@insurance_type = insurance_type
|
|
4108
|
-
@price = price
|
|
4109
|
-
end
|
|
4110
|
-
end
|
|
4111
|
-
|
|
4112
|
-
class Passenger < ::Stripe::RequestParams
|
|
4113
|
-
# The family name of the person.
|
|
4114
|
-
attr_accessor :family_name
|
|
4115
|
-
# The given name of the person.
|
|
4116
|
-
attr_accessor :given_name
|
|
4117
|
-
|
|
4118
|
-
def initialize(family_name: nil, given_name: nil)
|
|
4119
|
-
@family_name = family_name
|
|
4120
|
-
@given_name = given_name
|
|
4121
|
-
end
|
|
4122
|
-
end
|
|
4123
|
-
# Name of associated or partner company for the service.
|
|
4124
|
-
attr_accessor :affiliate_name
|
|
4125
|
-
# Arrival details.
|
|
4126
|
-
attr_accessor :arrival
|
|
4127
|
-
# Name of transportation company.
|
|
4128
|
-
attr_accessor :carrier_name
|
|
4129
|
-
# Currency.
|
|
4130
|
-
attr_accessor :currency
|
|
4131
|
-
# Departure details.
|
|
4132
|
-
attr_accessor :departure
|
|
4133
|
-
# List of insurances for this reservation.
|
|
4134
|
-
attr_accessor :insurances
|
|
4135
|
-
# List of passengers that this reservation applies to.
|
|
4136
|
-
attr_accessor :passengers
|
|
4137
|
-
# Price in cents.
|
|
4138
|
-
attr_accessor :price
|
|
4139
|
-
# Ticket class.
|
|
4140
|
-
attr_accessor :ticket_class
|
|
4141
|
-
|
|
4142
|
-
def initialize(
|
|
4143
|
-
affiliate_name: nil,
|
|
4144
|
-
arrival: nil,
|
|
4145
|
-
carrier_name: nil,
|
|
4146
|
-
currency: nil,
|
|
4147
|
-
departure: nil,
|
|
4148
|
-
insurances: nil,
|
|
4149
|
-
passengers: nil,
|
|
4150
|
-
price: nil,
|
|
4151
|
-
ticket_class: nil
|
|
4152
|
-
)
|
|
4153
|
-
@affiliate_name = affiliate_name
|
|
4154
|
-
@arrival = arrival
|
|
4155
|
-
@carrier_name = carrier_name
|
|
4156
|
-
@currency = currency
|
|
4157
|
-
@departure = departure
|
|
4158
|
-
@insurances = insurances
|
|
4159
|
-
@passengers = passengers
|
|
4160
|
-
@price = price
|
|
4161
|
-
@ticket_class = ticket_class
|
|
4162
|
-
end
|
|
4163
|
-
end
|
|
4164
|
-
|
|
4165
|
-
class TrainReservationDetail < ::Stripe::RequestParams
|
|
4166
|
-
class Arrival < ::Stripe::RequestParams
|
|
4167
|
-
class Address < ::Stripe::RequestParams
|
|
4168
|
-
# The city or town.
|
|
4169
|
-
attr_accessor :city
|
|
4170
|
-
# The country in ISO 3166-1 alpha-2 format.
|
|
4171
|
-
attr_accessor :country
|
|
4172
|
-
# The postal code formatted according to country.
|
|
4173
|
-
attr_accessor :postal_code
|
|
4174
|
-
# The state, county, province, or region formatted according to country.
|
|
4175
|
-
attr_accessor :region
|
|
4176
|
-
# Line 1 of the street address.
|
|
4177
|
-
attr_accessor :street_address
|
|
4178
|
-
# Line 2 of the street address.
|
|
4179
|
-
attr_accessor :street_address2
|
|
4180
|
-
|
|
4181
|
-
def initialize(
|
|
4182
|
-
city: nil,
|
|
4183
|
-
country: nil,
|
|
4184
|
-
postal_code: nil,
|
|
4185
|
-
region: nil,
|
|
4186
|
-
street_address: nil,
|
|
4187
|
-
street_address2: nil
|
|
4188
|
-
)
|
|
4189
|
-
@city = city
|
|
4190
|
-
@country = country
|
|
4191
|
-
@postal_code = postal_code
|
|
4192
|
-
@region = region
|
|
4193
|
-
@street_address = street_address
|
|
4194
|
-
@street_address2 = street_address2
|
|
4195
|
-
end
|
|
4196
|
-
end
|
|
4197
|
-
# Address of the arrival location.
|
|
4198
|
-
attr_accessor :address
|
|
4199
|
-
# Identifier name or reference for the arrival location.
|
|
4200
|
-
attr_accessor :arrival_location
|
|
4201
|
-
|
|
4202
|
-
def initialize(address: nil, arrival_location: nil)
|
|
4203
|
-
@address = address
|
|
4204
|
-
@arrival_location = arrival_location
|
|
4205
|
-
end
|
|
4206
|
-
end
|
|
4207
|
-
|
|
4208
|
-
class Departure < ::Stripe::RequestParams
|
|
4209
|
-
class Address < ::Stripe::RequestParams
|
|
4210
|
-
# The city or town.
|
|
4211
|
-
attr_accessor :city
|
|
4212
|
-
# The country in ISO 3166-1 alpha-2 format.
|
|
4213
|
-
attr_accessor :country
|
|
4214
|
-
# The postal code formatted according to country.
|
|
4215
|
-
attr_accessor :postal_code
|
|
4216
|
-
# The state, county, province, or region formatted according to country.
|
|
4217
|
-
attr_accessor :region
|
|
4218
|
-
# Line 1 of the street address.
|
|
4219
|
-
attr_accessor :street_address
|
|
4220
|
-
# Line 2 of the street address.
|
|
4221
|
-
attr_accessor :street_address2
|
|
4222
|
-
|
|
4223
|
-
def initialize(
|
|
4224
|
-
city: nil,
|
|
4225
|
-
country: nil,
|
|
4226
|
-
postal_code: nil,
|
|
4227
|
-
region: nil,
|
|
4228
|
-
street_address: nil,
|
|
4229
|
-
street_address2: nil
|
|
4230
|
-
)
|
|
4231
|
-
@city = city
|
|
4232
|
-
@country = country
|
|
4233
|
-
@postal_code = postal_code
|
|
4234
|
-
@region = region
|
|
4235
|
-
@street_address = street_address
|
|
4236
|
-
@street_address2 = street_address2
|
|
4237
|
-
end
|
|
4238
|
-
end
|
|
4239
|
-
# Address of the departure location.
|
|
4240
|
-
attr_accessor :address
|
|
4241
|
-
# Timestamp of departure.
|
|
4242
|
-
attr_accessor :departs_at
|
|
4243
|
-
# Identifier name or reference for the origin location.
|
|
4244
|
-
attr_accessor :departure_location
|
|
4245
|
-
|
|
4246
|
-
def initialize(address: nil, departs_at: nil, departure_location: nil)
|
|
4247
|
-
@address = address
|
|
4248
|
-
@departs_at = departs_at
|
|
4249
|
-
@departure_location = departure_location
|
|
4250
|
-
end
|
|
4251
|
-
end
|
|
4252
|
-
|
|
4253
|
-
class Insurance < ::Stripe::RequestParams
|
|
4254
|
-
# Insurance currency.
|
|
4255
|
-
attr_accessor :currency
|
|
4256
|
-
# Name of the company providing the insurance.
|
|
4257
|
-
attr_accessor :insurance_company_name
|
|
4258
|
-
# Type of insurance.
|
|
4259
|
-
attr_accessor :insurance_type
|
|
4260
|
-
# Price of insurance in cents.
|
|
4261
|
-
attr_accessor :price
|
|
4262
|
-
|
|
4263
|
-
def initialize(
|
|
4264
|
-
currency: nil,
|
|
4265
|
-
insurance_company_name: nil,
|
|
4266
|
-
insurance_type: nil,
|
|
4267
|
-
price: nil
|
|
4268
|
-
)
|
|
4269
|
-
@currency = currency
|
|
4270
|
-
@insurance_company_name = insurance_company_name
|
|
4271
|
-
@insurance_type = insurance_type
|
|
4272
|
-
@price = price
|
|
4273
|
-
end
|
|
4274
|
-
end
|
|
4275
|
-
|
|
4276
|
-
class Passenger < ::Stripe::RequestParams
|
|
4277
|
-
# The family name of the person.
|
|
4278
|
-
attr_accessor :family_name
|
|
4279
|
-
# The given name of the person.
|
|
4280
|
-
attr_accessor :given_name
|
|
4281
|
-
|
|
4282
|
-
def initialize(family_name: nil, given_name: nil)
|
|
4283
|
-
@family_name = family_name
|
|
4284
|
-
@given_name = given_name
|
|
4285
|
-
end
|
|
4286
|
-
end
|
|
4287
|
-
# Name of associated or partner company for the service.
|
|
4288
|
-
attr_accessor :affiliate_name
|
|
4289
|
-
# Arrival details.
|
|
4290
|
-
attr_accessor :arrival
|
|
4291
|
-
# Name of transportation company.
|
|
4292
|
-
attr_accessor :carrier_name
|
|
4293
|
-
# Currency.
|
|
4294
|
-
attr_accessor :currency
|
|
4295
|
-
# Departure details.
|
|
4296
|
-
attr_accessor :departure
|
|
4297
|
-
# List of insurances for this reservation.
|
|
4298
|
-
attr_accessor :insurances
|
|
4299
|
-
# List of passengers that this reservation applies to.
|
|
4300
|
-
attr_accessor :passengers
|
|
4301
|
-
# Price in cents.
|
|
4302
|
-
attr_accessor :price
|
|
4303
|
-
# Ticket class.
|
|
4304
|
-
attr_accessor :ticket_class
|
|
4305
|
-
|
|
4306
|
-
def initialize(
|
|
4307
|
-
affiliate_name: nil,
|
|
4308
|
-
arrival: nil,
|
|
4309
|
-
carrier_name: nil,
|
|
4310
|
-
currency: nil,
|
|
4311
|
-
departure: nil,
|
|
4312
|
-
insurances: nil,
|
|
4313
|
-
passengers: nil,
|
|
4314
|
-
price: nil,
|
|
4315
|
-
ticket_class: nil
|
|
4316
|
-
)
|
|
4317
|
-
@affiliate_name = affiliate_name
|
|
4318
|
-
@arrival = arrival
|
|
4319
|
-
@carrier_name = carrier_name
|
|
4320
|
-
@currency = currency
|
|
4321
|
-
@departure = departure
|
|
4322
|
-
@insurances = insurances
|
|
4323
|
-
@passengers = passengers
|
|
4324
|
-
@price = price
|
|
4325
|
-
@ticket_class = ticket_class
|
|
4326
|
-
end
|
|
4327
|
-
end
|
|
4328
|
-
|
|
4329
|
-
class Voucher < ::Stripe::RequestParams
|
|
4330
|
-
# Name of associated or partner company for this voucher.
|
|
4331
|
-
attr_accessor :affiliate_name
|
|
4332
|
-
# The voucher validity end time.
|
|
4333
|
-
attr_accessor :ends_at
|
|
4334
|
-
# The voucher validity start time.
|
|
4335
|
-
attr_accessor :starts_at
|
|
4336
|
-
# The issuer or provider of this voucher.
|
|
4337
|
-
attr_accessor :voucher_company
|
|
4338
|
-
# The name or reference to identify the voucher.
|
|
4339
|
-
attr_accessor :voucher_name
|
|
4340
|
-
# The type of this voucher.
|
|
4341
|
-
attr_accessor :voucher_type
|
|
4342
|
-
|
|
4343
|
-
def initialize(
|
|
4344
|
-
affiliate_name: nil,
|
|
4345
|
-
ends_at: nil,
|
|
4346
|
-
starts_at: nil,
|
|
4347
|
-
voucher_company: nil,
|
|
4348
|
-
voucher_name: nil,
|
|
4349
|
-
voucher_type: nil
|
|
4350
|
-
)
|
|
4351
|
-
@affiliate_name = affiliate_name
|
|
4352
|
-
@ends_at = ends_at
|
|
4353
|
-
@starts_at = starts_at
|
|
4354
|
-
@voucher_company = voucher_company
|
|
4355
|
-
@voucher_name = voucher_name
|
|
4356
|
-
@voucher_type = voucher_type
|
|
4357
|
-
end
|
|
4358
|
-
end
|
|
4359
|
-
# Supplementary bus reservation details.
|
|
4360
|
-
attr_accessor :bus_reservation_details
|
|
4361
|
-
# Supplementary event reservation details.
|
|
4362
|
-
attr_accessor :event_reservation_details
|
|
4363
|
-
# Supplementary ferry reservation details.
|
|
4364
|
-
attr_accessor :ferry_reservation_details
|
|
4365
|
-
# Supplementary insurance details.
|
|
4366
|
-
attr_accessor :insurances
|
|
4367
|
-
# Supplementary marketplace seller details.
|
|
4368
|
-
attr_accessor :marketplace_sellers
|
|
4369
|
-
# Supplementary round trip reservation details.
|
|
4370
|
-
attr_accessor :round_trip_reservation_details
|
|
4371
|
-
# Supplementary train reservation details.
|
|
4372
|
-
attr_accessor :train_reservation_details
|
|
4373
|
-
# Voucher details, such as a gift card or discount code.
|
|
4374
|
-
attr_accessor :vouchers
|
|
4375
|
-
|
|
4376
|
-
def initialize(
|
|
4377
|
-
bus_reservation_details: nil,
|
|
4378
|
-
event_reservation_details: nil,
|
|
4379
|
-
ferry_reservation_details: nil,
|
|
4380
|
-
insurances: nil,
|
|
4381
|
-
marketplace_sellers: nil,
|
|
4382
|
-
round_trip_reservation_details: nil,
|
|
4383
|
-
train_reservation_details: nil,
|
|
4384
|
-
vouchers: nil
|
|
4385
|
-
)
|
|
4386
|
-
@bus_reservation_details = bus_reservation_details
|
|
4387
|
-
@event_reservation_details = event_reservation_details
|
|
4388
|
-
@ferry_reservation_details = ferry_reservation_details
|
|
4389
|
-
@insurances = insurances
|
|
4390
|
-
@marketplace_sellers = marketplace_sellers
|
|
4391
|
-
@round_trip_reservation_details = round_trip_reservation_details
|
|
4392
|
-
@train_reservation_details = train_reservation_details
|
|
4393
|
-
@vouchers = vouchers
|
|
4394
|
-
end
|
|
4395
|
-
end
|
|
4396
1649
|
# Controls when the funds are captured from the customer's account.
|
|
4397
1650
|
#
|
|
4398
1651
|
# If provided, this parameter overrides the behavior of the top-level [capture_method](/api/payment_intents/update#update_payment_intent-capture_method) for this payment method type when finalizing the payment with this payment method type.
|
|
@@ -4415,23 +1668,19 @@ module Stripe
|
|
|
4415
1668
|
attr_accessor :setup_future_usage
|
|
4416
1669
|
# Subscription details if setting up or charging a subscription.
|
|
4417
1670
|
attr_accessor :subscriptions
|
|
4418
|
-
# Supplementary Purchase Data for the corresponding Klarna payment
|
|
4419
|
-
attr_accessor :supplementary_purchase_data
|
|
4420
1671
|
|
|
4421
1672
|
def initialize(
|
|
4422
1673
|
capture_method: nil,
|
|
4423
1674
|
on_demand: nil,
|
|
4424
1675
|
preferred_locale: nil,
|
|
4425
1676
|
setup_future_usage: nil,
|
|
4426
|
-
subscriptions: nil
|
|
4427
|
-
supplementary_purchase_data: nil
|
|
1677
|
+
subscriptions: nil
|
|
4428
1678
|
)
|
|
4429
1679
|
@capture_method = capture_method
|
|
4430
1680
|
@on_demand = on_demand
|
|
4431
1681
|
@preferred_locale = preferred_locale
|
|
4432
1682
|
@setup_future_usage = setup_future_usage
|
|
4433
1683
|
@subscriptions = subscriptions
|
|
4434
|
-
@supplementary_purchase_data = supplementary_purchase_data
|
|
4435
1684
|
end
|
|
4436
1685
|
end
|
|
4437
1686
|
|
|
@@ -4692,65 +1941,12 @@ module Stripe
|
|
|
4692
1941
|
end
|
|
4693
1942
|
|
|
4694
1943
|
class Paypal < ::Stripe::RequestParams
|
|
4695
|
-
class LineItem < ::Stripe::RequestParams
|
|
4696
|
-
class Tax < ::Stripe::RequestParams
|
|
4697
|
-
# The tax for a single unit of the line item in minor units. Cannot be a negative number.
|
|
4698
|
-
attr_accessor :amount
|
|
4699
|
-
# The tax behavior for the line item.
|
|
4700
|
-
attr_accessor :behavior
|
|
4701
|
-
|
|
4702
|
-
def initialize(amount: nil, behavior: nil)
|
|
4703
|
-
@amount = amount
|
|
4704
|
-
@behavior = behavior
|
|
4705
|
-
end
|
|
4706
|
-
end
|
|
4707
|
-
# Type of the line item.
|
|
4708
|
-
attr_accessor :category
|
|
4709
|
-
# Description of the line item.
|
|
4710
|
-
attr_accessor :description
|
|
4711
|
-
# Descriptive name of the line item.
|
|
4712
|
-
attr_accessor :name
|
|
4713
|
-
# Quantity of the line item. Must be a positive number.
|
|
4714
|
-
attr_accessor :quantity
|
|
4715
|
-
# Client facing stock keeping unit, article number or similar.
|
|
4716
|
-
attr_accessor :sku
|
|
4717
|
-
# The Stripe account ID of the connected account that sells the item.
|
|
4718
|
-
attr_accessor :sold_by
|
|
4719
|
-
# The tax information for the line item.
|
|
4720
|
-
attr_accessor :tax
|
|
4721
|
-
# Price for a single unit of the line item in minor units. Cannot be a negative number.
|
|
4722
|
-
attr_accessor :unit_amount
|
|
4723
|
-
|
|
4724
|
-
def initialize(
|
|
4725
|
-
category: nil,
|
|
4726
|
-
description: nil,
|
|
4727
|
-
name: nil,
|
|
4728
|
-
quantity: nil,
|
|
4729
|
-
sku: nil,
|
|
4730
|
-
sold_by: nil,
|
|
4731
|
-
tax: nil,
|
|
4732
|
-
unit_amount: nil
|
|
4733
|
-
)
|
|
4734
|
-
@category = category
|
|
4735
|
-
@description = description
|
|
4736
|
-
@name = name
|
|
4737
|
-
@quantity = quantity
|
|
4738
|
-
@sku = sku
|
|
4739
|
-
@sold_by = sold_by
|
|
4740
|
-
@tax = tax
|
|
4741
|
-
@unit_amount = unit_amount
|
|
4742
|
-
end
|
|
4743
|
-
end
|
|
4744
1944
|
# Controls when the funds will be captured from the customer's account.
|
|
4745
1945
|
attr_accessor :capture_method
|
|
4746
|
-
# The line items purchased by the customer.
|
|
4747
|
-
attr_accessor :line_items
|
|
4748
1946
|
# [Preferred locale](https://docs.stripe.com/payments/paypal/supported-locales) of the PayPal checkout page that the customer is redirected to.
|
|
4749
1947
|
attr_accessor :preferred_locale
|
|
4750
1948
|
# 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.
|
|
4751
1949
|
attr_accessor :reference
|
|
4752
|
-
# 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.
|
|
4753
|
-
attr_accessor :reference_id
|
|
4754
1950
|
# The risk correlation ID for an on-session payment using a saved PayPal payment method.
|
|
4755
1951
|
attr_accessor :risk_correlation_id
|
|
4756
1952
|
# Indicates that you intend to make future payments with this PaymentIntent's payment method.
|
|
@@ -4763,40 +1959,19 @@ module Stripe
|
|
|
4763
1959
|
#
|
|
4764
1960
|
# If you've already set `setup_future_usage` and you're performing a request using a publishable key, you can only update the value from `on_session` to `off_session`.
|
|
4765
1961
|
attr_accessor :setup_future_usage
|
|
4766
|
-
# 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.
|
|
4767
|
-
attr_accessor :subsellers
|
|
4768
1962
|
|
|
4769
1963
|
def initialize(
|
|
4770
1964
|
capture_method: nil,
|
|
4771
|
-
line_items: nil,
|
|
4772
1965
|
preferred_locale: nil,
|
|
4773
1966
|
reference: nil,
|
|
4774
|
-
reference_id: nil,
|
|
4775
1967
|
risk_correlation_id: nil,
|
|
4776
|
-
setup_future_usage: nil
|
|
4777
|
-
subsellers: nil
|
|
1968
|
+
setup_future_usage: nil
|
|
4778
1969
|
)
|
|
4779
1970
|
@capture_method = capture_method
|
|
4780
|
-
@line_items = line_items
|
|
4781
1971
|
@preferred_locale = preferred_locale
|
|
4782
1972
|
@reference = reference
|
|
4783
|
-
@reference_id = reference_id
|
|
4784
1973
|
@risk_correlation_id = risk_correlation_id
|
|
4785
1974
|
@setup_future_usage = setup_future_usage
|
|
4786
|
-
@subsellers = subsellers
|
|
4787
|
-
end
|
|
4788
|
-
end
|
|
4789
|
-
|
|
4790
|
-
class Paypay < ::Stripe::RequestParams
|
|
4791
|
-
# Controls when the funds are captured from the customer's account.
|
|
4792
|
-
#
|
|
4793
|
-
# If provided, this parameter overrides the behavior of the top-level [capture_method](/api/payment_intents/update#update_payment_intent-capture_method) for this payment method type when finalizing the payment with this payment method type.
|
|
4794
|
-
#
|
|
4795
|
-
# If `capture_method` is already set on the PaymentIntent, providing an empty value for this parameter unsets the stored value for this payment method type.
|
|
4796
|
-
attr_accessor :capture_method
|
|
4797
|
-
|
|
4798
|
-
def initialize(capture_method: nil)
|
|
4799
|
-
@capture_method = capture_method
|
|
4800
1975
|
end
|
|
4801
1976
|
end
|
|
4802
1977
|
|
|
@@ -4851,52 +2026,12 @@ module Stripe
|
|
|
4851
2026
|
end
|
|
4852
2027
|
|
|
4853
2028
|
class Pix < ::Stripe::RequestParams
|
|
4854
|
-
class MandateOptions < ::Stripe::RequestParams
|
|
4855
|
-
# Amount to be charged for future payments. Required when `amount_type=fixed`. If not provided for `amount_type=maximum`, defaults to 40000.
|
|
4856
|
-
attr_accessor :amount
|
|
4857
|
-
# Determines if the amount includes the IOF tax. Defaults to `never`.
|
|
4858
|
-
attr_accessor :amount_includes_iof
|
|
4859
|
-
# Type of amount. Defaults to `maximum`.
|
|
4860
|
-
attr_accessor :amount_type
|
|
4861
|
-
# Three-letter [ISO currency code](https://www.iso.org/iso-4217-currency-codes.html), in lowercase. Only `brl` is supported currently.
|
|
4862
|
-
attr_accessor :currency
|
|
4863
|
-
# Date when the mandate expires and no further payments will be charged, in `YYYY-MM-DD`. If not provided, the mandate will be active until canceled. If provided, end date should be after start date.
|
|
4864
|
-
attr_accessor :end_date
|
|
4865
|
-
# Schedule at which the future payments will be charged. Defaults to `weekly`.
|
|
4866
|
-
attr_accessor :payment_schedule
|
|
4867
|
-
# Subscription name displayed to buyers in their bank app. Defaults to the displayable business name.
|
|
4868
|
-
attr_accessor :reference
|
|
4869
|
-
# Start date of the mandate, in `YYYY-MM-DD`. Start date should be at least 3 days in the future. Defaults to 3 days after the current date.
|
|
4870
|
-
attr_accessor :start_date
|
|
4871
|
-
|
|
4872
|
-
def initialize(
|
|
4873
|
-
amount: nil,
|
|
4874
|
-
amount_includes_iof: nil,
|
|
4875
|
-
amount_type: nil,
|
|
4876
|
-
currency: nil,
|
|
4877
|
-
end_date: nil,
|
|
4878
|
-
payment_schedule: nil,
|
|
4879
|
-
reference: nil,
|
|
4880
|
-
start_date: nil
|
|
4881
|
-
)
|
|
4882
|
-
@amount = amount
|
|
4883
|
-
@amount_includes_iof = amount_includes_iof
|
|
4884
|
-
@amount_type = amount_type
|
|
4885
|
-
@currency = currency
|
|
4886
|
-
@end_date = end_date
|
|
4887
|
-
@payment_schedule = payment_schedule
|
|
4888
|
-
@reference = reference
|
|
4889
|
-
@start_date = start_date
|
|
4890
|
-
end
|
|
4891
|
-
end
|
|
4892
2029
|
# Determines if the amount includes the IOF tax. Defaults to `never`.
|
|
4893
2030
|
attr_accessor :amount_includes_iof
|
|
4894
2031
|
# The number of seconds (between 10 and 1209600) after which Pix payment will expire. Defaults to 86400 seconds.
|
|
4895
2032
|
attr_accessor :expires_after_seconds
|
|
4896
2033
|
# The timestamp at which the Pix expires (between 10 and 1209600 seconds in the future). Defaults to 1 day in the future.
|
|
4897
2034
|
attr_accessor :expires_at
|
|
4898
|
-
# Additional fields for mandate creation. Only applicable when `setup_future_usage=off_session`.
|
|
4899
|
-
attr_accessor :mandate_options
|
|
4900
2035
|
# Indicates that you intend to make future payments with this PaymentIntent's payment method.
|
|
4901
2036
|
#
|
|
4902
2037
|
# 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.
|
|
@@ -4912,13 +2047,11 @@ module Stripe
|
|
|
4912
2047
|
amount_includes_iof: nil,
|
|
4913
2048
|
expires_after_seconds: nil,
|
|
4914
2049
|
expires_at: nil,
|
|
4915
|
-
mandate_options: nil,
|
|
4916
2050
|
setup_future_usage: nil
|
|
4917
2051
|
)
|
|
4918
2052
|
@amount_includes_iof = amount_includes_iof
|
|
4919
2053
|
@expires_after_seconds = expires_after_seconds
|
|
4920
2054
|
@expires_at = expires_at
|
|
4921
|
-
@mandate_options = mandate_options
|
|
4922
2055
|
@setup_future_usage = setup_future_usage
|
|
4923
2056
|
end
|
|
4924
2057
|
end
|
|
@@ -4940,25 +2073,6 @@ module Stripe
|
|
|
4940
2073
|
end
|
|
4941
2074
|
end
|
|
4942
2075
|
|
|
4943
|
-
class Qris < ::Stripe::RequestParams
|
|
4944
|
-
# Indicates that you intend to make future payments with this PaymentIntent's payment method.
|
|
4945
|
-
#
|
|
4946
|
-
# 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.
|
|
4947
|
-
#
|
|
4948
|
-
# 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.
|
|
4949
|
-
#
|
|
4950
|
-
# 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).
|
|
4951
|
-
#
|
|
4952
|
-
# If you've already set `setup_future_usage` and you're performing a request using a publishable key, you can only update the value from `on_session` to `off_session`.
|
|
4953
|
-
attr_accessor :setup_future_usage
|
|
4954
|
-
|
|
4955
|
-
def initialize(setup_future_usage: nil)
|
|
4956
|
-
@setup_future_usage = setup_future_usage
|
|
4957
|
-
end
|
|
4958
|
-
end
|
|
4959
|
-
|
|
4960
|
-
class Rechnung < ::Stripe::RequestParams; end
|
|
4961
|
-
|
|
4962
2076
|
class RevolutPay < ::Stripe::RequestParams
|
|
4963
2077
|
# Controls when the funds are captured from the customer's account.
|
|
4964
2078
|
#
|
|
@@ -5038,23 +2152,6 @@ module Stripe
|
|
|
5038
2152
|
end
|
|
5039
2153
|
end
|
|
5040
2154
|
|
|
5041
|
-
class Shopeepay < ::Stripe::RequestParams
|
|
5042
|
-
# Indicates that you intend to make future payments with this PaymentIntent's payment method.
|
|
5043
|
-
#
|
|
5044
|
-
# 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.
|
|
5045
|
-
#
|
|
5046
|
-
# 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.
|
|
5047
|
-
#
|
|
5048
|
-
# 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).
|
|
5049
|
-
#
|
|
5050
|
-
# If you've already set `setup_future_usage` and you're performing a request using a publishable key, you can only update the value from `on_session` to `off_session`.
|
|
5051
|
-
attr_accessor :setup_future_usage
|
|
5052
|
-
|
|
5053
|
-
def initialize(setup_future_usage: nil)
|
|
5054
|
-
@setup_future_usage = setup_future_usage
|
|
5055
|
-
end
|
|
5056
|
-
end
|
|
5057
|
-
|
|
5058
2155
|
class Sofort < ::Stripe::RequestParams
|
|
5059
2156
|
# Language shown to the payer on redirect.
|
|
5060
2157
|
attr_accessor :preferred_language
|
|
@@ -5075,23 +2172,6 @@ module Stripe
|
|
|
5075
2172
|
end
|
|
5076
2173
|
end
|
|
5077
2174
|
|
|
5078
|
-
class StripeBalance < ::Stripe::RequestParams
|
|
5079
|
-
# Indicates that you intend to make future payments with this PaymentIntent's payment method.
|
|
5080
|
-
#
|
|
5081
|
-
# 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.
|
|
5082
|
-
#
|
|
5083
|
-
# 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.
|
|
5084
|
-
#
|
|
5085
|
-
# 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).
|
|
5086
|
-
#
|
|
5087
|
-
# If you've already set `setup_future_usage` and you're performing a request using a publishable key, you can only update the value from `on_session` to `off_session`.
|
|
5088
|
-
attr_accessor :setup_future_usage
|
|
5089
|
-
|
|
5090
|
-
def initialize(setup_future_usage: nil)
|
|
5091
|
-
@setup_future_usage = setup_future_usage
|
|
5092
|
-
end
|
|
5093
|
-
end
|
|
5094
|
-
|
|
5095
2175
|
class Swish < ::Stripe::RequestParams
|
|
5096
2176
|
# A reference for this payment to be displayed in the Swish app.
|
|
5097
2177
|
attr_accessor :reference
|
|
@@ -5134,27 +2214,13 @@ module Stripe
|
|
|
5134
2214
|
class Filters < ::Stripe::RequestParams
|
|
5135
2215
|
# The account subcategories to use to filter for selectable accounts. Valid subcategories are `checking` and `savings`.
|
|
5136
2216
|
attr_accessor :account_subcategories
|
|
5137
|
-
# ID of the institution to use to filter for selectable accounts.
|
|
5138
|
-
attr_accessor :institution
|
|
5139
2217
|
|
|
5140
|
-
def initialize(account_subcategories: nil
|
|
2218
|
+
def initialize(account_subcategories: nil)
|
|
5141
2219
|
@account_subcategories = account_subcategories
|
|
5142
|
-
@institution = institution
|
|
5143
|
-
end
|
|
5144
|
-
end
|
|
5145
|
-
|
|
5146
|
-
class ManualEntry < ::Stripe::RequestParams
|
|
5147
|
-
# Settings for configuring manual entry of account details.
|
|
5148
|
-
attr_accessor :mode
|
|
5149
|
-
|
|
5150
|
-
def initialize(mode: nil)
|
|
5151
|
-
@mode = mode
|
|
5152
2220
|
end
|
|
5153
2221
|
end
|
|
5154
2222
|
# Provide filters for the linked accounts that the customer can select for the payment method.
|
|
5155
2223
|
attr_accessor :filters
|
|
5156
|
-
# Customize manual entry behavior
|
|
5157
|
-
attr_accessor :manual_entry
|
|
5158
2224
|
# The list of permissions to request. If this parameter is passed, the `payment_method` permission must be included. Valid permissions include: `balances`, `ownership`, `payment_method`, and `transactions`.
|
|
5159
2225
|
attr_accessor :permissions
|
|
5160
2226
|
# List of data features that you would like to retrieve upon account creation.
|
|
@@ -5162,15 +2228,8 @@ module Stripe
|
|
|
5162
2228
|
# For webview integrations only. Upon completing OAuth login in the native browser, the user will be redirected to this URL to return to your app.
|
|
5163
2229
|
attr_accessor :return_url
|
|
5164
2230
|
|
|
5165
|
-
def initialize(
|
|
5166
|
-
filters: nil,
|
|
5167
|
-
manual_entry: nil,
|
|
5168
|
-
permissions: nil,
|
|
5169
|
-
prefetch: nil,
|
|
5170
|
-
return_url: nil
|
|
5171
|
-
)
|
|
2231
|
+
def initialize(filters: nil, permissions: nil, prefetch: nil, return_url: nil)
|
|
5172
2232
|
@filters = filters
|
|
5173
|
-
@manual_entry = manual_entry
|
|
5174
2233
|
@permissions = permissions
|
|
5175
2234
|
@prefetch = prefetch
|
|
5176
2235
|
@return_url = return_url
|
|
@@ -5200,8 +2259,6 @@ module Stripe
|
|
|
5200
2259
|
attr_accessor :mandate_options
|
|
5201
2260
|
# Additional fields for network related functions
|
|
5202
2261
|
attr_accessor :networks
|
|
5203
|
-
# Preferred transaction settlement speed
|
|
5204
|
-
attr_accessor :preferred_settlement_speed
|
|
5205
2262
|
# Indicates that you intend to make future payments with this PaymentIntent's payment method.
|
|
5206
2263
|
#
|
|
5207
2264
|
# 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.
|
|
@@ -5216,23 +2273,25 @@ module Stripe
|
|
|
5216
2273
|
attr_accessor :target_date
|
|
5217
2274
|
# Bank account verification method.
|
|
5218
2275
|
attr_accessor :verification_method
|
|
2276
|
+
# Preferred transaction settlement speed
|
|
2277
|
+
attr_accessor :preferred_settlement_speed
|
|
5219
2278
|
|
|
5220
2279
|
def initialize(
|
|
5221
2280
|
financial_connections: nil,
|
|
5222
2281
|
mandate_options: nil,
|
|
5223
2282
|
networks: nil,
|
|
5224
|
-
preferred_settlement_speed: nil,
|
|
5225
2283
|
setup_future_usage: nil,
|
|
5226
2284
|
target_date: nil,
|
|
5227
|
-
verification_method: nil
|
|
2285
|
+
verification_method: nil,
|
|
2286
|
+
preferred_settlement_speed: nil
|
|
5228
2287
|
)
|
|
5229
2288
|
@financial_connections = financial_connections
|
|
5230
2289
|
@mandate_options = mandate_options
|
|
5231
2290
|
@networks = networks
|
|
5232
|
-
@preferred_settlement_speed = preferred_settlement_speed
|
|
5233
2291
|
@setup_future_usage = setup_future_usage
|
|
5234
2292
|
@target_date = target_date
|
|
5235
2293
|
@verification_method = verification_method
|
|
2294
|
+
@preferred_settlement_speed = preferred_settlement_speed
|
|
5236
2295
|
end
|
|
5237
2296
|
end
|
|
5238
2297
|
|
|
@@ -5315,12 +2374,8 @@ module Stripe
|
|
|
5315
2374
|
attr_accessor :fpx
|
|
5316
2375
|
# If this is a `giropay` PaymentMethod, this sub-hash contains details about the Giropay payment method options.
|
|
5317
2376
|
attr_accessor :giropay
|
|
5318
|
-
# If this is a `gopay` PaymentMethod, this sub-hash contains details about the Gopay payment method options.
|
|
5319
|
-
attr_accessor :gopay
|
|
5320
2377
|
# If this is a `grabpay` PaymentMethod, this sub-hash contains details about the Grabpay payment method options.
|
|
5321
2378
|
attr_accessor :grabpay
|
|
5322
|
-
# If this is a `id_bank_transfer` PaymentMethod, this sub-hash contains details about the Indonesia Bank Transfer payment method options.
|
|
5323
|
-
attr_accessor :id_bank_transfer
|
|
5324
2379
|
# If this is a `ideal` PaymentMethod, this sub-hash contains details about the Ideal payment method options.
|
|
5325
2380
|
attr_accessor :ideal
|
|
5326
2381
|
# If this is a `interac_present` PaymentMethod, this sub-hash contains details about the Card Present payment method options.
|
|
@@ -5357,18 +2412,12 @@ module Stripe
|
|
|
5357
2412
|
attr_accessor :paynow
|
|
5358
2413
|
# If this is a `paypal` PaymentMethod, this sub-hash contains details about the PayPal payment method options.
|
|
5359
2414
|
attr_accessor :paypal
|
|
5360
|
-
# If this is a `paypay` PaymentMethod, this sub-hash contains details about the PayPay payment method options.
|
|
5361
|
-
attr_accessor :paypay
|
|
5362
2415
|
# If this is a `payto` PaymentMethod, this sub-hash contains details about the PayTo payment method options.
|
|
5363
2416
|
attr_accessor :payto
|
|
5364
2417
|
# If this is a `pix` PaymentMethod, this sub-hash contains details about the Pix payment method options.
|
|
5365
2418
|
attr_accessor :pix
|
|
5366
2419
|
# If this is a `promptpay` PaymentMethod, this sub-hash contains details about the PromptPay payment method options.
|
|
5367
2420
|
attr_accessor :promptpay
|
|
5368
|
-
# If this is a `qris` PaymentMethod, this sub-hash contains details about the QRIS payment method options.
|
|
5369
|
-
attr_accessor :qris
|
|
5370
|
-
# If this is a `rechnung` PaymentMethod, this sub-hash contains details about the Rechnung payment method options.
|
|
5371
|
-
attr_accessor :rechnung
|
|
5372
2421
|
# If this is a `revolut_pay` PaymentMethod, this sub-hash contains details about the Revolut Pay payment method options.
|
|
5373
2422
|
attr_accessor :revolut_pay
|
|
5374
2423
|
# If this is a `samsung_pay` PaymentMethod, this sub-hash contains details about the Samsung Pay payment method options.
|
|
@@ -5377,12 +2426,8 @@ module Stripe
|
|
|
5377
2426
|
attr_accessor :satispay
|
|
5378
2427
|
# If this is a `sepa_debit` PaymentIntent, this sub-hash contains details about the SEPA Debit payment method options.
|
|
5379
2428
|
attr_accessor :sepa_debit
|
|
5380
|
-
# If this is a `shopeepay` PaymentMethod, this sub-hash contains details about the ShopeePay payment method options.
|
|
5381
|
-
attr_accessor :shopeepay
|
|
5382
2429
|
# If this is a `sofort` PaymentMethod, this sub-hash contains details about the SOFORT payment method options.
|
|
5383
2430
|
attr_accessor :sofort
|
|
5384
|
-
# If this is a `stripe_balance` PaymentMethod, this sub-hash contains details about the Stripe Balance payment method options.
|
|
5385
|
-
attr_accessor :stripe_balance
|
|
5386
2431
|
# If this is a `Swish` PaymentMethod, this sub-hash contains details about the Swish payment method options.
|
|
5387
2432
|
attr_accessor :swish
|
|
5388
2433
|
# If this is a `twint` PaymentMethod, this sub-hash contains details about the TWINT payment method options.
|
|
@@ -5415,9 +2460,7 @@ module Stripe
|
|
|
5415
2460
|
eps: nil,
|
|
5416
2461
|
fpx: nil,
|
|
5417
2462
|
giropay: nil,
|
|
5418
|
-
gopay: nil,
|
|
5419
2463
|
grabpay: nil,
|
|
5420
|
-
id_bank_transfer: nil,
|
|
5421
2464
|
ideal: nil,
|
|
5422
2465
|
interac_present: nil,
|
|
5423
2466
|
kakao_pay: nil,
|
|
@@ -5436,19 +2479,14 @@ module Stripe
|
|
|
5436
2479
|
payco: nil,
|
|
5437
2480
|
paynow: nil,
|
|
5438
2481
|
paypal: nil,
|
|
5439
|
-
paypay: nil,
|
|
5440
2482
|
payto: nil,
|
|
5441
2483
|
pix: nil,
|
|
5442
2484
|
promptpay: nil,
|
|
5443
|
-
qris: nil,
|
|
5444
|
-
rechnung: nil,
|
|
5445
2485
|
revolut_pay: nil,
|
|
5446
2486
|
samsung_pay: nil,
|
|
5447
2487
|
satispay: nil,
|
|
5448
2488
|
sepa_debit: nil,
|
|
5449
|
-
shopeepay: nil,
|
|
5450
2489
|
sofort: nil,
|
|
5451
|
-
stripe_balance: nil,
|
|
5452
2490
|
swish: nil,
|
|
5453
2491
|
twint: nil,
|
|
5454
2492
|
us_bank_account: nil,
|
|
@@ -5475,9 +2513,7 @@ module Stripe
|
|
|
5475
2513
|
@eps = eps
|
|
5476
2514
|
@fpx = fpx
|
|
5477
2515
|
@giropay = giropay
|
|
5478
|
-
@gopay = gopay
|
|
5479
2516
|
@grabpay = grabpay
|
|
5480
|
-
@id_bank_transfer = id_bank_transfer
|
|
5481
2517
|
@ideal = ideal
|
|
5482
2518
|
@interac_present = interac_present
|
|
5483
2519
|
@kakao_pay = kakao_pay
|
|
@@ -5496,19 +2532,14 @@ module Stripe
|
|
|
5496
2532
|
@payco = payco
|
|
5497
2533
|
@paynow = paynow
|
|
5498
2534
|
@paypal = paypal
|
|
5499
|
-
@paypay = paypay
|
|
5500
2535
|
@payto = payto
|
|
5501
2536
|
@pix = pix
|
|
5502
2537
|
@promptpay = promptpay
|
|
5503
|
-
@qris = qris
|
|
5504
|
-
@rechnung = rechnung
|
|
5505
2538
|
@revolut_pay = revolut_pay
|
|
5506
2539
|
@samsung_pay = samsung_pay
|
|
5507
2540
|
@satispay = satispay
|
|
5508
2541
|
@sepa_debit = sepa_debit
|
|
5509
|
-
@shopeepay = shopeepay
|
|
5510
2542
|
@sofort = sofort
|
|
5511
|
-
@stripe_balance = stripe_balance
|
|
5512
2543
|
@swish = swish
|
|
5513
2544
|
@twint = twint
|
|
5514
2545
|
@us_bank_account = us_bank_account
|
|
@@ -5517,15 +2548,6 @@ module Stripe
|
|
|
5517
2548
|
end
|
|
5518
2549
|
end
|
|
5519
2550
|
|
|
5520
|
-
class PaymentsOrchestration < ::Stripe::RequestParams
|
|
5521
|
-
# Whether this feature is enabled.
|
|
5522
|
-
attr_accessor :enabled
|
|
5523
|
-
|
|
5524
|
-
def initialize(enabled: nil)
|
|
5525
|
-
@enabled = enabled
|
|
5526
|
-
end
|
|
5527
|
-
end
|
|
5528
|
-
|
|
5529
2551
|
class RadarOptions < ::Stripe::RequestParams
|
|
5530
2552
|
# A [Radar Session](https://docs.stripe.com/radar/radar-session) is a snapshot of the browser metadata and device details that help Radar make more accurate predictions on your payments.
|
|
5531
2553
|
attr_accessor :session
|
|
@@ -5606,8 +2628,6 @@ module Stripe
|
|
|
5606
2628
|
@destination = destination
|
|
5607
2629
|
end
|
|
5608
2630
|
end
|
|
5609
|
-
# Allocated Funds configuration for this PaymentIntent.
|
|
5610
|
-
attr_accessor :allocated_funds
|
|
5611
2631
|
# 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).
|
|
5612
2632
|
attr_accessor :amount
|
|
5613
2633
|
# Provides industry-specific information about the amount.
|
|
@@ -5648,8 +2668,6 @@ module Stripe
|
|
|
5648
2668
|
attr_accessor :excluded_payment_method_types
|
|
5649
2669
|
# Specifies which fields in the response should be expanded.
|
|
5650
2670
|
attr_accessor :expand
|
|
5651
|
-
# The FX rate in the quote is validated and used to convert the presentment amount to the settlement amount.
|
|
5652
|
-
attr_accessor :fx_quote
|
|
5653
2671
|
# Automations to be run during the PaymentIntent lifecycle
|
|
5654
2672
|
attr_accessor :hooks
|
|
5655
2673
|
# ID of the mandate that's used for this payment. This parameter can only be used with [`confirm=true`](https://docs.stripe.com/api/payment_intents/create#create_payment_intent-confirm).
|
|
@@ -5680,16 +2698,12 @@ module Stripe
|
|
|
5680
2698
|
attr_accessor :payment_method_options
|
|
5681
2699
|
# The list of payment method types (for example, a card) that this PaymentIntent can use. If you don't provide this, Stripe will dynamically show relevant payment methods from your [payment method settings](https://dashboard.stripe.com/settings/payment_methods). A list of valid payment method types can be found [here](https://docs.stripe.com/api/payment_methods/object#payment_method_object-type).
|
|
5682
2700
|
attr_accessor :payment_method_types
|
|
5683
|
-
# When you enable this parameter, this PaymentIntent will route your payment to processors that you configure in the dashboard.
|
|
5684
|
-
attr_accessor :payments_orchestration
|
|
5685
2701
|
# Options to configure Radar. Learn more about [Radar Sessions](https://docs.stripe.com/radar/radar-session).
|
|
5686
2702
|
attr_accessor :radar_options
|
|
5687
2703
|
# Email address to send the receipt to. If you specify `receipt_email` for a payment in live mode, you send a receipt regardless of your [email settings](https://dashboard.stripe.com/account/emails).
|
|
5688
2704
|
attr_accessor :receipt_email
|
|
5689
2705
|
# The URL to redirect your customer back to after they authenticate or cancel their payment on the payment method's app or site. If you'd prefer to redirect to a mobile application, you can alternatively supply an application URI scheme. This parameter can only be used with [`confirm=true`](https://docs.stripe.com/api/payment_intents/create#create_payment_intent-confirm).
|
|
5690
2706
|
attr_accessor :return_url
|
|
5691
|
-
# Indicates whether confirmation for this PaymentIntent using a secret key is `required` or `optional`.
|
|
5692
|
-
attr_accessor :secret_key_confirmation
|
|
5693
2707
|
# Indicates that you intend to make future payments with this PaymentIntent's payment method.
|
|
5694
2708
|
#
|
|
5695
2709
|
# 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.
|
|
@@ -5713,11 +2727,8 @@ module Stripe
|
|
|
5713
2727
|
attr_accessor :transfer_group
|
|
5714
2728
|
# Set to `true` when confirming server-side and using Stripe.js, iOS, or Android client-side SDKs to handle the next actions.
|
|
5715
2729
|
attr_accessor :use_stripe_sdk
|
|
5716
|
-
# ID of the SharedPaymentToken used to confirm this PaymentIntent.
|
|
5717
|
-
attr_accessor :shared_payment_granted_token
|
|
5718
2730
|
|
|
5719
2731
|
def initialize(
|
|
5720
|
-
allocated_funds: nil,
|
|
5721
2732
|
amount: nil,
|
|
5722
2733
|
amount_details: nil,
|
|
5723
2734
|
application_fee_amount: nil,
|
|
@@ -5733,7 +2744,6 @@ module Stripe
|
|
|
5733
2744
|
error_on_requires_action: nil,
|
|
5734
2745
|
excluded_payment_method_types: nil,
|
|
5735
2746
|
expand: nil,
|
|
5736
|
-
fx_quote: nil,
|
|
5737
2747
|
hooks: nil,
|
|
5738
2748
|
mandate: nil,
|
|
5739
2749
|
mandate_data: nil,
|
|
@@ -5746,21 +2756,17 @@ module Stripe
|
|
|
5746
2756
|
payment_method_data: nil,
|
|
5747
2757
|
payment_method_options: nil,
|
|
5748
2758
|
payment_method_types: nil,
|
|
5749
|
-
payments_orchestration: nil,
|
|
5750
2759
|
radar_options: nil,
|
|
5751
2760
|
receipt_email: nil,
|
|
5752
2761
|
return_url: nil,
|
|
5753
|
-
secret_key_confirmation: nil,
|
|
5754
2762
|
setup_future_usage: nil,
|
|
5755
2763
|
shipping: nil,
|
|
5756
2764
|
statement_descriptor: nil,
|
|
5757
2765
|
statement_descriptor_suffix: nil,
|
|
5758
2766
|
transfer_data: nil,
|
|
5759
2767
|
transfer_group: nil,
|
|
5760
|
-
use_stripe_sdk: nil
|
|
5761
|
-
shared_payment_granted_token: nil
|
|
2768
|
+
use_stripe_sdk: nil
|
|
5762
2769
|
)
|
|
5763
|
-
@allocated_funds = allocated_funds
|
|
5764
2770
|
@amount = amount
|
|
5765
2771
|
@amount_details = amount_details
|
|
5766
2772
|
@application_fee_amount = application_fee_amount
|
|
@@ -5776,7 +2782,6 @@ module Stripe
|
|
|
5776
2782
|
@error_on_requires_action = error_on_requires_action
|
|
5777
2783
|
@excluded_payment_method_types = excluded_payment_method_types
|
|
5778
2784
|
@expand = expand
|
|
5779
|
-
@fx_quote = fx_quote
|
|
5780
2785
|
@hooks = hooks
|
|
5781
2786
|
@mandate = mandate
|
|
5782
2787
|
@mandate_data = mandate_data
|
|
@@ -5789,11 +2794,9 @@ module Stripe
|
|
|
5789
2794
|
@payment_method_data = payment_method_data
|
|
5790
2795
|
@payment_method_options = payment_method_options
|
|
5791
2796
|
@payment_method_types = payment_method_types
|
|
5792
|
-
@payments_orchestration = payments_orchestration
|
|
5793
2797
|
@radar_options = radar_options
|
|
5794
2798
|
@receipt_email = receipt_email
|
|
5795
2799
|
@return_url = return_url
|
|
5796
|
-
@secret_key_confirmation = secret_key_confirmation
|
|
5797
2800
|
@setup_future_usage = setup_future_usage
|
|
5798
2801
|
@shipping = shipping
|
|
5799
2802
|
@statement_descriptor = statement_descriptor
|
|
@@ -5801,7 +2804,6 @@ module Stripe
|
|
|
5801
2804
|
@transfer_data = transfer_data
|
|
5802
2805
|
@transfer_group = transfer_group
|
|
5803
2806
|
@use_stripe_sdk = use_stripe_sdk
|
|
5804
|
-
@shared_payment_granted_token = shared_payment_granted_token
|
|
5805
2807
|
end
|
|
5806
2808
|
end
|
|
5807
2809
|
end
|