stripe 13.6.0.pre.beta.1 → 14.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/CHANGELOG.md +699 -1457
- data/OPENAPI_VERSION +1 -1
- data/README.md +29 -0
- data/VERSION +1 -1
- data/lib/stripe/api_requestor.rb +2 -0
- data/lib/stripe/api_version.rb +1 -1
- data/lib/stripe/errors.rb +0 -7
- data/lib/stripe/object_types.rb +0 -26
- data/lib/stripe/resources/account.rb +83 -614
- data/lib/stripe/resources/account_session.rb +1 -247
- data/lib/stripe/resources/apple_pay_domain.rb +0 -9
- data/lib/stripe/resources/application_fee.rb +1 -10
- data/lib/stripe/resources/balance.rb +0 -9
- data/lib/stripe/resources/balance_transaction.rb +2 -11
- data/lib/stripe/resources/bank_account.rb +1 -1
- data/lib/stripe/resources/billing/alert.rb +0 -9
- data/lib/stripe/resources/billing/credit_balance_summary.rb +0 -48
- data/lib/stripe/resources/billing/credit_balance_transaction.rb +0 -9
- data/lib/stripe/resources/billing/credit_grant.rb +4 -13
- data/lib/stripe/resources/billing/meter.rb +1 -10
- data/lib/stripe/resources/billing_portal/configuration.rb +0 -9
- data/lib/stripe/resources/card.rb +2 -4
- data/lib/stripe/resources/charge.rb +35 -1457
- data/lib/stripe/resources/checkout/session.rb +100 -293
- data/lib/stripe/resources/climate/order.rb +0 -9
- data/lib/stripe/resources/climate/product.rb +0 -9
- data/lib/stripe/resources/climate/supplier.rb +0 -9
- data/lib/stripe/resources/confirmation_token.rb +74 -156
- data/lib/stripe/resources/country_spec.rb +0 -9
- data/lib/stripe/resources/coupon.rb +0 -9
- data/lib/stripe/resources/credit_note.rb +14 -35
- data/lib/stripe/resources/credit_note_line_item.rb +14 -12
- data/lib/stripe/resources/customer.rb +12 -28
- data/lib/stripe/resources/customer_balance_transaction.rb +3 -1
- data/lib/stripe/resources/dispute.rb +0 -9
- data/lib/stripe/resources/entitlements/active_entitlement.rb +0 -9
- data/lib/stripe/resources/entitlements/feature.rb +0 -9
- data/lib/stripe/resources/event.rb +0 -40
- data/lib/stripe/resources/exchange_rate.rb +0 -9
- data/lib/stripe/resources/file.rb +0 -9
- data/lib/stripe/resources/file_link.rb +0 -9
- data/lib/stripe/resources/financial_connections/account.rb +0 -23
- data/lib/stripe/resources/financial_connections/session.rb +1 -65
- data/lib/stripe/resources/financial_connections/transaction.rb +0 -9
- data/lib/stripe/resources/forwarding/request.rb +0 -9
- data/lib/stripe/resources/identity/verification_report.rb +0 -9
- data/lib/stripe/resources/identity/verification_session.rb +0 -9
- data/lib/stripe/resources/invoice.rb +225 -5120
- data/lib/stripe/resources/invoice_item.rb +65 -110
- data/lib/stripe/resources/invoice_line_item.rb +106 -89
- data/lib/stripe/resources/invoice_payment.rb +53 -4
- data/lib/stripe/resources/invoice_rendering_template.rb +0 -12
- data/lib/stripe/resources/issuing/authorization.rb +0 -9
- data/lib/stripe/resources/issuing/card.rb +0 -9
- data/lib/stripe/resources/issuing/cardholder.rb +1 -11
- data/lib/stripe/resources/issuing/dispute.rb +0 -9
- data/lib/stripe/resources/issuing/personalization_design.rb +0 -9
- data/lib/stripe/resources/issuing/physical_bundle.rb +0 -9
- data/lib/stripe/resources/issuing/token.rb +0 -9
- data/lib/stripe/resources/issuing/transaction.rb +0 -15
- data/lib/stripe/resources/line_item.rb +0 -28
- data/lib/stripe/resources/mandate.rb +6 -33
- data/lib/stripe/resources/payment_intent.rb +642 -4975
- data/lib/stripe/resources/payment_link.rb +84 -15
- data/lib/stripe/resources/payment_method.rb +74 -187
- data/lib/stripe/resources/payment_method_configuration.rb +87 -214
- data/lib/stripe/resources/payment_method_domain.rb +9 -18
- data/lib/stripe/resources/payout.rb +0 -9
- data/lib/stripe/resources/person.rb +9 -9
- data/lib/stripe/resources/plan.rb +0 -15
- data/lib/stripe/resources/price.rb +2 -47
- data/lib/stripe/resources/product.rb +0 -68
- data/lib/stripe/resources/promotion_code.rb +0 -9
- data/lib/stripe/resources/quote.rb +8 -2037
- data/lib/stripe/resources/radar/early_fraud_warning.rb +0 -9
- data/lib/stripe/resources/radar/value_list.rb +0 -9
- data/lib/stripe/resources/radar/value_list_item.rb +0 -9
- data/lib/stripe/resources/refund.rb +13 -18
- data/lib/stripe/resources/reporting/report_run.rb +0 -9
- data/lib/stripe/resources/reporting/report_type.rb +0 -9
- data/lib/stripe/resources/review.rb +2 -11
- data/lib/stripe/resources/setup_attempt.rb +11 -16
- data/lib/stripe/resources/setup_intent.rb +158 -540
- data/lib/stripe/resources/shipping_rate.rb +0 -9
- data/lib/stripe/resources/sigma/scheduled_query_run.rb +0 -9
- data/lib/stripe/resources/source.rb +0 -41
- data/lib/stripe/resources/subscription.rb +14 -385
- data/lib/stripe/resources/subscription_item.rb +9 -134
- data/lib/stripe/resources/subscription_schedule.rb +14 -1135
- data/lib/stripe/resources/tax/calculation.rb +0 -9
- data/lib/stripe/resources/tax/registration.rb +1 -10
- data/lib/stripe/resources/tax/settings.rb +0 -9
- data/lib/stripe/resources/tax/transaction.rb +0 -9
- data/lib/stripe/resources/tax_code.rb +0 -9
- data/lib/stripe/resources/tax_id.rb +0 -9
- data/lib/stripe/resources/tax_rate.rb +0 -9
- data/lib/stripe/resources/terminal/configuration.rb +214 -14
- data/lib/stripe/resources/terminal/location.rb +0 -9
- data/lib/stripe/resources/terminal/reader.rb +0 -408
- data/lib/stripe/resources/test_helpers/test_clock.rb +0 -9
- data/lib/stripe/resources/token.rb +1 -10
- data/lib/stripe/resources/topup.rb +0 -9
- data/lib/stripe/resources/transfer.rb +0 -9
- data/lib/stripe/resources/treasury/credit_reversal.rb +0 -9
- data/lib/stripe/resources/treasury/debit_reversal.rb +0 -9
- data/lib/stripe/resources/treasury/financial_account.rb +4 -32
- data/lib/stripe/resources/treasury/financial_account_features.rb +0 -2
- data/lib/stripe/resources/treasury/inbound_transfer.rb +0 -9
- data/lib/stripe/resources/treasury/outbound_payment.rb +0 -9
- data/lib/stripe/resources/treasury/outbound_transfer.rb +0 -46
- data/lib/stripe/resources/treasury/received_credit.rb +1 -47
- data/lib/stripe/resources/treasury/received_debit.rb +1 -49
- data/lib/stripe/resources/treasury/transaction.rb +0 -9
- data/lib/stripe/resources/treasury/transaction_entry.rb +0 -9
- data/lib/stripe/resources/v2/event.rb +1 -0
- data/lib/stripe/resources/v2/event_destination.rb +1 -0
- data/lib/stripe/resources/webhook_endpoint.rb +0 -9
- data/lib/stripe/resources.rb +0 -25
- data/lib/stripe/services/account_external_account_service.rb +1 -1
- data/lib/stripe/services/account_service.rb +68 -509
- data/lib/stripe/services/account_session_service.rb +1 -217
- data/lib/stripe/services/balance_transaction_service.rb +1 -1
- data/lib/stripe/services/billing/credit_balance_summary_service.rb +2 -2
- data/lib/stripe/services/billing/credit_grant_service.rb +2 -2
- data/lib/stripe/services/billing/meter_service.rb +1 -1
- data/lib/stripe/services/charge_service.rb +1 -1335
- data/lib/stripe/services/checkout/session_service.rb +60 -168
- data/lib/stripe/services/credit_note_preview_lines_service.rb +0 -4
- data/lib/stripe/services/credit_note_service.rb +0 -8
- data/lib/stripe/services/customer_service.rb +0 -16
- data/lib/stripe/services/financial_connections/account_service.rb +1 -3
- data/lib/stripe/services/financial_connections/session_service.rb +1 -30
- data/lib/stripe/services/financial_connections_service.rb +1 -2
- data/lib/stripe/services/invoice_item_service.rb +34 -88
- data/lib/stripe/services/invoice_line_item_service.rb +25 -41
- data/lib/stripe/services/invoice_payment_service.rb +33 -5
- data/lib/stripe/services/invoice_service.rb +210 -3147
- data/lib/stripe/services/issuing/cardholder_service.rb +1 -2
- data/lib/stripe/services/issuing/transaction_service.rb +0 -4
- data/lib/stripe/services/issuing_service.rb +1 -5
- data/lib/stripe/services/payment_intent_service.rb +568 -4513
- data/lib/stripe/services/payment_link_service.rb +59 -6
- data/lib/stripe/services/payment_method_configuration_service.rb +62 -146
- data/lib/stripe/services/payment_method_domain_service.rb +6 -6
- data/lib/stripe/services/payment_method_service.rb +49 -119
- data/lib/stripe/services/plan_service.rb +0 -4
- data/lib/stripe/services/price_service.rb +2 -25
- data/lib/stripe/services/product_service.rb +0 -38
- data/lib/stripe/services/quote_service.rb +9 -1716
- data/lib/stripe/services/setup_intent_service.rb +158 -492
- data/lib/stripe/services/subscription_item_service.rb +5 -111
- data/lib/stripe/services/subscription_schedule_service.rb +14 -1005
- data/lib/stripe/services/subscription_service.rb +13 -323
- data/lib/stripe/services/tax/registration_service.rb +1 -1
- data/lib/stripe/services/tax_service.rb +1 -3
- data/lib/stripe/services/terminal/configuration_service.rb +170 -4
- data/lib/stripe/services/terminal/reader_service.rb +0 -177
- data/lib/stripe/services/terminal_service.rb +1 -2
- data/lib/stripe/services/test_helpers/confirmation_token_service.rb +49 -87
- data/lib/stripe/services/test_helpers/terminal/reader_service.rb +0 -43
- data/lib/stripe/services/test_helpers/treasury/received_credit_service.rb +1 -25
- data/lib/stripe/services/test_helpers/treasury/received_debit_service.rb +1 -25
- data/lib/stripe/services/token_service.rb +1 -1
- data/lib/stripe/services/treasury/financial_account_features_service.rb +1 -4
- data/lib/stripe/services/treasury/financial_account_service.rb +3 -17
- data/lib/stripe/services/treasury/outbound_transfer_service.rb +0 -24
- data/lib/stripe/services/v1_services.rb +2 -8
- data/lib/stripe/services/v2/core/event_destination_service.rb +1 -4
- data/lib/stripe/services/v2/core/event_service.rb +1 -4
- data/lib/stripe/services.rb +0 -27
- data/lib/stripe/stripe_client.rb +1 -0
- data/lib/stripe/stripe_configuration.rb +1 -3
- data/lib/stripe/util.rb +1 -7
- data/lib/stripe/version.rb +1 -1
- data/lib/stripe.rb +0 -45
- data/rbi/stripe/resources/account.rbi +1131 -1479
- data/rbi/stripe/resources/account_link.rbi +9 -9
- data/rbi/stripe/resources/account_session.rbi +118 -367
- data/rbi/stripe/resources/apple_pay_domain.rbi +8 -15
- data/rbi/stripe/resources/application_fee.rbi +15 -20
- data/rbi/stripe/resources/apps/secret.rbi +20 -20
- data/rbi/stripe/resources/balance.rbi +0 -7
- data/rbi/stripe/resources/balance_transaction.rbi +19 -24
- data/rbi/stripe/resources/bank_account.rbi +1 -1
- data/rbi/stripe/resources/billing/alert.rbi +23 -28
- data/rbi/stripe/resources/billing/credit_balance_summary.rbi +0 -53
- data/rbi/stripe/resources/billing/credit_balance_transaction.rbi +6 -13
- data/rbi/stripe/resources/billing/credit_grant.rbi +30 -37
- data/rbi/stripe/resources/billing/meter.rbi +19 -26
- data/rbi/stripe/resources/billing/meter_event.rbi +4 -4
- data/rbi/stripe/resources/billing/meter_event_adjustment.rbi +5 -5
- data/rbi/stripe/resources/billing_portal/configuration.rbi +86 -81
- data/rbi/stripe/resources/billing_portal/session.rbi +31 -27
- data/rbi/stripe/resources/card.rbi +2 -5
- data/rbi/stripe/resources/charge.rbi +136 -1576
- data/rbi/stripe/resources/checkout/session.rbi +631 -748
- data/rbi/stripe/resources/climate/order.rbi +20 -25
- data/rbi/stripe/resources/climate/product.rbi +5 -12
- data/rbi/stripe/resources/climate/supplier.rbi +5 -12
- data/rbi/stripe/resources/confirmation_token.rbi +274 -268
- data/rbi/stripe/resources/country_spec.rbi +5 -12
- data/rbi/stripe/resources/coupon.rbi +34 -39
- data/rbi/stripe/resources/credit_note.rbi +134 -146
- data/rbi/stripe/resources/credit_note_line_item.rbi +20 -18
- data/rbi/stripe/resources/customer.rbi +172 -164
- data/rbi/stripe/resources/customer_balance_transaction.rbi +4 -1
- data/rbi/stripe/resources/customer_session.rbi +19 -15
- data/rbi/stripe/resources/dispute.rbi +92 -95
- data/rbi/stripe/resources/entitlements/active_entitlement.rbi +5 -12
- data/rbi/stripe/resources/entitlements/feature.rbi +15 -22
- data/rbi/stripe/resources/ephemeral_key.rbi +2 -2
- data/rbi/stripe/resources/event.rbi +16 -60
- data/rbi/stripe/resources/exchange_rate.rbi +5 -12
- data/rbi/stripe/resources/file.rbi +20 -25
- data/rbi/stripe/resources/file_link.rbi +23 -28
- data/rbi/stripe/resources/financial_connections/account.rbi +25 -44
- data/rbi/stripe/resources/financial_connections/session.rbi +12 -75
- data/rbi/stripe/resources/financial_connections/transaction.rbi +16 -19
- data/rbi/stripe/resources/forwarding/request.rbi +21 -24
- data/rbi/stripe/resources/identity/verification_report.rbi +18 -21
- data/rbi/stripe/resources/identity/verification_session.rbi +60 -61
- data/rbi/stripe/resources/invoice.rbi +723 -5918
- data/rbi/stripe/resources/invoice_item.rbi +138 -177
- data/rbi/stripe/resources/invoice_line_item.rbi +199 -264
- data/rbi/stripe/resources/invoice_payment.rbi +51 -7
- data/rbi/stripe/resources/invoice_rendering_template.rbi +10 -20
- data/rbi/stripe/resources/issuing/authorization.rbi +216 -199
- data/rbi/stripe/resources/issuing/card.rbi +104 -101
- data/rbi/stripe/resources/issuing/cardholder.rbi +120 -108
- data/rbi/stripe/resources/issuing/dispute.rbi +164 -151
- data/rbi/stripe/resources/issuing/personalization_design.rbi +61 -56
- data/rbi/stripe/resources/issuing/physical_bundle.rbi +7 -14
- data/rbi/stripe/resources/issuing/token.rbi +16 -21
- data/rbi/stripe/resources/issuing/transaction.rbi +180 -176
- data/rbi/stripe/resources/line_item.rbi +0 -36
- data/rbi/stripe/resources/mandate.rbi +8 -40
- data/rbi/stripe/resources/payment_intent.rbi +2252 -6482
- data/rbi/stripe/resources/payment_link.rbi +346 -211
- data/rbi/stripe/resources/payment_method.rbi +226 -330
- data/rbi/stripe/resources/payment_method_configuration.rbi +602 -685
- data/rbi/stripe/resources/payment_method_domain.rbi +26 -31
- data/rbi/stripe/resources/payout.rbi +43 -42
- data/rbi/stripe/resources/person.rbi +9 -9
- data/rbi/stripe/resources/plan.rbi +51 -63
- data/rbi/stripe/resources/price.rbi +114 -151
- data/rbi/stripe/resources/product.rbi +90 -152
- data/rbi/stripe/resources/promotion_code.rbi +42 -47
- data/rbi/stripe/resources/quote.rbi +168 -2231
- data/rbi/stripe/resources/radar/early_fraud_warning.rbi +17 -20
- data/rbi/stripe/resources/radar/value_list.rbi +24 -29
- data/rbi/stripe/resources/radar/value_list_item.rbi +18 -21
- data/rbi/stripe/resources/refund.rbi +52 -51
- data/rbi/stripe/resources/reporting/report_run.rbi +27 -30
- data/rbi/stripe/resources/reporting/report_type.rbi +2 -9
- data/rbi/stripe/resources/review.rbi +17 -22
- data/rbi/stripe/resources/setup_attempt.rbi +25 -32
- data/rbi/stripe/resources/setup_intent.rbi +900 -1102
- data/rbi/stripe/resources/shipping_rate.rbi +41 -46
- data/rbi/stripe/resources/sigma/scheduled_query_run.rbi +5 -12
- data/rbi/stripe/resources/source.rbi +132 -179
- data/rbi/stripe/resources/subscription.rbi +363 -707
- data/rbi/stripe/resources/subscription_item.rbi +69 -177
- data/rbi/stripe/resources/subscription_schedule.rbi +289 -1447
- data/rbi/stripe/resources/tax/calculation.rbi +43 -48
- data/rbi/stripe/resources/tax/registration.rbi +217 -170
- data/rbi/stripe/resources/tax/settings.rbi +14 -21
- data/rbi/stripe/resources/tax/transaction.rbi +20 -25
- data/rbi/stripe/resources/tax_code.rbi +5 -12
- data/rbi/stripe/resources/tax_id.rbi +15 -22
- data/rbi/stripe/resources/tax_rate.rbi +34 -39
- data/rbi/stripe/resources/terminal/configuration.rbi +457 -212
- data/rbi/stripe/resources/terminal/connection_token.rbi +3 -3
- data/rbi/stripe/resources/terminal/location.rbi +28 -35
- data/rbi/stripe/resources/terminal/reader.rbi +71 -441
- data/rbi/stripe/resources/test_helpers/test_clock.rbi +12 -17
- data/rbi/stripe/resources/token.rbi +288 -263
- data/rbi/stripe/resources/topup.rbi +35 -38
- data/rbi/stripe/resources/transfer.rbi +27 -32
- data/rbi/stripe/resources/treasury/credit_reversal.rbi +10 -17
- data/rbi/stripe/resources/treasury/debit_reversal.rbi +11 -18
- data/rbi/stripe/resources/treasury/financial_account.rbi +125 -130
- data/rbi/stripe/resources/treasury/financial_account_features.rbi +0 -3
- data/rbi/stripe/resources/treasury/inbound_transfer.rbi +22 -29
- data/rbi/stripe/resources/treasury/outbound_payment.rbi +82 -79
- data/rbi/stripe/resources/treasury/outbound_transfer.rbi +44 -86
- data/rbi/stripe/resources/treasury/received_credit.rbi +18 -64
- data/rbi/stripe/resources/treasury/received_debit.rbi +17 -66
- data/rbi/stripe/resources/treasury/transaction.rbi +27 -28
- data/rbi/stripe/resources/treasury/transaction_entry.rbi +25 -26
- data/rbi/stripe/resources/v2/amount.rbi +1 -1
- data/rbi/stripe/resources/v2/event.rbi +1 -0
- data/rbi/stripe/resources/v2/event_destination.rbi +1 -0
- data/rbi/stripe/resources/webhook_endpoint.rbi +18 -25
- data/rbi/stripe/services/account_capability_service.rbi +7 -7
- data/rbi/stripe/services/account_external_account_service.rbi +52 -52
- data/rbi/stripe/services/account_link_service.rbi +9 -9
- data/rbi/stripe/services/account_login_link_service.rbi +2 -2
- data/rbi/stripe/services/account_person_service.rbi +221 -201
- data/rbi/stripe/services/account_service.rbi +1221 -1345
- data/rbi/stripe/services/account_session_service.rbi +115 -346
- data/rbi/stripe/services/apple_pay_domain_service.rbi +10 -10
- data/rbi/stripe/services/application_fee_refund_service.rbi +16 -14
- data/rbi/stripe/services/application_fee_service.rbi +18 -14
- data/rbi/stripe/services/apps/secret_service.rbi +20 -20
- data/rbi/stripe/services/balance_service.rbi +2 -2
- data/rbi/stripe/services/balance_transaction_service.rbi +22 -18
- data/rbi/stripe/services/billing/alert_service.rbi +23 -23
- data/rbi/stripe/services/billing/credit_balance_summary_service.rbi +10 -10
- data/rbi/stripe/services/billing/credit_balance_transaction_service.rbi +8 -8
- data/rbi/stripe/services/billing/credit_grant_service.rbi +32 -30
- data/rbi/stripe/services/billing/meter_event_adjustment_service.rbi +7 -5
- data/rbi/stripe/services/billing/meter_event_service.rbi +4 -4
- data/rbi/stripe/services/billing/meter_event_summary_service.rbi +6 -6
- data/rbi/stripe/services/billing/meter_service.rbi +21 -21
- data/rbi/stripe/services/billing_portal/configuration_service.rbi +90 -76
- data/rbi/stripe/services/billing_portal/session_service.rbi +29 -27
- data/rbi/stripe/services/charge_service.rbi +96 -1464
- data/rbi/stripe/services/checkout/session_line_item_service.rbi +5 -5
- data/rbi/stripe/services/checkout/session_service.rbi +555 -591
- data/rbi/stripe/services/climate/order_service.rbi +22 -20
- data/rbi/stripe/services/climate/product_service.rbi +7 -7
- data/rbi/stripe/services/climate/supplier_service.rbi +7 -7
- data/rbi/stripe/services/confirmation_token_service.rbi +2 -2
- data/rbi/stripe/services/country_spec_service.rbi +7 -7
- data/rbi/stripe/services/coupon_service.rbi +40 -34
- data/rbi/stripe/services/credit_note_line_item_service.rbi +5 -5
- data/rbi/stripe/services/credit_note_preview_lines_service.rbi +35 -35
- data/rbi/stripe/services/credit_note_service.rbi +81 -85
- data/rbi/stripe/services/customer_balance_transaction_service.rbi +15 -15
- data/rbi/stripe/services/customer_cash_balance_service.rbi +7 -7
- data/rbi/stripe/services/customer_cash_balance_transaction_service.rbi +7 -7
- data/rbi/stripe/services/customer_funding_instructions_service.rbi +5 -5
- data/rbi/stripe/services/customer_payment_method_service.rbi +9 -9
- data/rbi/stripe/services/customer_payment_source_service.rbi +48 -44
- data/rbi/stripe/services/customer_service.rbi +143 -139
- data/rbi/stripe/services/customer_session_service.rbi +21 -15
- data/rbi/stripe/services/customer_tax_id_service.rbi +9 -9
- data/rbi/stripe/services/dispute_service.rbi +92 -90
- data/rbi/stripe/services/entitlements/active_entitlement_service.rbi +7 -7
- data/rbi/stripe/services/entitlements/feature_service.rbi +17 -17
- data/rbi/stripe/services/ephemeral_key_service.rbi +8 -8
- data/rbi/stripe/services/event_service.rbi +18 -16
- data/rbi/stripe/services/exchange_rate_service.rbi +7 -7
- data/rbi/stripe/services/file_link_service.rbi +25 -23
- data/rbi/stripe/services/file_service.rbi +22 -20
- data/rbi/stripe/services/financial_connections/account_owner_service.rbi +5 -5
- data/rbi/stripe/services/financial_connections/account_service.rbi +22 -21
- data/rbi/stripe/services/financial_connections/session_service.rbi +16 -39
- data/rbi/stripe/services/financial_connections/transaction_service.rbi +16 -14
- data/rbi/stripe/services/financial_connections_service.rbi +0 -1
- data/rbi/stripe/services/forwarding/request_service.rbi +21 -19
- data/rbi/stripe/services/identity/verification_report_service.rbi +18 -16
- data/rbi/stripe/services/identity/verification_session_service.rbi +62 -56
- data/rbi/stripe/services/invoice_item_service.rbi +99 -155
- data/rbi/stripe/services/invoice_line_item_service.rbi +71 -82
- data/rbi/stripe/services/invoice_payment_service.rbi +39 -12
- data/rbi/stripe/services/invoice_rendering_template_service.rbi +13 -13
- data/rbi/stripe/services/invoice_service.rbi +679 -3799
- data/rbi/stripe/services/issuing/authorization_service.rbi +32 -26
- data/rbi/stripe/services/issuing/card_service.rbi +102 -86
- data/rbi/stripe/services/issuing/cardholder_service.rbi +122 -103
- data/rbi/stripe/services/issuing/dispute_service.rbi +152 -146
- data/rbi/stripe/services/issuing/personalization_design_service.rbi +52 -42
- data/rbi/stripe/services/issuing/physical_bundle_service.rbi +9 -9
- data/rbi/stripe/services/issuing/token_service.rbi +20 -16
- data/rbi/stripe/services/issuing/transaction_service.rbi +25 -23
- data/rbi/stripe/services/issuing_service.rbi +0 -3
- data/rbi/stripe/services/mandate_service.rbi +2 -2
- data/rbi/stripe/services/payment_intent_service.rbi +2312 -6081
- data/rbi/stripe/services/payment_link_line_item_service.rbi +5 -5
- data/rbi/stripe/services/payment_link_service.rbi +303 -201
- data/rbi/stripe/services/payment_method_configuration_service.rbi +616 -620
- data/rbi/stripe/services/payment_method_domain_service.rbi +25 -23
- data/rbi/stripe/services/payment_method_service.rbi +192 -249
- data/rbi/stripe/services/payout_service.rbi +45 -37
- data/rbi/stripe/services/plan_service.rbi +53 -55
- data/rbi/stripe/services/price_service.rbi +124 -129
- data/rbi/stripe/services/product_feature_service.rbi +9 -9
- data/rbi/stripe/services/product_service.rbi +94 -122
- data/rbi/stripe/services/promotion_code_service.rbi +46 -42
- data/rbi/stripe/services/quote_computed_upfront_line_items_service.rbi +5 -5
- data/rbi/stripe/services/quote_line_item_service.rbi +5 -5
- data/rbi/stripe/services/quote_service.rbi +159 -1863
- data/rbi/stripe/services/radar/early_fraud_warning_service.rbi +17 -15
- data/rbi/stripe/services/radar/value_list_item_service.rbi +20 -16
- data/rbi/stripe/services/radar/value_list_service.rbi +28 -24
- data/rbi/stripe/services/refund_service.rbi +37 -33
- data/rbi/stripe/services/reporting/report_run_service.rbi +29 -25
- data/rbi/stripe/services/reporting/report_type_service.rbi +4 -4
- data/rbi/stripe/services/review_service.rbi +17 -15
- data/rbi/stripe/services/setup_attempt_service.rbi +13 -11
- data/rbi/stripe/services/setup_intent_service.rbi +1028 -1062
- data/rbi/stripe/services/shipping_rate_service.rbi +47 -41
- data/rbi/stripe/services/sigma/scheduled_query_run_service.rbi +7 -7
- data/rbi/stripe/services/source_service.rbi +149 -133
- data/rbi/stripe/services/source_transaction_service.rbi +5 -5
- data/rbi/stripe/services/subscription_item_service.rbi +61 -159
- data/rbi/stripe/services/subscription_schedule_service.rbi +289 -1305
- data/rbi/stripe/services/subscription_service.rbi +366 -640
- data/rbi/stripe/services/tax/calculation_line_item_service.rbi +5 -5
- data/rbi/stripe/services/tax/calculation_service.rbi +40 -38
- data/rbi/stripe/services/tax/registration_service.rbi +337 -165
- data/rbi/stripe/services/tax/settings_service.rbi +16 -16
- data/rbi/stripe/services/tax/transaction_line_item_service.rbi +5 -5
- data/rbi/stripe/services/tax/transaction_service.rbi +19 -15
- data/rbi/stripe/services/tax_code_service.rbi +7 -7
- data/rbi/stripe/services/tax_id_service.rbi +17 -17
- data/rbi/stripe/services/tax_rate_service.rbi +36 -34
- data/rbi/stripe/services/tax_service.rbi +0 -2
- data/rbi/stripe/services/terminal/configuration_service.rbi +464 -204
- data/rbi/stripe/services/terminal/connection_token_service.rbi +3 -3
- data/rbi/stripe/services/terminal/location_service.rbi +30 -30
- data/rbi/stripe/services/terminal/reader_service.rbi +57 -226
- data/rbi/stripe/services/terminal_service.rbi +0 -1
- data/rbi/stripe/services/test_helpers/confirmation_token_service.rbi +157 -198
- data/rbi/stripe/services/test_helpers/customer_service.rbi +3 -3
- data/rbi/stripe/services/test_helpers/issuing/authorization_service.rbi +180 -168
- data/rbi/stripe/services/test_helpers/issuing/card_service.rbi +10 -10
- data/rbi/stripe/services/test_helpers/issuing/personalization_design_service.rbi +11 -9
- data/rbi/stripe/services/test_helpers/issuing/transaction_service.rbi +151 -145
- data/rbi/stripe/services/test_helpers/refund_service.rbi +2 -2
- data/rbi/stripe/services/test_helpers/terminal/reader_service.rbi +10 -39
- data/rbi/stripe/services/test_helpers/test_clock_service.rbi +14 -12
- data/rbi/stripe/services/test_helpers/treasury/inbound_transfer_service.rbi +9 -9
- data/rbi/stripe/services/test_helpers/treasury/outbound_payment_service.rbi +20 -18
- data/rbi/stripe/services/test_helpers/treasury/outbound_transfer_service.rbi +20 -18
- data/rbi/stripe/services/test_helpers/treasury/received_credit_service.rbi +11 -38
- data/rbi/stripe/services/test_helpers/treasury/received_debit_service.rbi +11 -38
- data/rbi/stripe/services/token_service.rbi +292 -258
- data/rbi/stripe/services/topup_service.rbi +37 -33
- data/rbi/stripe/services/transfer_reversal_service.rbi +18 -16
- data/rbi/stripe/services/transfer_service.rbi +29 -27
- data/rbi/stripe/services/treasury/credit_reversal_service.rbi +12 -12
- data/rbi/stripe/services/treasury/debit_reversal_service.rbi +13 -13
- data/rbi/stripe/services/treasury/financial_account_features_service.rbi +23 -26
- data/rbi/stripe/services/treasury/financial_account_service.rbi +92 -96
- data/rbi/stripe/services/treasury/inbound_transfer_service.rbi +15 -15
- data/rbi/stripe/services/treasury/outbound_payment_service.rbi +60 -56
- data/rbi/stripe/services/treasury/outbound_transfer_service.rbi +24 -49
- data/rbi/stripe/services/treasury/received_credit_service.rbi +11 -9
- data/rbi/stripe/services/treasury/received_debit_service.rbi +8 -8
- data/rbi/stripe/services/treasury/transaction_entry_service.rbi +25 -21
- data/rbi/stripe/services/treasury/transaction_service.rbi +31 -23
- data/rbi/stripe/services/v1_services.rbi +1 -7
- data/rbi/stripe/services/v2/billing/meter_event_service.rbi +3 -3
- data/rbi/stripe/services/v2/billing/meter_event_stream_service.rbi +3 -3
- data/rbi/stripe/services/v2/core/event_destination_service.rbi +21 -24
- data/rbi/stripe/services/v2/core/event_service.rbi +3 -6
- data/rbi/stripe/services/webhook_endpoint_service.rbi +20 -20
- metadata +4 -109
- data/lib/stripe/request_signing_authenticator.rb +0 -79
- data/lib/stripe/resources/account_notice.rb +0 -132
- data/lib/stripe/resources/billing/meter_error_report.rb +0 -59
- data/lib/stripe/resources/capital/financing_offer.rb +0 -188
- data/lib/stripe/resources/capital/financing_summary.rb +0 -64
- data/lib/stripe/resources/capital/financing_transaction.rb +0 -123
- data/lib/stripe/resources/financial_connections/account_inferred_balance.rb +0 -27
- data/lib/stripe/resources/financial_connections/institution.rb +0 -99
- data/lib/stripe/resources/gift_cards/card.rb +0 -217
- data/lib/stripe/resources/gift_cards/transaction.rb +0 -281
- data/lib/stripe/resources/issuing/credit_underwriting_record.rb +0 -611
- data/lib/stripe/resources/issuing/dispute_settlement_detail.rb +0 -84
- data/lib/stripe/resources/issuing/fraud_liability_debit.rb +0 -95
- data/lib/stripe/resources/issuing/settlement.rb +0 -49
- data/lib/stripe/resources/margin.rb +0 -124
- data/lib/stripe/resources/order.rb +0 -2868
- data/lib/stripe/resources/payment_attempt_record.rb +0 -184
- data/lib/stripe/resources/payment_record.rb +0 -715
- data/lib/stripe/resources/quote_line.rb +0 -274
- data/lib/stripe/resources/quote_preview_invoice.rb +0 -652
- data/lib/stripe/resources/quote_preview_subscription_schedule.rb +0 -362
- data/lib/stripe/resources/tax/association.rb +0 -89
- data/lib/stripe/resources/tax/form.rb +0 -220
- data/lib/stripe/resources/terminal/reader_collected_data.rb +0 -40
- data/lib/stripe/resources/usage_record.rb +0 -30
- data/lib/stripe/resources/usage_record_summary.rb +0 -33
- data/lib/stripe/services/account_notice_service.rb +0 -101
- data/lib/stripe/services/capital/financing_offer_service.rb +0 -112
- data/lib/stripe/services/capital/financing_summary_service.rb +0 -28
- data/lib/stripe/services/capital/financing_transaction_service.rb +0 -79
- data/lib/stripe/services/capital_service.rb +0 -15
- data/lib/stripe/services/financial_connections/account_inferred_balance_service.rb +0 -37
- data/lib/stripe/services/financial_connections/institution_service.rb +0 -57
- data/lib/stripe/services/gift_cards/card_service.rb +0 -170
- data/lib/stripe/services/gift_cards/transaction_service.rb +0 -209
- data/lib/stripe/services/gift_cards_service.rb +0 -14
- data/lib/stripe/services/invoice_upcoming_lines_service.rb +0 -1881
- data/lib/stripe/services/issuing/credit_underwriting_record_service.rb +0 -504
- data/lib/stripe/services/issuing/dispute_settlement_detail_service.rb +0 -66
- data/lib/stripe/services/issuing/fraud_liability_debit_service.rb +0 -83
- data/lib/stripe/services/margin_service.rb +0 -119
- data/lib/stripe/services/order_line_item_service.rb +0 -35
- data/lib/stripe/services/order_service.rb +0 -2268
- data/lib/stripe/services/payment_attempt_record_service.rb +0 -49
- data/lib/stripe/services/payment_record_service.rb +0 -542
- data/lib/stripe/services/quote_line_service.rb +0 -35
- data/lib/stripe/services/quote_preview_invoice_service.rb +0 -35
- data/lib/stripe/services/quote_preview_subscription_schedule_service.rb +0 -35
- data/lib/stripe/services/subscription_item_usage_record_service.rb +0 -41
- data/lib/stripe/services/subscription_item_usage_record_summary_service.rb +0 -37
- data/lib/stripe/services/tax/association_service.rb +0 -31
- data/lib/stripe/services/tax/form_service.rb +0 -100
- data/lib/stripe/services/terminal/reader_collected_data_service.rb +0 -28
- data/rbi/stripe/resources/account_notice.rbi +0 -139
- data/rbi/stripe/resources/billing/meter_error_report.rbi +0 -71
- data/rbi/stripe/resources/capital/financing_offer.rbi +0 -190
- data/rbi/stripe/resources/capital/financing_summary.rbi +0 -74
- data/rbi/stripe/resources/capital/financing_transaction.rbi +0 -130
- data/rbi/stripe/resources/financial_connections/account_inferred_balance.rbi +0 -27
- data/rbi/stripe/resources/financial_connections/institution.rbi +0 -99
- data/rbi/stripe/resources/gift_cards/card.rbi +0 -206
- data/rbi/stripe/resources/gift_cards/transaction.rbi +0 -257
- data/rbi/stripe/resources/issuing/credit_underwriting_record.rbi +0 -622
- data/rbi/stripe/resources/issuing/dispute_settlement_detail.rbi +0 -83
- data/rbi/stripe/resources/issuing/fraud_liability_debit.rbi +0 -90
- data/rbi/stripe/resources/issuing/settlement.rbi +0 -62
- data/rbi/stripe/resources/margin.rbi +0 -127
- data/rbi/stripe/resources/order.rbi +0 -3036
- data/rbi/stripe/resources/payment_attempt_record.rbi +0 -215
- data/rbi/stripe/resources/payment_record.rbi +0 -722
- data/rbi/stripe/resources/quote_line.rbi +0 -350
- data/rbi/stripe/resources/quote_preview_invoice.rbi +0 -850
- data/rbi/stripe/resources/quote_preview_subscription_schedule.rbi +0 -474
- data/rbi/stripe/resources/tax/association.rbi +0 -94
- data/rbi/stripe/resources/tax/form.rbi +0 -224
- data/rbi/stripe/resources/terminal/reader_collected_data.rbi +0 -41
- data/rbi/stripe/resources/usage_record.rbi +0 -32
- data/rbi/stripe/resources/usage_record_summary.rbi +0 -38
- data/rbi/stripe/services/account_notice_service.rbi +0 -90
- data/rbi/stripe/services/capital/financing_offer_service.rbi +0 -95
- data/rbi/stripe/services/capital/financing_summary_service.rbi +0 -22
- data/rbi/stripe/services/capital/financing_transaction_service.rbi +0 -68
- data/rbi/stripe/services/capital_service.rbi +0 -11
- data/rbi/stripe/services/financial_connections/account_inferred_balance_service.rbi +0 -33
- data/rbi/stripe/services/financial_connections/institution_service.rbi +0 -46
- data/rbi/stripe/services/gift_cards/card_service.rbi +0 -142
- data/rbi/stripe/services/gift_cards/transaction_service.rbi +0 -174
- data/rbi/stripe/services/gift_cards_service.rbi +0 -10
- data/rbi/stripe/services/invoice_upcoming_lines_service.rbi +0 -2023
- data/rbi/stripe/services/issuing/credit_underwriting_record_service.rbi +0 -498
- data/rbi/stripe/services/issuing/dispute_settlement_detail_service.rbi +0 -55
- data/rbi/stripe/services/issuing/fraud_liability_debit_service.rbi +0 -73
- data/rbi/stripe/services/margin_service.rbi +0 -104
- data/rbi/stripe/services/order_line_item_service.rbi +0 -31
- data/rbi/stripe/services/order_service.rbi +0 -2320
- data/rbi/stripe/services/payment_attempt_record_service.rbi +0 -36
- data/rbi/stripe/services/payment_record_service.rbi +0 -521
- data/rbi/stripe/services/quote_line_service.rbi +0 -31
- data/rbi/stripe/services/quote_preview_invoice_service.rbi +0 -31
- data/rbi/stripe/services/quote_preview_subscription_schedule_service.rbi +0 -31
- data/rbi/stripe/services/subscription_item_usage_record_service.rbi +0 -37
- data/rbi/stripe/services/subscription_item_usage_record_summary_service.rbi +0 -33
- data/rbi/stripe/services/tax/association_service.rbi +0 -25
- data/rbi/stripe/services/tax/form_service.rbi +0 -85
- data/rbi/stripe/services/terminal/reader_collected_data_service.rbi +0 -22
@@ -182,8 +182,6 @@ module Stripe
|
|
182
182
|
class Card < Stripe::StripeObject
|
183
183
|
# Card brand. Can be `amex`, `diners`, `discover`, `eftpos_au`, `jcb`, `link`, `mastercard`, `unionpay`, `visa`, or `unknown`.
|
184
184
|
attr_reader :brand
|
185
|
-
# The [product code](https://stripe.com/docs/card-product-codes) that identifies the specific program or product associated with a card. (For internal use only and not typically available in standard API requests.)
|
186
|
-
attr_reader :brand_product
|
187
185
|
# Two-letter ISO code representing the country of the card. You could use this attribute to get a sense of the international breakdown of cards you've collected.
|
188
186
|
attr_reader :country
|
189
187
|
# Two-digit number representing the card's expiration month.
|
@@ -247,6 +245,8 @@ module Stripe
|
|
247
245
|
attr_reader :verified_name
|
248
246
|
end
|
249
247
|
|
248
|
+
class Billie < Stripe::StripeObject; end
|
249
|
+
|
250
250
|
class Blik < Stripe::StripeObject
|
251
251
|
# A unique and immutable identifier assigned by BLIK to every buyer.
|
252
252
|
attr_reader :buyer_id
|
@@ -267,11 +267,6 @@ module Stripe
|
|
267
267
|
attr_reader :cvc_check
|
268
268
|
end
|
269
269
|
|
270
|
-
class DecrementalAuthorization < Stripe::StripeObject
|
271
|
-
# Indicates whether or not the decremental authorization feature is supported.
|
272
|
-
attr_reader :status
|
273
|
-
end
|
274
|
-
|
275
270
|
class ExtendedAuthorization < Stripe::StripeObject
|
276
271
|
# Indicates whether or not the capture window is extended beyond the standard authorization.
|
277
272
|
attr_reader :status
|
@@ -313,11 +308,6 @@ module Stripe
|
|
313
308
|
attr_reader :status
|
314
309
|
end
|
315
310
|
|
316
|
-
class PartialAuthorization < Stripe::StripeObject
|
317
|
-
# Indicates whether the transaction requested for partial authorization feature and the authorization outcome.
|
318
|
-
attr_reader :status
|
319
|
-
end
|
320
|
-
|
321
311
|
class ThreeDSecure < Stripe::StripeObject
|
322
312
|
# For authenticated transactions: how the customer was authenticated by
|
323
313
|
# the issuing bank.
|
@@ -450,8 +440,6 @@ module Stripe
|
|
450
440
|
end
|
451
441
|
# The authorized amount.
|
452
442
|
attr_reader :amount_authorized
|
453
|
-
# The latest amount intended to be authorized by this charge.
|
454
|
-
attr_reader :amount_requested
|
455
443
|
# Authorization code on the charge.
|
456
444
|
attr_reader :authorization_code
|
457
445
|
# Card brand. Can be `amex`, `diners`, `discover`, `eftpos_au`, `jcb`, `link`, `mastercard`, `unionpay`, `visa`, or `unknown`.
|
@@ -462,8 +450,6 @@ module Stripe
|
|
462
450
|
attr_reader :checks
|
463
451
|
# Two-letter ISO code representing the country of the card. You could use this attribute to get a sense of the international breakdown of cards you've collected.
|
464
452
|
attr_reader :country
|
465
|
-
# Attribute for field decremental_authorization
|
466
|
-
attr_reader :decremental_authorization
|
467
453
|
# A high-level description of the type of cards issued in this range. (For internal use only and not typically available in standard API requests.)
|
468
454
|
attr_reader :description
|
469
455
|
# Two-digit number representing the card's expiration month.
|
@@ -504,8 +490,6 @@ module Stripe
|
|
504
490
|
attr_reader :network_transaction_id
|
505
491
|
# Attribute for field overcapture
|
506
492
|
attr_reader :overcapture
|
507
|
-
# Attribute for field partial_authorization
|
508
|
-
attr_reader :partial_authorization
|
509
493
|
# Status of a card based on the card issuer.
|
510
494
|
attr_reader :regulated_status
|
511
495
|
# Populated if this transaction used 3D Secure authentication.
|
@@ -641,26 +625,11 @@ module Stripe
|
|
641
625
|
attr_reader :verified_name
|
642
626
|
end
|
643
627
|
|
644
|
-
class Gopay < Stripe::StripeObject; end
|
645
|
-
|
646
628
|
class Grabpay < Stripe::StripeObject
|
647
629
|
# Unique transaction id generated by GrabPay
|
648
630
|
attr_reader :transaction_id
|
649
631
|
end
|
650
632
|
|
651
|
-
class IdBankTransfer < Stripe::StripeObject
|
652
|
-
# Account number of the bank account to transfer funds to.
|
653
|
-
attr_reader :account_number
|
654
|
-
# Bank where the account is located.
|
655
|
-
attr_reader :bank
|
656
|
-
# Local bank code of the bank.
|
657
|
-
attr_reader :bank_code
|
658
|
-
# Name of the bank associated with the bank account.
|
659
|
-
attr_reader :bank_name
|
660
|
-
# Merchant name and billing details name, for the customer to check for the correct merchant when performing the bank transfer.
|
661
|
-
attr_reader :display_name
|
662
|
-
end
|
663
|
-
|
664
633
|
class Ideal < Stripe::StripeObject
|
665
634
|
# The customer's bank. Can be one of `abn_amro`, `asn_bank`, `bunq`, `handelsbanken`, `ing`, `knab`, `moneyou`, `n26`, `nn`, `rabobank`, `regiobank`, `revolut`, `sns_bank`, `triodos_bank`, `van_lanschot`, or `yoursafe`.
|
666
635
|
attr_reader :bank
|
@@ -786,8 +755,6 @@ module Stripe
|
|
786
755
|
attr_reader :country
|
787
756
|
end
|
788
757
|
|
789
|
-
class MbWay < Stripe::StripeObject; end
|
790
|
-
|
791
758
|
class Mobilepay < Stripe::StripeObject
|
792
759
|
class Card < Stripe::StripeObject
|
793
760
|
# Brand of the card used in the transaction
|
@@ -817,6 +784,21 @@ module Stripe
|
|
817
784
|
attr_reader :buyer_id
|
818
785
|
end
|
819
786
|
|
787
|
+
class NzBankAccount < Stripe::StripeObject
|
788
|
+
# The name on the bank account. Only present if the account holder name is different from the name of the authorized signatory collected in the PaymentMethod’s billing details.
|
789
|
+
attr_reader :account_holder_name
|
790
|
+
# The numeric code for the bank account's bank.
|
791
|
+
attr_reader :bank_code
|
792
|
+
# The name of the bank.
|
793
|
+
attr_reader :bank_name
|
794
|
+
# The numeric code for the bank account's bank branch.
|
795
|
+
attr_reader :branch_code
|
796
|
+
# Last four digits of the bank account number.
|
797
|
+
attr_reader :last4
|
798
|
+
# The suffix of the bank account number.
|
799
|
+
attr_reader :suffix
|
800
|
+
end
|
801
|
+
|
820
802
|
class Oxxo < Stripe::StripeObject
|
821
803
|
# OXXO reference number
|
822
804
|
attr_reader :number
|
@@ -852,36 +834,6 @@ module Stripe
|
|
852
834
|
# Indicates whether the transaction is eligible for PayPal's seller protection.
|
853
835
|
attr_reader :status
|
854
836
|
end
|
855
|
-
|
856
|
-
class Shipping < Stripe::StripeObject
|
857
|
-
# City, district, suburb, town, or village.
|
858
|
-
attr_reader :city
|
859
|
-
# Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)).
|
860
|
-
attr_reader :country
|
861
|
-
# Address line 1 (e.g., street, PO Box, or company name).
|
862
|
-
attr_reader :line1
|
863
|
-
# Address line 2 (e.g., apartment, suite, unit, or building).
|
864
|
-
attr_reader :line2
|
865
|
-
# ZIP or postal code.
|
866
|
-
attr_reader :postal_code
|
867
|
-
# State, county, province, or region.
|
868
|
-
attr_reader :state
|
869
|
-
end
|
870
|
-
|
871
|
-
class VerifiedAddress < Stripe::StripeObject
|
872
|
-
# City, district, suburb, town, or village.
|
873
|
-
attr_reader :city
|
874
|
-
# Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)).
|
875
|
-
attr_reader :country
|
876
|
-
# Address line 1 (e.g., street, PO Box, or company name).
|
877
|
-
attr_reader :line1
|
878
|
-
# Address line 2 (e.g., apartment, suite, unit, or building).
|
879
|
-
attr_reader :line2
|
880
|
-
# ZIP or postal code.
|
881
|
-
attr_reader :postal_code
|
882
|
-
# State, county, province, or region.
|
883
|
-
attr_reader :state
|
884
|
-
end
|
885
837
|
# Two-letter ISO code representing the buyer's country. Values are provided by PayPal directly (if supported) at the time of authorization or settlement. They cannot be set or mutated.
|
886
838
|
attr_reader :country
|
887
839
|
# Owner's email. Values are provided by PayPal directly
|
@@ -894,33 +846,8 @@ module Stripe
|
|
894
846
|
attr_reader :payer_name
|
895
847
|
# The level of protection offered as defined by PayPal Seller Protection for Merchants, for this transaction.
|
896
848
|
attr_reader :seller_protection
|
897
|
-
# The shipping address for the customer, as supplied by the merchant at the point of payment
|
898
|
-
# execution. This shipping address will not be updated if the merchant updates the shipping
|
899
|
-
# address on the PaymentIntent after the PaymentIntent was successfully confirmed.
|
900
|
-
attr_reader :shipping
|
901
849
|
# A unique ID generated by PayPal for this transaction.
|
902
850
|
attr_reader :transaction_id
|
903
|
-
# The shipping address for the customer, as supplied by the merchant at the point of payment
|
904
|
-
# execution. This shipping address will not be updated if the merchant updates the shipping
|
905
|
-
# address on the PaymentIntent after the PaymentIntent was successfully confirmed.
|
906
|
-
attr_reader :verified_address
|
907
|
-
# Owner's verified email. Values are verified or provided by PayPal directly
|
908
|
-
# (if supported) at the time of authorization or settlement. They cannot be set or mutated.
|
909
|
-
attr_reader :verified_email
|
910
|
-
# Owner's verified full name. Values are verified or provided by PayPal directly
|
911
|
-
# (if supported) at the time of authorization or settlement. They cannot be set or mutated.
|
912
|
-
attr_reader :verified_name
|
913
|
-
end
|
914
|
-
|
915
|
-
class Payto < Stripe::StripeObject
|
916
|
-
# Bank-State-Branch number of the bank account.
|
917
|
-
attr_reader :bsb_number
|
918
|
-
# Last four digits of the bank account number.
|
919
|
-
attr_reader :last4
|
920
|
-
# ID of the mandate used to make this payment.
|
921
|
-
attr_reader :mandate
|
922
|
-
# The PayID alias for the bank account.
|
923
|
-
attr_reader :pay_id
|
924
851
|
end
|
925
852
|
|
926
853
|
class Pix < Stripe::StripeObject
|
@@ -933,16 +860,11 @@ module Stripe
|
|
933
860
|
attr_reader :reference
|
934
861
|
end
|
935
862
|
|
936
|
-
class Qris < Stripe::StripeObject; end
|
937
|
-
class Rechnung < Stripe::StripeObject; end
|
938
|
-
|
939
863
|
class RevolutPay < Stripe::StripeObject
|
940
864
|
class Funding < Stripe::StripeObject
|
941
865
|
class Card < Stripe::StripeObject
|
942
866
|
# Card brand. Can be `amex`, `diners`, `discover`, `eftpos_au`, `jcb`, `link`, `mastercard`, `unionpay`, `visa`, or `unknown`.
|
943
867
|
attr_reader :brand
|
944
|
-
# The [product code](https://stripe.com/docs/card-product-codes) that identifies the specific program or product associated with a card. (For internal use only and not typically available in standard API requests.)
|
945
|
-
attr_reader :brand_product
|
946
868
|
# Two-letter ISO code representing the country of the card. You could use this attribute to get a sense of the international breakdown of cards you've collected.
|
947
869
|
attr_reader :country
|
948
870
|
# Two-digit number representing the card's expiration month.
|
@@ -968,6 +890,8 @@ module Stripe
|
|
968
890
|
attr_reader :buyer_id
|
969
891
|
end
|
970
892
|
|
893
|
+
class Satispay < Stripe::StripeObject; end
|
894
|
+
|
971
895
|
class SepaCreditTransfer < Stripe::StripeObject
|
972
896
|
# Name of the bank associated with the bank account.
|
973
897
|
attr_reader :bank_name
|
@@ -992,8 +916,6 @@ module Stripe
|
|
992
916
|
attr_reader :mandate
|
993
917
|
end
|
994
918
|
|
995
|
-
class Shopeepay < Stripe::StripeObject; end
|
996
|
-
|
997
919
|
class Sofort < Stripe::StripeObject
|
998
920
|
# Bank code of bank associated with the bank account.
|
999
921
|
attr_reader :bank_code
|
@@ -1081,6 +1003,8 @@ module Stripe
|
|
1081
1003
|
attr_reader :bacs_debit
|
1082
1004
|
# Attribute for field bancontact
|
1083
1005
|
attr_reader :bancontact
|
1006
|
+
# Attribute for field billie
|
1007
|
+
attr_reader :billie
|
1084
1008
|
# Attribute for field blik
|
1085
1009
|
attr_reader :blik
|
1086
1010
|
# Attribute for field boleto
|
@@ -1099,12 +1023,8 @@ module Stripe
|
|
1099
1023
|
attr_reader :fpx
|
1100
1024
|
# Attribute for field giropay
|
1101
1025
|
attr_reader :giropay
|
1102
|
-
# Attribute for field gopay
|
1103
|
-
attr_reader :gopay
|
1104
1026
|
# Attribute for field grabpay
|
1105
1027
|
attr_reader :grabpay
|
1106
|
-
# Attribute for field id_bank_transfer
|
1107
|
-
attr_reader :id_bank_transfer
|
1108
1028
|
# Attribute for field ideal
|
1109
1029
|
attr_reader :ideal
|
1110
1030
|
# Attribute for field interac_present
|
@@ -1119,14 +1039,14 @@ module Stripe
|
|
1119
1039
|
attr_reader :kr_card
|
1120
1040
|
# Attribute for field link
|
1121
1041
|
attr_reader :link
|
1122
|
-
# Attribute for field mb_way
|
1123
|
-
attr_reader :mb_way
|
1124
1042
|
# Attribute for field mobilepay
|
1125
1043
|
attr_reader :mobilepay
|
1126
1044
|
# Attribute for field multibanco
|
1127
1045
|
attr_reader :multibanco
|
1128
1046
|
# Attribute for field naver_pay
|
1129
1047
|
attr_reader :naver_pay
|
1048
|
+
# Attribute for field nz_bank_account
|
1049
|
+
attr_reader :nz_bank_account
|
1130
1050
|
# Attribute for field oxxo
|
1131
1051
|
attr_reader :oxxo
|
1132
1052
|
# Attribute for field p24
|
@@ -1139,26 +1059,20 @@ module Stripe
|
|
1139
1059
|
attr_reader :paynow
|
1140
1060
|
# Attribute for field paypal
|
1141
1061
|
attr_reader :paypal
|
1142
|
-
# Attribute for field payto
|
1143
|
-
attr_reader :payto
|
1144
1062
|
# Attribute for field pix
|
1145
1063
|
attr_reader :pix
|
1146
1064
|
# Attribute for field promptpay
|
1147
1065
|
attr_reader :promptpay
|
1148
|
-
# Attribute for field qris
|
1149
|
-
attr_reader :qris
|
1150
|
-
# Attribute for field rechnung
|
1151
|
-
attr_reader :rechnung
|
1152
1066
|
# Attribute for field revolut_pay
|
1153
1067
|
attr_reader :revolut_pay
|
1154
1068
|
# Attribute for field samsung_pay
|
1155
1069
|
attr_reader :samsung_pay
|
1070
|
+
# Attribute for field satispay
|
1071
|
+
attr_reader :satispay
|
1156
1072
|
# Attribute for field sepa_credit_transfer
|
1157
1073
|
attr_reader :sepa_credit_transfer
|
1158
1074
|
# Attribute for field sepa_debit
|
1159
1075
|
attr_reader :sepa_debit
|
1160
|
-
# Attribute for field shopeepay
|
1161
|
-
attr_reader :shopeepay
|
1162
1076
|
# Attribute for field sofort
|
1163
1077
|
attr_reader :sofort
|
1164
1078
|
# Attribute for field stripe_account
|
@@ -1181,6 +1095,13 @@ module Stripe
|
|
1181
1095
|
attr_reader :zip
|
1182
1096
|
end
|
1183
1097
|
|
1098
|
+
class PresentmentDetails < Stripe::StripeObject
|
1099
|
+
# Amount intended to be collected by this payment, denominated in presentment_currency.
|
1100
|
+
attr_reader :presentment_amount
|
1101
|
+
# Currency presented to the customer during payment.
|
1102
|
+
attr_reader :presentment_currency
|
1103
|
+
end
|
1104
|
+
|
1184
1105
|
class RadarOptions < Stripe::StripeObject
|
1185
1106
|
# 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.
|
1186
1107
|
attr_reader :session
|
@@ -1444,15 +1365,6 @@ module Stripe
|
|
1444
1365
|
end
|
1445
1366
|
end
|
1446
1367
|
|
1447
|
-
class RetrieveParams < Stripe::RequestParams
|
1448
|
-
# Specifies which fields in the response should be expanded.
|
1449
|
-
attr_accessor :expand
|
1450
|
-
|
1451
|
-
def initialize(expand: nil)
|
1452
|
-
@expand = expand
|
1453
|
-
end
|
1454
|
-
end
|
1455
|
-
|
1456
1368
|
class UpdateParams < Stripe::RequestParams
|
1457
1369
|
class FraudDetails < Stripe::RequestParams
|
1458
1370
|
# Either `safe` or `fraudulent`.
|
@@ -1463,669 +1375,6 @@ module Stripe
|
|
1463
1375
|
end
|
1464
1376
|
end
|
1465
1377
|
|
1466
|
-
class PaymentDetails < Stripe::RequestParams
|
1467
|
-
class CarRental < Stripe::RequestParams
|
1468
|
-
class Affiliate < Stripe::RequestParams
|
1469
|
-
# The name of the affiliate that originated the purchase.
|
1470
|
-
attr_accessor :name
|
1471
|
-
|
1472
|
-
def initialize(name: nil)
|
1473
|
-
@name = name
|
1474
|
-
end
|
1475
|
-
end
|
1476
|
-
|
1477
|
-
class Delivery < Stripe::RequestParams
|
1478
|
-
class Recipient < Stripe::RequestParams
|
1479
|
-
# The email of the recipient the ticket is delivered to.
|
1480
|
-
attr_accessor :email
|
1481
|
-
# The name of the recipient the ticket is delivered to.
|
1482
|
-
attr_accessor :name
|
1483
|
-
# The phone number of the recipient the ticket is delivered to.
|
1484
|
-
attr_accessor :phone
|
1485
|
-
|
1486
|
-
def initialize(email: nil, name: nil, phone: nil)
|
1487
|
-
@email = email
|
1488
|
-
@name = name
|
1489
|
-
@phone = phone
|
1490
|
-
end
|
1491
|
-
end
|
1492
|
-
# The delivery method for the payment
|
1493
|
-
attr_accessor :mode
|
1494
|
-
# Details of the recipient.
|
1495
|
-
attr_accessor :recipient
|
1496
|
-
|
1497
|
-
def initialize(mode: nil, recipient: nil)
|
1498
|
-
@mode = mode
|
1499
|
-
@recipient = recipient
|
1500
|
-
end
|
1501
|
-
end
|
1502
|
-
|
1503
|
-
class Driver < Stripe::RequestParams
|
1504
|
-
# Full name of the person or entity on the car reservation.
|
1505
|
-
attr_accessor :name
|
1506
|
-
|
1507
|
-
def initialize(name: nil)
|
1508
|
-
@name = name
|
1509
|
-
end
|
1510
|
-
end
|
1511
|
-
|
1512
|
-
class PickupAddress < Stripe::RequestParams
|
1513
|
-
# City, district, suburb, town, or village.
|
1514
|
-
attr_accessor :city
|
1515
|
-
# Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)).
|
1516
|
-
attr_accessor :country
|
1517
|
-
# Address line 1 (e.g., street, PO Box, or company name).
|
1518
|
-
attr_accessor :line1
|
1519
|
-
# Address line 2 (e.g., apartment, suite, unit, or building).
|
1520
|
-
attr_accessor :line2
|
1521
|
-
# ZIP or postal code.
|
1522
|
-
attr_accessor :postal_code
|
1523
|
-
# State, county, province, or region.
|
1524
|
-
attr_accessor :state
|
1525
|
-
|
1526
|
-
def initialize(
|
1527
|
-
city: nil,
|
1528
|
-
country: nil,
|
1529
|
-
line1: nil,
|
1530
|
-
line2: nil,
|
1531
|
-
postal_code: nil,
|
1532
|
-
state: nil
|
1533
|
-
)
|
1534
|
-
@city = city
|
1535
|
-
@country = country
|
1536
|
-
@line1 = line1
|
1537
|
-
@line2 = line2
|
1538
|
-
@postal_code = postal_code
|
1539
|
-
@state = state
|
1540
|
-
end
|
1541
|
-
end
|
1542
|
-
|
1543
|
-
class ReturnAddress < Stripe::RequestParams
|
1544
|
-
# City, district, suburb, town, or village.
|
1545
|
-
attr_accessor :city
|
1546
|
-
# Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)).
|
1547
|
-
attr_accessor :country
|
1548
|
-
# Address line 1 (e.g., street, PO Box, or company name).
|
1549
|
-
attr_accessor :line1
|
1550
|
-
# Address line 2 (e.g., apartment, suite, unit, or building).
|
1551
|
-
attr_accessor :line2
|
1552
|
-
# ZIP or postal code.
|
1553
|
-
attr_accessor :postal_code
|
1554
|
-
# State, county, province, or region.
|
1555
|
-
attr_accessor :state
|
1556
|
-
|
1557
|
-
def initialize(
|
1558
|
-
city: nil,
|
1559
|
-
country: nil,
|
1560
|
-
line1: nil,
|
1561
|
-
line2: nil,
|
1562
|
-
postal_code: nil,
|
1563
|
-
state: nil
|
1564
|
-
)
|
1565
|
-
@city = city
|
1566
|
-
@country = country
|
1567
|
-
@line1 = line1
|
1568
|
-
@line2 = line2
|
1569
|
-
@postal_code = postal_code
|
1570
|
-
@state = state
|
1571
|
-
end
|
1572
|
-
end
|
1573
|
-
# Affiliate details for this purchase.
|
1574
|
-
attr_accessor :affiliate
|
1575
|
-
# The booking number associated with the car rental.
|
1576
|
-
attr_accessor :booking_number
|
1577
|
-
# Class code of the car.
|
1578
|
-
attr_accessor :car_class_code
|
1579
|
-
# Make of the car.
|
1580
|
-
attr_accessor :car_make
|
1581
|
-
# Model of the car.
|
1582
|
-
attr_accessor :car_model
|
1583
|
-
# The name of the rental car company.
|
1584
|
-
attr_accessor :company
|
1585
|
-
# The customer service phone number of the car rental company.
|
1586
|
-
attr_accessor :customer_service_phone_number
|
1587
|
-
# Number of days the car is being rented.
|
1588
|
-
attr_accessor :days_rented
|
1589
|
-
# Delivery details for this purchase.
|
1590
|
-
attr_accessor :delivery
|
1591
|
-
# The details of the passengers in the travel reservation
|
1592
|
-
attr_accessor :drivers
|
1593
|
-
# List of additional charges being billed.
|
1594
|
-
attr_accessor :extra_charges
|
1595
|
-
# Indicates if the customer did not keep nor cancel their booking.
|
1596
|
-
attr_accessor :no_show
|
1597
|
-
# Car pick-up address.
|
1598
|
-
attr_accessor :pickup_address
|
1599
|
-
# Car pick-up time. Measured in seconds since the Unix epoch.
|
1600
|
-
attr_accessor :pickup_at
|
1601
|
-
# Rental rate.
|
1602
|
-
attr_accessor :rate_amount
|
1603
|
-
# The frequency at which the rate amount is applied. One of `day`, `week` or `month`
|
1604
|
-
attr_accessor :rate_interval
|
1605
|
-
# The name of the person or entity renting the car.
|
1606
|
-
attr_accessor :renter_name
|
1607
|
-
# Car return address.
|
1608
|
-
attr_accessor :return_address
|
1609
|
-
# Car return time. Measured in seconds since the Unix epoch.
|
1610
|
-
attr_accessor :return_at
|
1611
|
-
# Indicates whether the goods or services are tax-exempt or tax is not collected.
|
1612
|
-
attr_accessor :tax_exempt
|
1613
|
-
|
1614
|
-
def initialize(
|
1615
|
-
affiliate: nil,
|
1616
|
-
booking_number: nil,
|
1617
|
-
car_class_code: nil,
|
1618
|
-
car_make: nil,
|
1619
|
-
car_model: nil,
|
1620
|
-
company: nil,
|
1621
|
-
customer_service_phone_number: nil,
|
1622
|
-
days_rented: nil,
|
1623
|
-
delivery: nil,
|
1624
|
-
drivers: nil,
|
1625
|
-
extra_charges: nil,
|
1626
|
-
no_show: nil,
|
1627
|
-
pickup_address: nil,
|
1628
|
-
pickup_at: nil,
|
1629
|
-
rate_amount: nil,
|
1630
|
-
rate_interval: nil,
|
1631
|
-
renter_name: nil,
|
1632
|
-
return_address: nil,
|
1633
|
-
return_at: nil,
|
1634
|
-
tax_exempt: nil
|
1635
|
-
)
|
1636
|
-
@affiliate = affiliate
|
1637
|
-
@booking_number = booking_number
|
1638
|
-
@car_class_code = car_class_code
|
1639
|
-
@car_make = car_make
|
1640
|
-
@car_model = car_model
|
1641
|
-
@company = company
|
1642
|
-
@customer_service_phone_number = customer_service_phone_number
|
1643
|
-
@days_rented = days_rented
|
1644
|
-
@delivery = delivery
|
1645
|
-
@drivers = drivers
|
1646
|
-
@extra_charges = extra_charges
|
1647
|
-
@no_show = no_show
|
1648
|
-
@pickup_address = pickup_address
|
1649
|
-
@pickup_at = pickup_at
|
1650
|
-
@rate_amount = rate_amount
|
1651
|
-
@rate_interval = rate_interval
|
1652
|
-
@renter_name = renter_name
|
1653
|
-
@return_address = return_address
|
1654
|
-
@return_at = return_at
|
1655
|
-
@tax_exempt = tax_exempt
|
1656
|
-
end
|
1657
|
-
end
|
1658
|
-
|
1659
|
-
class EventDetails < Stripe::RequestParams
|
1660
|
-
class Address < Stripe::RequestParams
|
1661
|
-
# City, district, suburb, town, or village.
|
1662
|
-
attr_accessor :city
|
1663
|
-
# Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)).
|
1664
|
-
attr_accessor :country
|
1665
|
-
# Address line 1 (e.g., street, PO Box, or company name).
|
1666
|
-
attr_accessor :line1
|
1667
|
-
# Address line 2 (e.g., apartment, suite, unit, or building).
|
1668
|
-
attr_accessor :line2
|
1669
|
-
# ZIP or postal code.
|
1670
|
-
attr_accessor :postal_code
|
1671
|
-
# State, county, province, or region.
|
1672
|
-
attr_accessor :state
|
1673
|
-
|
1674
|
-
def initialize(
|
1675
|
-
city: nil,
|
1676
|
-
country: nil,
|
1677
|
-
line1: nil,
|
1678
|
-
line2: nil,
|
1679
|
-
postal_code: nil,
|
1680
|
-
state: nil
|
1681
|
-
)
|
1682
|
-
@city = city
|
1683
|
-
@country = country
|
1684
|
-
@line1 = line1
|
1685
|
-
@line2 = line2
|
1686
|
-
@postal_code = postal_code
|
1687
|
-
@state = state
|
1688
|
-
end
|
1689
|
-
end
|
1690
|
-
|
1691
|
-
class Affiliate < Stripe::RequestParams
|
1692
|
-
# The name of the affiliate that originated the purchase.
|
1693
|
-
attr_accessor :name
|
1694
|
-
|
1695
|
-
def initialize(name: nil)
|
1696
|
-
@name = name
|
1697
|
-
end
|
1698
|
-
end
|
1699
|
-
|
1700
|
-
class Delivery < Stripe::RequestParams
|
1701
|
-
class Recipient < Stripe::RequestParams
|
1702
|
-
# The email of the recipient the ticket is delivered to.
|
1703
|
-
attr_accessor :email
|
1704
|
-
# The name of the recipient the ticket is delivered to.
|
1705
|
-
attr_accessor :name
|
1706
|
-
# The phone number of the recipient the ticket is delivered to.
|
1707
|
-
attr_accessor :phone
|
1708
|
-
|
1709
|
-
def initialize(email: nil, name: nil, phone: nil)
|
1710
|
-
@email = email
|
1711
|
-
@name = name
|
1712
|
-
@phone = phone
|
1713
|
-
end
|
1714
|
-
end
|
1715
|
-
# The delivery method for the payment
|
1716
|
-
attr_accessor :mode
|
1717
|
-
# Details of the recipient.
|
1718
|
-
attr_accessor :recipient
|
1719
|
-
|
1720
|
-
def initialize(mode: nil, recipient: nil)
|
1721
|
-
@mode = mode
|
1722
|
-
@recipient = recipient
|
1723
|
-
end
|
1724
|
-
end
|
1725
|
-
# Indicates if the tickets are digitally checked when entering the venue.
|
1726
|
-
attr_accessor :access_controlled_venue
|
1727
|
-
# The event location's address.
|
1728
|
-
attr_accessor :address
|
1729
|
-
# Affiliate details for this purchase.
|
1730
|
-
attr_accessor :affiliate
|
1731
|
-
# The name of the company
|
1732
|
-
attr_accessor :company
|
1733
|
-
# Delivery details for this purchase.
|
1734
|
-
attr_accessor :delivery
|
1735
|
-
# Event end time. Measured in seconds since the Unix epoch.
|
1736
|
-
attr_accessor :ends_at
|
1737
|
-
# Type of the event entertainment (concert, sports event etc)
|
1738
|
-
attr_accessor :genre
|
1739
|
-
# The name of the event.
|
1740
|
-
attr_accessor :name
|
1741
|
-
# Event start time. Measured in seconds since the Unix epoch.
|
1742
|
-
attr_accessor :starts_at
|
1743
|
-
|
1744
|
-
def initialize(
|
1745
|
-
access_controlled_venue: nil,
|
1746
|
-
address: nil,
|
1747
|
-
affiliate: nil,
|
1748
|
-
company: nil,
|
1749
|
-
delivery: nil,
|
1750
|
-
ends_at: nil,
|
1751
|
-
genre: nil,
|
1752
|
-
name: nil,
|
1753
|
-
starts_at: nil
|
1754
|
-
)
|
1755
|
-
@access_controlled_venue = access_controlled_venue
|
1756
|
-
@address = address
|
1757
|
-
@affiliate = affiliate
|
1758
|
-
@company = company
|
1759
|
-
@delivery = delivery
|
1760
|
-
@ends_at = ends_at
|
1761
|
-
@genre = genre
|
1762
|
-
@name = name
|
1763
|
-
@starts_at = starts_at
|
1764
|
-
end
|
1765
|
-
end
|
1766
|
-
|
1767
|
-
class Flight < Stripe::RequestParams
|
1768
|
-
class Affiliate < Stripe::RequestParams
|
1769
|
-
# The name of the affiliate that originated the purchase.
|
1770
|
-
attr_accessor :name
|
1771
|
-
|
1772
|
-
def initialize(name: nil)
|
1773
|
-
@name = name
|
1774
|
-
end
|
1775
|
-
end
|
1776
|
-
|
1777
|
-
class Delivery < Stripe::RequestParams
|
1778
|
-
class Recipient < Stripe::RequestParams
|
1779
|
-
# The email of the recipient the ticket is delivered to.
|
1780
|
-
attr_accessor :email
|
1781
|
-
# The name of the recipient the ticket is delivered to.
|
1782
|
-
attr_accessor :name
|
1783
|
-
# The phone number of the recipient the ticket is delivered to.
|
1784
|
-
attr_accessor :phone
|
1785
|
-
|
1786
|
-
def initialize(email: nil, name: nil, phone: nil)
|
1787
|
-
@email = email
|
1788
|
-
@name = name
|
1789
|
-
@phone = phone
|
1790
|
-
end
|
1791
|
-
end
|
1792
|
-
# The delivery method for the payment
|
1793
|
-
attr_accessor :mode
|
1794
|
-
# Details of the recipient.
|
1795
|
-
attr_accessor :recipient
|
1796
|
-
|
1797
|
-
def initialize(mode: nil, recipient: nil)
|
1798
|
-
@mode = mode
|
1799
|
-
@recipient = recipient
|
1800
|
-
end
|
1801
|
-
end
|
1802
|
-
|
1803
|
-
class Passenger < Stripe::RequestParams
|
1804
|
-
# Full name of the person or entity on the flight reservation.
|
1805
|
-
attr_accessor :name
|
1806
|
-
|
1807
|
-
def initialize(name: nil)
|
1808
|
-
@name = name
|
1809
|
-
end
|
1810
|
-
end
|
1811
|
-
|
1812
|
-
class Segment < Stripe::RequestParams
|
1813
|
-
# The flight segment amount.
|
1814
|
-
attr_accessor :amount
|
1815
|
-
# The International Air Transport Association (IATA) airport code for the arrival airport.
|
1816
|
-
attr_accessor :arrival_airport
|
1817
|
-
# The arrival time for the flight segment. Measured in seconds since the Unix epoch.
|
1818
|
-
attr_accessor :arrives_at
|
1819
|
-
# The International Air Transport Association (IATA) carrier code of the carrier operating the flight segment.
|
1820
|
-
attr_accessor :carrier
|
1821
|
-
# The departure time for the flight segment. Measured in seconds since the Unix epoch.
|
1822
|
-
attr_accessor :departs_at
|
1823
|
-
# The International Air Transport Association (IATA) airport code for the departure airport.
|
1824
|
-
attr_accessor :departure_airport
|
1825
|
-
# The flight number associated with the segment
|
1826
|
-
attr_accessor :flight_number
|
1827
|
-
# The fare class for the segment.
|
1828
|
-
attr_accessor :service_class
|
1829
|
-
|
1830
|
-
def initialize(
|
1831
|
-
amount: nil,
|
1832
|
-
arrival_airport: nil,
|
1833
|
-
arrives_at: nil,
|
1834
|
-
carrier: nil,
|
1835
|
-
departs_at: nil,
|
1836
|
-
departure_airport: nil,
|
1837
|
-
flight_number: nil,
|
1838
|
-
service_class: nil
|
1839
|
-
)
|
1840
|
-
@amount = amount
|
1841
|
-
@arrival_airport = arrival_airport
|
1842
|
-
@arrives_at = arrives_at
|
1843
|
-
@carrier = carrier
|
1844
|
-
@departs_at = departs_at
|
1845
|
-
@departure_airport = departure_airport
|
1846
|
-
@flight_number = flight_number
|
1847
|
-
@service_class = service_class
|
1848
|
-
end
|
1849
|
-
end
|
1850
|
-
# Affiliate details for this purchase.
|
1851
|
-
attr_accessor :affiliate
|
1852
|
-
# The agency number (i.e. International Air Transport Association (IATA) agency number) of the travel agency that made the booking.
|
1853
|
-
attr_accessor :agency_number
|
1854
|
-
# The International Air Transport Association (IATA) carrier code of the carrier that issued the ticket.
|
1855
|
-
attr_accessor :carrier
|
1856
|
-
# Delivery details for this purchase.
|
1857
|
-
attr_accessor :delivery
|
1858
|
-
# The name of the person or entity on the reservation.
|
1859
|
-
attr_accessor :passenger_name
|
1860
|
-
# The details of the passengers in the travel reservation.
|
1861
|
-
attr_accessor :passengers
|
1862
|
-
# The individual flight segments associated with the trip.
|
1863
|
-
attr_accessor :segments
|
1864
|
-
# The ticket number associated with the travel reservation.
|
1865
|
-
attr_accessor :ticket_number
|
1866
|
-
|
1867
|
-
def initialize(
|
1868
|
-
affiliate: nil,
|
1869
|
-
agency_number: nil,
|
1870
|
-
carrier: nil,
|
1871
|
-
delivery: nil,
|
1872
|
-
passenger_name: nil,
|
1873
|
-
passengers: nil,
|
1874
|
-
segments: nil,
|
1875
|
-
ticket_number: nil
|
1876
|
-
)
|
1877
|
-
@affiliate = affiliate
|
1878
|
-
@agency_number = agency_number
|
1879
|
-
@carrier = carrier
|
1880
|
-
@delivery = delivery
|
1881
|
-
@passenger_name = passenger_name
|
1882
|
-
@passengers = passengers
|
1883
|
-
@segments = segments
|
1884
|
-
@ticket_number = ticket_number
|
1885
|
-
end
|
1886
|
-
end
|
1887
|
-
|
1888
|
-
class Lodging < Stripe::RequestParams
|
1889
|
-
class Address < Stripe::RequestParams
|
1890
|
-
# City, district, suburb, town, or village.
|
1891
|
-
attr_accessor :city
|
1892
|
-
# Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)).
|
1893
|
-
attr_accessor :country
|
1894
|
-
# Address line 1 (e.g., street, PO Box, or company name).
|
1895
|
-
attr_accessor :line1
|
1896
|
-
# Address line 2 (e.g., apartment, suite, unit, or building).
|
1897
|
-
attr_accessor :line2
|
1898
|
-
# ZIP or postal code.
|
1899
|
-
attr_accessor :postal_code
|
1900
|
-
# State, county, province, or region.
|
1901
|
-
attr_accessor :state
|
1902
|
-
|
1903
|
-
def initialize(
|
1904
|
-
city: nil,
|
1905
|
-
country: nil,
|
1906
|
-
line1: nil,
|
1907
|
-
line2: nil,
|
1908
|
-
postal_code: nil,
|
1909
|
-
state: nil
|
1910
|
-
)
|
1911
|
-
@city = city
|
1912
|
-
@country = country
|
1913
|
-
@line1 = line1
|
1914
|
-
@line2 = line2
|
1915
|
-
@postal_code = postal_code
|
1916
|
-
@state = state
|
1917
|
-
end
|
1918
|
-
end
|
1919
|
-
|
1920
|
-
class Affiliate < Stripe::RequestParams
|
1921
|
-
# The name of the affiliate that originated the purchase.
|
1922
|
-
attr_accessor :name
|
1923
|
-
|
1924
|
-
def initialize(name: nil)
|
1925
|
-
@name = name
|
1926
|
-
end
|
1927
|
-
end
|
1928
|
-
|
1929
|
-
class Delivery < Stripe::RequestParams
|
1930
|
-
class Recipient < Stripe::RequestParams
|
1931
|
-
# The email of the recipient the ticket is delivered to.
|
1932
|
-
attr_accessor :email
|
1933
|
-
# The name of the recipient the ticket is delivered to.
|
1934
|
-
attr_accessor :name
|
1935
|
-
# The phone number of the recipient the ticket is delivered to.
|
1936
|
-
attr_accessor :phone
|
1937
|
-
|
1938
|
-
def initialize(email: nil, name: nil, phone: nil)
|
1939
|
-
@email = email
|
1940
|
-
@name = name
|
1941
|
-
@phone = phone
|
1942
|
-
end
|
1943
|
-
end
|
1944
|
-
# The delivery method for the payment
|
1945
|
-
attr_accessor :mode
|
1946
|
-
# Details of the recipient.
|
1947
|
-
attr_accessor :recipient
|
1948
|
-
|
1949
|
-
def initialize(mode: nil, recipient: nil)
|
1950
|
-
@mode = mode
|
1951
|
-
@recipient = recipient
|
1952
|
-
end
|
1953
|
-
end
|
1954
|
-
|
1955
|
-
class Passenger < Stripe::RequestParams
|
1956
|
-
# Full name of the person or entity on the lodging reservation.
|
1957
|
-
attr_accessor :name
|
1958
|
-
|
1959
|
-
def initialize(name: nil)
|
1960
|
-
@name = name
|
1961
|
-
end
|
1962
|
-
end
|
1963
|
-
# The lodging location's address.
|
1964
|
-
attr_accessor :address
|
1965
|
-
# The number of adults on the booking
|
1966
|
-
attr_accessor :adults
|
1967
|
-
# Affiliate details for this purchase.
|
1968
|
-
attr_accessor :affiliate
|
1969
|
-
# The booking number associated with the lodging reservation.
|
1970
|
-
attr_accessor :booking_number
|
1971
|
-
# The lodging category
|
1972
|
-
attr_accessor :category
|
1973
|
-
# Loding check-in time. Measured in seconds since the Unix epoch.
|
1974
|
-
attr_accessor :checkin_at
|
1975
|
-
# Lodging check-out time. Measured in seconds since the Unix epoch.
|
1976
|
-
attr_accessor :checkout_at
|
1977
|
-
# The customer service phone number of the lodging company.
|
1978
|
-
attr_accessor :customer_service_phone_number
|
1979
|
-
# The daily lodging room rate.
|
1980
|
-
attr_accessor :daily_room_rate_amount
|
1981
|
-
# Delivery details for this purchase.
|
1982
|
-
attr_accessor :delivery
|
1983
|
-
# List of additional charges being billed.
|
1984
|
-
attr_accessor :extra_charges
|
1985
|
-
# Indicates whether the lodging location is compliant with the Fire Safety Act.
|
1986
|
-
attr_accessor :fire_safety_act_compliance
|
1987
|
-
# The name of the lodging location.
|
1988
|
-
attr_accessor :name
|
1989
|
-
# Indicates if the customer did not keep their booking while failing to cancel the reservation.
|
1990
|
-
attr_accessor :no_show
|
1991
|
-
# The number of rooms on the booking
|
1992
|
-
attr_accessor :number_of_rooms
|
1993
|
-
# The details of the passengers in the travel reservation
|
1994
|
-
attr_accessor :passengers
|
1995
|
-
# The phone number of the lodging location.
|
1996
|
-
attr_accessor :property_phone_number
|
1997
|
-
# The room class for this purchase.
|
1998
|
-
attr_accessor :room_class
|
1999
|
-
# The number of room nights
|
2000
|
-
attr_accessor :room_nights
|
2001
|
-
# The total tax amount associating with the room reservation.
|
2002
|
-
attr_accessor :total_room_tax_amount
|
2003
|
-
# The total tax amount
|
2004
|
-
attr_accessor :total_tax_amount
|
2005
|
-
|
2006
|
-
def initialize(
|
2007
|
-
address: nil,
|
2008
|
-
adults: nil,
|
2009
|
-
affiliate: nil,
|
2010
|
-
booking_number: nil,
|
2011
|
-
category: nil,
|
2012
|
-
checkin_at: nil,
|
2013
|
-
checkout_at: nil,
|
2014
|
-
customer_service_phone_number: nil,
|
2015
|
-
daily_room_rate_amount: nil,
|
2016
|
-
delivery: nil,
|
2017
|
-
extra_charges: nil,
|
2018
|
-
fire_safety_act_compliance: nil,
|
2019
|
-
name: nil,
|
2020
|
-
no_show: nil,
|
2021
|
-
number_of_rooms: nil,
|
2022
|
-
passengers: nil,
|
2023
|
-
property_phone_number: nil,
|
2024
|
-
room_class: nil,
|
2025
|
-
room_nights: nil,
|
2026
|
-
total_room_tax_amount: nil,
|
2027
|
-
total_tax_amount: nil
|
2028
|
-
)
|
2029
|
-
@address = address
|
2030
|
-
@adults = adults
|
2031
|
-
@affiliate = affiliate
|
2032
|
-
@booking_number = booking_number
|
2033
|
-
@category = category
|
2034
|
-
@checkin_at = checkin_at
|
2035
|
-
@checkout_at = checkout_at
|
2036
|
-
@customer_service_phone_number = customer_service_phone_number
|
2037
|
-
@daily_room_rate_amount = daily_room_rate_amount
|
2038
|
-
@delivery = delivery
|
2039
|
-
@extra_charges = extra_charges
|
2040
|
-
@fire_safety_act_compliance = fire_safety_act_compliance
|
2041
|
-
@name = name
|
2042
|
-
@no_show = no_show
|
2043
|
-
@number_of_rooms = number_of_rooms
|
2044
|
-
@passengers = passengers
|
2045
|
-
@property_phone_number = property_phone_number
|
2046
|
-
@room_class = room_class
|
2047
|
-
@room_nights = room_nights
|
2048
|
-
@total_room_tax_amount = total_room_tax_amount
|
2049
|
-
@total_tax_amount = total_tax_amount
|
2050
|
-
end
|
2051
|
-
end
|
2052
|
-
|
2053
|
-
class Subscription < Stripe::RequestParams
|
2054
|
-
class Affiliate < Stripe::RequestParams
|
2055
|
-
# The name of the affiliate that originated the purchase.
|
2056
|
-
attr_accessor :name
|
2057
|
-
|
2058
|
-
def initialize(name: nil)
|
2059
|
-
@name = name
|
2060
|
-
end
|
2061
|
-
end
|
2062
|
-
|
2063
|
-
class BillingInterval < Stripe::RequestParams
|
2064
|
-
# The number of intervals, as an whole number greater than 0. Stripe multiplies this by the interval type to get the overall duration.
|
2065
|
-
attr_accessor :count
|
2066
|
-
# Specifies a type of interval unit. Either `day`, `week`, `month` or `year`.
|
2067
|
-
attr_accessor :interval
|
2068
|
-
|
2069
|
-
def initialize(count: nil, interval: nil)
|
2070
|
-
@count = count
|
2071
|
-
@interval = interval
|
2072
|
-
end
|
2073
|
-
end
|
2074
|
-
# Affiliate details for this purchase.
|
2075
|
-
attr_accessor :affiliate
|
2076
|
-
# Info whether the subscription will be auto renewed upon expiry.
|
2077
|
-
attr_accessor :auto_renewal
|
2078
|
-
# Subscription billing details for this purchase.
|
2079
|
-
attr_accessor :billing_interval
|
2080
|
-
# Subscription end time. Measured in seconds since the Unix epoch.
|
2081
|
-
attr_accessor :ends_at
|
2082
|
-
# Name of the product on subscription. e.g. Apple Music Subscription
|
2083
|
-
attr_accessor :name
|
2084
|
-
# Subscription start time. Measured in seconds since the Unix epoch.
|
2085
|
-
attr_accessor :starts_at
|
2086
|
-
|
2087
|
-
def initialize(
|
2088
|
-
affiliate: nil,
|
2089
|
-
auto_renewal: nil,
|
2090
|
-
billing_interval: nil,
|
2091
|
-
ends_at: nil,
|
2092
|
-
name: nil,
|
2093
|
-
starts_at: nil
|
2094
|
-
)
|
2095
|
-
@affiliate = affiliate
|
2096
|
-
@auto_renewal = auto_renewal
|
2097
|
-
@billing_interval = billing_interval
|
2098
|
-
@ends_at = ends_at
|
2099
|
-
@name = name
|
2100
|
-
@starts_at = starts_at
|
2101
|
-
end
|
2102
|
-
end
|
2103
|
-
# Car rental details for this PaymentIntent.
|
2104
|
-
attr_accessor :car_rental
|
2105
|
-
# Event details for this PaymentIntent
|
2106
|
-
attr_accessor :event_details
|
2107
|
-
# Flight reservation details for this PaymentIntent
|
2108
|
-
attr_accessor :flight
|
2109
|
-
# Lodging reservation details for this PaymentIntent
|
2110
|
-
attr_accessor :lodging
|
2111
|
-
# Subscription details for this PaymentIntent
|
2112
|
-
attr_accessor :subscription
|
2113
|
-
|
2114
|
-
def initialize(
|
2115
|
-
car_rental: nil,
|
2116
|
-
event_details: nil,
|
2117
|
-
flight: nil,
|
2118
|
-
lodging: nil,
|
2119
|
-
subscription: nil
|
2120
|
-
)
|
2121
|
-
@car_rental = car_rental
|
2122
|
-
@event_details = event_details
|
2123
|
-
@flight = flight
|
2124
|
-
@lodging = lodging
|
2125
|
-
@subscription = subscription
|
2126
|
-
end
|
2127
|
-
end
|
2128
|
-
|
2129
1378
|
class Shipping < Stripe::RequestParams
|
2130
1379
|
class Address < Stripe::RequestParams
|
2131
1380
|
# City, district, suburb, town, or village.
|
@@ -2186,8 +1435,6 @@ module Stripe
|
|
2186
1435
|
attr_accessor :fraud_details
|
2187
1436
|
# 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`.
|
2188
1437
|
attr_accessor :metadata
|
2189
|
-
# Provides industry-specific information about the charge.
|
2190
|
-
attr_accessor :payment_details
|
2191
1438
|
# This is the email address that the receipt for this charge will be sent to. If this field is updated, then a new email receipt will be sent to the updated address.
|
2192
1439
|
attr_accessor :receipt_email
|
2193
1440
|
# Shipping information for the charge. Helps prevent fraud on charges for physical goods.
|
@@ -2201,7 +1448,6 @@ module Stripe
|
|
2201
1448
|
expand: nil,
|
2202
1449
|
fraud_details: nil,
|
2203
1450
|
metadata: nil,
|
2204
|
-
payment_details: nil,
|
2205
1451
|
receipt_email: nil,
|
2206
1452
|
shipping: nil,
|
2207
1453
|
transfer_group: nil
|
@@ -2211,7 +1457,6 @@ module Stripe
|
|
2211
1457
|
@expand = expand
|
2212
1458
|
@fraud_details = fraud_details
|
2213
1459
|
@metadata = metadata
|
2214
|
-
@payment_details = payment_details
|
2215
1460
|
@receipt_email = receipt_email
|
2216
1461
|
@shipping = shipping
|
2217
1462
|
@transfer_group = transfer_group
|
@@ -2237,669 +1482,6 @@ module Stripe
|
|
2237
1482
|
end
|
2238
1483
|
|
2239
1484
|
class CaptureParams < Stripe::RequestParams
|
2240
|
-
class PaymentDetails < Stripe::RequestParams
|
2241
|
-
class CarRental < Stripe::RequestParams
|
2242
|
-
class Affiliate < Stripe::RequestParams
|
2243
|
-
# The name of the affiliate that originated the purchase.
|
2244
|
-
attr_accessor :name
|
2245
|
-
|
2246
|
-
def initialize(name: nil)
|
2247
|
-
@name = name
|
2248
|
-
end
|
2249
|
-
end
|
2250
|
-
|
2251
|
-
class Delivery < Stripe::RequestParams
|
2252
|
-
class Recipient < Stripe::RequestParams
|
2253
|
-
# The email of the recipient the ticket is delivered to.
|
2254
|
-
attr_accessor :email
|
2255
|
-
# The name of the recipient the ticket is delivered to.
|
2256
|
-
attr_accessor :name
|
2257
|
-
# The phone number of the recipient the ticket is delivered to.
|
2258
|
-
attr_accessor :phone
|
2259
|
-
|
2260
|
-
def initialize(email: nil, name: nil, phone: nil)
|
2261
|
-
@email = email
|
2262
|
-
@name = name
|
2263
|
-
@phone = phone
|
2264
|
-
end
|
2265
|
-
end
|
2266
|
-
# The delivery method for the payment
|
2267
|
-
attr_accessor :mode
|
2268
|
-
# Details of the recipient.
|
2269
|
-
attr_accessor :recipient
|
2270
|
-
|
2271
|
-
def initialize(mode: nil, recipient: nil)
|
2272
|
-
@mode = mode
|
2273
|
-
@recipient = recipient
|
2274
|
-
end
|
2275
|
-
end
|
2276
|
-
|
2277
|
-
class Driver < Stripe::RequestParams
|
2278
|
-
# Full name of the person or entity on the car reservation.
|
2279
|
-
attr_accessor :name
|
2280
|
-
|
2281
|
-
def initialize(name: nil)
|
2282
|
-
@name = name
|
2283
|
-
end
|
2284
|
-
end
|
2285
|
-
|
2286
|
-
class PickupAddress < Stripe::RequestParams
|
2287
|
-
# City, district, suburb, town, or village.
|
2288
|
-
attr_accessor :city
|
2289
|
-
# Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)).
|
2290
|
-
attr_accessor :country
|
2291
|
-
# Address line 1 (e.g., street, PO Box, or company name).
|
2292
|
-
attr_accessor :line1
|
2293
|
-
# Address line 2 (e.g., apartment, suite, unit, or building).
|
2294
|
-
attr_accessor :line2
|
2295
|
-
# ZIP or postal code.
|
2296
|
-
attr_accessor :postal_code
|
2297
|
-
# State, county, province, or region.
|
2298
|
-
attr_accessor :state
|
2299
|
-
|
2300
|
-
def initialize(
|
2301
|
-
city: nil,
|
2302
|
-
country: nil,
|
2303
|
-
line1: nil,
|
2304
|
-
line2: nil,
|
2305
|
-
postal_code: nil,
|
2306
|
-
state: nil
|
2307
|
-
)
|
2308
|
-
@city = city
|
2309
|
-
@country = country
|
2310
|
-
@line1 = line1
|
2311
|
-
@line2 = line2
|
2312
|
-
@postal_code = postal_code
|
2313
|
-
@state = state
|
2314
|
-
end
|
2315
|
-
end
|
2316
|
-
|
2317
|
-
class ReturnAddress < Stripe::RequestParams
|
2318
|
-
# City, district, suburb, town, or village.
|
2319
|
-
attr_accessor :city
|
2320
|
-
# Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)).
|
2321
|
-
attr_accessor :country
|
2322
|
-
# Address line 1 (e.g., street, PO Box, or company name).
|
2323
|
-
attr_accessor :line1
|
2324
|
-
# Address line 2 (e.g., apartment, suite, unit, or building).
|
2325
|
-
attr_accessor :line2
|
2326
|
-
# ZIP or postal code.
|
2327
|
-
attr_accessor :postal_code
|
2328
|
-
# State, county, province, or region.
|
2329
|
-
attr_accessor :state
|
2330
|
-
|
2331
|
-
def initialize(
|
2332
|
-
city: nil,
|
2333
|
-
country: nil,
|
2334
|
-
line1: nil,
|
2335
|
-
line2: nil,
|
2336
|
-
postal_code: nil,
|
2337
|
-
state: nil
|
2338
|
-
)
|
2339
|
-
@city = city
|
2340
|
-
@country = country
|
2341
|
-
@line1 = line1
|
2342
|
-
@line2 = line2
|
2343
|
-
@postal_code = postal_code
|
2344
|
-
@state = state
|
2345
|
-
end
|
2346
|
-
end
|
2347
|
-
# Affiliate details for this purchase.
|
2348
|
-
attr_accessor :affiliate
|
2349
|
-
# The booking number associated with the car rental.
|
2350
|
-
attr_accessor :booking_number
|
2351
|
-
# Class code of the car.
|
2352
|
-
attr_accessor :car_class_code
|
2353
|
-
# Make of the car.
|
2354
|
-
attr_accessor :car_make
|
2355
|
-
# Model of the car.
|
2356
|
-
attr_accessor :car_model
|
2357
|
-
# The name of the rental car company.
|
2358
|
-
attr_accessor :company
|
2359
|
-
# The customer service phone number of the car rental company.
|
2360
|
-
attr_accessor :customer_service_phone_number
|
2361
|
-
# Number of days the car is being rented.
|
2362
|
-
attr_accessor :days_rented
|
2363
|
-
# Delivery details for this purchase.
|
2364
|
-
attr_accessor :delivery
|
2365
|
-
# The details of the passengers in the travel reservation
|
2366
|
-
attr_accessor :drivers
|
2367
|
-
# List of additional charges being billed.
|
2368
|
-
attr_accessor :extra_charges
|
2369
|
-
# Indicates if the customer did not keep nor cancel their booking.
|
2370
|
-
attr_accessor :no_show
|
2371
|
-
# Car pick-up address.
|
2372
|
-
attr_accessor :pickup_address
|
2373
|
-
# Car pick-up time. Measured in seconds since the Unix epoch.
|
2374
|
-
attr_accessor :pickup_at
|
2375
|
-
# Rental rate.
|
2376
|
-
attr_accessor :rate_amount
|
2377
|
-
# The frequency at which the rate amount is applied. One of `day`, `week` or `month`
|
2378
|
-
attr_accessor :rate_interval
|
2379
|
-
# The name of the person or entity renting the car.
|
2380
|
-
attr_accessor :renter_name
|
2381
|
-
# Car return address.
|
2382
|
-
attr_accessor :return_address
|
2383
|
-
# Car return time. Measured in seconds since the Unix epoch.
|
2384
|
-
attr_accessor :return_at
|
2385
|
-
# Indicates whether the goods or services are tax-exempt or tax is not collected.
|
2386
|
-
attr_accessor :tax_exempt
|
2387
|
-
|
2388
|
-
def initialize(
|
2389
|
-
affiliate: nil,
|
2390
|
-
booking_number: nil,
|
2391
|
-
car_class_code: nil,
|
2392
|
-
car_make: nil,
|
2393
|
-
car_model: nil,
|
2394
|
-
company: nil,
|
2395
|
-
customer_service_phone_number: nil,
|
2396
|
-
days_rented: nil,
|
2397
|
-
delivery: nil,
|
2398
|
-
drivers: nil,
|
2399
|
-
extra_charges: nil,
|
2400
|
-
no_show: nil,
|
2401
|
-
pickup_address: nil,
|
2402
|
-
pickup_at: nil,
|
2403
|
-
rate_amount: nil,
|
2404
|
-
rate_interval: nil,
|
2405
|
-
renter_name: nil,
|
2406
|
-
return_address: nil,
|
2407
|
-
return_at: nil,
|
2408
|
-
tax_exempt: nil
|
2409
|
-
)
|
2410
|
-
@affiliate = affiliate
|
2411
|
-
@booking_number = booking_number
|
2412
|
-
@car_class_code = car_class_code
|
2413
|
-
@car_make = car_make
|
2414
|
-
@car_model = car_model
|
2415
|
-
@company = company
|
2416
|
-
@customer_service_phone_number = customer_service_phone_number
|
2417
|
-
@days_rented = days_rented
|
2418
|
-
@delivery = delivery
|
2419
|
-
@drivers = drivers
|
2420
|
-
@extra_charges = extra_charges
|
2421
|
-
@no_show = no_show
|
2422
|
-
@pickup_address = pickup_address
|
2423
|
-
@pickup_at = pickup_at
|
2424
|
-
@rate_amount = rate_amount
|
2425
|
-
@rate_interval = rate_interval
|
2426
|
-
@renter_name = renter_name
|
2427
|
-
@return_address = return_address
|
2428
|
-
@return_at = return_at
|
2429
|
-
@tax_exempt = tax_exempt
|
2430
|
-
end
|
2431
|
-
end
|
2432
|
-
|
2433
|
-
class EventDetails < Stripe::RequestParams
|
2434
|
-
class Address < Stripe::RequestParams
|
2435
|
-
# City, district, suburb, town, or village.
|
2436
|
-
attr_accessor :city
|
2437
|
-
# Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)).
|
2438
|
-
attr_accessor :country
|
2439
|
-
# Address line 1 (e.g., street, PO Box, or company name).
|
2440
|
-
attr_accessor :line1
|
2441
|
-
# Address line 2 (e.g., apartment, suite, unit, or building).
|
2442
|
-
attr_accessor :line2
|
2443
|
-
# ZIP or postal code.
|
2444
|
-
attr_accessor :postal_code
|
2445
|
-
# State, county, province, or region.
|
2446
|
-
attr_accessor :state
|
2447
|
-
|
2448
|
-
def initialize(
|
2449
|
-
city: nil,
|
2450
|
-
country: nil,
|
2451
|
-
line1: nil,
|
2452
|
-
line2: nil,
|
2453
|
-
postal_code: nil,
|
2454
|
-
state: nil
|
2455
|
-
)
|
2456
|
-
@city = city
|
2457
|
-
@country = country
|
2458
|
-
@line1 = line1
|
2459
|
-
@line2 = line2
|
2460
|
-
@postal_code = postal_code
|
2461
|
-
@state = state
|
2462
|
-
end
|
2463
|
-
end
|
2464
|
-
|
2465
|
-
class Affiliate < Stripe::RequestParams
|
2466
|
-
# The name of the affiliate that originated the purchase.
|
2467
|
-
attr_accessor :name
|
2468
|
-
|
2469
|
-
def initialize(name: nil)
|
2470
|
-
@name = name
|
2471
|
-
end
|
2472
|
-
end
|
2473
|
-
|
2474
|
-
class Delivery < Stripe::RequestParams
|
2475
|
-
class Recipient < Stripe::RequestParams
|
2476
|
-
# The email of the recipient the ticket is delivered to.
|
2477
|
-
attr_accessor :email
|
2478
|
-
# The name of the recipient the ticket is delivered to.
|
2479
|
-
attr_accessor :name
|
2480
|
-
# The phone number of the recipient the ticket is delivered to.
|
2481
|
-
attr_accessor :phone
|
2482
|
-
|
2483
|
-
def initialize(email: nil, name: nil, phone: nil)
|
2484
|
-
@email = email
|
2485
|
-
@name = name
|
2486
|
-
@phone = phone
|
2487
|
-
end
|
2488
|
-
end
|
2489
|
-
# The delivery method for the payment
|
2490
|
-
attr_accessor :mode
|
2491
|
-
# Details of the recipient.
|
2492
|
-
attr_accessor :recipient
|
2493
|
-
|
2494
|
-
def initialize(mode: nil, recipient: nil)
|
2495
|
-
@mode = mode
|
2496
|
-
@recipient = recipient
|
2497
|
-
end
|
2498
|
-
end
|
2499
|
-
# Indicates if the tickets are digitally checked when entering the venue.
|
2500
|
-
attr_accessor :access_controlled_venue
|
2501
|
-
# The event location's address.
|
2502
|
-
attr_accessor :address
|
2503
|
-
# Affiliate details for this purchase.
|
2504
|
-
attr_accessor :affiliate
|
2505
|
-
# The name of the company
|
2506
|
-
attr_accessor :company
|
2507
|
-
# Delivery details for this purchase.
|
2508
|
-
attr_accessor :delivery
|
2509
|
-
# Event end time. Measured in seconds since the Unix epoch.
|
2510
|
-
attr_accessor :ends_at
|
2511
|
-
# Type of the event entertainment (concert, sports event etc)
|
2512
|
-
attr_accessor :genre
|
2513
|
-
# The name of the event.
|
2514
|
-
attr_accessor :name
|
2515
|
-
# Event start time. Measured in seconds since the Unix epoch.
|
2516
|
-
attr_accessor :starts_at
|
2517
|
-
|
2518
|
-
def initialize(
|
2519
|
-
access_controlled_venue: nil,
|
2520
|
-
address: nil,
|
2521
|
-
affiliate: nil,
|
2522
|
-
company: nil,
|
2523
|
-
delivery: nil,
|
2524
|
-
ends_at: nil,
|
2525
|
-
genre: nil,
|
2526
|
-
name: nil,
|
2527
|
-
starts_at: nil
|
2528
|
-
)
|
2529
|
-
@access_controlled_venue = access_controlled_venue
|
2530
|
-
@address = address
|
2531
|
-
@affiliate = affiliate
|
2532
|
-
@company = company
|
2533
|
-
@delivery = delivery
|
2534
|
-
@ends_at = ends_at
|
2535
|
-
@genre = genre
|
2536
|
-
@name = name
|
2537
|
-
@starts_at = starts_at
|
2538
|
-
end
|
2539
|
-
end
|
2540
|
-
|
2541
|
-
class Flight < Stripe::RequestParams
|
2542
|
-
class Affiliate < Stripe::RequestParams
|
2543
|
-
# The name of the affiliate that originated the purchase.
|
2544
|
-
attr_accessor :name
|
2545
|
-
|
2546
|
-
def initialize(name: nil)
|
2547
|
-
@name = name
|
2548
|
-
end
|
2549
|
-
end
|
2550
|
-
|
2551
|
-
class Delivery < Stripe::RequestParams
|
2552
|
-
class Recipient < Stripe::RequestParams
|
2553
|
-
# The email of the recipient the ticket is delivered to.
|
2554
|
-
attr_accessor :email
|
2555
|
-
# The name of the recipient the ticket is delivered to.
|
2556
|
-
attr_accessor :name
|
2557
|
-
# The phone number of the recipient the ticket is delivered to.
|
2558
|
-
attr_accessor :phone
|
2559
|
-
|
2560
|
-
def initialize(email: nil, name: nil, phone: nil)
|
2561
|
-
@email = email
|
2562
|
-
@name = name
|
2563
|
-
@phone = phone
|
2564
|
-
end
|
2565
|
-
end
|
2566
|
-
# The delivery method for the payment
|
2567
|
-
attr_accessor :mode
|
2568
|
-
# Details of the recipient.
|
2569
|
-
attr_accessor :recipient
|
2570
|
-
|
2571
|
-
def initialize(mode: nil, recipient: nil)
|
2572
|
-
@mode = mode
|
2573
|
-
@recipient = recipient
|
2574
|
-
end
|
2575
|
-
end
|
2576
|
-
|
2577
|
-
class Passenger < Stripe::RequestParams
|
2578
|
-
# Full name of the person or entity on the flight reservation.
|
2579
|
-
attr_accessor :name
|
2580
|
-
|
2581
|
-
def initialize(name: nil)
|
2582
|
-
@name = name
|
2583
|
-
end
|
2584
|
-
end
|
2585
|
-
|
2586
|
-
class Segment < Stripe::RequestParams
|
2587
|
-
# The flight segment amount.
|
2588
|
-
attr_accessor :amount
|
2589
|
-
# The International Air Transport Association (IATA) airport code for the arrival airport.
|
2590
|
-
attr_accessor :arrival_airport
|
2591
|
-
# The arrival time for the flight segment. Measured in seconds since the Unix epoch.
|
2592
|
-
attr_accessor :arrives_at
|
2593
|
-
# The International Air Transport Association (IATA) carrier code of the carrier operating the flight segment.
|
2594
|
-
attr_accessor :carrier
|
2595
|
-
# The departure time for the flight segment. Measured in seconds since the Unix epoch.
|
2596
|
-
attr_accessor :departs_at
|
2597
|
-
# The International Air Transport Association (IATA) airport code for the departure airport.
|
2598
|
-
attr_accessor :departure_airport
|
2599
|
-
# The flight number associated with the segment
|
2600
|
-
attr_accessor :flight_number
|
2601
|
-
# The fare class for the segment.
|
2602
|
-
attr_accessor :service_class
|
2603
|
-
|
2604
|
-
def initialize(
|
2605
|
-
amount: nil,
|
2606
|
-
arrival_airport: nil,
|
2607
|
-
arrives_at: nil,
|
2608
|
-
carrier: nil,
|
2609
|
-
departs_at: nil,
|
2610
|
-
departure_airport: nil,
|
2611
|
-
flight_number: nil,
|
2612
|
-
service_class: nil
|
2613
|
-
)
|
2614
|
-
@amount = amount
|
2615
|
-
@arrival_airport = arrival_airport
|
2616
|
-
@arrives_at = arrives_at
|
2617
|
-
@carrier = carrier
|
2618
|
-
@departs_at = departs_at
|
2619
|
-
@departure_airport = departure_airport
|
2620
|
-
@flight_number = flight_number
|
2621
|
-
@service_class = service_class
|
2622
|
-
end
|
2623
|
-
end
|
2624
|
-
# Affiliate details for this purchase.
|
2625
|
-
attr_accessor :affiliate
|
2626
|
-
# The agency number (i.e. International Air Transport Association (IATA) agency number) of the travel agency that made the booking.
|
2627
|
-
attr_accessor :agency_number
|
2628
|
-
# The International Air Transport Association (IATA) carrier code of the carrier that issued the ticket.
|
2629
|
-
attr_accessor :carrier
|
2630
|
-
# Delivery details for this purchase.
|
2631
|
-
attr_accessor :delivery
|
2632
|
-
# The name of the person or entity on the reservation.
|
2633
|
-
attr_accessor :passenger_name
|
2634
|
-
# The details of the passengers in the travel reservation.
|
2635
|
-
attr_accessor :passengers
|
2636
|
-
# The individual flight segments associated with the trip.
|
2637
|
-
attr_accessor :segments
|
2638
|
-
# The ticket number associated with the travel reservation.
|
2639
|
-
attr_accessor :ticket_number
|
2640
|
-
|
2641
|
-
def initialize(
|
2642
|
-
affiliate: nil,
|
2643
|
-
agency_number: nil,
|
2644
|
-
carrier: nil,
|
2645
|
-
delivery: nil,
|
2646
|
-
passenger_name: nil,
|
2647
|
-
passengers: nil,
|
2648
|
-
segments: nil,
|
2649
|
-
ticket_number: nil
|
2650
|
-
)
|
2651
|
-
@affiliate = affiliate
|
2652
|
-
@agency_number = agency_number
|
2653
|
-
@carrier = carrier
|
2654
|
-
@delivery = delivery
|
2655
|
-
@passenger_name = passenger_name
|
2656
|
-
@passengers = passengers
|
2657
|
-
@segments = segments
|
2658
|
-
@ticket_number = ticket_number
|
2659
|
-
end
|
2660
|
-
end
|
2661
|
-
|
2662
|
-
class Lodging < Stripe::RequestParams
|
2663
|
-
class Address < Stripe::RequestParams
|
2664
|
-
# City, district, suburb, town, or village.
|
2665
|
-
attr_accessor :city
|
2666
|
-
# Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)).
|
2667
|
-
attr_accessor :country
|
2668
|
-
# Address line 1 (e.g., street, PO Box, or company name).
|
2669
|
-
attr_accessor :line1
|
2670
|
-
# Address line 2 (e.g., apartment, suite, unit, or building).
|
2671
|
-
attr_accessor :line2
|
2672
|
-
# ZIP or postal code.
|
2673
|
-
attr_accessor :postal_code
|
2674
|
-
# State, county, province, or region.
|
2675
|
-
attr_accessor :state
|
2676
|
-
|
2677
|
-
def initialize(
|
2678
|
-
city: nil,
|
2679
|
-
country: nil,
|
2680
|
-
line1: nil,
|
2681
|
-
line2: nil,
|
2682
|
-
postal_code: nil,
|
2683
|
-
state: nil
|
2684
|
-
)
|
2685
|
-
@city = city
|
2686
|
-
@country = country
|
2687
|
-
@line1 = line1
|
2688
|
-
@line2 = line2
|
2689
|
-
@postal_code = postal_code
|
2690
|
-
@state = state
|
2691
|
-
end
|
2692
|
-
end
|
2693
|
-
|
2694
|
-
class Affiliate < Stripe::RequestParams
|
2695
|
-
# The name of the affiliate that originated the purchase.
|
2696
|
-
attr_accessor :name
|
2697
|
-
|
2698
|
-
def initialize(name: nil)
|
2699
|
-
@name = name
|
2700
|
-
end
|
2701
|
-
end
|
2702
|
-
|
2703
|
-
class Delivery < Stripe::RequestParams
|
2704
|
-
class Recipient < Stripe::RequestParams
|
2705
|
-
# The email of the recipient the ticket is delivered to.
|
2706
|
-
attr_accessor :email
|
2707
|
-
# The name of the recipient the ticket is delivered to.
|
2708
|
-
attr_accessor :name
|
2709
|
-
# The phone number of the recipient the ticket is delivered to.
|
2710
|
-
attr_accessor :phone
|
2711
|
-
|
2712
|
-
def initialize(email: nil, name: nil, phone: nil)
|
2713
|
-
@email = email
|
2714
|
-
@name = name
|
2715
|
-
@phone = phone
|
2716
|
-
end
|
2717
|
-
end
|
2718
|
-
# The delivery method for the payment
|
2719
|
-
attr_accessor :mode
|
2720
|
-
# Details of the recipient.
|
2721
|
-
attr_accessor :recipient
|
2722
|
-
|
2723
|
-
def initialize(mode: nil, recipient: nil)
|
2724
|
-
@mode = mode
|
2725
|
-
@recipient = recipient
|
2726
|
-
end
|
2727
|
-
end
|
2728
|
-
|
2729
|
-
class Passenger < Stripe::RequestParams
|
2730
|
-
# Full name of the person or entity on the lodging reservation.
|
2731
|
-
attr_accessor :name
|
2732
|
-
|
2733
|
-
def initialize(name: nil)
|
2734
|
-
@name = name
|
2735
|
-
end
|
2736
|
-
end
|
2737
|
-
# The lodging location's address.
|
2738
|
-
attr_accessor :address
|
2739
|
-
# The number of adults on the booking
|
2740
|
-
attr_accessor :adults
|
2741
|
-
# Affiliate details for this purchase.
|
2742
|
-
attr_accessor :affiliate
|
2743
|
-
# The booking number associated with the lodging reservation.
|
2744
|
-
attr_accessor :booking_number
|
2745
|
-
# The lodging category
|
2746
|
-
attr_accessor :category
|
2747
|
-
# Loding check-in time. Measured in seconds since the Unix epoch.
|
2748
|
-
attr_accessor :checkin_at
|
2749
|
-
# Lodging check-out time. Measured in seconds since the Unix epoch.
|
2750
|
-
attr_accessor :checkout_at
|
2751
|
-
# The customer service phone number of the lodging company.
|
2752
|
-
attr_accessor :customer_service_phone_number
|
2753
|
-
# The daily lodging room rate.
|
2754
|
-
attr_accessor :daily_room_rate_amount
|
2755
|
-
# Delivery details for this purchase.
|
2756
|
-
attr_accessor :delivery
|
2757
|
-
# List of additional charges being billed.
|
2758
|
-
attr_accessor :extra_charges
|
2759
|
-
# Indicates whether the lodging location is compliant with the Fire Safety Act.
|
2760
|
-
attr_accessor :fire_safety_act_compliance
|
2761
|
-
# The name of the lodging location.
|
2762
|
-
attr_accessor :name
|
2763
|
-
# Indicates if the customer did not keep their booking while failing to cancel the reservation.
|
2764
|
-
attr_accessor :no_show
|
2765
|
-
# The number of rooms on the booking
|
2766
|
-
attr_accessor :number_of_rooms
|
2767
|
-
# The details of the passengers in the travel reservation
|
2768
|
-
attr_accessor :passengers
|
2769
|
-
# The phone number of the lodging location.
|
2770
|
-
attr_accessor :property_phone_number
|
2771
|
-
# The room class for this purchase.
|
2772
|
-
attr_accessor :room_class
|
2773
|
-
# The number of room nights
|
2774
|
-
attr_accessor :room_nights
|
2775
|
-
# The total tax amount associating with the room reservation.
|
2776
|
-
attr_accessor :total_room_tax_amount
|
2777
|
-
# The total tax amount
|
2778
|
-
attr_accessor :total_tax_amount
|
2779
|
-
|
2780
|
-
def initialize(
|
2781
|
-
address: nil,
|
2782
|
-
adults: nil,
|
2783
|
-
affiliate: nil,
|
2784
|
-
booking_number: nil,
|
2785
|
-
category: nil,
|
2786
|
-
checkin_at: nil,
|
2787
|
-
checkout_at: nil,
|
2788
|
-
customer_service_phone_number: nil,
|
2789
|
-
daily_room_rate_amount: nil,
|
2790
|
-
delivery: nil,
|
2791
|
-
extra_charges: nil,
|
2792
|
-
fire_safety_act_compliance: nil,
|
2793
|
-
name: nil,
|
2794
|
-
no_show: nil,
|
2795
|
-
number_of_rooms: nil,
|
2796
|
-
passengers: nil,
|
2797
|
-
property_phone_number: nil,
|
2798
|
-
room_class: nil,
|
2799
|
-
room_nights: nil,
|
2800
|
-
total_room_tax_amount: nil,
|
2801
|
-
total_tax_amount: nil
|
2802
|
-
)
|
2803
|
-
@address = address
|
2804
|
-
@adults = adults
|
2805
|
-
@affiliate = affiliate
|
2806
|
-
@booking_number = booking_number
|
2807
|
-
@category = category
|
2808
|
-
@checkin_at = checkin_at
|
2809
|
-
@checkout_at = checkout_at
|
2810
|
-
@customer_service_phone_number = customer_service_phone_number
|
2811
|
-
@daily_room_rate_amount = daily_room_rate_amount
|
2812
|
-
@delivery = delivery
|
2813
|
-
@extra_charges = extra_charges
|
2814
|
-
@fire_safety_act_compliance = fire_safety_act_compliance
|
2815
|
-
@name = name
|
2816
|
-
@no_show = no_show
|
2817
|
-
@number_of_rooms = number_of_rooms
|
2818
|
-
@passengers = passengers
|
2819
|
-
@property_phone_number = property_phone_number
|
2820
|
-
@room_class = room_class
|
2821
|
-
@room_nights = room_nights
|
2822
|
-
@total_room_tax_amount = total_room_tax_amount
|
2823
|
-
@total_tax_amount = total_tax_amount
|
2824
|
-
end
|
2825
|
-
end
|
2826
|
-
|
2827
|
-
class Subscription < Stripe::RequestParams
|
2828
|
-
class Affiliate < Stripe::RequestParams
|
2829
|
-
# The name of the affiliate that originated the purchase.
|
2830
|
-
attr_accessor :name
|
2831
|
-
|
2832
|
-
def initialize(name: nil)
|
2833
|
-
@name = name
|
2834
|
-
end
|
2835
|
-
end
|
2836
|
-
|
2837
|
-
class BillingInterval < Stripe::RequestParams
|
2838
|
-
# The number of intervals, as an whole number greater than 0. Stripe multiplies this by the interval type to get the overall duration.
|
2839
|
-
attr_accessor :count
|
2840
|
-
# Specifies a type of interval unit. Either `day`, `week`, `month` or `year`.
|
2841
|
-
attr_accessor :interval
|
2842
|
-
|
2843
|
-
def initialize(count: nil, interval: nil)
|
2844
|
-
@count = count
|
2845
|
-
@interval = interval
|
2846
|
-
end
|
2847
|
-
end
|
2848
|
-
# Affiliate details for this purchase.
|
2849
|
-
attr_accessor :affiliate
|
2850
|
-
# Info whether the subscription will be auto renewed upon expiry.
|
2851
|
-
attr_accessor :auto_renewal
|
2852
|
-
# Subscription billing details for this purchase.
|
2853
|
-
attr_accessor :billing_interval
|
2854
|
-
# Subscription end time. Measured in seconds since the Unix epoch.
|
2855
|
-
attr_accessor :ends_at
|
2856
|
-
# Name of the product on subscription. e.g. Apple Music Subscription
|
2857
|
-
attr_accessor :name
|
2858
|
-
# Subscription start time. Measured in seconds since the Unix epoch.
|
2859
|
-
attr_accessor :starts_at
|
2860
|
-
|
2861
|
-
def initialize(
|
2862
|
-
affiliate: nil,
|
2863
|
-
auto_renewal: nil,
|
2864
|
-
billing_interval: nil,
|
2865
|
-
ends_at: nil,
|
2866
|
-
name: nil,
|
2867
|
-
starts_at: nil
|
2868
|
-
)
|
2869
|
-
@affiliate = affiliate
|
2870
|
-
@auto_renewal = auto_renewal
|
2871
|
-
@billing_interval = billing_interval
|
2872
|
-
@ends_at = ends_at
|
2873
|
-
@name = name
|
2874
|
-
@starts_at = starts_at
|
2875
|
-
end
|
2876
|
-
end
|
2877
|
-
# Car rental details for this PaymentIntent.
|
2878
|
-
attr_accessor :car_rental
|
2879
|
-
# Event details for this PaymentIntent
|
2880
|
-
attr_accessor :event_details
|
2881
|
-
# Flight reservation details for this PaymentIntent
|
2882
|
-
attr_accessor :flight
|
2883
|
-
# Lodging reservation details for this PaymentIntent
|
2884
|
-
attr_accessor :lodging
|
2885
|
-
# Subscription details for this PaymentIntent
|
2886
|
-
attr_accessor :subscription
|
2887
|
-
|
2888
|
-
def initialize(
|
2889
|
-
car_rental: nil,
|
2890
|
-
event_details: nil,
|
2891
|
-
flight: nil,
|
2892
|
-
lodging: nil,
|
2893
|
-
subscription: nil
|
2894
|
-
)
|
2895
|
-
@car_rental = car_rental
|
2896
|
-
@event_details = event_details
|
2897
|
-
@flight = flight
|
2898
|
-
@lodging = lodging
|
2899
|
-
@subscription = subscription
|
2900
|
-
end
|
2901
|
-
end
|
2902
|
-
|
2903
1485
|
class TransferData < Stripe::RequestParams
|
2904
1486
|
# The amount transferred to the destination account, if specified. By default, the entire charge amount is transferred to the destination account.
|
2905
1487
|
attr_accessor :amount
|
@@ -2908,7 +1490,7 @@ module Stripe
|
|
2908
1490
|
@amount = amount
|
2909
1491
|
end
|
2910
1492
|
end
|
2911
|
-
# The amount to capture, which must be less than or equal to the original amount.
|
1493
|
+
# The amount to capture, which must be less than or equal to the original amount.
|
2912
1494
|
attr_accessor :amount
|
2913
1495
|
# An application fee to add on to this charge.
|
2914
1496
|
attr_accessor :application_fee
|
@@ -2916,8 +1498,6 @@ module Stripe
|
|
2916
1498
|
attr_accessor :application_fee_amount
|
2917
1499
|
# Specifies which fields in the response should be expanded.
|
2918
1500
|
attr_accessor :expand
|
2919
|
-
# Provides industry-specific information about the charge.
|
2920
|
-
attr_accessor :payment_details
|
2921
1501
|
# The email address to send this charge's receipt to. This will override the previously-specified email address for this charge, if one was set. Receipts will not be sent in test mode.
|
2922
1502
|
attr_accessor :receipt_email
|
2923
1503
|
# For a non-card charge, text that appears on the customer's statement as the statement descriptor. This value overrides the account's default statement descriptor. For information about requirements, including the 22-character limit, see [the Statement Descriptor docs](https://docs.stripe.com/get-started/account/statement-descriptors).
|
@@ -2936,7 +1516,6 @@ module Stripe
|
|
2936
1516
|
application_fee: nil,
|
2937
1517
|
application_fee_amount: nil,
|
2938
1518
|
expand: nil,
|
2939
|
-
payment_details: nil,
|
2940
1519
|
receipt_email: nil,
|
2941
1520
|
statement_descriptor: nil,
|
2942
1521
|
statement_descriptor_suffix: nil,
|
@@ -2947,7 +1526,6 @@ module Stripe
|
|
2947
1526
|
@application_fee = application_fee
|
2948
1527
|
@application_fee_amount = application_fee_amount
|
2949
1528
|
@expand = expand
|
2950
|
-
@payment_details = payment_details
|
2951
1529
|
@receipt_email = receipt_email
|
2952
1530
|
@statement_descriptor = statement_descriptor
|
2953
1531
|
@statement_descriptor_suffix = statement_descriptor_suffix
|
@@ -2997,8 +1575,6 @@ module Stripe
|
|
2997
1575
|
attr_reader :fraud_details
|
2998
1576
|
# Unique identifier for the object.
|
2999
1577
|
attr_reader :id
|
3000
|
-
# ID of the invoice this charge is for if one exists.
|
3001
|
-
attr_reader :invoice
|
3002
1578
|
# Attribute for field level3
|
3003
1579
|
attr_reader :level3
|
3004
1580
|
# Has the value `true` if the object exists in live mode or the value `false` if the object exists in test mode.
|
@@ -3019,6 +1595,8 @@ module Stripe
|
|
3019
1595
|
attr_reader :payment_method
|
3020
1596
|
# Details about the payment method at the time of the transaction.
|
3021
1597
|
attr_reader :payment_method_details
|
1598
|
+
# Attribute for field presentment_details
|
1599
|
+
attr_reader :presentment_details
|
3022
1600
|
# Options to configure Radar. See [Radar Session](https://stripe.com/docs/radar/radar-session) for more information.
|
3023
1601
|
attr_reader :radar_options
|
3024
1602
|
# This is the email address that the receipt for this charge was sent to.
|