stripe 16.1.0.pre.alpha.1 → 17.0.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 +0 -34
- data/lib/stripe/api_version.rb +2 -1
- data/lib/stripe/errors.rb +0 -63
- data/lib/stripe/event_types.rb +0 -1032
- data/lib/stripe/object_types.rb +0 -79
- data/lib/stripe/params/account_create_params.rb +1 -300
- data/lib/stripe/params/account_session_create_params.rb +1 -226
- data/lib/stripe/params/account_update_params.rb +0 -262
- 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 +2 -17
- data/lib/stripe/params/billing/credit_balance_transaction_list_params.rb +0 -4
- data/lib/stripe/params/billing/credit_grant_create_params.rb +2 -33
- data/lib/stripe/params/billing/credit_grant_list_params.rb +0 -4
- data/lib/stripe/params/billing_portal/session_create_params.rb +0 -4
- data/lib/stripe/params/charge_capture_params.rb +0 -709
- data/lib/stripe/params/charge_update_params.rb +0 -709
- data/lib/stripe/params/checkout/session_create_params.rb +4 -273
- data/lib/stripe/params/checkout/session_list_params.rb +0 -4
- data/lib/stripe/params/checkout/session_update_params.rb +1 -288
- data/lib/stripe/params/confirmation_token_create_params.rb +0 -97
- data/lib/stripe/params/coupon_create_params.rb +1 -17
- data/lib/stripe/params/credit_note_create_params.rb +1 -18
- data/lib/stripe/params/credit_note_list_params.rb +0 -4
- data/lib/stripe/params/credit_note_list_preview_line_items_params.rb +1 -18
- data/lib/stripe/params/credit_note_preview_lines_list_params.rb +1 -18
- data/lib/stripe/params/credit_note_preview_params.rb +1 -18
- data/lib/stripe/params/customer_session_create_params.rb +1 -4
- data/lib/stripe/params/dispute_update_params.rb +1 -10
- data/lib/stripe/params/financial_connections/account_list_params.rb +1 -4
- data/lib/stripe/params/financial_connections/session_create_params.rb +2 -34
- data/lib/stripe/params/identity/verification_session_create_params.rb +0 -4
- data/lib/stripe/params/identity/verification_session_list_params.rb +0 -4
- data/lib/stripe/params/invoice_add_lines_params.rb +1 -33
- data/lib/stripe/params/invoice_attach_payment_params.rb +1 -46
- data/lib/stripe/params/invoice_create_params.rb +2 -112
- data/lib/stripe/params/invoice_create_preview_params.rb +9 -826
- data/lib/stripe/params/invoice_item_create_params.rb +1 -37
- data/lib/stripe/params/invoice_item_list_params.rb +0 -4
- data/lib/stripe/params/invoice_item_update_params.rb +1 -33
- data/lib/stripe/params/invoice_line_item_update_params.rb +1 -33
- data/lib/stripe/params/invoice_list_params.rb +0 -8
- data/lib/stripe/params/invoice_payment_list_params.rb +1 -4
- data/lib/stripe/params/invoice_update_lines_params.rb +1 -33
- data/lib/stripe/params/invoice_update_params.rb +2 -108
- 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 +0 -895
- data/lib/stripe/params/payment_intent_confirm_params.rb +18 -1384
- data/lib/stripe/params/payment_intent_create_params.rb +16 -1390
- data/lib/stripe/params/payment_intent_increment_authorization_params.rb +0 -223
- data/lib/stripe/params/payment_intent_list_params.rb +0 -4
- data/lib/stripe/params/payment_intent_update_params.rb +4 -1409
- data/lib/stripe/params/payment_method_attach_params.rb +1 -4
- data/lib/stripe/params/payment_method_configuration_create_params.rb +0 -126
- data/lib/stripe/params/payment_method_configuration_update_params.rb +0 -126
- data/lib/stripe/params/payment_method_create_params.rb +0 -97
- data/lib/stripe/params/payment_method_update_params.rb +0 -19
- data/lib/stripe/params/price_update_params.rb +0 -19
- data/lib/stripe/params/promotion_code_create_params.rb +0 -4
- data/lib/stripe/params/promotion_code_list_params.rb +0 -4
- data/lib/stripe/params/quote_create_params.rb +3 -805
- data/lib/stripe/params/quote_list_params.rb +0 -8
- data/lib/stripe/params/quote_update_params.rb +4 -813
- data/lib/stripe/params/setup_intent_confirm_params.rb +3 -225
- data/lib/stripe/params/setup_intent_create_params.rb +3 -231
- data/lib/stripe/params/setup_intent_list_params.rb +0 -4
- data/lib/stripe/params/setup_intent_update_params.rb +3 -231
- data/lib/stripe/params/subscription_create_params.rb +5 -259
- data/lib/stripe/params/subscription_item_create_params.rb +2 -46
- data/lib/stripe/params/subscription_item_update_params.rb +1 -29
- data/lib/stripe/params/subscription_list_params.rb +0 -4
- data/lib/stripe/params/subscription_schedule_create_params.rb +5 -167
- data/lib/stripe/params/subscription_schedule_list_params.rb +0 -4
- data/lib/stripe/params/subscription_schedule_update_params.rb +5 -163
- data/lib/stripe/params/subscription_update_params.rb +4 -238
- data/lib/stripe/params/tax_id_create_params.rb +1 -4
- data/lib/stripe/params/tax_id_list_params.rb +1 -4
- data/lib/stripe/params/terminal/configuration_create_params.rb +0 -13
- data/lib/stripe/params/terminal/configuration_update_params.rb +0 -13
- data/lib/stripe/params/test_helpers/confirmation_token_create_params.rb +0 -97
- data/lib/stripe/params/test_helpers/treasury/received_credit_create_params.rb +1 -25
- data/lib/stripe/params/test_helpers/treasury/received_debit_create_params.rb +1 -25
- data/lib/stripe/params/transfer_create_params.rb +0 -4
- data/lib/stripe/params/treasury/financial_account_create_params.rb +1 -8
- data/lib/stripe/params/treasury/financial_account_features_update_params.rb +1 -4
- data/lib/stripe/params/treasury/financial_account_update_features_params.rb +1 -4
- data/lib/stripe/params/treasury/financial_account_update_params.rb +1 -8
- data/lib/stripe/params/treasury/outbound_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.rb +0 -240
- data/lib/stripe/resources/account.rb +1 -166
- data/lib/stripe/resources/account_session.rb +0 -81
- 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 -86
- data/lib/stripe/resources/billing/credit_balance_transaction.rb +2 -84
- data/lib/stripe/resources/billing/credit_grant.rb +2 -60
- data/lib/stripe/resources/billing_portal/session.rb +0 -2
- data/lib/stripe/resources/card.rb +0 -2
- data/lib/stripe/resources/cash_balance.rb +0 -2
- data/lib/stripe/resources/charge.rb +1 -234
- data/lib/stripe/resources/checkout/session.rb +4 -246
- data/lib/stripe/resources/confirmation_token.rb +0 -155
- data/lib/stripe/resources/coupon.rb +1 -26
- data/lib/stripe/resources/credit_note.rb +1 -21
- data/lib/stripe/resources/credit_note_line_item.rb +0 -18
- data/lib/stripe/resources/customer.rb +0 -2
- data/lib/stripe/resources/customer_balance_transaction.rb +0 -2
- data/lib/stripe/resources/customer_cash_balance_transaction.rb +0 -2
- data/lib/stripe/resources/customer_session.rb +0 -2
- 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 -27
- data/lib/stripe/resources/financial_connections/session.rb +1 -67
- data/lib/stripe/resources/identity/verification_session.rb +0 -2
- data/lib/stripe/resources/invoice.rb +1 -152
- data/lib/stripe/resources/invoice_item.rb +2 -94
- data/lib/stripe/resources/invoice_line_item.rb +1 -131
- data/lib/stripe/resources/invoice_payment.rb +0 -2
- data/lib/stripe/resources/issuing/transaction.rb +0 -2
- data/lib/stripe/resources/line_item.rb +1 -68
- data/lib/stripe/resources/mandate.rb +0 -71
- data/lib/stripe/resources/payment_intent.rb +4 -848
- data/lib/stripe/resources/payment_method.rb +0 -157
- data/lib/stripe/resources/payment_method_configuration.rb +0 -204
- data/lib/stripe/resources/price.rb +0 -20
- data/lib/stripe/resources/promotion_code.rb +0 -2
- data/lib/stripe/resources/quote.rb +2 -571
- data/lib/stripe/resources/refund.rb +0 -18
- data/lib/stripe/resources/setup_attempt.rb +0 -63
- data/lib/stripe/resources/setup_intent.rb +1 -132
- data/lib/stripe/resources/source.rb +0 -38
- data/lib/stripe/resources/subscription.rb +0 -232
- data/lib/stripe/resources/subscription_item.rb +1 -20
- data/lib/stripe/resources/subscription_schedule.rb +3 -198
- data/lib/stripe/resources/tax_id.rb +0 -4
- data/lib/stripe/resources/terminal/configuration.rb +0 -16
- data/lib/stripe/resources/terminal/reader.rb +0 -8
- data/lib/stripe/resources/transfer.rb +0 -2
- data/lib/stripe/resources/treasury/financial_account.rb +0 -2
- data/lib/stripe/resources/treasury/financial_account_features.rb +0 -2
- data/lib/stripe/resources/treasury/outbound_transfer.rb +0 -30
- data/lib/stripe/resources/treasury/received_credit.rb +0 -30
- data/lib/stripe/resources/treasury/received_debit.rb +0 -32
- data/lib/stripe/resources/v2/core/event.rb +0 -4
- data/lib/stripe/resources.rb +0 -384
- data/lib/stripe/services/billing_service.rb +1 -2
- 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/issuing_service.rb +1 -5
- data/lib/stripe/services/mandate_service.rb +0 -5
- data/lib/stripe/services/payment_intent_service.rb +0 -44
- data/lib/stripe/services/quote_service.rb +1 -49
- data/lib/stripe/services/subscription_schedule_service.rb +0 -11
- data/lib/stripe/services/subscription_service.rb +0 -11
- data/lib/stripe/services/tax_service.rb +1 -3
- data/lib/stripe/services/terminal_service.rb +1 -3
- data/lib/stripe/services/v1_services.rb +1 -10
- data/lib/stripe/services/v2/billing_service.rb +1 -18
- data/lib/stripe/services/v2/core_service.rb +1 -5
- data/lib/stripe/services/v2_services.rb +1 -5
- data/lib/stripe/services.rb +0 -83
- data/lib/stripe/stripe_configuration.rb +1 -3
- data/lib/stripe/stripe_object.rb +7 -1
- data/lib/stripe/util.rb +1 -7
- data/lib/stripe/version.rb +1 -1
- data/lib/stripe.rb +0 -53
- data/rbi/stripe.rbi +98295 -169826
- metadata +4 -711
- data/lib/stripe/events/v1_account_updated_event.rb +0 -44
- data/lib/stripe/events/v1_application_fee_created_event.rb +0 -44
- data/lib/stripe/events/v1_application_fee_refunded_event.rb +0 -44
- data/lib/stripe/events/v1_billing_portal_configuration_created_event.rb +0 -44
- data/lib/stripe/events/v1_billing_portal_configuration_updated_event.rb +0 -44
- data/lib/stripe/events/v1_capability_updated_event.rb +0 -44
- data/lib/stripe/events/v1_charge_captured_event.rb +0 -44
- data/lib/stripe/events/v1_charge_dispute_closed_event.rb +0 -44
- data/lib/stripe/events/v1_charge_dispute_created_event.rb +0 -44
- data/lib/stripe/events/v1_charge_dispute_funds_reinstated_event.rb +0 -44
- data/lib/stripe/events/v1_charge_dispute_funds_withdrawn_event.rb +0 -44
- data/lib/stripe/events/v1_charge_dispute_updated_event.rb +0 -44
- data/lib/stripe/events/v1_charge_expired_event.rb +0 -44
- data/lib/stripe/events/v1_charge_failed_event.rb +0 -44
- data/lib/stripe/events/v1_charge_pending_event.rb +0 -44
- data/lib/stripe/events/v1_charge_refund_updated_event.rb +0 -44
- data/lib/stripe/events/v1_charge_refunded_event.rb +0 -44
- data/lib/stripe/events/v1_charge_succeeded_event.rb +0 -44
- data/lib/stripe/events/v1_charge_updated_event.rb +0 -44
- data/lib/stripe/events/v1_checkout_session_async_payment_failed_event.rb +0 -44
- data/lib/stripe/events/v1_checkout_session_async_payment_succeeded_event.rb +0 -44
- data/lib/stripe/events/v1_checkout_session_completed_event.rb +0 -44
- data/lib/stripe/events/v1_checkout_session_expired_event.rb +0 -44
- data/lib/stripe/events/v1_climate_order_canceled_event.rb +0 -44
- data/lib/stripe/events/v1_climate_order_created_event.rb +0 -44
- data/lib/stripe/events/v1_climate_order_delayed_event.rb +0 -44
- data/lib/stripe/events/v1_climate_order_delivered_event.rb +0 -44
- data/lib/stripe/events/v1_climate_order_product_substituted_event.rb +0 -44
- data/lib/stripe/events/v1_climate_product_created_event.rb +0 -44
- data/lib/stripe/events/v1_climate_product_pricing_updated_event.rb +0 -44
- data/lib/stripe/events/v1_coupon_created_event.rb +0 -44
- data/lib/stripe/events/v1_coupon_deleted_event.rb +0 -44
- data/lib/stripe/events/v1_coupon_updated_event.rb +0 -44
- data/lib/stripe/events/v1_credit_note_created_event.rb +0 -44
- data/lib/stripe/events/v1_credit_note_updated_event.rb +0 -44
- data/lib/stripe/events/v1_credit_note_voided_event.rb +0 -44
- data/lib/stripe/events/v1_customer_created_event.rb +0 -44
- data/lib/stripe/events/v1_customer_deleted_event.rb +0 -44
- data/lib/stripe/events/v1_customer_subscription_created_event.rb +0 -44
- data/lib/stripe/events/v1_customer_subscription_deleted_event.rb +0 -44
- data/lib/stripe/events/v1_customer_subscription_paused_event.rb +0 -44
- data/lib/stripe/events/v1_customer_subscription_pending_update_applied_event.rb +0 -44
- data/lib/stripe/events/v1_customer_subscription_pending_update_expired_event.rb +0 -44
- data/lib/stripe/events/v1_customer_subscription_resumed_event.rb +0 -44
- data/lib/stripe/events/v1_customer_subscription_trial_will_end_event.rb +0 -44
- data/lib/stripe/events/v1_customer_subscription_updated_event.rb +0 -44
- data/lib/stripe/events/v1_customer_tax_id_created_event.rb +0 -44
- data/lib/stripe/events/v1_customer_tax_id_deleted_event.rb +0 -44
- data/lib/stripe/events/v1_customer_tax_id_updated_event.rb +0 -44
- data/lib/stripe/events/v1_customer_updated_event.rb +0 -44
- data/lib/stripe/events/v1_file_created_event.rb +0 -44
- data/lib/stripe/events/v1_financial_connections_account_created_event.rb +0 -44
- data/lib/stripe/events/v1_financial_connections_account_deactivated_event.rb +0 -44
- data/lib/stripe/events/v1_financial_connections_account_disconnected_event.rb +0 -44
- data/lib/stripe/events/v1_financial_connections_account_reactivated_event.rb +0 -44
- data/lib/stripe/events/v1_financial_connections_account_refreshed_balance_event.rb +0 -44
- data/lib/stripe/events/v1_financial_connections_account_refreshed_ownership_event.rb +0 -44
- data/lib/stripe/events/v1_financial_connections_account_refreshed_transactions_event.rb +0 -44
- data/lib/stripe/events/v1_identity_verification_session_canceled_event.rb +0 -44
- data/lib/stripe/events/v1_identity_verification_session_created_event.rb +0 -44
- data/lib/stripe/events/v1_identity_verification_session_processing_event.rb +0 -44
- data/lib/stripe/events/v1_identity_verification_session_redacted_event.rb +0 -44
- data/lib/stripe/events/v1_identity_verification_session_requires_input_event.rb +0 -44
- data/lib/stripe/events/v1_identity_verification_session_verified_event.rb +0 -44
- data/lib/stripe/events/v1_invoice_created_event.rb +0 -44
- data/lib/stripe/events/v1_invoice_deleted_event.rb +0 -44
- data/lib/stripe/events/v1_invoice_finalization_failed_event.rb +0 -44
- data/lib/stripe/events/v1_invoice_finalized_event.rb +0 -44
- data/lib/stripe/events/v1_invoice_marked_uncollectible_event.rb +0 -44
- data/lib/stripe/events/v1_invoice_overdue_event.rb +0 -44
- data/lib/stripe/events/v1_invoice_overpaid_event.rb +0 -44
- data/lib/stripe/events/v1_invoice_paid_event.rb +0 -44
- data/lib/stripe/events/v1_invoice_payment_action_required_event.rb +0 -44
- data/lib/stripe/events/v1_invoice_payment_failed_event.rb +0 -44
- data/lib/stripe/events/v1_invoice_payment_paid_event.rb +0 -44
- data/lib/stripe/events/v1_invoice_payment_succeeded_event.rb +0 -44
- data/lib/stripe/events/v1_invoice_sent_event.rb +0 -44
- data/lib/stripe/events/v1_invoice_upcoming_event.rb +0 -44
- data/lib/stripe/events/v1_invoice_updated_event.rb +0 -44
- data/lib/stripe/events/v1_invoice_voided_event.rb +0 -44
- data/lib/stripe/events/v1_invoice_will_be_due_event.rb +0 -44
- data/lib/stripe/events/v1_invoiceitem_created_event.rb +0 -44
- data/lib/stripe/events/v1_invoiceitem_deleted_event.rb +0 -44
- data/lib/stripe/events/v1_issuing_authorization_created_event.rb +0 -44
- data/lib/stripe/events/v1_issuing_authorization_request_event.rb +0 -44
- data/lib/stripe/events/v1_issuing_authorization_updated_event.rb +0 -44
- data/lib/stripe/events/v1_issuing_card_created_event.rb +0 -44
- data/lib/stripe/events/v1_issuing_card_updated_event.rb +0 -44
- data/lib/stripe/events/v1_issuing_cardholder_created_event.rb +0 -44
- data/lib/stripe/events/v1_issuing_cardholder_updated_event.rb +0 -44
- data/lib/stripe/events/v1_issuing_dispute_closed_event.rb +0 -44
- data/lib/stripe/events/v1_issuing_dispute_created_event.rb +0 -44
- data/lib/stripe/events/v1_issuing_dispute_funds_reinstated_event.rb +0 -44
- data/lib/stripe/events/v1_issuing_dispute_funds_rescinded_event.rb +0 -44
- data/lib/stripe/events/v1_issuing_dispute_submitted_event.rb +0 -44
- data/lib/stripe/events/v1_issuing_dispute_updated_event.rb +0 -44
- data/lib/stripe/events/v1_issuing_personalization_design_activated_event.rb +0 -44
- data/lib/stripe/events/v1_issuing_personalization_design_deactivated_event.rb +0 -44
- data/lib/stripe/events/v1_issuing_personalization_design_rejected_event.rb +0 -44
- data/lib/stripe/events/v1_issuing_personalization_design_updated_event.rb +0 -44
- data/lib/stripe/events/v1_issuing_token_created_event.rb +0 -44
- data/lib/stripe/events/v1_issuing_token_updated_event.rb +0 -44
- data/lib/stripe/events/v1_issuing_transaction_created_event.rb +0 -44
- data/lib/stripe/events/v1_issuing_transaction_purchase_details_receipt_updated_event.rb +0 -44
- data/lib/stripe/events/v1_issuing_transaction_updated_event.rb +0 -44
- data/lib/stripe/events/v1_mandate_updated_event.rb +0 -44
- data/lib/stripe/events/v1_payment_intent_amount_capturable_updated_event.rb +0 -44
- data/lib/stripe/events/v1_payment_intent_canceled_event.rb +0 -44
- data/lib/stripe/events/v1_payment_intent_created_event.rb +0 -44
- data/lib/stripe/events/v1_payment_intent_partially_funded_event.rb +0 -44
- data/lib/stripe/events/v1_payment_intent_payment_failed_event.rb +0 -44
- data/lib/stripe/events/v1_payment_intent_processing_event.rb +0 -44
- data/lib/stripe/events/v1_payment_intent_requires_action_event.rb +0 -44
- data/lib/stripe/events/v1_payment_intent_succeeded_event.rb +0 -44
- data/lib/stripe/events/v1_payment_link_created_event.rb +0 -44
- data/lib/stripe/events/v1_payment_link_updated_event.rb +0 -44
- data/lib/stripe/events/v1_payment_method_attached_event.rb +0 -44
- data/lib/stripe/events/v1_payment_method_automatically_updated_event.rb +0 -44
- data/lib/stripe/events/v1_payment_method_detached_event.rb +0 -44
- data/lib/stripe/events/v1_payment_method_updated_event.rb +0 -44
- data/lib/stripe/events/v1_payout_canceled_event.rb +0 -44
- data/lib/stripe/events/v1_payout_created_event.rb +0 -44
- data/lib/stripe/events/v1_payout_failed_event.rb +0 -44
- data/lib/stripe/events/v1_payout_paid_event.rb +0 -44
- data/lib/stripe/events/v1_payout_reconciliation_completed_event.rb +0 -44
- data/lib/stripe/events/v1_payout_updated_event.rb +0 -44
- data/lib/stripe/events/v1_person_created_event.rb +0 -44
- data/lib/stripe/events/v1_person_deleted_event.rb +0 -44
- data/lib/stripe/events/v1_person_updated_event.rb +0 -44
- data/lib/stripe/events/v1_plan_created_event.rb +0 -44
- data/lib/stripe/events/v1_plan_deleted_event.rb +0 -44
- data/lib/stripe/events/v1_plan_updated_event.rb +0 -44
- data/lib/stripe/events/v1_price_created_event.rb +0 -44
- data/lib/stripe/events/v1_price_deleted_event.rb +0 -44
- data/lib/stripe/events/v1_price_updated_event.rb +0 -44
- data/lib/stripe/events/v1_product_created_event.rb +0 -44
- data/lib/stripe/events/v1_product_deleted_event.rb +0 -44
- data/lib/stripe/events/v1_product_updated_event.rb +0 -44
- data/lib/stripe/events/v1_promotion_code_created_event.rb +0 -44
- data/lib/stripe/events/v1_promotion_code_updated_event.rb +0 -44
- data/lib/stripe/events/v1_quote_accepted_event.rb +0 -44
- data/lib/stripe/events/v1_quote_canceled_event.rb +0 -44
- data/lib/stripe/events/v1_quote_created_event.rb +0 -44
- data/lib/stripe/events/v1_quote_finalized_event.rb +0 -44
- data/lib/stripe/events/v1_radar_early_fraud_warning_created_event.rb +0 -44
- data/lib/stripe/events/v1_radar_early_fraud_warning_updated_event.rb +0 -44
- data/lib/stripe/events/v1_refund_created_event.rb +0 -44
- data/lib/stripe/events/v1_refund_failed_event.rb +0 -44
- data/lib/stripe/events/v1_refund_updated_event.rb +0 -44
- data/lib/stripe/events/v1_review_closed_event.rb +0 -44
- data/lib/stripe/events/v1_review_opened_event.rb +0 -44
- data/lib/stripe/events/v1_setup_intent_canceled_event.rb +0 -44
- data/lib/stripe/events/v1_setup_intent_created_event.rb +0 -44
- data/lib/stripe/events/v1_setup_intent_requires_action_event.rb +0 -44
- data/lib/stripe/events/v1_setup_intent_setup_failed_event.rb +0 -44
- data/lib/stripe/events/v1_setup_intent_succeeded_event.rb +0 -44
- data/lib/stripe/events/v1_sigma_scheduled_query_run_created_event.rb +0 -44
- data/lib/stripe/events/v1_source_canceled_event.rb +0 -44
- data/lib/stripe/events/v1_source_chargeable_event.rb +0 -44
- data/lib/stripe/events/v1_source_failed_event.rb +0 -44
- data/lib/stripe/events/v1_source_refund_attributes_required_event.rb +0 -44
- data/lib/stripe/events/v1_subscription_schedule_aborted_event.rb +0 -44
- data/lib/stripe/events/v1_subscription_schedule_canceled_event.rb +0 -44
- data/lib/stripe/events/v1_subscription_schedule_completed_event.rb +0 -44
- data/lib/stripe/events/v1_subscription_schedule_created_event.rb +0 -44
- data/lib/stripe/events/v1_subscription_schedule_expiring_event.rb +0 -44
- data/lib/stripe/events/v1_subscription_schedule_released_event.rb +0 -44
- data/lib/stripe/events/v1_subscription_schedule_updated_event.rb +0 -44
- data/lib/stripe/events/v1_tax_rate_created_event.rb +0 -44
- data/lib/stripe/events/v1_tax_rate_updated_event.rb +0 -44
- data/lib/stripe/events/v1_terminal_reader_action_failed_event.rb +0 -44
- data/lib/stripe/events/v1_terminal_reader_action_succeeded_event.rb +0 -44
- data/lib/stripe/events/v1_terminal_reader_action_updated_event.rb +0 -44
- data/lib/stripe/events/v1_test_helpers_test_clock_advancing_event.rb +0 -44
- data/lib/stripe/events/v1_test_helpers_test_clock_created_event.rb +0 -44
- data/lib/stripe/events/v1_test_helpers_test_clock_deleted_event.rb +0 -44
- data/lib/stripe/events/v1_test_helpers_test_clock_internal_failure_event.rb +0 -44
- data/lib/stripe/events/v1_test_helpers_test_clock_ready_event.rb +0 -44
- data/lib/stripe/events/v1_topup_canceled_event.rb +0 -44
- data/lib/stripe/events/v1_topup_created_event.rb +0 -44
- data/lib/stripe/events/v1_topup_failed_event.rb +0 -44
- data/lib/stripe/events/v1_topup_reversed_event.rb +0 -44
- data/lib/stripe/events/v1_topup_succeeded_event.rb +0 -44
- data/lib/stripe/events/v1_transfer_created_event.rb +0 -44
- data/lib/stripe/events/v1_transfer_reversed_event.rb +0 -44
- data/lib/stripe/events/v1_transfer_updated_event.rb +0 -44
- data/lib/stripe/events/v2_billing_bill_setting_updated_event.rb +0 -61
- 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_closed_event.rb +0 -44
- data/lib/stripe/events/v2_core_account_created_event.rb +0 -44
- data/lib/stripe/events/v2_core_account_including_configuration_customer_capability_status_updated_event.rb +0 -63
- data/lib/stripe/events/v2_core_account_including_configuration_customer_updated_event.rb +0 -44
- data/lib/stripe/events/v2_core_account_including_configuration_merchant_capability_status_updated_event.rb +0 -63
- data/lib/stripe/events/v2_core_account_including_configuration_merchant_updated_event.rb +0 -44
- data/lib/stripe/events/v2_core_account_including_configuration_recipient_capability_status_updated_event.rb +0 -63
- data/lib/stripe/events/v2_core_account_including_configuration_recipient_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_account_including_defaults_updated_event.rb +0 -44
- data/lib/stripe/events/v2_core_account_including_identity_updated_event.rb +0 -44
- data/lib/stripe/events/v2_core_account_including_requirements_updated_event.rb +0 -44
- data/lib/stripe/events/v2_core_account_link_returned_event.rb +0 -42
- data/lib/stripe/events/v2_core_account_person_created_event.rb +0 -61
- data/lib/stripe/events/v2_core_account_person_deleted_event.rb +0 -61
- data/lib/stripe/events/v2_core_account_person_updated_event.rb +0 -61
- data/lib/stripe/events/v2_core_account_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 -66
- data/lib/stripe/events/v2_core_health_api_error_resolved_event.rb +0 -66
- data/lib/stripe/events/v2_core_health_api_latency_firing_event.rb +0 -64
- data/lib/stripe/events/v2_core_health_api_latency_resolved_event.rb +0 -64
- 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 -66
- data/lib/stripe/events/v2_core_health_fraud_rate_increased_event.rb +0 -64
- data/lib/stripe/events/v2_core_health_issuing_authorization_request_errors_firing_event.rb +0 -62
- data/lib/stripe/events/v2_core_health_issuing_authorization_request_errors_resolved_event.rb +0 -64
- data/lib/stripe/events/v2_core_health_issuing_authorization_request_timeout_firing_event.rb +0 -64
- data/lib/stripe/events/v2_core_health_issuing_authorization_request_timeout_resolved_event.rb +0 -64
- data/lib/stripe/events/v2_core_health_payment_method_error_firing_event.rb +0 -62
- data/lib/stripe/events/v2_core_health_payment_method_error_resolved_event.rb +0 -62
- 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_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_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 -44
- data/lib/stripe/events/v2_money_management_transaction_updated_event.rb +0 -44
- data/lib/stripe/events/v2_payments_off_session_payment_authorization_attempt_failed_event.rb +0 -44
- data/lib/stripe/events/v2_payments_off_session_payment_authorization_attempt_started_event.rb +0 -46
- 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/params/account_notice_list_params.rb +0 -25
- data/lib/stripe/params/account_notice_retrieve_params.rb +0 -13
- data/lib/stripe/params/account_notice_update_params.rb +0 -36
- data/lib/stripe/params/billing/analytics/meter_usage_retrieve_params.rb +0 -65
- data/lib/stripe/params/capital/financing_offer_list_params.rb +0 -58
- data/lib/stripe/params/capital/financing_offer_mark_delivered_params.rb +0 -15
- data/lib/stripe/params/capital/financing_offer_retrieve_params.rb +0 -15
- data/lib/stripe/params/capital/financing_summary_retrieve_params.rb +0 -15
- data/lib/stripe/params/capital/financing_transaction_list_params.rb +0 -45
- data/lib/stripe/params/capital/financing_transaction_retrieve_params.rb +0 -15
- data/lib/stripe/params/external_account_create_params.rb +0 -134
- data/lib/stripe/params/external_account_delete_params.rb +0 -6
- data/lib/stripe/params/external_account_list_params.rb +0 -25
- data/lib/stripe/params/external_account_retrieve_params.rb +0 -13
- data/lib/stripe/params/external_account_update_params.rb +0 -91
- data/lib/stripe/params/financial_connections/account_inferred_balance_list_params.rb +0 -24
- data/lib/stripe/params/financial_connections/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/issuing/credit_underwriting_record_correct_params.rb +0 -163
- data/lib/stripe/params/issuing/credit_underwriting_record_create_from_application_params.rb +0 -50
- data/lib/stripe/params/issuing/credit_underwriting_record_create_from_proactive_review_params.rb +0 -128
- data/lib/stripe/params/issuing/credit_underwriting_record_list_params.rb +0 -24
- data/lib/stripe/params/issuing/credit_underwriting_record_report_decision_params.rb +0 -86
- data/lib/stripe/params/issuing/credit_underwriting_record_retrieve_params.rb +0 -15
- data/lib/stripe/params/issuing/dispute_settlement_detail_list_params.rb +0 -33
- data/lib/stripe/params/issuing/dispute_settlement_detail_retrieve_params.rb +0 -15
- data/lib/stripe/params/issuing/fraud_liability_debit_list_params.rb +0 -44
- data/lib/stripe/params/issuing/fraud_liability_debit_retrieve_params.rb +0 -15
- data/lib/stripe/params/mandate_list_params.rb +0 -39
- data/lib/stripe/params/margin_create_params.rb +0 -25
- data/lib/stripe/params/margin_list_params.rb +0 -25
- data/lib/stripe/params/margin_retrieve_params.rb +0 -13
- data/lib/stripe/params/margin_update_params.rb +0 -22
- data/lib/stripe/params/order_cancel_params.rb +0 -13
- data/lib/stripe/params/order_create_params.rb +0 -1124
- 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 -1128
- data/lib/stripe/params/payment_attempt_record_list_params.rb +0 -19
- data/lib/stripe/params/payment_attempt_record_retrieve_params.rb +0 -13
- data/lib/stripe/params/payment_intent_amount_details_line_item_list_params.rb +0 -22
- 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_record_report_payment_attempt_canceled_params.rb +0 -19
- data/lib/stripe/params/payment_record_report_payment_attempt_failed_params.rb +0 -19
- data/lib/stripe/params/payment_record_report_payment_attempt_guaranteed_params.rb +0 -19
- data/lib/stripe/params/payment_record_report_payment_attempt_informational_params.rb +0 -93
- data/lib/stripe/params/payment_record_report_payment_attempt_params.rb +0 -186
- data/lib/stripe/params/payment_record_report_payment_params.rb +0 -252
- data/lib/stripe/params/payment_record_retrieve_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/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/subscription_attach_cadence_params.rb +0 -16
- data/lib/stripe/params/subscription_schedule_amend_params.rb +0 -570
- data/lib/stripe/params/tax/association_find_params.rb +0 -18
- 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/terminal/onboarding_link_create_params.rb +0 -43
- data/lib/stripe/params/terminal/reader_collected_data_retrieve_params.rb +0 -15
- 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 -355
- 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_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 -254
- 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/account_close_params.rb +0 -17
- data/lib/stripe/params/v2/core/account_create_params.rb +0 -2234
- data/lib/stripe/params/v2/core/account_link_create_params.rb +0 -101
- data/lib/stripe/params/v2/core/account_list_params.rb +0 -20
- data/lib/stripe/params/v2/core/account_retrieve_params.rb +0 -17
- data/lib/stripe/params/v2/core/account_update_params.rb +0 -2262
- data/lib/stripe/params/v2/core/accounts/person_create_params.rb +0 -493
- data/lib/stripe/params/v2/core/accounts/person_delete_params.rb +0 -12
- data/lib/stripe/params/v2/core/accounts/person_list_params.rb +0 -19
- data/lib/stripe/params/v2/core/accounts/person_retrieve_params.rb +0 -12
- data/lib/stripe/params/v2/core/accounts/person_update_params.rb +0 -493
- 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_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_create_params.rb +0 -33
- 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_update_params.rb +0 -22
- data/lib/stripe/params/v2/money_management/adjustment_list_params.rb +0 -48
- data/lib/stripe/params/v2/money_management/adjustment_retrieve_params.rb +0 -10
- data/lib/stripe/params/v2/money_management/financial_account_close_params.rb +0 -28
- data/lib/stripe/params/v2/money_management/financial_account_create_params.rb +0 -34
- data/lib/stripe/params/v2/money_management/financial_account_list_params.rb +0 -20
- data/lib/stripe/params/v2/money_management/financial_account_retrieve_params.rb +0 -10
- data/lib/stripe/params/v2/money_management/financial_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 -50
- data/lib/stripe/params/v2/money_management/inbound_transfer_list_params.rb +0 -44
- data/lib/stripe/params/v2/money_management/inbound_transfer_retrieve_params.rb +0 -10
- data/lib/stripe/params/v2/money_management/outbound_payment_cancel_params.rb +0 -10
- data/lib/stripe/params/v2/money_management/outbound_payment_create_params.rb +0 -102
- data/lib/stripe/params/v2/money_management/outbound_payment_list_params.rb +0 -52
- data/lib/stripe/params/v2/money_management/outbound_payment_quote_create_params.rb +0 -67
- data/lib/stripe/params/v2/money_management/outbound_payment_quote_retrieve_params.rb +0 -10
- data/lib/stripe/params/v2/money_management/outbound_payment_retrieve_params.rb +0 -10
- data/lib/stripe/params/v2/money_management/outbound_setup_intent_cancel_params.rb +0 -10
- data/lib/stripe/params/v2/money_management/outbound_setup_intent_create_params.rb +0 -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 -81
- 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 -61
- data/lib/stripe/params/v2/payments/off_session_payment_create_params.rb +0 -237
- 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/tax/automatic_rule_create_params.rb +0 -20
- data/lib/stripe/params/v2/tax/automatic_rule_deactivate_params.rb +0 -10
- data/lib/stripe/params/v2/tax/automatic_rule_find_params.rb +0 -17
- data/lib/stripe/params/v2/tax/automatic_rule_retrieve_params.rb +0 -10
- data/lib/stripe/params/v2/tax/automatic_rule_update_params.rb +0 -17
- data/lib/stripe/params/v2/test_helpers/financial_address_credit_params.rb +0 -23
- data/lib/stripe/params/v2/test_helpers/financial_address_generate_microdeposits_params.rb +0 -10
- data/lib/stripe/params/v2/test_helpers/money_management_recipient_verifications_params.rb +0 -23
- data/lib/stripe/resources/account_notice.rb +0 -94
- data/lib/stripe/resources/billing/analytics/meter_usage.rb +0 -33
- data/lib/stripe/resources/billing/analytics/meter_usage_row.rb +0 -38
- data/lib/stripe/resources/capital/financing_offer.rb +0 -142
- data/lib/stripe/resources/capital/financing_summary.rb +0 -79
- data/lib/stripe/resources/capital/financing_transaction.rb +0 -99
- data/lib/stripe/resources/financial_connections/account_inferred_balance.rb +0 -35
- data/lib/stripe/resources/financial_connections/institution.rb +0 -127
- data/lib/stripe/resources/fx_quote.rb +0 -147
- data/lib/stripe/resources/issuing/credit_underwriting_record.rb +0 -263
- data/lib/stripe/resources/issuing/dispute_settlement_detail.rb +0 -71
- data/lib/stripe/resources/issuing/fraud_liability_debit.rb +0 -51
- data/lib/stripe/resources/issuing/settlement.rb +0 -61
- data/lib/stripe/resources/margin.rb +0 -64
- data/lib/stripe/resources/order.rb +0 -987
- data/lib/stripe/resources/payment_attempt_record.rb +0 -2102
- data/lib/stripe/resources/payment_intent_amount_details_line_item.rb +0 -128
- data/lib/stripe/resources/payment_record.rb +0 -2208
- 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/quote_line.rb +0 -521
- data/lib/stripe/resources/quote_preview_invoice.rb +0 -1150
- data/lib/stripe/resources/quote_preview_subscription_schedule.rb +0 -732
- data/lib/stripe/resources/tax/association.rb +0 -86
- data/lib/stripe/resources/tax/form.rb +0 -264
- data/lib/stripe/resources/terminal/onboarding_link.rb +0 -71
- data/lib/stripe/resources/terminal/reader_collected_data.rb +0 -47
- data/lib/stripe/resources/v2/billing/bill_setting.rb +0 -102
- data/lib/stripe/resources/v2/billing/bill_setting_version.rb +0 -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 -395
- 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_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 -244
- data/lib/stripe/resources/v2/core/account.rb +0 -3885
- data/lib/stripe/resources/v2/core/account_link.rb +0 -123
- data/lib/stripe/resources/v2/core/account_person.rb +0 -477
- data/lib/stripe/resources/v2/core/claimable_sandbox.rb +0 -105
- data/lib/stripe/resources/v2/core/vault/gb_bank_account.rb +0 -114
- data/lib/stripe/resources/v2/core/vault/us_bank_account.rb +0 -47
- data/lib/stripe/resources/v2/financial_address_credit_simulation.rb +0 -28
- data/lib/stripe/resources/v2/financial_address_generated_microdeposits.rb +0 -30
- data/lib/stripe/resources/v2/money_management/adjustment.rb +0 -67
- data/lib/stripe/resources/v2/money_management/financial_account.rb +0 -140
- data/lib/stripe/resources/v2/money_management/financial_address.rb +0 -132
- data/lib/stripe/resources/v2/money_management/inbound_transfer.rb +0 -148
- data/lib/stripe/resources/v2/money_management/outbound_payment.rb +0 -219
- data/lib/stripe/resources/v2/money_management/outbound_payment_quote.rb +0 -144
- data/lib/stripe/resources/v2/money_management/outbound_setup_intent.rb +0 -69
- data/lib/stripe/resources/v2/money_management/outbound_transfer.rb +0 -198
- data/lib/stripe/resources/v2/money_management/payout_method.rb +0 -137
- 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 -228
- data/lib/stripe/resources/v2/money_management/received_debit.rb +0 -138
- data/lib/stripe/resources/v2/money_management/recipient_verification.rb +0 -83
- data/lib/stripe/resources/v2/money_management/transaction.rb +0 -116
- data/lib/stripe/resources/v2/money_management/transaction_entry.rb +0 -105
- data/lib/stripe/resources/v2/payments/off_session_payment.rb +0 -242
- data/lib/stripe/resources/v2/tax/automatic_rule.rb +0 -39
- data/lib/stripe/services/account_notice_service.rb +0 -39
- data/lib/stripe/services/billing/analytics/meter_usage_service.rb +0 -21
- data/lib/stripe/services/billing/analytics_service.rb +0 -15
- data/lib/stripe/services/capital/financing_offer_service.rb +0 -42
- data/lib/stripe/services/capital/financing_summary_service.rb +0 -19
- data/lib/stripe/services/capital/financing_transaction_service.rb +0 -31
- data/lib/stripe/services/capital_service.rb +0 -15
- data/lib/stripe/services/external_account_service.rb +0 -68
- data/lib/stripe/services/financial_connections/account_inferred_balance_service.rb +0 -19
- data/lib/stripe/services/financial_connections/institution_service.rb +0 -30
- data/lib/stripe/services/fx_quote_service.rb +0 -27
- data/lib/stripe/services/issuing/credit_underwriting_record_service.rb +0 -74
- data/lib/stripe/services/issuing/dispute_settlement_detail_service.rb +0 -30
- data/lib/stripe/services/issuing/fraud_liability_debit_service.rb +0 -30
- data/lib/stripe/services/margin_service.rb +0 -50
- data/lib/stripe/services/order_line_item_service.rb +0 -17
- data/lib/stripe/services/order_service.rb +0 -78
- data/lib/stripe/services/payment_attempt_record_service.rb +0 -28
- data/lib/stripe/services/payment_intent_amount_details_line_item_service.rb +0 -17
- data/lib/stripe/services/payment_record_service.rb +0 -89
- 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/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/tax/association_service.rb +0 -19
- data/lib/stripe/services/tax/form_service.rb +0 -37
- data/lib/stripe/services/terminal/onboarding_link_service.rb +0 -19
- data/lib/stripe/services/terminal/reader_collected_data_service.rb +0 -19
- 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 -43
- 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/account_link_service.rb +0 -21
- data/lib/stripe/services/v2/core/account_service.rb +0 -76
- data/lib/stripe/services/v2/core/accounts/person_service.rb +0 -67
- 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 -74
- data/lib/stripe/services/v2/core/vault/us_bank_account_service.rb +0 -68
- data/lib/stripe/services/v2/core/vault_service.rb +0 -18
- data/lib/stripe/services/v2/money_management/adjustment_service.rb +0 -32
- data/lib/stripe/services/v2/money_management/financial_account_service.rb +0 -59
- 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 -73
- 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 -63
- 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 -33
- data/lib/stripe/services/v2/payment_service.rb +0 -15
- data/lib/stripe/services/v2/payments/off_session_payment_service.rb +0 -65
- data/lib/stripe/services/v2/tax/automatic_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,920 +3,6 @@
|
|
3
3
|
|
4
4
|
module Stripe
|
5
5
|
class PaymentIntentUpdateParams < Stripe::RequestParams
|
6
|
-
class AmountDetails < Stripe::RequestParams
|
7
|
-
class LineItem < Stripe::RequestParams
|
8
|
-
class PaymentMethodOptions < Stripe::RequestParams
|
9
|
-
class Card < Stripe::RequestParams
|
10
|
-
# Identifier that categorizes the items being purchased using a standardized commodity scheme such as (but not limited to) UNSPSC, NAICS, NAPCS, etc.
|
11
|
-
attr_accessor :commodity_code
|
12
|
-
|
13
|
-
def initialize(commodity_code: nil)
|
14
|
-
@commodity_code = commodity_code
|
15
|
-
end
|
16
|
-
end
|
17
|
-
|
18
|
-
class CardPresent < Stripe::RequestParams
|
19
|
-
# Identifier that categorizes the items being purchased using a standardized commodity scheme such as (but not limited to) UNSPSC, NAICS, NAPCS, etc.
|
20
|
-
attr_accessor :commodity_code
|
21
|
-
|
22
|
-
def initialize(commodity_code: nil)
|
23
|
-
@commodity_code = commodity_code
|
24
|
-
end
|
25
|
-
end
|
26
|
-
|
27
|
-
class Klarna < Stripe::RequestParams
|
28
|
-
# URL to an image for the product. Max length, 4096 characters.
|
29
|
-
attr_accessor :image_url
|
30
|
-
# URL to the product page. Max length, 4096 characters.
|
31
|
-
attr_accessor :product_url
|
32
|
-
# Reference for the subscription this line item is for.
|
33
|
-
attr_accessor :subscription_reference
|
34
|
-
|
35
|
-
def initialize(image_url: nil, product_url: nil, subscription_reference: nil)
|
36
|
-
@image_url = image_url
|
37
|
-
@product_url = product_url
|
38
|
-
@subscription_reference = subscription_reference
|
39
|
-
end
|
40
|
-
end
|
41
|
-
|
42
|
-
class Paypal < Stripe::RequestParams
|
43
|
-
# Type of the line item.
|
44
|
-
attr_accessor :category
|
45
|
-
# Description of the line item.
|
46
|
-
attr_accessor :description
|
47
|
-
# The Stripe account ID of the connected account that sells the item.
|
48
|
-
attr_accessor :sold_by
|
49
|
-
|
50
|
-
def initialize(category: nil, description: nil, sold_by: nil)
|
51
|
-
@category = category
|
52
|
-
@description = description
|
53
|
-
@sold_by = sold_by
|
54
|
-
end
|
55
|
-
end
|
56
|
-
# This sub-hash contains line item details that are specific to `card` payment method."
|
57
|
-
attr_accessor :card
|
58
|
-
# This sub-hash contains line item details that are specific to `card_present` payment method."
|
59
|
-
attr_accessor :card_present
|
60
|
-
# This sub-hash contains line item details that are specific to `klarna` payment method."
|
61
|
-
attr_accessor :klarna
|
62
|
-
# This sub-hash contains line item details that are specific to `paypal` payment method."
|
63
|
-
attr_accessor :paypal
|
64
|
-
|
65
|
-
def initialize(card: nil, card_present: nil, klarna: nil, paypal: nil)
|
66
|
-
@card = card
|
67
|
-
@card_present = card_present
|
68
|
-
@klarna = klarna
|
69
|
-
@paypal = paypal
|
70
|
-
end
|
71
|
-
end
|
72
|
-
|
73
|
-
class Tax < Stripe::RequestParams
|
74
|
-
# The total tax on an item. Non-negative integer.
|
75
|
-
attr_accessor :total_tax_amount
|
76
|
-
|
77
|
-
def initialize(total_tax_amount: nil)
|
78
|
-
@total_tax_amount = total_tax_amount
|
79
|
-
end
|
80
|
-
end
|
81
|
-
# The amount an item was discounted for. Positive integer.
|
82
|
-
attr_accessor :discount_amount
|
83
|
-
# Payment method-specific information for line items.
|
84
|
-
attr_accessor :payment_method_options
|
85
|
-
# Unique identifier of the product. At most 12 characters long.
|
86
|
-
attr_accessor :product_code
|
87
|
-
# Name of the product. At most 100 characters long.
|
88
|
-
attr_accessor :product_name
|
89
|
-
# Number of items of the product. Positive integer.
|
90
|
-
attr_accessor :quantity
|
91
|
-
# Contains information about the tax on the item.
|
92
|
-
attr_accessor :tax
|
93
|
-
# Cost of the product. Non-negative integer.
|
94
|
-
attr_accessor :unit_cost
|
95
|
-
# A unit of measure for the line item, such as gallons, feet, meters, etc.
|
96
|
-
attr_accessor :unit_of_measure
|
97
|
-
|
98
|
-
def initialize(
|
99
|
-
discount_amount: nil,
|
100
|
-
payment_method_options: nil,
|
101
|
-
product_code: nil,
|
102
|
-
product_name: nil,
|
103
|
-
quantity: nil,
|
104
|
-
tax: nil,
|
105
|
-
unit_cost: nil,
|
106
|
-
unit_of_measure: nil
|
107
|
-
)
|
108
|
-
@discount_amount = discount_amount
|
109
|
-
@payment_method_options = payment_method_options
|
110
|
-
@product_code = product_code
|
111
|
-
@product_name = product_name
|
112
|
-
@quantity = quantity
|
113
|
-
@tax = tax
|
114
|
-
@unit_cost = unit_cost
|
115
|
-
@unit_of_measure = unit_of_measure
|
116
|
-
end
|
117
|
-
end
|
118
|
-
|
119
|
-
class Shipping < Stripe::RequestParams
|
120
|
-
# Portion of the amount that is for shipping.
|
121
|
-
attr_accessor :amount
|
122
|
-
# The postal code that represents the shipping source.
|
123
|
-
attr_accessor :from_postal_code
|
124
|
-
# The postal code that represents the shipping destination.
|
125
|
-
attr_accessor :to_postal_code
|
126
|
-
|
127
|
-
def initialize(amount: nil, from_postal_code: nil, to_postal_code: nil)
|
128
|
-
@amount = amount
|
129
|
-
@from_postal_code = from_postal_code
|
130
|
-
@to_postal_code = to_postal_code
|
131
|
-
end
|
132
|
-
end
|
133
|
-
|
134
|
-
class Tax < Stripe::RequestParams
|
135
|
-
# Total portion of the amount that is for tax.
|
136
|
-
attr_accessor :total_tax_amount
|
137
|
-
|
138
|
-
def initialize(total_tax_amount: nil)
|
139
|
-
@total_tax_amount = total_tax_amount
|
140
|
-
end
|
141
|
-
end
|
142
|
-
# The total discount applied on the transaction.
|
143
|
-
attr_accessor :discount_amount
|
144
|
-
# A list of line items, each containing information about a product in the PaymentIntent. There is a maximum of 100 line items.
|
145
|
-
attr_accessor :line_items
|
146
|
-
# Contains information about the shipping portion of the amount.
|
147
|
-
attr_accessor :shipping
|
148
|
-
# Contains information about the tax portion of the amount.
|
149
|
-
attr_accessor :tax
|
150
|
-
|
151
|
-
def initialize(discount_amount: nil, line_items: nil, shipping: nil, tax: nil)
|
152
|
-
@discount_amount = discount_amount
|
153
|
-
@line_items = line_items
|
154
|
-
@shipping = shipping
|
155
|
-
@tax = tax
|
156
|
-
end
|
157
|
-
end
|
158
|
-
|
159
|
-
class Hooks < Stripe::RequestParams
|
160
|
-
class Inputs < Stripe::RequestParams
|
161
|
-
class Tax < Stripe::RequestParams
|
162
|
-
# The [TaxCalculation](https://stripe.com/docs/api/tax/calculations) id
|
163
|
-
attr_accessor :calculation
|
164
|
-
|
165
|
-
def initialize(calculation: nil)
|
166
|
-
@calculation = calculation
|
167
|
-
end
|
168
|
-
end
|
169
|
-
# Tax arguments for automations
|
170
|
-
attr_accessor :tax
|
171
|
-
|
172
|
-
def initialize(tax: nil)
|
173
|
-
@tax = tax
|
174
|
-
end
|
175
|
-
end
|
176
|
-
# Arguments passed in automations
|
177
|
-
attr_accessor :inputs
|
178
|
-
|
179
|
-
def initialize(inputs: nil)
|
180
|
-
@inputs = inputs
|
181
|
-
end
|
182
|
-
end
|
183
|
-
|
184
|
-
class MandateData < Stripe::RequestParams
|
185
|
-
class CustomerAcceptance < Stripe::RequestParams
|
186
|
-
class Online < Stripe::RequestParams
|
187
|
-
# The IP address from which the Mandate was accepted by the customer.
|
188
|
-
attr_accessor :ip_address
|
189
|
-
# The user agent of the browser from which the Mandate was accepted by the customer.
|
190
|
-
attr_accessor :user_agent
|
191
|
-
|
192
|
-
def initialize(ip_address: nil, user_agent: nil)
|
193
|
-
@ip_address = ip_address
|
194
|
-
@user_agent = user_agent
|
195
|
-
end
|
196
|
-
end
|
197
|
-
# If this is a Mandate accepted online, this hash contains details about the online acceptance.
|
198
|
-
attr_accessor :online
|
199
|
-
# The type of customer acceptance information included with the Mandate.
|
200
|
-
attr_accessor :type
|
201
|
-
|
202
|
-
def initialize(online: nil, type: nil)
|
203
|
-
@online = online
|
204
|
-
@type = type
|
205
|
-
end
|
206
|
-
end
|
207
|
-
# This hash contains details about the customer acceptance of the Mandate.
|
208
|
-
attr_accessor :customer_acceptance
|
209
|
-
|
210
|
-
def initialize(customer_acceptance: nil)
|
211
|
-
@customer_acceptance = customer_acceptance
|
212
|
-
end
|
213
|
-
end
|
214
|
-
|
215
|
-
class PaymentDetails < Stripe::RequestParams
|
216
|
-
class CarRental < Stripe::RequestParams
|
217
|
-
class Affiliate < Stripe::RequestParams
|
218
|
-
# The name of the affiliate that originated the purchase.
|
219
|
-
attr_accessor :name
|
220
|
-
|
221
|
-
def initialize(name: nil)
|
222
|
-
@name = name
|
223
|
-
end
|
224
|
-
end
|
225
|
-
|
226
|
-
class Delivery < Stripe::RequestParams
|
227
|
-
class Recipient < Stripe::RequestParams
|
228
|
-
# The email of the recipient the ticket is delivered to.
|
229
|
-
attr_accessor :email
|
230
|
-
# The name of the recipient the ticket is delivered to.
|
231
|
-
attr_accessor :name
|
232
|
-
# The phone number of the recipient the ticket is delivered to.
|
233
|
-
attr_accessor :phone
|
234
|
-
|
235
|
-
def initialize(email: nil, name: nil, phone: nil)
|
236
|
-
@email = email
|
237
|
-
@name = name
|
238
|
-
@phone = phone
|
239
|
-
end
|
240
|
-
end
|
241
|
-
# The delivery method for the payment
|
242
|
-
attr_accessor :mode
|
243
|
-
# Details of the recipient.
|
244
|
-
attr_accessor :recipient
|
245
|
-
|
246
|
-
def initialize(mode: nil, recipient: nil)
|
247
|
-
@mode = mode
|
248
|
-
@recipient = recipient
|
249
|
-
end
|
250
|
-
end
|
251
|
-
|
252
|
-
class Distance < Stripe::RequestParams
|
253
|
-
# Distance traveled.
|
254
|
-
attr_accessor :amount
|
255
|
-
# Unit of measurement for the distance traveled. One of `miles` or `kilometers`.
|
256
|
-
attr_accessor :unit
|
257
|
-
|
258
|
-
def initialize(amount: nil, unit: nil)
|
259
|
-
@amount = amount
|
260
|
-
@unit = unit
|
261
|
-
end
|
262
|
-
end
|
263
|
-
|
264
|
-
class Driver < Stripe::RequestParams
|
265
|
-
# Driver's identification number.
|
266
|
-
attr_accessor :driver_identification_number
|
267
|
-
# Driver's tax number.
|
268
|
-
attr_accessor :driver_tax_number
|
269
|
-
# Full name of the person or entity on the car reservation.
|
270
|
-
attr_accessor :name
|
271
|
-
|
272
|
-
def initialize(driver_identification_number: nil, driver_tax_number: nil, name: nil)
|
273
|
-
@driver_identification_number = driver_identification_number
|
274
|
-
@driver_tax_number = driver_tax_number
|
275
|
-
@name = name
|
276
|
-
end
|
277
|
-
end
|
278
|
-
|
279
|
-
class PickupAddress < Stripe::RequestParams
|
280
|
-
# City, district, suburb, town, or village.
|
281
|
-
attr_accessor :city
|
282
|
-
# Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)).
|
283
|
-
attr_accessor :country
|
284
|
-
# Address line 1, such as the street, PO Box, or company name.
|
285
|
-
attr_accessor :line1
|
286
|
-
# Address line 2, such as the apartment, suite, unit, or building.
|
287
|
-
attr_accessor :line2
|
288
|
-
# ZIP or postal code.
|
289
|
-
attr_accessor :postal_code
|
290
|
-
# State, county, province, or region.
|
291
|
-
attr_accessor :state
|
292
|
-
|
293
|
-
def initialize(
|
294
|
-
city: nil,
|
295
|
-
country: nil,
|
296
|
-
line1: nil,
|
297
|
-
line2: nil,
|
298
|
-
postal_code: nil,
|
299
|
-
state: nil
|
300
|
-
)
|
301
|
-
@city = city
|
302
|
-
@country = country
|
303
|
-
@line1 = line1
|
304
|
-
@line2 = line2
|
305
|
-
@postal_code = postal_code
|
306
|
-
@state = state
|
307
|
-
end
|
308
|
-
end
|
309
|
-
|
310
|
-
class ReturnAddress < Stripe::RequestParams
|
311
|
-
# City, district, suburb, town, or village.
|
312
|
-
attr_accessor :city
|
313
|
-
# Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)).
|
314
|
-
attr_accessor :country
|
315
|
-
# Address line 1, such as the street, PO Box, or company name.
|
316
|
-
attr_accessor :line1
|
317
|
-
# Address line 2, such as the apartment, suite, unit, or building.
|
318
|
-
attr_accessor :line2
|
319
|
-
# ZIP or postal code.
|
320
|
-
attr_accessor :postal_code
|
321
|
-
# State, county, province, or region.
|
322
|
-
attr_accessor :state
|
323
|
-
|
324
|
-
def initialize(
|
325
|
-
city: nil,
|
326
|
-
country: nil,
|
327
|
-
line1: nil,
|
328
|
-
line2: nil,
|
329
|
-
postal_code: nil,
|
330
|
-
state: nil
|
331
|
-
)
|
332
|
-
@city = city
|
333
|
-
@country = country
|
334
|
-
@line1 = line1
|
335
|
-
@line2 = line2
|
336
|
-
@postal_code = postal_code
|
337
|
-
@state = state
|
338
|
-
end
|
339
|
-
end
|
340
|
-
# Affiliate details for this purchase.
|
341
|
-
attr_accessor :affiliate
|
342
|
-
# The booking number associated with the car rental.
|
343
|
-
attr_accessor :booking_number
|
344
|
-
# Class code of the car.
|
345
|
-
attr_accessor :car_class_code
|
346
|
-
# Make of the car.
|
347
|
-
attr_accessor :car_make
|
348
|
-
# Model of the car.
|
349
|
-
attr_accessor :car_model
|
350
|
-
# The name of the rental car company.
|
351
|
-
attr_accessor :company
|
352
|
-
# The customer service phone number of the car rental company.
|
353
|
-
attr_accessor :customer_service_phone_number
|
354
|
-
# Number of days the car is being rented.
|
355
|
-
attr_accessor :days_rented
|
356
|
-
# Delivery details for this purchase.
|
357
|
-
attr_accessor :delivery
|
358
|
-
# The details of the distance traveled during the rental period.
|
359
|
-
attr_accessor :distance
|
360
|
-
# The details of the passengers in the travel reservation
|
361
|
-
attr_accessor :drivers
|
362
|
-
# List of additional charges being billed.
|
363
|
-
attr_accessor :extra_charges
|
364
|
-
# Indicates if the customer did not keep nor cancel their booking.
|
365
|
-
attr_accessor :no_show
|
366
|
-
# Car pick-up address.
|
367
|
-
attr_accessor :pickup_address
|
368
|
-
# Car pick-up time. Measured in seconds since the Unix epoch.
|
369
|
-
attr_accessor :pickup_at
|
370
|
-
# Name of the pickup location.
|
371
|
-
attr_accessor :pickup_location_name
|
372
|
-
# Rental rate.
|
373
|
-
attr_accessor :rate_amount
|
374
|
-
# The frequency at which the rate amount is applied. One of `day`, `week` or `month`
|
375
|
-
attr_accessor :rate_interval
|
376
|
-
# The name of the person or entity renting the car.
|
377
|
-
attr_accessor :renter_name
|
378
|
-
# Car return address.
|
379
|
-
attr_accessor :return_address
|
380
|
-
# Car return time. Measured in seconds since the Unix epoch.
|
381
|
-
attr_accessor :return_at
|
382
|
-
# Name of the return location.
|
383
|
-
attr_accessor :return_location_name
|
384
|
-
# Indicates whether the goods or services are tax-exempt or tax is not collected.
|
385
|
-
attr_accessor :tax_exempt
|
386
|
-
# The vehicle identification number.
|
387
|
-
attr_accessor :vehicle_identification_number
|
388
|
-
|
389
|
-
def initialize(
|
390
|
-
affiliate: nil,
|
391
|
-
booking_number: nil,
|
392
|
-
car_class_code: nil,
|
393
|
-
car_make: nil,
|
394
|
-
car_model: nil,
|
395
|
-
company: nil,
|
396
|
-
customer_service_phone_number: nil,
|
397
|
-
days_rented: nil,
|
398
|
-
delivery: nil,
|
399
|
-
distance: nil,
|
400
|
-
drivers: nil,
|
401
|
-
extra_charges: nil,
|
402
|
-
no_show: nil,
|
403
|
-
pickup_address: nil,
|
404
|
-
pickup_at: nil,
|
405
|
-
pickup_location_name: nil,
|
406
|
-
rate_amount: nil,
|
407
|
-
rate_interval: nil,
|
408
|
-
renter_name: nil,
|
409
|
-
return_address: nil,
|
410
|
-
return_at: nil,
|
411
|
-
return_location_name: nil,
|
412
|
-
tax_exempt: nil,
|
413
|
-
vehicle_identification_number: nil
|
414
|
-
)
|
415
|
-
@affiliate = affiliate
|
416
|
-
@booking_number = booking_number
|
417
|
-
@car_class_code = car_class_code
|
418
|
-
@car_make = car_make
|
419
|
-
@car_model = car_model
|
420
|
-
@company = company
|
421
|
-
@customer_service_phone_number = customer_service_phone_number
|
422
|
-
@days_rented = days_rented
|
423
|
-
@delivery = delivery
|
424
|
-
@distance = distance
|
425
|
-
@drivers = drivers
|
426
|
-
@extra_charges = extra_charges
|
427
|
-
@no_show = no_show
|
428
|
-
@pickup_address = pickup_address
|
429
|
-
@pickup_at = pickup_at
|
430
|
-
@pickup_location_name = pickup_location_name
|
431
|
-
@rate_amount = rate_amount
|
432
|
-
@rate_interval = rate_interval
|
433
|
-
@renter_name = renter_name
|
434
|
-
@return_address = return_address
|
435
|
-
@return_at = return_at
|
436
|
-
@return_location_name = return_location_name
|
437
|
-
@tax_exempt = tax_exempt
|
438
|
-
@vehicle_identification_number = vehicle_identification_number
|
439
|
-
end
|
440
|
-
end
|
441
|
-
|
442
|
-
class EventDetails < Stripe::RequestParams
|
443
|
-
class Address < Stripe::RequestParams
|
444
|
-
# City, district, suburb, town, or village.
|
445
|
-
attr_accessor :city
|
446
|
-
# Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)).
|
447
|
-
attr_accessor :country
|
448
|
-
# Address line 1, such as the street, PO Box, or company name.
|
449
|
-
attr_accessor :line1
|
450
|
-
# Address line 2, such as the apartment, suite, unit, or building.
|
451
|
-
attr_accessor :line2
|
452
|
-
# ZIP or postal code.
|
453
|
-
attr_accessor :postal_code
|
454
|
-
# State, county, province, or region.
|
455
|
-
attr_accessor :state
|
456
|
-
|
457
|
-
def initialize(
|
458
|
-
city: nil,
|
459
|
-
country: nil,
|
460
|
-
line1: nil,
|
461
|
-
line2: nil,
|
462
|
-
postal_code: nil,
|
463
|
-
state: nil
|
464
|
-
)
|
465
|
-
@city = city
|
466
|
-
@country = country
|
467
|
-
@line1 = line1
|
468
|
-
@line2 = line2
|
469
|
-
@postal_code = postal_code
|
470
|
-
@state = state
|
471
|
-
end
|
472
|
-
end
|
473
|
-
|
474
|
-
class Affiliate < Stripe::RequestParams
|
475
|
-
# The name of the affiliate that originated the purchase.
|
476
|
-
attr_accessor :name
|
477
|
-
|
478
|
-
def initialize(name: nil)
|
479
|
-
@name = name
|
480
|
-
end
|
481
|
-
end
|
482
|
-
|
483
|
-
class Delivery < Stripe::RequestParams
|
484
|
-
class Recipient < Stripe::RequestParams
|
485
|
-
# The email of the recipient the ticket is delivered to.
|
486
|
-
attr_accessor :email
|
487
|
-
# The name of the recipient the ticket is delivered to.
|
488
|
-
attr_accessor :name
|
489
|
-
# The phone number of the recipient the ticket is delivered to.
|
490
|
-
attr_accessor :phone
|
491
|
-
|
492
|
-
def initialize(email: nil, name: nil, phone: nil)
|
493
|
-
@email = email
|
494
|
-
@name = name
|
495
|
-
@phone = phone
|
496
|
-
end
|
497
|
-
end
|
498
|
-
# The delivery method for the payment
|
499
|
-
attr_accessor :mode
|
500
|
-
# Details of the recipient.
|
501
|
-
attr_accessor :recipient
|
502
|
-
|
503
|
-
def initialize(mode: nil, recipient: nil)
|
504
|
-
@mode = mode
|
505
|
-
@recipient = recipient
|
506
|
-
end
|
507
|
-
end
|
508
|
-
# Indicates if the tickets are digitally checked when entering the venue.
|
509
|
-
attr_accessor :access_controlled_venue
|
510
|
-
# The event location's address.
|
511
|
-
attr_accessor :address
|
512
|
-
# Affiliate details for this purchase.
|
513
|
-
attr_accessor :affiliate
|
514
|
-
# The name of the company
|
515
|
-
attr_accessor :company
|
516
|
-
# Delivery details for this purchase.
|
517
|
-
attr_accessor :delivery
|
518
|
-
# Event end time. Measured in seconds since the Unix epoch.
|
519
|
-
attr_accessor :ends_at
|
520
|
-
# Type of the event entertainment (concert, sports event etc)
|
521
|
-
attr_accessor :genre
|
522
|
-
# The name of the event.
|
523
|
-
attr_accessor :name
|
524
|
-
# Event start time. Measured in seconds since the Unix epoch.
|
525
|
-
attr_accessor :starts_at
|
526
|
-
|
527
|
-
def initialize(
|
528
|
-
access_controlled_venue: nil,
|
529
|
-
address: nil,
|
530
|
-
affiliate: nil,
|
531
|
-
company: nil,
|
532
|
-
delivery: nil,
|
533
|
-
ends_at: nil,
|
534
|
-
genre: nil,
|
535
|
-
name: nil,
|
536
|
-
starts_at: nil
|
537
|
-
)
|
538
|
-
@access_controlled_venue = access_controlled_venue
|
539
|
-
@address = address
|
540
|
-
@affiliate = affiliate
|
541
|
-
@company = company
|
542
|
-
@delivery = delivery
|
543
|
-
@ends_at = ends_at
|
544
|
-
@genre = genre
|
545
|
-
@name = name
|
546
|
-
@starts_at = starts_at
|
547
|
-
end
|
548
|
-
end
|
549
|
-
|
550
|
-
class Flight < Stripe::RequestParams
|
551
|
-
class Affiliate < Stripe::RequestParams
|
552
|
-
# The name of the affiliate that originated the purchase.
|
553
|
-
attr_accessor :name
|
554
|
-
|
555
|
-
def initialize(name: nil)
|
556
|
-
@name = name
|
557
|
-
end
|
558
|
-
end
|
559
|
-
|
560
|
-
class Delivery < Stripe::RequestParams
|
561
|
-
class Recipient < Stripe::RequestParams
|
562
|
-
# The email of the recipient the ticket is delivered to.
|
563
|
-
attr_accessor :email
|
564
|
-
# The name of the recipient the ticket is delivered to.
|
565
|
-
attr_accessor :name
|
566
|
-
# The phone number of the recipient the ticket is delivered to.
|
567
|
-
attr_accessor :phone
|
568
|
-
|
569
|
-
def initialize(email: nil, name: nil, phone: nil)
|
570
|
-
@email = email
|
571
|
-
@name = name
|
572
|
-
@phone = phone
|
573
|
-
end
|
574
|
-
end
|
575
|
-
# The delivery method for the payment
|
576
|
-
attr_accessor :mode
|
577
|
-
# Details of the recipient.
|
578
|
-
attr_accessor :recipient
|
579
|
-
|
580
|
-
def initialize(mode: nil, recipient: nil)
|
581
|
-
@mode = mode
|
582
|
-
@recipient = recipient
|
583
|
-
end
|
584
|
-
end
|
585
|
-
|
586
|
-
class Passenger < Stripe::RequestParams
|
587
|
-
# Full name of the person or entity on the flight reservation.
|
588
|
-
attr_accessor :name
|
589
|
-
|
590
|
-
def initialize(name: nil)
|
591
|
-
@name = name
|
592
|
-
end
|
593
|
-
end
|
594
|
-
|
595
|
-
class Segment < Stripe::RequestParams
|
596
|
-
# The flight segment amount.
|
597
|
-
attr_accessor :amount
|
598
|
-
# The International Air Transport Association (IATA) airport code for the arrival airport.
|
599
|
-
attr_accessor :arrival_airport
|
600
|
-
# The arrival time for the flight segment. Measured in seconds since the Unix epoch.
|
601
|
-
attr_accessor :arrives_at
|
602
|
-
# The International Air Transport Association (IATA) carrier code of the carrier operating the flight segment.
|
603
|
-
attr_accessor :carrier
|
604
|
-
# The departure time for the flight segment. Measured in seconds since the Unix epoch.
|
605
|
-
attr_accessor :departs_at
|
606
|
-
# The International Air Transport Association (IATA) airport code for the departure airport.
|
607
|
-
attr_accessor :departure_airport
|
608
|
-
# The flight number associated with the segment
|
609
|
-
attr_accessor :flight_number
|
610
|
-
# The fare class for the segment.
|
611
|
-
attr_accessor :service_class
|
612
|
-
|
613
|
-
def initialize(
|
614
|
-
amount: nil,
|
615
|
-
arrival_airport: nil,
|
616
|
-
arrives_at: nil,
|
617
|
-
carrier: nil,
|
618
|
-
departs_at: nil,
|
619
|
-
departure_airport: nil,
|
620
|
-
flight_number: nil,
|
621
|
-
service_class: nil
|
622
|
-
)
|
623
|
-
@amount = amount
|
624
|
-
@arrival_airport = arrival_airport
|
625
|
-
@arrives_at = arrives_at
|
626
|
-
@carrier = carrier
|
627
|
-
@departs_at = departs_at
|
628
|
-
@departure_airport = departure_airport
|
629
|
-
@flight_number = flight_number
|
630
|
-
@service_class = service_class
|
631
|
-
end
|
632
|
-
end
|
633
|
-
# Affiliate details for this purchase.
|
634
|
-
attr_accessor :affiliate
|
635
|
-
# The agency number (i.e. International Air Transport Association (IATA) agency number) of the travel agency that made the booking.
|
636
|
-
attr_accessor :agency_number
|
637
|
-
# The International Air Transport Association (IATA) carrier code of the carrier that issued the ticket.
|
638
|
-
attr_accessor :carrier
|
639
|
-
# Delivery details for this purchase.
|
640
|
-
attr_accessor :delivery
|
641
|
-
# The name of the person or entity on the reservation.
|
642
|
-
attr_accessor :passenger_name
|
643
|
-
# The details of the passengers in the travel reservation.
|
644
|
-
attr_accessor :passengers
|
645
|
-
# The individual flight segments associated with the trip.
|
646
|
-
attr_accessor :segments
|
647
|
-
# The ticket number associated with the travel reservation.
|
648
|
-
attr_accessor :ticket_number
|
649
|
-
|
650
|
-
def initialize(
|
651
|
-
affiliate: nil,
|
652
|
-
agency_number: nil,
|
653
|
-
carrier: nil,
|
654
|
-
delivery: nil,
|
655
|
-
passenger_name: nil,
|
656
|
-
passengers: nil,
|
657
|
-
segments: nil,
|
658
|
-
ticket_number: nil
|
659
|
-
)
|
660
|
-
@affiliate = affiliate
|
661
|
-
@agency_number = agency_number
|
662
|
-
@carrier = carrier
|
663
|
-
@delivery = delivery
|
664
|
-
@passenger_name = passenger_name
|
665
|
-
@passengers = passengers
|
666
|
-
@segments = segments
|
667
|
-
@ticket_number = ticket_number
|
668
|
-
end
|
669
|
-
end
|
670
|
-
|
671
|
-
class Lodging < Stripe::RequestParams
|
672
|
-
class Address < Stripe::RequestParams
|
673
|
-
# City, district, suburb, town, or village.
|
674
|
-
attr_accessor :city
|
675
|
-
# Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)).
|
676
|
-
attr_accessor :country
|
677
|
-
# Address line 1, such as the street, PO Box, or company name.
|
678
|
-
attr_accessor :line1
|
679
|
-
# Address line 2, such as the apartment, suite, unit, or building.
|
680
|
-
attr_accessor :line2
|
681
|
-
# ZIP or postal code.
|
682
|
-
attr_accessor :postal_code
|
683
|
-
# State, county, province, or region.
|
684
|
-
attr_accessor :state
|
685
|
-
|
686
|
-
def initialize(
|
687
|
-
city: nil,
|
688
|
-
country: nil,
|
689
|
-
line1: nil,
|
690
|
-
line2: nil,
|
691
|
-
postal_code: nil,
|
692
|
-
state: nil
|
693
|
-
)
|
694
|
-
@city = city
|
695
|
-
@country = country
|
696
|
-
@line1 = line1
|
697
|
-
@line2 = line2
|
698
|
-
@postal_code = postal_code
|
699
|
-
@state = state
|
700
|
-
end
|
701
|
-
end
|
702
|
-
|
703
|
-
class Affiliate < Stripe::RequestParams
|
704
|
-
# The name of the affiliate that originated the purchase.
|
705
|
-
attr_accessor :name
|
706
|
-
|
707
|
-
def initialize(name: nil)
|
708
|
-
@name = name
|
709
|
-
end
|
710
|
-
end
|
711
|
-
|
712
|
-
class Delivery < Stripe::RequestParams
|
713
|
-
class Recipient < Stripe::RequestParams
|
714
|
-
# The email of the recipient the ticket is delivered to.
|
715
|
-
attr_accessor :email
|
716
|
-
# The name of the recipient the ticket is delivered to.
|
717
|
-
attr_accessor :name
|
718
|
-
# The phone number of the recipient the ticket is delivered to.
|
719
|
-
attr_accessor :phone
|
720
|
-
|
721
|
-
def initialize(email: nil, name: nil, phone: nil)
|
722
|
-
@email = email
|
723
|
-
@name = name
|
724
|
-
@phone = phone
|
725
|
-
end
|
726
|
-
end
|
727
|
-
# The delivery method for the payment
|
728
|
-
attr_accessor :mode
|
729
|
-
# Details of the recipient.
|
730
|
-
attr_accessor :recipient
|
731
|
-
|
732
|
-
def initialize(mode: nil, recipient: nil)
|
733
|
-
@mode = mode
|
734
|
-
@recipient = recipient
|
735
|
-
end
|
736
|
-
end
|
737
|
-
|
738
|
-
class Passenger < Stripe::RequestParams
|
739
|
-
# Full name of the person or entity on the lodging reservation.
|
740
|
-
attr_accessor :name
|
741
|
-
|
742
|
-
def initialize(name: nil)
|
743
|
-
@name = name
|
744
|
-
end
|
745
|
-
end
|
746
|
-
# The lodging location's address.
|
747
|
-
attr_accessor :address
|
748
|
-
# The number of adults on the booking
|
749
|
-
attr_accessor :adults
|
750
|
-
# Affiliate details for this purchase.
|
751
|
-
attr_accessor :affiliate
|
752
|
-
# The booking number associated with the lodging reservation.
|
753
|
-
attr_accessor :booking_number
|
754
|
-
# The lodging category
|
755
|
-
attr_accessor :category
|
756
|
-
# Lodging check-in time. Measured in seconds since the Unix epoch.
|
757
|
-
attr_accessor :checkin_at
|
758
|
-
# Lodging check-out time. Measured in seconds since the Unix epoch.
|
759
|
-
attr_accessor :checkout_at
|
760
|
-
# The customer service phone number of the lodging company.
|
761
|
-
attr_accessor :customer_service_phone_number
|
762
|
-
# The daily lodging room rate.
|
763
|
-
attr_accessor :daily_room_rate_amount
|
764
|
-
# Delivery details for this purchase.
|
765
|
-
attr_accessor :delivery
|
766
|
-
# List of additional charges being billed.
|
767
|
-
attr_accessor :extra_charges
|
768
|
-
# Indicates whether the lodging location is compliant with the Fire Safety Act.
|
769
|
-
attr_accessor :fire_safety_act_compliance
|
770
|
-
# The name of the lodging location.
|
771
|
-
attr_accessor :name
|
772
|
-
# Indicates if the customer did not keep their booking while failing to cancel the reservation.
|
773
|
-
attr_accessor :no_show
|
774
|
-
# The number of rooms on the booking
|
775
|
-
attr_accessor :number_of_rooms
|
776
|
-
# The details of the passengers in the travel reservation
|
777
|
-
attr_accessor :passengers
|
778
|
-
# The phone number of the lodging location.
|
779
|
-
attr_accessor :property_phone_number
|
780
|
-
# The room class for this purchase.
|
781
|
-
attr_accessor :room_class
|
782
|
-
# The number of room nights
|
783
|
-
attr_accessor :room_nights
|
784
|
-
# The total tax amount associating with the room reservation.
|
785
|
-
attr_accessor :total_room_tax_amount
|
786
|
-
# The total tax amount
|
787
|
-
attr_accessor :total_tax_amount
|
788
|
-
|
789
|
-
def initialize(
|
790
|
-
address: nil,
|
791
|
-
adults: nil,
|
792
|
-
affiliate: nil,
|
793
|
-
booking_number: nil,
|
794
|
-
category: nil,
|
795
|
-
checkin_at: nil,
|
796
|
-
checkout_at: nil,
|
797
|
-
customer_service_phone_number: nil,
|
798
|
-
daily_room_rate_amount: nil,
|
799
|
-
delivery: nil,
|
800
|
-
extra_charges: nil,
|
801
|
-
fire_safety_act_compliance: nil,
|
802
|
-
name: nil,
|
803
|
-
no_show: nil,
|
804
|
-
number_of_rooms: nil,
|
805
|
-
passengers: nil,
|
806
|
-
property_phone_number: nil,
|
807
|
-
room_class: nil,
|
808
|
-
room_nights: nil,
|
809
|
-
total_room_tax_amount: nil,
|
810
|
-
total_tax_amount: nil
|
811
|
-
)
|
812
|
-
@address = address
|
813
|
-
@adults = adults
|
814
|
-
@affiliate = affiliate
|
815
|
-
@booking_number = booking_number
|
816
|
-
@category = category
|
817
|
-
@checkin_at = checkin_at
|
818
|
-
@checkout_at = checkout_at
|
819
|
-
@customer_service_phone_number = customer_service_phone_number
|
820
|
-
@daily_room_rate_amount = daily_room_rate_amount
|
821
|
-
@delivery = delivery
|
822
|
-
@extra_charges = extra_charges
|
823
|
-
@fire_safety_act_compliance = fire_safety_act_compliance
|
824
|
-
@name = name
|
825
|
-
@no_show = no_show
|
826
|
-
@number_of_rooms = number_of_rooms
|
827
|
-
@passengers = passengers
|
828
|
-
@property_phone_number = property_phone_number
|
829
|
-
@room_class = room_class
|
830
|
-
@room_nights = room_nights
|
831
|
-
@total_room_tax_amount = total_room_tax_amount
|
832
|
-
@total_tax_amount = total_tax_amount
|
833
|
-
end
|
834
|
-
end
|
835
|
-
|
836
|
-
class Subscription < Stripe::RequestParams
|
837
|
-
class Affiliate < Stripe::RequestParams
|
838
|
-
# The name of the affiliate that originated the purchase.
|
839
|
-
attr_accessor :name
|
840
|
-
|
841
|
-
def initialize(name: nil)
|
842
|
-
@name = name
|
843
|
-
end
|
844
|
-
end
|
845
|
-
|
846
|
-
class BillingInterval < Stripe::RequestParams
|
847
|
-
# The number of intervals, as an whole number greater than 0. Stripe multiplies this by the interval type to get the overall duration.
|
848
|
-
attr_accessor :count
|
849
|
-
# Specifies a type of interval unit. Either `day`, `week`, `month` or `year`.
|
850
|
-
attr_accessor :interval
|
851
|
-
|
852
|
-
def initialize(count: nil, interval: nil)
|
853
|
-
@count = count
|
854
|
-
@interval = interval
|
855
|
-
end
|
856
|
-
end
|
857
|
-
# Affiliate details for this purchase.
|
858
|
-
attr_accessor :affiliate
|
859
|
-
# Info whether the subscription will be auto renewed upon expiry.
|
860
|
-
attr_accessor :auto_renewal
|
861
|
-
# Subscription billing details for this purchase.
|
862
|
-
attr_accessor :billing_interval
|
863
|
-
# Subscription end time. Measured in seconds since the Unix epoch.
|
864
|
-
attr_accessor :ends_at
|
865
|
-
# Name of the product on subscription. e.g. Apple Music Subscription
|
866
|
-
attr_accessor :name
|
867
|
-
# Subscription start time. Measured in seconds since the Unix epoch.
|
868
|
-
attr_accessor :starts_at
|
869
|
-
|
870
|
-
def initialize(
|
871
|
-
affiliate: nil,
|
872
|
-
auto_renewal: nil,
|
873
|
-
billing_interval: nil,
|
874
|
-
ends_at: nil,
|
875
|
-
name: nil,
|
876
|
-
starts_at: nil
|
877
|
-
)
|
878
|
-
@affiliate = affiliate
|
879
|
-
@auto_renewal = auto_renewal
|
880
|
-
@billing_interval = billing_interval
|
881
|
-
@ends_at = ends_at
|
882
|
-
@name = name
|
883
|
-
@starts_at = starts_at
|
884
|
-
end
|
885
|
-
end
|
886
|
-
# Car rental details for this PaymentIntent.
|
887
|
-
attr_accessor :car_rental
|
888
|
-
# Some customers might be required by their company or organization to provide this information. If so, provide this value. Otherwise you can ignore this field.
|
889
|
-
attr_accessor :customer_reference
|
890
|
-
# Event details for this PaymentIntent
|
891
|
-
attr_accessor :event_details
|
892
|
-
# Flight reservation details for this PaymentIntent
|
893
|
-
attr_accessor :flight
|
894
|
-
# Lodging reservation details for this PaymentIntent
|
895
|
-
attr_accessor :lodging
|
896
|
-
# A unique value assigned by the business to identify the transaction.
|
897
|
-
attr_accessor :order_reference
|
898
|
-
# Subscription details for this PaymentIntent
|
899
|
-
attr_accessor :subscription
|
900
|
-
|
901
|
-
def initialize(
|
902
|
-
car_rental: nil,
|
903
|
-
customer_reference: nil,
|
904
|
-
event_details: nil,
|
905
|
-
flight: nil,
|
906
|
-
lodging: nil,
|
907
|
-
order_reference: nil,
|
908
|
-
subscription: nil
|
909
|
-
)
|
910
|
-
@car_rental = car_rental
|
911
|
-
@customer_reference = customer_reference
|
912
|
-
@event_details = event_details
|
913
|
-
@flight = flight
|
914
|
-
@lodging = lodging
|
915
|
-
@order_reference = order_reference
|
916
|
-
@subscription = subscription
|
917
|
-
end
|
918
|
-
end
|
919
|
-
|
920
6
|
class PaymentMethodData < Stripe::RequestParams
|
921
7
|
class AcssDebit < Stripe::RequestParams
|
922
8
|
# Customer's bank account number.
|
@@ -1054,18 +140,8 @@ module Stripe
|
|
1054
140
|
end
|
1055
141
|
|
1056
142
|
class Giropay < Stripe::RequestParams; end
|
1057
|
-
class Gopay < Stripe::RequestParams; end
|
1058
143
|
class Grabpay < Stripe::RequestParams; end
|
1059
144
|
|
1060
|
-
class IdBankTransfer < Stripe::RequestParams
|
1061
|
-
# Bank where the account is held.
|
1062
|
-
attr_accessor :bank
|
1063
|
-
|
1064
|
-
def initialize(bank: nil)
|
1065
|
-
@bank = bank
|
1066
|
-
end
|
1067
|
-
end
|
1068
|
-
|
1069
145
|
class Ideal < Stripe::RequestParams
|
1070
146
|
# The customer's bank. Only use this parameter for existing customers. Don't use it for new customers.
|
1071
147
|
attr_accessor :bank
|
@@ -1163,26 +239,8 @@ module Stripe
|
|
1163
239
|
class Payco < Stripe::RequestParams; end
|
1164
240
|
class Paynow < Stripe::RequestParams; end
|
1165
241
|
class Paypal < Stripe::RequestParams; end
|
1166
|
-
class Paypay < Stripe::RequestParams; end
|
1167
|
-
|
1168
|
-
class Payto < Stripe::RequestParams
|
1169
|
-
# The account number for the bank account.
|
1170
|
-
attr_accessor :account_number
|
1171
|
-
# Bank-State-Branch number of the bank account.
|
1172
|
-
attr_accessor :bsb_number
|
1173
|
-
# The PayID alias for the bank account.
|
1174
|
-
attr_accessor :pay_id
|
1175
|
-
|
1176
|
-
def initialize(account_number: nil, bsb_number: nil, pay_id: nil)
|
1177
|
-
@account_number = account_number
|
1178
|
-
@bsb_number = bsb_number
|
1179
|
-
@pay_id = pay_id
|
1180
|
-
end
|
1181
|
-
end
|
1182
|
-
|
1183
242
|
class Pix < Stripe::RequestParams; end
|
1184
243
|
class Promptpay < Stripe::RequestParams; end
|
1185
|
-
class Qris < Stripe::RequestParams; end
|
1186
244
|
|
1187
245
|
class RadarOptions < Stripe::RequestParams
|
1188
246
|
# A [Radar Session](https://stripe.com/docs/radar/radar-session) is a snapshot of the browser metadata and device details that help Radar make more accurate predictions on your payments.
|
@@ -1193,29 +251,6 @@ module Stripe
|
|
1193
251
|
end
|
1194
252
|
end
|
1195
253
|
|
1196
|
-
class Rechnung < Stripe::RequestParams
|
1197
|
-
class Dob < Stripe::RequestParams
|
1198
|
-
# The day of birth, between 1 and 31.
|
1199
|
-
attr_accessor :day
|
1200
|
-
# The month of birth, between 1 and 12.
|
1201
|
-
attr_accessor :month
|
1202
|
-
# The four-digit year of birth.
|
1203
|
-
attr_accessor :year
|
1204
|
-
|
1205
|
-
def initialize(day: nil, month: nil, year: nil)
|
1206
|
-
@day = day
|
1207
|
-
@month = month
|
1208
|
-
@year = year
|
1209
|
-
end
|
1210
|
-
end
|
1211
|
-
# Customer's date of birth
|
1212
|
-
attr_accessor :dob
|
1213
|
-
|
1214
|
-
def initialize(dob: nil)
|
1215
|
-
@dob = dob
|
1216
|
-
end
|
1217
|
-
end
|
1218
|
-
|
1219
254
|
class RevolutPay < Stripe::RequestParams; end
|
1220
255
|
class SamsungPay < Stripe::RequestParams; end
|
1221
256
|
class Satispay < Stripe::RequestParams; end
|
@@ -1229,8 +264,6 @@ module Stripe
|
|
1229
264
|
end
|
1230
265
|
end
|
1231
266
|
|
1232
|
-
class Shopeepay < Stripe::RequestParams; end
|
1233
|
-
|
1234
267
|
class Sofort < Stripe::RequestParams
|
1235
268
|
# Two-letter ISO code representing the country the bank account is located in.
|
1236
269
|
attr_accessor :country
|
@@ -1240,18 +273,6 @@ module Stripe
|
|
1240
273
|
end
|
1241
274
|
end
|
1242
275
|
|
1243
|
-
class StripeBalance < Stripe::RequestParams
|
1244
|
-
# The connected account ID whose Stripe balance to use as the source of payment
|
1245
|
-
attr_accessor :account
|
1246
|
-
# The [source_type](https://docs.stripe.com/api/balance/balance_object#balance_object-available-source_types) of the balance
|
1247
|
-
attr_accessor :source_type
|
1248
|
-
|
1249
|
-
def initialize(account: nil, source_type: nil)
|
1250
|
-
@account = account
|
1251
|
-
@source_type = source_type
|
1252
|
-
end
|
1253
|
-
end
|
1254
|
-
|
1255
276
|
class Swish < Stripe::RequestParams; end
|
1256
277
|
class Twint < Stripe::RequestParams; end
|
1257
278
|
|
@@ -1324,12 +345,8 @@ module Stripe
|
|
1324
345
|
attr_accessor :fpx
|
1325
346
|
# If this is a `giropay` PaymentMethod, this hash contains details about the Giropay payment method.
|
1326
347
|
attr_accessor :giropay
|
1327
|
-
# If this is a Gopay PaymentMethod, this hash contains details about the Gopay payment method.
|
1328
|
-
attr_accessor :gopay
|
1329
348
|
# If this is a `grabpay` PaymentMethod, this hash contains details about the GrabPay payment method.
|
1330
349
|
attr_accessor :grabpay
|
1331
|
-
# If this is an `IdBankTransfer` PaymentMethod, this hash contains details about the IdBankTransfer payment method.
|
1332
|
-
attr_accessor :id_bank_transfer
|
1333
350
|
# If this is an `ideal` PaymentMethod, this hash contains details about the iDEAL payment method.
|
1334
351
|
attr_accessor :ideal
|
1335
352
|
# If this is an `interac_present` PaymentMethod, this hash contains details about the Interac Present payment method.
|
@@ -1368,20 +385,12 @@ module Stripe
|
|
1368
385
|
attr_accessor :paynow
|
1369
386
|
# If this is a `paypal` PaymentMethod, this hash contains details about the PayPal payment method.
|
1370
387
|
attr_accessor :paypal
|
1371
|
-
# If this is a `paypay` PaymentMethod, this hash contains details about the PayPay payment method.
|
1372
|
-
attr_accessor :paypay
|
1373
|
-
# If this is a `payto` PaymentMethod, this hash contains details about the PayTo payment method.
|
1374
|
-
attr_accessor :payto
|
1375
388
|
# If this is a `pix` PaymentMethod, this hash contains details about the Pix payment method.
|
1376
389
|
attr_accessor :pix
|
1377
390
|
# If this is a `promptpay` PaymentMethod, this hash contains details about the PromptPay payment method.
|
1378
391
|
attr_accessor :promptpay
|
1379
|
-
# If this is a `qris` PaymentMethod, this hash contains details about the QRIS payment method.
|
1380
|
-
attr_accessor :qris
|
1381
392
|
# Options to configure Radar. See [Radar Session](https://stripe.com/docs/radar/radar-session) for more information.
|
1382
393
|
attr_accessor :radar_options
|
1383
|
-
# If this is a `rechnung` PaymentMethod, this hash contains details about the Rechnung payment method.
|
1384
|
-
attr_accessor :rechnung
|
1385
394
|
# If this is a `revolut_pay` PaymentMethod, this hash contains details about the Revolut Pay payment method.
|
1386
395
|
attr_accessor :revolut_pay
|
1387
396
|
# If this is a `samsung_pay` PaymentMethod, this hash contains details about the SamsungPay payment method.
|
@@ -1390,12 +399,8 @@ module Stripe
|
|
1390
399
|
attr_accessor :satispay
|
1391
400
|
# If this is a `sepa_debit` PaymentMethod, this hash contains details about the SEPA debit bank account.
|
1392
401
|
attr_accessor :sepa_debit
|
1393
|
-
# If this is a Shopeepay PaymentMethod, this hash contains details about the Shopeepay payment method.
|
1394
|
-
attr_accessor :shopeepay
|
1395
402
|
# If this is a `sofort` PaymentMethod, this hash contains details about the SOFORT payment method.
|
1396
403
|
attr_accessor :sofort
|
1397
|
-
# This hash contains details about the Stripe balance payment method.
|
1398
|
-
attr_accessor :stripe_balance
|
1399
404
|
# If this is a `swish` PaymentMethod, this hash contains details about the Swish payment method.
|
1400
405
|
attr_accessor :swish
|
1401
406
|
# If this is a TWINT PaymentMethod, this hash contains details about the TWINT payment method.
|
@@ -1430,9 +435,7 @@ module Stripe
|
|
1430
435
|
eps: nil,
|
1431
436
|
fpx: nil,
|
1432
437
|
giropay: nil,
|
1433
|
-
gopay: nil,
|
1434
438
|
grabpay: nil,
|
1435
|
-
id_bank_transfer: nil,
|
1436
439
|
ideal: nil,
|
1437
440
|
interac_present: nil,
|
1438
441
|
kakao_pay: nil,
|
@@ -1452,20 +455,14 @@ module Stripe
|
|
1452
455
|
payco: nil,
|
1453
456
|
paynow: nil,
|
1454
457
|
paypal: nil,
|
1455
|
-
paypay: nil,
|
1456
|
-
payto: nil,
|
1457
458
|
pix: nil,
|
1458
459
|
promptpay: nil,
|
1459
|
-
qris: nil,
|
1460
460
|
radar_options: nil,
|
1461
|
-
rechnung: nil,
|
1462
461
|
revolut_pay: nil,
|
1463
462
|
samsung_pay: nil,
|
1464
463
|
satispay: nil,
|
1465
464
|
sepa_debit: nil,
|
1466
|
-
shopeepay: nil,
|
1467
465
|
sofort: nil,
|
1468
|
-
stripe_balance: nil,
|
1469
466
|
swish: nil,
|
1470
467
|
twint: nil,
|
1471
468
|
type: nil,
|
@@ -1493,9 +490,7 @@ module Stripe
|
|
1493
490
|
@eps = eps
|
1494
491
|
@fpx = fpx
|
1495
492
|
@giropay = giropay
|
1496
|
-
@gopay = gopay
|
1497
493
|
@grabpay = grabpay
|
1498
|
-
@id_bank_transfer = id_bank_transfer
|
1499
494
|
@ideal = ideal
|
1500
495
|
@interac_present = interac_present
|
1501
496
|
@kakao_pay = kakao_pay
|
@@ -1515,20 +510,14 @@ module Stripe
|
|
1515
510
|
@payco = payco
|
1516
511
|
@paynow = paynow
|
1517
512
|
@paypal = paypal
|
1518
|
-
@paypay = paypay
|
1519
|
-
@payto = payto
|
1520
513
|
@pix = pix
|
1521
514
|
@promptpay = promptpay
|
1522
|
-
@qris = qris
|
1523
515
|
@radar_options = radar_options
|
1524
|
-
@rechnung = rechnung
|
1525
516
|
@revolut_pay = revolut_pay
|
1526
517
|
@samsung_pay = samsung_pay
|
1527
518
|
@satispay = satispay
|
1528
519
|
@sepa_debit = sepa_debit
|
1529
|
-
@shopeepay = shopeepay
|
1530
520
|
@sofort = sofort
|
1531
|
-
@stripe_balance = stripe_balance
|
1532
521
|
@swish = swish
|
1533
522
|
@twint = twint
|
1534
523
|
@type = type
|
@@ -1899,48 +888,6 @@ module Stripe
|
|
1899
888
|
end
|
1900
889
|
end
|
1901
890
|
|
1902
|
-
class StatementDetails < Stripe::RequestParams
|
1903
|
-
class Address < Stripe::RequestParams
|
1904
|
-
# City, district, suburb, town, or village.
|
1905
|
-
attr_accessor :city
|
1906
|
-
# Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)).
|
1907
|
-
attr_accessor :country
|
1908
|
-
# Address line 1, such as the street, PO Box, or company name.
|
1909
|
-
attr_accessor :line1
|
1910
|
-
# Address line 2, such as the apartment, suite, unit, or building.
|
1911
|
-
attr_accessor :line2
|
1912
|
-
# ZIP or postal code.
|
1913
|
-
attr_accessor :postal_code
|
1914
|
-
# State, county, province, or region.
|
1915
|
-
attr_accessor :state
|
1916
|
-
|
1917
|
-
def initialize(
|
1918
|
-
city: nil,
|
1919
|
-
country: nil,
|
1920
|
-
line1: nil,
|
1921
|
-
line2: nil,
|
1922
|
-
postal_code: nil,
|
1923
|
-
state: nil
|
1924
|
-
)
|
1925
|
-
@city = city
|
1926
|
-
@country = country
|
1927
|
-
@line1 = line1
|
1928
|
-
@line2 = line2
|
1929
|
-
@postal_code = postal_code
|
1930
|
-
@state = state
|
1931
|
-
end
|
1932
|
-
end
|
1933
|
-
# Please pass in an address that is within your Stripe user account country
|
1934
|
-
attr_accessor :address
|
1935
|
-
# Phone number (e.g., a toll-free number that customers can call)
|
1936
|
-
attr_accessor :phone
|
1937
|
-
|
1938
|
-
def initialize(address: nil, phone: nil)
|
1939
|
-
@address = address
|
1940
|
-
@phone = phone
|
1941
|
-
end
|
1942
|
-
end
|
1943
|
-
|
1944
891
|
class ThreeDSecure < Stripe::RequestParams
|
1945
892
|
class NetworkOptions < Stripe::RequestParams
|
1946
893
|
class CartesBancaires < Stripe::RequestParams
|
@@ -2035,8 +982,6 @@ module Stripe
|
|
2035
982
|
attr_accessor :moto
|
2036
983
|
# 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.
|
2037
984
|
attr_accessor :network
|
2038
|
-
# Request ability to [decrement the authorization](https://stripe.com/docs/payments/decremental-authorization) for this PaymentIntent.
|
2039
|
-
attr_accessor :request_decremental_authorization
|
2040
985
|
# Request ability to [capture beyond the standard authorization validity window](https://stripe.com/docs/payments/extended-authorization) for this PaymentIntent.
|
2041
986
|
attr_accessor :request_extended_authorization
|
2042
987
|
# Request ability to [increment the authorization](https://stripe.com/docs/payments/incremental-authorization) for this PaymentIntent.
|
@@ -2045,8 +990,6 @@ module Stripe
|
|
2045
990
|
attr_accessor :request_multicapture
|
2046
991
|
# Request ability to [overcapture](https://stripe.com/docs/payments/overcapture) for this PaymentIntent.
|
2047
992
|
attr_accessor :request_overcapture
|
2048
|
-
# Request partial authorization on this PaymentIntent.
|
2049
|
-
attr_accessor :request_partial_authorization
|
2050
993
|
# 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://stripe.com/docs/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://stripe.com/docs/payments/3d-secure/authentication-flow#manual-three-ds) for more information on how this configuration interacts with Radar and our SCA Engine.
|
2051
994
|
attr_accessor :request_three_d_secure
|
2052
995
|
# 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).
|
@@ -2065,8 +1008,6 @@ module Stripe
|
|
2065
1008
|
attr_accessor :statement_descriptor_suffix_kana
|
2066
1009
|
# 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.
|
2067
1010
|
attr_accessor :statement_descriptor_suffix_kanji
|
2068
|
-
# Statement details for this payment intent. You can use this to override the merchant details shown on your customers' statements.
|
2069
|
-
attr_accessor :statement_details
|
2070
1011
|
# If 3D Secure authentication was performed with a third-party provider,
|
2071
1012
|
# the authentication details to use for this payment.
|
2072
1013
|
attr_accessor :three_d_secure
|
@@ -2078,18 +1019,15 @@ module Stripe
|
|
2078
1019
|
mandate_options: nil,
|
2079
1020
|
moto: nil,
|
2080
1021
|
network: nil,
|
2081
|
-
request_decremental_authorization: nil,
|
2082
1022
|
request_extended_authorization: nil,
|
2083
1023
|
request_incremental_authorization: nil,
|
2084
1024
|
request_multicapture: nil,
|
2085
1025
|
request_overcapture: nil,
|
2086
|
-
request_partial_authorization: nil,
|
2087
1026
|
request_three_d_secure: nil,
|
2088
1027
|
require_cvc_recollection: nil,
|
2089
1028
|
setup_future_usage: nil,
|
2090
1029
|
statement_descriptor_suffix_kana: nil,
|
2091
1030
|
statement_descriptor_suffix_kanji: nil,
|
2092
|
-
statement_details: nil,
|
2093
1031
|
three_d_secure: nil
|
2094
1032
|
)
|
2095
1033
|
@capture_method = capture_method
|
@@ -2098,18 +1036,15 @@ module Stripe
|
|
2098
1036
|
@mandate_options = mandate_options
|
2099
1037
|
@moto = moto
|
2100
1038
|
@network = network
|
2101
|
-
@request_decremental_authorization = request_decremental_authorization
|
2102
1039
|
@request_extended_authorization = request_extended_authorization
|
2103
1040
|
@request_incremental_authorization = request_incremental_authorization
|
2104
1041
|
@request_multicapture = request_multicapture
|
2105
1042
|
@request_overcapture = request_overcapture
|
2106
|
-
@request_partial_authorization = request_partial_authorization
|
2107
1043
|
@request_three_d_secure = request_three_d_secure
|
2108
1044
|
@require_cvc_recollection = require_cvc_recollection
|
2109
1045
|
@setup_future_usage = setup_future_usage
|
2110
1046
|
@statement_descriptor_suffix_kana = statement_descriptor_suffix_kana
|
2111
1047
|
@statement_descriptor_suffix_kanji = statement_descriptor_suffix_kanji
|
2112
|
-
@statement_details = statement_details
|
2113
1048
|
@three_d_secure = three_d_secure
|
2114
1049
|
end
|
2115
1050
|
end
|
@@ -2280,23 +1215,6 @@ module Stripe
|
|
2280
1215
|
end
|
2281
1216
|
end
|
2282
1217
|
|
2283
|
-
class Gopay < Stripe::RequestParams
|
2284
|
-
# Indicates that you intend to make future payments with this PaymentIntent's payment method.
|
2285
|
-
#
|
2286
|
-
# 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.
|
2287
|
-
#
|
2288
|
-
# 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.
|
2289
|
-
#
|
2290
|
-
# 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).
|
2291
|
-
#
|
2292
|
-
# 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`.
|
2293
|
-
attr_accessor :setup_future_usage
|
2294
|
-
|
2295
|
-
def initialize(setup_future_usage: nil)
|
2296
|
-
@setup_future_usage = setup_future_usage
|
2297
|
-
end
|
2298
|
-
end
|
2299
|
-
|
2300
1218
|
class Grabpay < Stripe::RequestParams
|
2301
1219
|
# Indicates that you intend to make future payments with this PaymentIntent's payment method.
|
2302
1220
|
#
|
@@ -2314,29 +1232,6 @@ module Stripe
|
|
2314
1232
|
end
|
2315
1233
|
end
|
2316
1234
|
|
2317
|
-
class IdBankTransfer < Stripe::RequestParams
|
2318
|
-
# 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.
|
2319
|
-
attr_accessor :expires_after
|
2320
|
-
# 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.
|
2321
|
-
attr_accessor :expires_at
|
2322
|
-
# Indicates that you intend to make future payments with this PaymentIntent's payment method.
|
2323
|
-
#
|
2324
|
-
# 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.
|
2325
|
-
#
|
2326
|
-
# 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.
|
2327
|
-
#
|
2328
|
-
# 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).
|
2329
|
-
#
|
2330
|
-
# 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`.
|
2331
|
-
attr_accessor :setup_future_usage
|
2332
|
-
|
2333
|
-
def initialize(expires_after: nil, expires_at: nil, setup_future_usage: nil)
|
2334
|
-
@expires_after = expires_after
|
2335
|
-
@expires_at = expires_at
|
2336
|
-
@setup_future_usage = setup_future_usage
|
2337
|
-
end
|
2338
|
-
end
|
2339
|
-
|
2340
1235
|
class Ideal < Stripe::RequestParams
|
2341
1236
|
# Indicates that you intend to make future payments with this PaymentIntent's payment method.
|
2342
1237
|
#
|
@@ -2738,65 +1633,12 @@ module Stripe
|
|
2738
1633
|
end
|
2739
1634
|
|
2740
1635
|
class Paypal < Stripe::RequestParams
|
2741
|
-
class LineItem < Stripe::RequestParams
|
2742
|
-
class Tax < Stripe::RequestParams
|
2743
|
-
# The tax for a single unit of the line item in minor units. Cannot be a negative number.
|
2744
|
-
attr_accessor :amount
|
2745
|
-
# The tax behavior for the line item.
|
2746
|
-
attr_accessor :behavior
|
2747
|
-
|
2748
|
-
def initialize(amount: nil, behavior: nil)
|
2749
|
-
@amount = amount
|
2750
|
-
@behavior = behavior
|
2751
|
-
end
|
2752
|
-
end
|
2753
|
-
# Type of the line item.
|
2754
|
-
attr_accessor :category
|
2755
|
-
# Description of the line item.
|
2756
|
-
attr_accessor :description
|
2757
|
-
# Descriptive name of the line item.
|
2758
|
-
attr_accessor :name
|
2759
|
-
# Quantity of the line item. Must be a positive number.
|
2760
|
-
attr_accessor :quantity
|
2761
|
-
# Client facing stock keeping unit, article number or similar.
|
2762
|
-
attr_accessor :sku
|
2763
|
-
# The Stripe account ID of the connected account that sells the item.
|
2764
|
-
attr_accessor :sold_by
|
2765
|
-
# The tax information for the line item.
|
2766
|
-
attr_accessor :tax
|
2767
|
-
# Price for a single unit of the line item in minor units. Cannot be a negative number.
|
2768
|
-
attr_accessor :unit_amount
|
2769
|
-
|
2770
|
-
def initialize(
|
2771
|
-
category: nil,
|
2772
|
-
description: nil,
|
2773
|
-
name: nil,
|
2774
|
-
quantity: nil,
|
2775
|
-
sku: nil,
|
2776
|
-
sold_by: nil,
|
2777
|
-
tax: nil,
|
2778
|
-
unit_amount: nil
|
2779
|
-
)
|
2780
|
-
@category = category
|
2781
|
-
@description = description
|
2782
|
-
@name = name
|
2783
|
-
@quantity = quantity
|
2784
|
-
@sku = sku
|
2785
|
-
@sold_by = sold_by
|
2786
|
-
@tax = tax
|
2787
|
-
@unit_amount = unit_amount
|
2788
|
-
end
|
2789
|
-
end
|
2790
1636
|
# Controls when the funds will be captured from the customer's account.
|
2791
1637
|
attr_accessor :capture_method
|
2792
|
-
# The line items purchased by the customer.
|
2793
|
-
attr_accessor :line_items
|
2794
1638
|
# [Preferred locale](https://stripe.com/docs/payments/paypal/supported-locales) of the PayPal checkout page that the customer is redirected to.
|
2795
1639
|
attr_accessor :preferred_locale
|
2796
1640
|
# 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.
|
2797
1641
|
attr_accessor :reference
|
2798
|
-
# 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.
|
2799
|
-
attr_accessor :reference_id
|
2800
1642
|
# The risk correlation ID for an on-session payment using a saved PayPal payment method.
|
2801
1643
|
attr_accessor :risk_correlation_id
|
2802
1644
|
# Indicates that you intend to make future payments with this PaymentIntent's payment method.
|
@@ -2809,140 +1651,29 @@ module Stripe
|
|
2809
1651
|
#
|
2810
1652
|
# 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`.
|
2811
1653
|
attr_accessor :setup_future_usage
|
2812
|
-
# 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.
|
2813
|
-
attr_accessor :subsellers
|
2814
1654
|
|
2815
1655
|
def initialize(
|
2816
1656
|
capture_method: nil,
|
2817
|
-
line_items: nil,
|
2818
1657
|
preferred_locale: nil,
|
2819
1658
|
reference: nil,
|
2820
|
-
reference_id: nil,
|
2821
1659
|
risk_correlation_id: nil,
|
2822
|
-
setup_future_usage: nil
|
2823
|
-
subsellers: nil
|
1660
|
+
setup_future_usage: nil
|
2824
1661
|
)
|
2825
1662
|
@capture_method = capture_method
|
2826
|
-
@line_items = line_items
|
2827
1663
|
@preferred_locale = preferred_locale
|
2828
1664
|
@reference = reference
|
2829
|
-
@reference_id = reference_id
|
2830
1665
|
@risk_correlation_id = risk_correlation_id
|
2831
1666
|
@setup_future_usage = setup_future_usage
|
2832
|
-
@subsellers = subsellers
|
2833
|
-
end
|
2834
|
-
end
|
2835
|
-
|
2836
|
-
class Paypay < Stripe::RequestParams
|
2837
|
-
# Controls when the funds are captured from the customer's account.
|
2838
|
-
#
|
2839
|
-
# 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.
|
2840
|
-
#
|
2841
|
-
# 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.
|
2842
|
-
attr_accessor :capture_method
|
2843
|
-
|
2844
|
-
def initialize(capture_method: nil)
|
2845
|
-
@capture_method = capture_method
|
2846
|
-
end
|
2847
|
-
end
|
2848
|
-
|
2849
|
-
class Payto < Stripe::RequestParams
|
2850
|
-
class MandateOptions < Stripe::RequestParams
|
2851
|
-
# Amount that will be collected. It is required when `amount_type` is `fixed`.
|
2852
|
-
attr_accessor :amount
|
2853
|
-
# The type of amount that will be collected. The amount charged must be exact or up to the value of `amount` param for `fixed` or `maximum` type respectively.
|
2854
|
-
attr_accessor :amount_type
|
2855
|
-
# Date, in YYYY-MM-DD format, after which payments will not be collected. Defaults to no end date.
|
2856
|
-
attr_accessor :end_date
|
2857
|
-
# The periodicity at which payments will be collected.
|
2858
|
-
attr_accessor :payment_schedule
|
2859
|
-
# The number of payments that will be made during a payment period. Defaults to 1 except for when `payment_schedule` is `adhoc`. In that case, it defaults to no limit.
|
2860
|
-
attr_accessor :payments_per_period
|
2861
|
-
# The purpose for which payments are made. Defaults to retail.
|
2862
|
-
attr_accessor :purpose
|
2863
|
-
|
2864
|
-
def initialize(
|
2865
|
-
amount: nil,
|
2866
|
-
amount_type: nil,
|
2867
|
-
end_date: nil,
|
2868
|
-
payment_schedule: nil,
|
2869
|
-
payments_per_period: nil,
|
2870
|
-
purpose: nil
|
2871
|
-
)
|
2872
|
-
@amount = amount
|
2873
|
-
@amount_type = amount_type
|
2874
|
-
@end_date = end_date
|
2875
|
-
@payment_schedule = payment_schedule
|
2876
|
-
@payments_per_period = payments_per_period
|
2877
|
-
@purpose = purpose
|
2878
|
-
end
|
2879
|
-
end
|
2880
|
-
# Additional fields for Mandate creation. Only `purpose` field is configurable for PayTo PaymentIntent with `setup_future_usage=none`. Other fields are only applicable to PayTo PaymentIntent with `setup_future_usage=off_session`
|
2881
|
-
attr_accessor :mandate_options
|
2882
|
-
# Indicates that you intend to make future payments with this PaymentIntent's payment method.
|
2883
|
-
#
|
2884
|
-
# 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.
|
2885
|
-
#
|
2886
|
-
# 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.
|
2887
|
-
#
|
2888
|
-
# 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).
|
2889
|
-
#
|
2890
|
-
# 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`.
|
2891
|
-
attr_accessor :setup_future_usage
|
2892
|
-
|
2893
|
-
def initialize(mandate_options: nil, setup_future_usage: nil)
|
2894
|
-
@mandate_options = mandate_options
|
2895
|
-
@setup_future_usage = setup_future_usage
|
2896
1667
|
end
|
2897
1668
|
end
|
2898
1669
|
|
2899
1670
|
class Pix < Stripe::RequestParams
|
2900
|
-
class MandateOptions < Stripe::RequestParams
|
2901
|
-
# Amount to be charged for future payments. Required when `amount_type=fixed`. If not provided for `amount_type=maximum`, defaults to 40000.
|
2902
|
-
attr_accessor :amount
|
2903
|
-
# Determines if the amount includes the IOF tax. Defaults to `never`.
|
2904
|
-
attr_accessor :amount_includes_iof
|
2905
|
-
# Type of amount. Defaults to `maximum`.
|
2906
|
-
attr_accessor :amount_type
|
2907
|
-
# Three-letter [ISO currency code](https://www.iso.org/iso-4217-currency-codes.html), in lowercase. Only `brl` is supported currently.
|
2908
|
-
attr_accessor :currency
|
2909
|
-
# 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.
|
2910
|
-
attr_accessor :end_date
|
2911
|
-
# Schedule at which the future payments will be charged. Defaults to `weekly`.
|
2912
|
-
attr_accessor :payment_schedule
|
2913
|
-
# Subscription name displayed to buyers in their bank app. Defaults to the displayable business name.
|
2914
|
-
attr_accessor :reference
|
2915
|
-
# 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.
|
2916
|
-
attr_accessor :start_date
|
2917
|
-
|
2918
|
-
def initialize(
|
2919
|
-
amount: nil,
|
2920
|
-
amount_includes_iof: nil,
|
2921
|
-
amount_type: nil,
|
2922
|
-
currency: nil,
|
2923
|
-
end_date: nil,
|
2924
|
-
payment_schedule: nil,
|
2925
|
-
reference: nil,
|
2926
|
-
start_date: nil
|
2927
|
-
)
|
2928
|
-
@amount = amount
|
2929
|
-
@amount_includes_iof = amount_includes_iof
|
2930
|
-
@amount_type = amount_type
|
2931
|
-
@currency = currency
|
2932
|
-
@end_date = end_date
|
2933
|
-
@payment_schedule = payment_schedule
|
2934
|
-
@reference = reference
|
2935
|
-
@start_date = start_date
|
2936
|
-
end
|
2937
|
-
end
|
2938
1671
|
# Determines if the amount includes the IOF tax. Defaults to `never`.
|
2939
1672
|
attr_accessor :amount_includes_iof
|
2940
1673
|
# The number of seconds (between 10 and 1209600) after which Pix payment will expire. Defaults to 86400 seconds.
|
2941
1674
|
attr_accessor :expires_after_seconds
|
2942
1675
|
# The timestamp at which the Pix expires (between 10 and 1209600 seconds in the future). Defaults to 1 day in the future.
|
2943
1676
|
attr_accessor :expires_at
|
2944
|
-
# Additional fields for mandate creation. Only applicable when `setup_future_usage=off_session`.
|
2945
|
-
attr_accessor :mandate_options
|
2946
1677
|
# Indicates that you intend to make future payments with this PaymentIntent's payment method.
|
2947
1678
|
#
|
2948
1679
|
# 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.
|
@@ -2958,13 +1689,11 @@ module Stripe
|
|
2958
1689
|
amount_includes_iof: nil,
|
2959
1690
|
expires_after_seconds: nil,
|
2960
1691
|
expires_at: nil,
|
2961
|
-
mandate_options: nil,
|
2962
1692
|
setup_future_usage: nil
|
2963
1693
|
)
|
2964
1694
|
@amount_includes_iof = amount_includes_iof
|
2965
1695
|
@expires_after_seconds = expires_after_seconds
|
2966
1696
|
@expires_at = expires_at
|
2967
|
-
@mandate_options = mandate_options
|
2968
1697
|
@setup_future_usage = setup_future_usage
|
2969
1698
|
end
|
2970
1699
|
end
|
@@ -2986,25 +1715,6 @@ module Stripe
|
|
2986
1715
|
end
|
2987
1716
|
end
|
2988
1717
|
|
2989
|
-
class Qris < Stripe::RequestParams
|
2990
|
-
# Indicates that you intend to make future payments with this PaymentIntent's payment method.
|
2991
|
-
#
|
2992
|
-
# 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.
|
2993
|
-
#
|
2994
|
-
# 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.
|
2995
|
-
#
|
2996
|
-
# 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).
|
2997
|
-
#
|
2998
|
-
# 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`.
|
2999
|
-
attr_accessor :setup_future_usage
|
3000
|
-
|
3001
|
-
def initialize(setup_future_usage: nil)
|
3002
|
-
@setup_future_usage = setup_future_usage
|
3003
|
-
end
|
3004
|
-
end
|
3005
|
-
|
3006
|
-
class Rechnung < Stripe::RequestParams; end
|
3007
|
-
|
3008
1718
|
class RevolutPay < Stripe::RequestParams
|
3009
1719
|
# Controls when the funds are captured from the customer's account.
|
3010
1720
|
#
|
@@ -3084,23 +1794,6 @@ module Stripe
|
|
3084
1794
|
end
|
3085
1795
|
end
|
3086
1796
|
|
3087
|
-
class Shopeepay < Stripe::RequestParams
|
3088
|
-
# Indicates that you intend to make future payments with this PaymentIntent's payment method.
|
3089
|
-
#
|
3090
|
-
# 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.
|
3091
|
-
#
|
3092
|
-
# 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.
|
3093
|
-
#
|
3094
|
-
# 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).
|
3095
|
-
#
|
3096
|
-
# 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`.
|
3097
|
-
attr_accessor :setup_future_usage
|
3098
|
-
|
3099
|
-
def initialize(setup_future_usage: nil)
|
3100
|
-
@setup_future_usage = setup_future_usage
|
3101
|
-
end
|
3102
|
-
end
|
3103
|
-
|
3104
1797
|
class Sofort < Stripe::RequestParams
|
3105
1798
|
# Language shown to the payer on redirect.
|
3106
1799
|
attr_accessor :preferred_language
|
@@ -3121,23 +1814,6 @@ module Stripe
|
|
3121
1814
|
end
|
3122
1815
|
end
|
3123
1816
|
|
3124
|
-
class StripeBalance < Stripe::RequestParams
|
3125
|
-
# Indicates that you intend to make future payments with this PaymentIntent's payment method.
|
3126
|
-
#
|
3127
|
-
# 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.
|
3128
|
-
#
|
3129
|
-
# 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.
|
3130
|
-
#
|
3131
|
-
# 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).
|
3132
|
-
#
|
3133
|
-
# 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`.
|
3134
|
-
attr_accessor :setup_future_usage
|
3135
|
-
|
3136
|
-
def initialize(setup_future_usage: nil)
|
3137
|
-
@setup_future_usage = setup_future_usage
|
3138
|
-
end
|
3139
|
-
end
|
3140
|
-
|
3141
1817
|
class Swish < Stripe::RequestParams
|
3142
1818
|
# A reference for this payment to be displayed in the Swish app.
|
3143
1819
|
attr_accessor :reference
|
@@ -3180,27 +1856,13 @@ module Stripe
|
|
3180
1856
|
class Filters < Stripe::RequestParams
|
3181
1857
|
# The account subcategories to use to filter for selectable accounts. Valid subcategories are `checking` and `savings`.
|
3182
1858
|
attr_accessor :account_subcategories
|
3183
|
-
# ID of the institution to use to filter for selectable accounts.
|
3184
|
-
attr_accessor :institution
|
3185
1859
|
|
3186
|
-
def initialize(account_subcategories: nil
|
1860
|
+
def initialize(account_subcategories: nil)
|
3187
1861
|
@account_subcategories = account_subcategories
|
3188
|
-
@institution = institution
|
3189
|
-
end
|
3190
|
-
end
|
3191
|
-
|
3192
|
-
class ManualEntry < Stripe::RequestParams
|
3193
|
-
# Settings for configuring manual entry of account details.
|
3194
|
-
attr_accessor :mode
|
3195
|
-
|
3196
|
-
def initialize(mode: nil)
|
3197
|
-
@mode = mode
|
3198
1862
|
end
|
3199
1863
|
end
|
3200
1864
|
# Provide filters for the linked accounts that the customer can select for the payment method.
|
3201
1865
|
attr_accessor :filters
|
3202
|
-
# Customize manual entry behavior
|
3203
|
-
attr_accessor :manual_entry
|
3204
1866
|
# 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`.
|
3205
1867
|
attr_accessor :permissions
|
3206
1868
|
# List of data features that you would like to retrieve upon account creation.
|
@@ -3208,15 +1870,8 @@ module Stripe
|
|
3208
1870
|
# 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.
|
3209
1871
|
attr_accessor :return_url
|
3210
1872
|
|
3211
|
-
def initialize(
|
3212
|
-
filters: nil,
|
3213
|
-
manual_entry: nil,
|
3214
|
-
permissions: nil,
|
3215
|
-
prefetch: nil,
|
3216
|
-
return_url: nil
|
3217
|
-
)
|
1873
|
+
def initialize(filters: nil, permissions: nil, prefetch: nil, return_url: nil)
|
3218
1874
|
@filters = filters
|
3219
|
-
@manual_entry = manual_entry
|
3220
1875
|
@permissions = permissions
|
3221
1876
|
@prefetch = prefetch
|
3222
1877
|
@return_url = return_url
|
@@ -3361,12 +2016,8 @@ module Stripe
|
|
3361
2016
|
attr_accessor :fpx
|
3362
2017
|
# If this is a `giropay` PaymentMethod, this sub-hash contains details about the Giropay payment method options.
|
3363
2018
|
attr_accessor :giropay
|
3364
|
-
# If this is a `gopay` PaymentMethod, this sub-hash contains details about the Gopay payment method options.
|
3365
|
-
attr_accessor :gopay
|
3366
2019
|
# If this is a `grabpay` PaymentMethod, this sub-hash contains details about the Grabpay payment method options.
|
3367
2020
|
attr_accessor :grabpay
|
3368
|
-
# If this is a `id_bank_transfer` PaymentMethod, this sub-hash contains details about the Indonesia Bank Transfer payment method options.
|
3369
|
-
attr_accessor :id_bank_transfer
|
3370
2021
|
# If this is a `ideal` PaymentMethod, this sub-hash contains details about the Ideal payment method options.
|
3371
2022
|
attr_accessor :ideal
|
3372
2023
|
# If this is a `interac_present` PaymentMethod, this sub-hash contains details about the Card Present payment method options.
|
@@ -3403,18 +2054,10 @@ module Stripe
|
|
3403
2054
|
attr_accessor :paynow
|
3404
2055
|
# If this is a `paypal` PaymentMethod, this sub-hash contains details about the PayPal payment method options.
|
3405
2056
|
attr_accessor :paypal
|
3406
|
-
# If this is a `paypay` PaymentMethod, this sub-hash contains details about the PayPay payment method options.
|
3407
|
-
attr_accessor :paypay
|
3408
|
-
# If this is a `payto` PaymentMethod, this sub-hash contains details about the PayTo payment method options.
|
3409
|
-
attr_accessor :payto
|
3410
2057
|
# If this is a `pix` PaymentMethod, this sub-hash contains details about the Pix payment method options.
|
3411
2058
|
attr_accessor :pix
|
3412
2059
|
# If this is a `promptpay` PaymentMethod, this sub-hash contains details about the PromptPay payment method options.
|
3413
2060
|
attr_accessor :promptpay
|
3414
|
-
# If this is a `qris` PaymentMethod, this sub-hash contains details about the QRIS payment method options.
|
3415
|
-
attr_accessor :qris
|
3416
|
-
# If this is a `rechnung` PaymentMethod, this sub-hash contains details about the Rechnung payment method options.
|
3417
|
-
attr_accessor :rechnung
|
3418
2061
|
# If this is a `revolut_pay` PaymentMethod, this sub-hash contains details about the Revolut Pay payment method options.
|
3419
2062
|
attr_accessor :revolut_pay
|
3420
2063
|
# If this is a `samsung_pay` PaymentMethod, this sub-hash contains details about the Samsung Pay payment method options.
|
@@ -3423,12 +2066,8 @@ module Stripe
|
|
3423
2066
|
attr_accessor :satispay
|
3424
2067
|
# If this is a `sepa_debit` PaymentIntent, this sub-hash contains details about the SEPA Debit payment method options.
|
3425
2068
|
attr_accessor :sepa_debit
|
3426
|
-
# If this is a `shopeepay` PaymentMethod, this sub-hash contains details about the ShopeePay payment method options.
|
3427
|
-
attr_accessor :shopeepay
|
3428
2069
|
# If this is a `sofort` PaymentMethod, this sub-hash contains details about the SOFORT payment method options.
|
3429
2070
|
attr_accessor :sofort
|
3430
|
-
# If this is a `stripe_balance` PaymentMethod, this sub-hash contains details about the Stripe Balance payment method options.
|
3431
|
-
attr_accessor :stripe_balance
|
3432
2071
|
# If this is a `Swish` PaymentMethod, this sub-hash contains details about the Swish payment method options.
|
3433
2072
|
attr_accessor :swish
|
3434
2073
|
# If this is a `twint` PaymentMethod, this sub-hash contains details about the TWINT payment method options.
|
@@ -3461,9 +2100,7 @@ module Stripe
|
|
3461
2100
|
eps: nil,
|
3462
2101
|
fpx: nil,
|
3463
2102
|
giropay: nil,
|
3464
|
-
gopay: nil,
|
3465
2103
|
grabpay: nil,
|
3466
|
-
id_bank_transfer: nil,
|
3467
2104
|
ideal: nil,
|
3468
2105
|
interac_present: nil,
|
3469
2106
|
kakao_pay: nil,
|
@@ -3482,19 +2119,13 @@ module Stripe
|
|
3482
2119
|
payco: nil,
|
3483
2120
|
paynow: nil,
|
3484
2121
|
paypal: nil,
|
3485
|
-
paypay: nil,
|
3486
|
-
payto: nil,
|
3487
2122
|
pix: nil,
|
3488
2123
|
promptpay: nil,
|
3489
|
-
qris: nil,
|
3490
|
-
rechnung: nil,
|
3491
2124
|
revolut_pay: nil,
|
3492
2125
|
samsung_pay: nil,
|
3493
2126
|
satispay: nil,
|
3494
2127
|
sepa_debit: nil,
|
3495
|
-
shopeepay: nil,
|
3496
2128
|
sofort: nil,
|
3497
|
-
stripe_balance: nil,
|
3498
2129
|
swish: nil,
|
3499
2130
|
twint: nil,
|
3500
2131
|
us_bank_account: nil,
|
@@ -3521,9 +2152,7 @@ module Stripe
|
|
3521
2152
|
@eps = eps
|
3522
2153
|
@fpx = fpx
|
3523
2154
|
@giropay = giropay
|
3524
|
-
@gopay = gopay
|
3525
2155
|
@grabpay = grabpay
|
3526
|
-
@id_bank_transfer = id_bank_transfer
|
3527
2156
|
@ideal = ideal
|
3528
2157
|
@interac_present = interac_present
|
3529
2158
|
@kakao_pay = kakao_pay
|
@@ -3542,19 +2171,13 @@ module Stripe
|
|
3542
2171
|
@payco = payco
|
3543
2172
|
@paynow = paynow
|
3544
2173
|
@paypal = paypal
|
3545
|
-
@paypay = paypay
|
3546
|
-
@payto = payto
|
3547
2174
|
@pix = pix
|
3548
2175
|
@promptpay = promptpay
|
3549
|
-
@qris = qris
|
3550
|
-
@rechnung = rechnung
|
3551
2176
|
@revolut_pay = revolut_pay
|
3552
2177
|
@samsung_pay = samsung_pay
|
3553
2178
|
@satispay = satispay
|
3554
2179
|
@sepa_debit = sepa_debit
|
3555
|
-
@shopeepay = shopeepay
|
3556
2180
|
@sofort = sofort
|
3557
|
-
@stripe_balance = stripe_balance
|
3558
2181
|
@swish = swish
|
3559
2182
|
@twint = twint
|
3560
2183
|
@us_bank_account = us_bank_account
|
@@ -3624,8 +2247,6 @@ module Stripe
|
|
3624
2247
|
end
|
3625
2248
|
# Amount intended to be collected by this PaymentIntent. A positive integer representing how much to charge in the [smallest currency unit](https://stripe.com/docs/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://stripe.com/docs/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).
|
3626
2249
|
attr_accessor :amount
|
3627
|
-
# Provides industry-specific information about the amount.
|
3628
|
-
attr_accessor :amount_details
|
3629
2250
|
# The amount of the application fee (if any) that will be requested to be applied to the payment and transferred to the application owner's Stripe account. The amount of the application fee collected will be capped at the total amount captured. For more information, see the PaymentIntents [use case for connected accounts](https://stripe.com/docs/payments/connected-accounts).
|
3630
2251
|
attr_accessor :application_fee_amount
|
3631
2252
|
# Controls when the funds will be captured from the customer's account.
|
@@ -3638,29 +2259,15 @@ module Stripe
|
|
3638
2259
|
#
|
3639
2260
|
# If [setup_future_usage](https://stripe.com/docs/api#payment_intent_object-setup_future_usage) is set and this PaymentIntent's payment method is not `card_present`, then the payment method attaches to the Customer after the PaymentIntent has been confirmed and any required actions from the user are complete. If the payment method is `card_present` and isn't a digital wallet, then a [generated_card](https://docs.stripe.com/api/charges/object#charge_object-payment_method_details-card_present-generated_card) payment method representing the card is created and attached to the Customer instead.
|
3640
2261
|
attr_accessor :customer
|
3641
|
-
# ID of the Account this PaymentIntent belongs to, if one exists.
|
3642
|
-
#
|
3643
|
-
# Payment methods attached to other Accounts cannot be used with this PaymentIntent.
|
3644
|
-
#
|
3645
|
-
# If [setup_future_usage](https://stripe.com/docs/api#payment_intent_object-setup_future_usage) is set and this PaymentIntent's payment method is not `card_present`, then the payment method attaches to the Account after the PaymentIntent has been confirmed and any required actions from the user are complete. If the payment method is `card_present` and isn't a digital wallet, then a [generated_card](https://docs.stripe.com/api/charges/object#charge_object-payment_method_details-card_present-generated_card) payment method representing the card is created and attached to the Account instead.
|
3646
|
-
attr_accessor :customer_account
|
3647
2262
|
# An arbitrary string attached to the object. Often useful for displaying to users.
|
3648
2263
|
attr_accessor :description
|
3649
2264
|
# The list of payment method types to exclude from use with this payment.
|
3650
2265
|
attr_accessor :excluded_payment_method_types
|
3651
2266
|
# Specifies which fields in the response should be expanded.
|
3652
2267
|
attr_accessor :expand
|
3653
|
-
# The FX rate in the quote is validated and used to convert the presentment amount to the settlement amount.
|
3654
|
-
attr_accessor :fx_quote
|
3655
|
-
# Automations to be run during the PaymentIntent lifecycle
|
3656
|
-
attr_accessor :hooks
|
3657
|
-
# This hash contains details about the Mandate to create.
|
3658
|
-
attr_accessor :mandate_data
|
3659
2268
|
# Set of [key-value pairs](https://stripe.com/docs/api/metadata) that you can attach to an object. This can be useful for storing additional information about the object in a structured format. Individual keys can be unset by posting an empty value to them. All keys can be unset by posting an empty value to `metadata`.
|
3660
2269
|
attr_accessor :metadata
|
3661
|
-
#
|
3662
|
-
attr_accessor :payment_details
|
3663
|
-
# Attribute for param field payment_method
|
2270
|
+
# ID of the payment method (a PaymentMethod, Card, or [compatible Source](https://stripe.com/docs/payments/payment-methods/transitioning#compatibility) object) to attach to this PaymentIntent. To unset this field to null, pass in an empty string.
|
3664
2271
|
attr_accessor :payment_method
|
3665
2272
|
# The ID of the [payment method configuration](https://stripe.com/docs/api/payment_method_configurations) to use with this PaymentIntent.
|
3666
2273
|
attr_accessor :payment_method_configuration
|
@@ -3699,20 +2306,14 @@ module Stripe
|
|
3699
2306
|
|
3700
2307
|
def initialize(
|
3701
2308
|
amount: nil,
|
3702
|
-
amount_details: nil,
|
3703
2309
|
application_fee_amount: nil,
|
3704
2310
|
capture_method: nil,
|
3705
2311
|
currency: nil,
|
3706
2312
|
customer: nil,
|
3707
|
-
customer_account: nil,
|
3708
2313
|
description: nil,
|
3709
2314
|
excluded_payment_method_types: nil,
|
3710
2315
|
expand: nil,
|
3711
|
-
fx_quote: nil,
|
3712
|
-
hooks: nil,
|
3713
|
-
mandate_data: nil,
|
3714
2316
|
metadata: nil,
|
3715
|
-
payment_details: nil,
|
3716
2317
|
payment_method: nil,
|
3717
2318
|
payment_method_configuration: nil,
|
3718
2319
|
payment_method_data: nil,
|
@@ -3727,20 +2328,14 @@ module Stripe
|
|
3727
2328
|
transfer_group: nil
|
3728
2329
|
)
|
3729
2330
|
@amount = amount
|
3730
|
-
@amount_details = amount_details
|
3731
2331
|
@application_fee_amount = application_fee_amount
|
3732
2332
|
@capture_method = capture_method
|
3733
2333
|
@currency = currency
|
3734
2334
|
@customer = customer
|
3735
|
-
@customer_account = customer_account
|
3736
2335
|
@description = description
|
3737
2336
|
@excluded_payment_method_types = excluded_payment_method_types
|
3738
2337
|
@expand = expand
|
3739
|
-
@fx_quote = fx_quote
|
3740
|
-
@hooks = hooks
|
3741
|
-
@mandate_data = mandate_data
|
3742
2338
|
@metadata = metadata
|
3743
|
-
@payment_details = payment_details
|
3744
2339
|
@payment_method = payment_method
|
3745
2340
|
@payment_method_configuration = payment_method_configuration
|
3746
2341
|
@payment_method_data = payment_method_data
|