Update generated code for v1745

This commit is contained in:
Stripe OpenAPI 2025-05-09 21:24:33 +00:00
parent b57fa684c3
commit 5e22c8593e
10 changed files with 1560 additions and 121 deletions

View File

@ -1 +1 @@
v1743
v1745

View File

@ -1534,11 +1534,29 @@ module Stripe
end
end
class Distance < Stripe::RequestParams
# Distance traveled.
attr_accessor :amount
# Unit of measurement for the distance traveled. One of `miles` or `kilometers`.
attr_accessor :unit
def initialize(amount: nil, unit: nil)
@amount = amount
@unit = unit
end
end
class Driver < Stripe::RequestParams
# Driver's identification number.
attr_accessor :driver_identification_number
# Driver's tax number.
attr_accessor :driver_tax_number
# Full name of the person or entity on the car reservation.
attr_accessor :name
def initialize(name: nil)
def initialize(driver_identification_number: nil, driver_tax_number: nil, name: nil)
@driver_identification_number = driver_identification_number
@driver_tax_number = driver_tax_number
@name = name
end
end
@ -1622,6 +1640,8 @@ module Stripe
attr_accessor :days_rented
# Delivery details for this purchase.
attr_accessor :delivery
# The details of the distance traveled during the rental period.
attr_accessor :distance
# The details of the passengers in the travel reservation
attr_accessor :drivers
# List of additional charges being billed.
@ -1632,6 +1652,8 @@ module Stripe
attr_accessor :pickup_address
# Car pick-up time. Measured in seconds since the Unix epoch.
attr_accessor :pickup_at
# Name of the pickup location.
attr_accessor :pickup_location_name
# Rental rate.
attr_accessor :rate_amount
# The frequency at which the rate amount is applied. One of `day`, `week` or `month`
@ -1642,8 +1664,12 @@ module Stripe
attr_accessor :return_address
# Car return time. Measured in seconds since the Unix epoch.
attr_accessor :return_at
# Name of the return location.
attr_accessor :return_location_name
# Indicates whether the goods or services are tax-exempt or tax is not collected.
attr_accessor :tax_exempt
# The vehicle identification number.
attr_accessor :vehicle_identification_number
def initialize(
affiliate: nil,
@ -1655,17 +1681,21 @@ module Stripe
customer_service_phone_number: nil,
days_rented: nil,
delivery: nil,
distance: nil,
drivers: nil,
extra_charges: nil,
no_show: nil,
pickup_address: nil,
pickup_at: nil,
pickup_location_name: nil,
rate_amount: nil,
rate_interval: nil,
renter_name: nil,
return_address: nil,
return_at: nil,
tax_exempt: nil
return_location_name: nil,
tax_exempt: nil,
vehicle_identification_number: nil
)
@affiliate = affiliate
@booking_number = booking_number
@ -1676,17 +1706,21 @@ module Stripe
@customer_service_phone_number = customer_service_phone_number
@days_rented = days_rented
@delivery = delivery
@distance = distance
@drivers = drivers
@extra_charges = extra_charges
@no_show = no_show
@pickup_address = pickup_address
@pickup_at = pickup_at
@pickup_location_name = pickup_location_name
@rate_amount = rate_amount
@rate_interval = rate_interval
@renter_name = renter_name
@return_address = return_address
@return_at = return_at
@return_location_name = return_location_name
@tax_exempt = tax_exempt
@vehicle_identification_number = vehicle_identification_number
end
end
@ -2316,11 +2350,29 @@ module Stripe
end
end
class Distance < Stripe::RequestParams
# Distance traveled.
attr_accessor :amount
# Unit of measurement for the distance traveled. One of `miles` or `kilometers`.
attr_accessor :unit
def initialize(amount: nil, unit: nil)
@amount = amount
@unit = unit
end
end
class Driver < Stripe::RequestParams
# Driver's identification number.
attr_accessor :driver_identification_number
# Driver's tax number.
attr_accessor :driver_tax_number
# Full name of the person or entity on the car reservation.
attr_accessor :name
def initialize(name: nil)
def initialize(driver_identification_number: nil, driver_tax_number: nil, name: nil)
@driver_identification_number = driver_identification_number
@driver_tax_number = driver_tax_number
@name = name
end
end
@ -2404,6 +2456,8 @@ module Stripe
attr_accessor :days_rented
# Delivery details for this purchase.
attr_accessor :delivery
# The details of the distance traveled during the rental period.
attr_accessor :distance
# The details of the passengers in the travel reservation
attr_accessor :drivers
# List of additional charges being billed.
@ -2414,6 +2468,8 @@ module Stripe
attr_accessor :pickup_address
# Car pick-up time. Measured in seconds since the Unix epoch.
attr_accessor :pickup_at
# Name of the pickup location.
attr_accessor :pickup_location_name
# Rental rate.
attr_accessor :rate_amount
# The frequency at which the rate amount is applied. One of `day`, `week` or `month`
@ -2424,8 +2480,12 @@ module Stripe
attr_accessor :return_address
# Car return time. Measured in seconds since the Unix epoch.
attr_accessor :return_at
# Name of the return location.
attr_accessor :return_location_name
# Indicates whether the goods or services are tax-exempt or tax is not collected.
attr_accessor :tax_exempt
# The vehicle identification number.
attr_accessor :vehicle_identification_number
def initialize(
affiliate: nil,
@ -2437,17 +2497,21 @@ module Stripe
customer_service_phone_number: nil,
days_rented: nil,
delivery: nil,
distance: nil,
drivers: nil,
extra_charges: nil,
no_show: nil,
pickup_address: nil,
pickup_at: nil,
pickup_location_name: nil,
rate_amount: nil,
rate_interval: nil,
renter_name: nil,
return_address: nil,
return_at: nil,
tax_exempt: nil
return_location_name: nil,
tax_exempt: nil,
vehicle_identification_number: nil
)
@affiliate = affiliate
@booking_number = booking_number
@ -2458,17 +2522,21 @@ module Stripe
@customer_service_phone_number = customer_service_phone_number
@days_rented = days_rented
@delivery = delivery
@distance = distance
@drivers = drivers
@extra_charges = extra_charges
@no_show = no_show
@pickup_address = pickup_address
@pickup_at = pickup_at
@pickup_location_name = pickup_location_name
@rate_amount = rate_amount
@rate_interval = rate_interval
@renter_name = renter_name
@return_address = return_address
@return_at = return_at
@return_location_name = return_location_name
@tax_exempt = tax_exempt
@vehicle_identification_number = vehicle_identification_number
end
end

View File

@ -730,7 +730,18 @@ module Stripe
attr_reader :recipient
end
class Distance < Stripe::StripeObject
# Distance traveled.
attr_reader :amount
# Unit of measurement for the distance traveled. One of `miles` or `kilometers`
attr_reader :unit
end
class Driver < Stripe::StripeObject
# Driver's identification number.
attr_reader :driver_identification_number
# Driver's tax number.
attr_reader :driver_tax_number
# Full name of the driver on the reservation.
attr_reader :name
end
@ -782,6 +793,8 @@ module Stripe
attr_reader :days_rented
# Attribute for field delivery
attr_reader :delivery
# Attribute for field distance
attr_reader :distance
# The details of the drivers associated with the trip.
attr_reader :drivers
# List of additional charges being billed.
@ -792,6 +805,8 @@ module Stripe
attr_reader :pickup_address
# Car pick-up time. Measured in seconds since the Unix epoch.
attr_reader :pickup_at
# Name of the pickup location.
attr_reader :pickup_location_name
# Rental rate.
attr_reader :rate_amount
# The frequency at which the rate amount is applied. One of `day`, `week` or `month`
@ -802,8 +817,12 @@ module Stripe
attr_reader :return_address
# Car return time. Measured in seconds since the Unix epoch.
attr_reader :return_at
# Name of the return location.
attr_reader :return_location_name
# Indicates whether the goods or services are tax-exempt or tax is not collected.
attr_reader :tax_exempt
# The vehicle identification number of the car.
attr_reader :vehicle_identification_number
end
class EventDetails < Stripe::StripeObject
@ -2128,11 +2147,29 @@ module Stripe
end
end
class Distance < Stripe::RequestParams
# Distance traveled.
attr_accessor :amount
# Unit of measurement for the distance traveled. One of `miles` or `kilometers`.
attr_accessor :unit
def initialize(amount: nil, unit: nil)
@amount = amount
@unit = unit
end
end
class Driver < Stripe::RequestParams
# Driver's identification number.
attr_accessor :driver_identification_number
# Driver's tax number.
attr_accessor :driver_tax_number
# Full name of the person or entity on the car reservation.
attr_accessor :name
def initialize(name: nil)
def initialize(driver_identification_number: nil, driver_tax_number: nil, name: nil)
@driver_identification_number = driver_identification_number
@driver_tax_number = driver_tax_number
@name = name
end
end
@ -2216,6 +2253,8 @@ module Stripe
attr_accessor :days_rented
# Delivery details for this purchase.
attr_accessor :delivery
# The details of the distance traveled during the rental period.
attr_accessor :distance
# The details of the passengers in the travel reservation
attr_accessor :drivers
# List of additional charges being billed.
@ -2226,6 +2265,8 @@ module Stripe
attr_accessor :pickup_address
# Car pick-up time. Measured in seconds since the Unix epoch.
attr_accessor :pickup_at
# Name of the pickup location.
attr_accessor :pickup_location_name
# Rental rate.
attr_accessor :rate_amount
# The frequency at which the rate amount is applied. One of `day`, `week` or `month`
@ -2236,8 +2277,12 @@ module Stripe
attr_accessor :return_address
# Car return time. Measured in seconds since the Unix epoch.
attr_accessor :return_at
# Name of the return location.
attr_accessor :return_location_name
# Indicates whether the goods or services are tax-exempt or tax is not collected.
attr_accessor :tax_exempt
# The vehicle identification number.
attr_accessor :vehicle_identification_number
def initialize(
affiliate: nil,
@ -2249,17 +2294,21 @@ module Stripe
customer_service_phone_number: nil,
days_rented: nil,
delivery: nil,
distance: nil,
drivers: nil,
extra_charges: nil,
no_show: nil,
pickup_address: nil,
pickup_at: nil,
pickup_location_name: nil,
rate_amount: nil,
rate_interval: nil,
renter_name: nil,
return_address: nil,
return_at: nil,
tax_exempt: nil
return_location_name: nil,
tax_exempt: nil,
vehicle_identification_number: nil
)
@affiliate = affiliate
@booking_number = booking_number
@ -2270,17 +2319,21 @@ module Stripe
@customer_service_phone_number = customer_service_phone_number
@days_rented = days_rented
@delivery = delivery
@distance = distance
@drivers = drivers
@extra_charges = extra_charges
@no_show = no_show
@pickup_address = pickup_address
@pickup_at = pickup_at
@pickup_location_name = pickup_location_name
@rate_amount = rate_amount
@rate_interval = rate_interval
@renter_name = renter_name
@return_address = return_address
@return_at = return_at
@return_location_name = return_location_name
@tax_exempt = tax_exempt
@vehicle_identification_number = vehicle_identification_number
end
end
@ -5650,11 +5703,29 @@ module Stripe
end
end
class Distance < Stripe::RequestParams
# Distance traveled.
attr_accessor :amount
# Unit of measurement for the distance traveled. One of `miles` or `kilometers`.
attr_accessor :unit
def initialize(amount: nil, unit: nil)
@amount = amount
@unit = unit
end
end
class Driver < Stripe::RequestParams
# Driver's identification number.
attr_accessor :driver_identification_number
# Driver's tax number.
attr_accessor :driver_tax_number
# Full name of the person or entity on the car reservation.
attr_accessor :name
def initialize(name: nil)
def initialize(driver_identification_number: nil, driver_tax_number: nil, name: nil)
@driver_identification_number = driver_identification_number
@driver_tax_number = driver_tax_number
@name = name
end
end
@ -5738,6 +5809,8 @@ module Stripe
attr_accessor :days_rented
# Delivery details for this purchase.
attr_accessor :delivery
# The details of the distance traveled during the rental period.
attr_accessor :distance
# The details of the passengers in the travel reservation
attr_accessor :drivers
# List of additional charges being billed.
@ -5748,6 +5821,8 @@ module Stripe
attr_accessor :pickup_address
# Car pick-up time. Measured in seconds since the Unix epoch.
attr_accessor :pickup_at
# Name of the pickup location.
attr_accessor :pickup_location_name
# Rental rate.
attr_accessor :rate_amount
# The frequency at which the rate amount is applied. One of `day`, `week` or `month`
@ -5758,8 +5833,12 @@ module Stripe
attr_accessor :return_address
# Car return time. Measured in seconds since the Unix epoch.
attr_accessor :return_at
# Name of the return location.
attr_accessor :return_location_name
# Indicates whether the goods or services are tax-exempt or tax is not collected.
attr_accessor :tax_exempt
# The vehicle identification number.
attr_accessor :vehicle_identification_number
def initialize(
affiliate: nil,
@ -5771,17 +5850,21 @@ module Stripe
customer_service_phone_number: nil,
days_rented: nil,
delivery: nil,
distance: nil,
drivers: nil,
extra_charges: nil,
no_show: nil,
pickup_address: nil,
pickup_at: nil,
pickup_location_name: nil,
rate_amount: nil,
rate_interval: nil,
renter_name: nil,
return_address: nil,
return_at: nil,
tax_exempt: nil
return_location_name: nil,
tax_exempt: nil,
vehicle_identification_number: nil
)
@affiliate = affiliate
@booking_number = booking_number
@ -5792,17 +5875,21 @@ module Stripe
@customer_service_phone_number = customer_service_phone_number
@days_rented = days_rented
@delivery = delivery
@distance = distance
@drivers = drivers
@extra_charges = extra_charges
@no_show = no_show
@pickup_address = pickup_address
@pickup_at = pickup_at
@pickup_location_name = pickup_location_name
@rate_amount = rate_amount
@rate_interval = rate_interval
@renter_name = renter_name
@return_address = return_address
@return_at = return_at
@return_location_name = return_location_name
@tax_exempt = tax_exempt
@vehicle_identification_number = vehicle_identification_number
end
end
@ -9116,11 +9203,29 @@ module Stripe
end
end
class Distance < Stripe::RequestParams
# Distance traveled.
attr_accessor :amount
# Unit of measurement for the distance traveled. One of `miles` or `kilometers`.
attr_accessor :unit
def initialize(amount: nil, unit: nil)
@amount = amount
@unit = unit
end
end
class Driver < Stripe::RequestParams
# Driver's identification number.
attr_accessor :driver_identification_number
# Driver's tax number.
attr_accessor :driver_tax_number
# Full name of the person or entity on the car reservation.
attr_accessor :name
def initialize(name: nil)
def initialize(driver_identification_number: nil, driver_tax_number: nil, name: nil)
@driver_identification_number = driver_identification_number
@driver_tax_number = driver_tax_number
@name = name
end
end
@ -9204,6 +9309,8 @@ module Stripe
attr_accessor :days_rented
# Delivery details for this purchase.
attr_accessor :delivery
# The details of the distance traveled during the rental period.
attr_accessor :distance
# The details of the passengers in the travel reservation
attr_accessor :drivers
# List of additional charges being billed.
@ -9214,6 +9321,8 @@ module Stripe
attr_accessor :pickup_address
# Car pick-up time. Measured in seconds since the Unix epoch.
attr_accessor :pickup_at
# Name of the pickup location.
attr_accessor :pickup_location_name
# Rental rate.
attr_accessor :rate_amount
# The frequency at which the rate amount is applied. One of `day`, `week` or `month`
@ -9224,8 +9333,12 @@ module Stripe
attr_accessor :return_address
# Car return time. Measured in seconds since the Unix epoch.
attr_accessor :return_at
# Name of the return location.
attr_accessor :return_location_name
# Indicates whether the goods or services are tax-exempt or tax is not collected.
attr_accessor :tax_exempt
# The vehicle identification number.
attr_accessor :vehicle_identification_number
def initialize(
affiliate: nil,
@ -9237,17 +9350,21 @@ module Stripe
customer_service_phone_number: nil,
days_rented: nil,
delivery: nil,
distance: nil,
drivers: nil,
extra_charges: nil,
no_show: nil,
pickup_address: nil,
pickup_at: nil,
pickup_location_name: nil,
rate_amount: nil,
rate_interval: nil,
renter_name: nil,
return_address: nil,
return_at: nil,
tax_exempt: nil
return_location_name: nil,
tax_exempt: nil,
vehicle_identification_number: nil
)
@affiliate = affiliate
@booking_number = booking_number
@ -9258,17 +9375,21 @@ module Stripe
@customer_service_phone_number = customer_service_phone_number
@days_rented = days_rented
@delivery = delivery
@distance = distance
@drivers = drivers
@extra_charges = extra_charges
@no_show = no_show
@pickup_address = pickup_address
@pickup_at = pickup_at
@pickup_location_name = pickup_location_name
@rate_amount = rate_amount
@rate_interval = rate_interval
@renter_name = renter_name
@return_address = return_address
@return_at = return_at
@return_location_name = return_location_name
@tax_exempt = tax_exempt
@vehicle_identification_number = vehicle_identification_number
end
end
@ -9910,11 +10031,29 @@ module Stripe
end
end
class Distance < Stripe::RequestParams
# Distance traveled.
attr_accessor :amount
# Unit of measurement for the distance traveled. One of `miles` or `kilometers`.
attr_accessor :unit
def initialize(amount: nil, unit: nil)
@amount = amount
@unit = unit
end
end
class Driver < Stripe::RequestParams
# Driver's identification number.
attr_accessor :driver_identification_number
# Driver's tax number.
attr_accessor :driver_tax_number
# Full name of the person or entity on the car reservation.
attr_accessor :name
def initialize(name: nil)
def initialize(driver_identification_number: nil, driver_tax_number: nil, name: nil)
@driver_identification_number = driver_identification_number
@driver_tax_number = driver_tax_number
@name = name
end
end
@ -9998,6 +10137,8 @@ module Stripe
attr_accessor :days_rented
# Delivery details for this purchase.
attr_accessor :delivery
# The details of the distance traveled during the rental period.
attr_accessor :distance
# The details of the passengers in the travel reservation
attr_accessor :drivers
# List of additional charges being billed.
@ -10008,6 +10149,8 @@ module Stripe
attr_accessor :pickup_address
# Car pick-up time. Measured in seconds since the Unix epoch.
attr_accessor :pickup_at
# Name of the pickup location.
attr_accessor :pickup_location_name
# Rental rate.
attr_accessor :rate_amount
# The frequency at which the rate amount is applied. One of `day`, `week` or `month`
@ -10018,8 +10161,12 @@ module Stripe
attr_accessor :return_address
# Car return time. Measured in seconds since the Unix epoch.
attr_accessor :return_at
# Name of the return location.
attr_accessor :return_location_name
# Indicates whether the goods or services are tax-exempt or tax is not collected.
attr_accessor :tax_exempt
# The vehicle identification number.
attr_accessor :vehicle_identification_number
def initialize(
affiliate: nil,
@ -10031,17 +10178,21 @@ module Stripe
customer_service_phone_number: nil,
days_rented: nil,
delivery: nil,
distance: nil,
drivers: nil,
extra_charges: nil,
no_show: nil,
pickup_address: nil,
pickup_at: nil,
pickup_location_name: nil,
rate_amount: nil,
rate_interval: nil,
renter_name: nil,
return_address: nil,
return_at: nil,
tax_exempt: nil
return_location_name: nil,
tax_exempt: nil,
vehicle_identification_number: nil
)
@affiliate = affiliate
@booking_number = booking_number
@ -10052,17 +10203,21 @@ module Stripe
@customer_service_phone_number = customer_service_phone_number
@days_rented = days_rented
@delivery = delivery
@distance = distance
@drivers = drivers
@extra_charges = extra_charges
@no_show = no_show
@pickup_address = pickup_address
@pickup_at = pickup_at
@pickup_location_name = pickup_location_name
@rate_amount = rate_amount
@rate_interval = rate_interval
@renter_name = renter_name
@return_address = return_address
@return_at = return_at
@return_location_name = return_location_name
@tax_exempt = tax_exempt
@vehicle_identification_number = vehicle_identification_number
end
end

View File

@ -283,11 +283,29 @@ module Stripe
end
end
class Distance < Stripe::RequestParams
# Distance traveled.
attr_accessor :amount
# Unit of measurement for the distance traveled. One of `miles` or `kilometers`.
attr_accessor :unit
def initialize(amount: nil, unit: nil)
@amount = amount
@unit = unit
end
end
class Driver < Stripe::RequestParams
# Driver's identification number.
attr_accessor :driver_identification_number
# Driver's tax number.
attr_accessor :driver_tax_number
# Full name of the person or entity on the car reservation.
attr_accessor :name
def initialize(name: nil)
def initialize(driver_identification_number: nil, driver_tax_number: nil, name: nil)
@driver_identification_number = driver_identification_number
@driver_tax_number = driver_tax_number
@name = name
end
end
@ -371,6 +389,8 @@ module Stripe
attr_accessor :days_rented
# Delivery details for this purchase.
attr_accessor :delivery
# The details of the distance traveled during the rental period.
attr_accessor :distance
# The details of the passengers in the travel reservation
attr_accessor :drivers
# List of additional charges being billed.
@ -381,6 +401,8 @@ module Stripe
attr_accessor :pickup_address
# Car pick-up time. Measured in seconds since the Unix epoch.
attr_accessor :pickup_at
# Name of the pickup location.
attr_accessor :pickup_location_name
# Rental rate.
attr_accessor :rate_amount
# The frequency at which the rate amount is applied. One of `day`, `week` or `month`
@ -391,8 +413,12 @@ module Stripe
attr_accessor :return_address
# Car return time. Measured in seconds since the Unix epoch.
attr_accessor :return_at
# Name of the return location.
attr_accessor :return_location_name
# Indicates whether the goods or services are tax-exempt or tax is not collected.
attr_accessor :tax_exempt
# The vehicle identification number.
attr_accessor :vehicle_identification_number
def initialize(
affiliate: nil,
@ -404,17 +430,21 @@ module Stripe
customer_service_phone_number: nil,
days_rented: nil,
delivery: nil,
distance: nil,
drivers: nil,
extra_charges: nil,
no_show: nil,
pickup_address: nil,
pickup_at: nil,
pickup_location_name: nil,
rate_amount: nil,
rate_interval: nil,
renter_name: nil,
return_address: nil,
return_at: nil,
tax_exempt: nil
return_location_name: nil,
tax_exempt: nil,
vehicle_identification_number: nil
)
@affiliate = affiliate
@booking_number = booking_number
@ -425,17 +455,21 @@ module Stripe
@customer_service_phone_number = customer_service_phone_number
@days_rented = days_rented
@delivery = delivery
@distance = distance
@drivers = drivers
@extra_charges = extra_charges
@no_show = no_show
@pickup_address = pickup_address
@pickup_at = pickup_at
@pickup_location_name = pickup_location_name
@rate_amount = rate_amount
@rate_interval = rate_interval
@renter_name = renter_name
@return_address = return_address
@return_at = return_at
@return_location_name = return_location_name
@tax_exempt = tax_exempt
@vehicle_identification_number = vehicle_identification_number
end
end
@ -1065,11 +1099,29 @@ module Stripe
end
end
class Distance < Stripe::RequestParams
# Distance traveled.
attr_accessor :amount
# Unit of measurement for the distance traveled. One of `miles` or `kilometers`.
attr_accessor :unit
def initialize(amount: nil, unit: nil)
@amount = amount
@unit = unit
end
end
class Driver < Stripe::RequestParams
# Driver's identification number.
attr_accessor :driver_identification_number
# Driver's tax number.
attr_accessor :driver_tax_number
# Full name of the person or entity on the car reservation.
attr_accessor :name
def initialize(name: nil)
def initialize(driver_identification_number: nil, driver_tax_number: nil, name: nil)
@driver_identification_number = driver_identification_number
@driver_tax_number = driver_tax_number
@name = name
end
end
@ -1153,6 +1205,8 @@ module Stripe
attr_accessor :days_rented
# Delivery details for this purchase.
attr_accessor :delivery
# The details of the distance traveled during the rental period.
attr_accessor :distance
# The details of the passengers in the travel reservation
attr_accessor :drivers
# List of additional charges being billed.
@ -1163,6 +1217,8 @@ module Stripe
attr_accessor :pickup_address
# Car pick-up time. Measured in seconds since the Unix epoch.
attr_accessor :pickup_at
# Name of the pickup location.
attr_accessor :pickup_location_name
# Rental rate.
attr_accessor :rate_amount
# The frequency at which the rate amount is applied. One of `day`, `week` or `month`
@ -1173,8 +1229,12 @@ module Stripe
attr_accessor :return_address
# Car return time. Measured in seconds since the Unix epoch.
attr_accessor :return_at
# Name of the return location.
attr_accessor :return_location_name
# Indicates whether the goods or services are tax-exempt or tax is not collected.
attr_accessor :tax_exempt
# The vehicle identification number.
attr_accessor :vehicle_identification_number
def initialize(
affiliate: nil,
@ -1186,17 +1246,21 @@ module Stripe
customer_service_phone_number: nil,
days_rented: nil,
delivery: nil,
distance: nil,
drivers: nil,
extra_charges: nil,
no_show: nil,
pickup_address: nil,
pickup_at: nil,
pickup_location_name: nil,
rate_amount: nil,
rate_interval: nil,
renter_name: nil,
return_address: nil,
return_at: nil,
tax_exempt: nil
return_location_name: nil,
tax_exempt: nil,
vehicle_identification_number: nil
)
@affiliate = affiliate
@booking_number = booking_number
@ -1207,17 +1271,21 @@ module Stripe
@customer_service_phone_number = customer_service_phone_number
@days_rented = days_rented
@delivery = delivery
@distance = distance
@drivers = drivers
@extra_charges = extra_charges
@no_show = no_show
@pickup_address = pickup_address
@pickup_at = pickup_at
@pickup_location_name = pickup_location_name
@rate_amount = rate_amount
@rate_interval = rate_interval
@renter_name = renter_name
@return_address = return_address
@return_at = return_at
@return_location_name = return_location_name
@tax_exempt = tax_exempt
@vehicle_identification_number = vehicle_identification_number
end
end

View File

@ -179,11 +179,29 @@ module Stripe
end
end
class Distance < Stripe::RequestParams
# Distance traveled.
attr_accessor :amount
# Unit of measurement for the distance traveled. One of `miles` or `kilometers`.
attr_accessor :unit
def initialize(amount: nil, unit: nil)
@amount = amount
@unit = unit
end
end
class Driver < Stripe::RequestParams
# Driver's identification number.
attr_accessor :driver_identification_number
# Driver's tax number.
attr_accessor :driver_tax_number
# Full name of the person or entity on the car reservation.
attr_accessor :name
def initialize(name: nil)
def initialize(driver_identification_number: nil, driver_tax_number: nil, name: nil)
@driver_identification_number = driver_identification_number
@driver_tax_number = driver_tax_number
@name = name
end
end
@ -267,6 +285,8 @@ module Stripe
attr_accessor :days_rented
# Delivery details for this purchase.
attr_accessor :delivery
# The details of the distance traveled during the rental period.
attr_accessor :distance
# The details of the passengers in the travel reservation
attr_accessor :drivers
# List of additional charges being billed.
@ -277,6 +297,8 @@ module Stripe
attr_accessor :pickup_address
# Car pick-up time. Measured in seconds since the Unix epoch.
attr_accessor :pickup_at
# Name of the pickup location.
attr_accessor :pickup_location_name
# Rental rate.
attr_accessor :rate_amount
# The frequency at which the rate amount is applied. One of `day`, `week` or `month`
@ -287,8 +309,12 @@ module Stripe
attr_accessor :return_address
# Car return time. Measured in seconds since the Unix epoch.
attr_accessor :return_at
# Name of the return location.
attr_accessor :return_location_name
# Indicates whether the goods or services are tax-exempt or tax is not collected.
attr_accessor :tax_exempt
# The vehicle identification number.
attr_accessor :vehicle_identification_number
def initialize(
affiliate: nil,
@ -300,17 +326,21 @@ module Stripe
customer_service_phone_number: nil,
days_rented: nil,
delivery: nil,
distance: nil,
drivers: nil,
extra_charges: nil,
no_show: nil,
pickup_address: nil,
pickup_at: nil,
pickup_location_name: nil,
rate_amount: nil,
rate_interval: nil,
renter_name: nil,
return_address: nil,
return_at: nil,
tax_exempt: nil
return_location_name: nil,
tax_exempt: nil,
vehicle_identification_number: nil
)
@affiliate = affiliate
@booking_number = booking_number
@ -321,17 +351,21 @@ module Stripe
@customer_service_phone_number = customer_service_phone_number
@days_rented = days_rented
@delivery = delivery
@distance = distance
@drivers = drivers
@extra_charges = extra_charges
@no_show = no_show
@pickup_address = pickup_address
@pickup_at = pickup_at
@pickup_location_name = pickup_location_name
@rate_amount = rate_amount
@rate_interval = rate_interval
@renter_name = renter_name
@return_address = return_address
@return_at = return_at
@return_location_name = return_location_name
@tax_exempt = tax_exempt
@vehicle_identification_number = vehicle_identification_number
end
end
@ -3713,11 +3747,29 @@ module Stripe
end
end
class Distance < Stripe::RequestParams
# Distance traveled.
attr_accessor :amount
# Unit of measurement for the distance traveled. One of `miles` or `kilometers`.
attr_accessor :unit
def initialize(amount: nil, unit: nil)
@amount = amount
@unit = unit
end
end
class Driver < Stripe::RequestParams
# Driver's identification number.
attr_accessor :driver_identification_number
# Driver's tax number.
attr_accessor :driver_tax_number
# Full name of the person or entity on the car reservation.
attr_accessor :name
def initialize(name: nil)
def initialize(driver_identification_number: nil, driver_tax_number: nil, name: nil)
@driver_identification_number = driver_identification_number
@driver_tax_number = driver_tax_number
@name = name
end
end
@ -3801,6 +3853,8 @@ module Stripe
attr_accessor :days_rented
# Delivery details for this purchase.
attr_accessor :delivery
# The details of the distance traveled during the rental period.
attr_accessor :distance
# The details of the passengers in the travel reservation
attr_accessor :drivers
# List of additional charges being billed.
@ -3811,6 +3865,8 @@ module Stripe
attr_accessor :pickup_address
# Car pick-up time. Measured in seconds since the Unix epoch.
attr_accessor :pickup_at
# Name of the pickup location.
attr_accessor :pickup_location_name
# Rental rate.
attr_accessor :rate_amount
# The frequency at which the rate amount is applied. One of `day`, `week` or `month`
@ -3821,8 +3877,12 @@ module Stripe
attr_accessor :return_address
# Car return time. Measured in seconds since the Unix epoch.
attr_accessor :return_at
# Name of the return location.
attr_accessor :return_location_name
# Indicates whether the goods or services are tax-exempt or tax is not collected.
attr_accessor :tax_exempt
# The vehicle identification number.
attr_accessor :vehicle_identification_number
def initialize(
affiliate: nil,
@ -3834,17 +3894,21 @@ module Stripe
customer_service_phone_number: nil,
days_rented: nil,
delivery: nil,
distance: nil,
drivers: nil,
extra_charges: nil,
no_show: nil,
pickup_address: nil,
pickup_at: nil,
pickup_location_name: nil,
rate_amount: nil,
rate_interval: nil,
renter_name: nil,
return_address: nil,
return_at: nil,
tax_exempt: nil
return_location_name: nil,
tax_exempt: nil,
vehicle_identification_number: nil
)
@affiliate = affiliate
@booking_number = booking_number
@ -3855,17 +3919,21 @@ module Stripe
@customer_service_phone_number = customer_service_phone_number
@days_rented = days_rented
@delivery = delivery
@distance = distance
@drivers = drivers
@extra_charges = extra_charges
@no_show = no_show
@pickup_address = pickup_address
@pickup_at = pickup_at
@pickup_location_name = pickup_location_name
@rate_amount = rate_amount
@rate_interval = rate_interval
@renter_name = renter_name
@return_address = return_address
@return_at = return_at
@return_location_name = return_location_name
@tax_exempt = tax_exempt
@vehicle_identification_number = vehicle_identification_number
end
end
@ -7179,11 +7247,29 @@ module Stripe
end
end
class Distance < Stripe::RequestParams
# Distance traveled.
attr_accessor :amount
# Unit of measurement for the distance traveled. One of `miles` or `kilometers`.
attr_accessor :unit
def initialize(amount: nil, unit: nil)
@amount = amount
@unit = unit
end
end
class Driver < Stripe::RequestParams
# Driver's identification number.
attr_accessor :driver_identification_number
# Driver's tax number.
attr_accessor :driver_tax_number
# Full name of the person or entity on the car reservation.
attr_accessor :name
def initialize(name: nil)
def initialize(driver_identification_number: nil, driver_tax_number: nil, name: nil)
@driver_identification_number = driver_identification_number
@driver_tax_number = driver_tax_number
@name = name
end
end
@ -7267,6 +7353,8 @@ module Stripe
attr_accessor :days_rented
# Delivery details for this purchase.
attr_accessor :delivery
# The details of the distance traveled during the rental period.
attr_accessor :distance
# The details of the passengers in the travel reservation
attr_accessor :drivers
# List of additional charges being billed.
@ -7277,6 +7365,8 @@ module Stripe
attr_accessor :pickup_address
# Car pick-up time. Measured in seconds since the Unix epoch.
attr_accessor :pickup_at
# Name of the pickup location.
attr_accessor :pickup_location_name
# Rental rate.
attr_accessor :rate_amount
# The frequency at which the rate amount is applied. One of `day`, `week` or `month`
@ -7287,8 +7377,12 @@ module Stripe
attr_accessor :return_address
# Car return time. Measured in seconds since the Unix epoch.
attr_accessor :return_at
# Name of the return location.
attr_accessor :return_location_name
# Indicates whether the goods or services are tax-exempt or tax is not collected.
attr_accessor :tax_exempt
# The vehicle identification number.
attr_accessor :vehicle_identification_number
def initialize(
affiliate: nil,
@ -7300,17 +7394,21 @@ module Stripe
customer_service_phone_number: nil,
days_rented: nil,
delivery: nil,
distance: nil,
drivers: nil,
extra_charges: nil,
no_show: nil,
pickup_address: nil,
pickup_at: nil,
pickup_location_name: nil,
rate_amount: nil,
rate_interval: nil,
renter_name: nil,
return_address: nil,
return_at: nil,
tax_exempt: nil
return_location_name: nil,
tax_exempt: nil,
vehicle_identification_number: nil
)
@affiliate = affiliate
@booking_number = booking_number
@ -7321,17 +7419,21 @@ module Stripe
@customer_service_phone_number = customer_service_phone_number
@days_rented = days_rented
@delivery = delivery
@distance = distance
@drivers = drivers
@extra_charges = extra_charges
@no_show = no_show
@pickup_address = pickup_address
@pickup_at = pickup_at
@pickup_location_name = pickup_location_name
@rate_amount = rate_amount
@rate_interval = rate_interval
@renter_name = renter_name
@return_address = return_address
@return_at = return_at
@return_location_name = return_location_name
@tax_exempt = tax_exempt
@vehicle_identification_number = vehicle_identification_number
end
end
@ -7973,11 +8075,29 @@ module Stripe
end
end
class Distance < Stripe::RequestParams
# Distance traveled.
attr_accessor :amount
# Unit of measurement for the distance traveled. One of `miles` or `kilometers`.
attr_accessor :unit
def initialize(amount: nil, unit: nil)
@amount = amount
@unit = unit
end
end
class Driver < Stripe::RequestParams
# Driver's identification number.
attr_accessor :driver_identification_number
# Driver's tax number.
attr_accessor :driver_tax_number
# Full name of the person or entity on the car reservation.
attr_accessor :name
def initialize(name: nil)
def initialize(driver_identification_number: nil, driver_tax_number: nil, name: nil)
@driver_identification_number = driver_identification_number
@driver_tax_number = driver_tax_number
@name = name
end
end
@ -8061,6 +8181,8 @@ module Stripe
attr_accessor :days_rented
# Delivery details for this purchase.
attr_accessor :delivery
# The details of the distance traveled during the rental period.
attr_accessor :distance
# The details of the passengers in the travel reservation
attr_accessor :drivers
# List of additional charges being billed.
@ -8071,6 +8193,8 @@ module Stripe
attr_accessor :pickup_address
# Car pick-up time. Measured in seconds since the Unix epoch.
attr_accessor :pickup_at
# Name of the pickup location.
attr_accessor :pickup_location_name
# Rental rate.
attr_accessor :rate_amount
# The frequency at which the rate amount is applied. One of `day`, `week` or `month`
@ -8081,8 +8205,12 @@ module Stripe
attr_accessor :return_address
# Car return time. Measured in seconds since the Unix epoch.
attr_accessor :return_at
# Name of the return location.
attr_accessor :return_location_name
# Indicates whether the goods or services are tax-exempt or tax is not collected.
attr_accessor :tax_exempt
# The vehicle identification number.
attr_accessor :vehicle_identification_number
def initialize(
affiliate: nil,
@ -8094,17 +8222,21 @@ module Stripe
customer_service_phone_number: nil,
days_rented: nil,
delivery: nil,
distance: nil,
drivers: nil,
extra_charges: nil,
no_show: nil,
pickup_address: nil,
pickup_at: nil,
pickup_location_name: nil,
rate_amount: nil,
rate_interval: nil,
renter_name: nil,
return_address: nil,
return_at: nil,
tax_exempt: nil
return_location_name: nil,
tax_exempt: nil,
vehicle_identification_number: nil
)
@affiliate = affiliate
@booking_number = booking_number
@ -8115,17 +8247,21 @@ module Stripe
@customer_service_phone_number = customer_service_phone_number
@days_rented = days_rented
@delivery = delivery
@distance = distance
@drivers = drivers
@extra_charges = extra_charges
@no_show = no_show
@pickup_address = pickup_address
@pickup_at = pickup_at
@pickup_location_name = pickup_location_name
@rate_amount = rate_amount
@rate_interval = rate_interval
@renter_name = renter_name
@return_address = return_address
@return_at = return_at
@return_location_name = return_location_name
@tax_exempt = tax_exempt
@vehicle_identification_number = vehicle_identification_number
end
end

File diff suppressed because it is too large Load Diff

View File

@ -2033,12 +2033,34 @@ module Stripe
}
def initialize(mode: nil, recipient: nil); end
end
class Distance < Stripe::RequestParams
# Distance traveled.
sig { returns(T.nilable(Integer)) }
attr_accessor :amount
# Unit of measurement for the distance traveled. One of `miles` or `kilometers`.
sig { returns(T.nilable(String)) }
attr_accessor :unit
sig { params(amount: T.nilable(Integer), unit: T.nilable(String)).void }
def initialize(amount: nil, unit: nil); end
end
class Driver < Stripe::RequestParams
# Driver's identification number.
sig { returns(T.nilable(String)) }
attr_accessor :driver_identification_number
# Driver's tax number.
sig { returns(T.nilable(String)) }
attr_accessor :driver_tax_number
# Full name of the person or entity on the car reservation.
sig { returns(String) }
attr_accessor :name
sig { params(name: String).void }
def initialize(name: nil); end
sig {
params(driver_identification_number: T.nilable(String), driver_tax_number: T.nilable(String), name: String).void
}
def initialize(
driver_identification_number: nil,
driver_tax_number: nil,
name: nil
); end
end
class PickupAddress < Stripe::RequestParams
# City, district, suburb, town, or village.
@ -2133,6 +2155,11 @@ module Stripe
returns(T.nilable(::Stripe::Charge::UpdateParams::PaymentDetails::CarRental::Delivery))
}
attr_accessor :delivery
# The details of the distance traveled during the rental period.
sig {
returns(T.nilable(::Stripe::Charge::UpdateParams::PaymentDetails::CarRental::Distance))
}
attr_accessor :distance
# The details of the passengers in the travel reservation
sig {
returns(T.nilable(T::Array[::Stripe::Charge::UpdateParams::PaymentDetails::CarRental::Driver]))
@ -2152,6 +2179,9 @@ module Stripe
# Car pick-up time. Measured in seconds since the Unix epoch.
sig { returns(Integer) }
attr_accessor :pickup_at
# Name of the pickup location.
sig { returns(T.nilable(String)) }
attr_accessor :pickup_location_name
# Rental rate.
sig { returns(T.nilable(Integer)) }
attr_accessor :rate_amount
@ -2169,11 +2199,17 @@ module Stripe
# Car return time. Measured in seconds since the Unix epoch.
sig { returns(Integer) }
attr_accessor :return_at
# Name of the return location.
sig { returns(T.nilable(String)) }
attr_accessor :return_location_name
# Indicates whether the goods or services are tax-exempt or tax is not collected.
sig { returns(T.nilable(T::Boolean)) }
attr_accessor :tax_exempt
# The vehicle identification number.
sig { returns(T.nilable(String)) }
attr_accessor :vehicle_identification_number
sig {
params(affiliate: T.nilable(::Stripe::Charge::UpdateParams::PaymentDetails::CarRental::Affiliate), booking_number: String, car_class_code: T.nilable(String), car_make: T.nilable(String), car_model: T.nilable(String), company: T.nilable(String), customer_service_phone_number: T.nilable(String), days_rented: Integer, delivery: T.nilable(::Stripe::Charge::UpdateParams::PaymentDetails::CarRental::Delivery), drivers: T.nilable(T::Array[::Stripe::Charge::UpdateParams::PaymentDetails::CarRental::Driver]), extra_charges: T.nilable(T::Array[String]), no_show: T.nilable(T::Boolean), pickup_address: T.nilable(::Stripe::Charge::UpdateParams::PaymentDetails::CarRental::PickupAddress), pickup_at: Integer, rate_amount: T.nilable(Integer), rate_interval: T.nilable(String), renter_name: T.nilable(String), return_address: T.nilable(::Stripe::Charge::UpdateParams::PaymentDetails::CarRental::ReturnAddress), return_at: Integer, tax_exempt: T.nilable(T::Boolean)).void
params(affiliate: T.nilable(::Stripe::Charge::UpdateParams::PaymentDetails::CarRental::Affiliate), booking_number: String, car_class_code: T.nilable(String), car_make: T.nilable(String), car_model: T.nilable(String), company: T.nilable(String), customer_service_phone_number: T.nilable(String), days_rented: Integer, delivery: T.nilable(::Stripe::Charge::UpdateParams::PaymentDetails::CarRental::Delivery), distance: T.nilable(::Stripe::Charge::UpdateParams::PaymentDetails::CarRental::Distance), drivers: T.nilable(T::Array[::Stripe::Charge::UpdateParams::PaymentDetails::CarRental::Driver]), extra_charges: T.nilable(T::Array[String]), no_show: T.nilable(T::Boolean), pickup_address: T.nilable(::Stripe::Charge::UpdateParams::PaymentDetails::CarRental::PickupAddress), pickup_at: Integer, pickup_location_name: T.nilable(String), rate_amount: T.nilable(Integer), rate_interval: T.nilable(String), renter_name: T.nilable(String), return_address: T.nilable(::Stripe::Charge::UpdateParams::PaymentDetails::CarRental::ReturnAddress), return_at: Integer, return_location_name: T.nilable(String), tax_exempt: T.nilable(T::Boolean), vehicle_identification_number: T.nilable(String)).void
}
def initialize(
affiliate: nil,
@ -2185,17 +2221,21 @@ module Stripe
customer_service_phone_number: nil,
days_rented: nil,
delivery: nil,
distance: nil,
drivers: nil,
extra_charges: nil,
no_show: nil,
pickup_address: nil,
pickup_at: nil,
pickup_location_name: nil,
rate_amount: nil,
rate_interval: nil,
renter_name: nil,
return_address: nil,
return_at: nil,
tax_exempt: nil
return_location_name: nil,
tax_exempt: nil,
vehicle_identification_number: nil
); end
end
class EventDetails < Stripe::RequestParams
@ -2851,12 +2891,34 @@ module Stripe
}
def initialize(mode: nil, recipient: nil); end
end
class Distance < Stripe::RequestParams
# Distance traveled.
sig { returns(T.nilable(Integer)) }
attr_accessor :amount
# Unit of measurement for the distance traveled. One of `miles` or `kilometers`.
sig { returns(T.nilable(String)) }
attr_accessor :unit
sig { params(amount: T.nilable(Integer), unit: T.nilable(String)).void }
def initialize(amount: nil, unit: nil); end
end
class Driver < Stripe::RequestParams
# Driver's identification number.
sig { returns(T.nilable(String)) }
attr_accessor :driver_identification_number
# Driver's tax number.
sig { returns(T.nilable(String)) }
attr_accessor :driver_tax_number
# Full name of the person or entity on the car reservation.
sig { returns(String) }
attr_accessor :name
sig { params(name: String).void }
def initialize(name: nil); end
sig {
params(driver_identification_number: T.nilable(String), driver_tax_number: T.nilable(String), name: String).void
}
def initialize(
driver_identification_number: nil,
driver_tax_number: nil,
name: nil
); end
end
class PickupAddress < Stripe::RequestParams
# City, district, suburb, town, or village.
@ -2951,6 +3013,11 @@ module Stripe
returns(T.nilable(::Stripe::Charge::CaptureParams::PaymentDetails::CarRental::Delivery))
}
attr_accessor :delivery
# The details of the distance traveled during the rental period.
sig {
returns(T.nilable(::Stripe::Charge::CaptureParams::PaymentDetails::CarRental::Distance))
}
attr_accessor :distance
# The details of the passengers in the travel reservation
sig {
returns(T.nilable(T::Array[::Stripe::Charge::CaptureParams::PaymentDetails::CarRental::Driver]))
@ -2970,6 +3037,9 @@ module Stripe
# Car pick-up time. Measured in seconds since the Unix epoch.
sig { returns(Integer) }
attr_accessor :pickup_at
# Name of the pickup location.
sig { returns(T.nilable(String)) }
attr_accessor :pickup_location_name
# Rental rate.
sig { returns(T.nilable(Integer)) }
attr_accessor :rate_amount
@ -2987,11 +3057,17 @@ module Stripe
# Car return time. Measured in seconds since the Unix epoch.
sig { returns(Integer) }
attr_accessor :return_at
# Name of the return location.
sig { returns(T.nilable(String)) }
attr_accessor :return_location_name
# Indicates whether the goods or services are tax-exempt or tax is not collected.
sig { returns(T.nilable(T::Boolean)) }
attr_accessor :tax_exempt
# The vehicle identification number.
sig { returns(T.nilable(String)) }
attr_accessor :vehicle_identification_number
sig {
params(affiliate: T.nilable(::Stripe::Charge::CaptureParams::PaymentDetails::CarRental::Affiliate), booking_number: String, car_class_code: T.nilable(String), car_make: T.nilable(String), car_model: T.nilable(String), company: T.nilable(String), customer_service_phone_number: T.nilable(String), days_rented: Integer, delivery: T.nilable(::Stripe::Charge::CaptureParams::PaymentDetails::CarRental::Delivery), drivers: T.nilable(T::Array[::Stripe::Charge::CaptureParams::PaymentDetails::CarRental::Driver]), extra_charges: T.nilable(T::Array[String]), no_show: T.nilable(T::Boolean), pickup_address: T.nilable(::Stripe::Charge::CaptureParams::PaymentDetails::CarRental::PickupAddress), pickup_at: Integer, rate_amount: T.nilable(Integer), rate_interval: T.nilable(String), renter_name: T.nilable(String), return_address: T.nilable(::Stripe::Charge::CaptureParams::PaymentDetails::CarRental::ReturnAddress), return_at: Integer, tax_exempt: T.nilable(T::Boolean)).void
params(affiliate: T.nilable(::Stripe::Charge::CaptureParams::PaymentDetails::CarRental::Affiliate), booking_number: String, car_class_code: T.nilable(String), car_make: T.nilable(String), car_model: T.nilable(String), company: T.nilable(String), customer_service_phone_number: T.nilable(String), days_rented: Integer, delivery: T.nilable(::Stripe::Charge::CaptureParams::PaymentDetails::CarRental::Delivery), distance: T.nilable(::Stripe::Charge::CaptureParams::PaymentDetails::CarRental::Distance), drivers: T.nilable(T::Array[::Stripe::Charge::CaptureParams::PaymentDetails::CarRental::Driver]), extra_charges: T.nilable(T::Array[String]), no_show: T.nilable(T::Boolean), pickup_address: T.nilable(::Stripe::Charge::CaptureParams::PaymentDetails::CarRental::PickupAddress), pickup_at: Integer, pickup_location_name: T.nilable(String), rate_amount: T.nilable(Integer), rate_interval: T.nilable(String), renter_name: T.nilable(String), return_address: T.nilable(::Stripe::Charge::CaptureParams::PaymentDetails::CarRental::ReturnAddress), return_at: Integer, return_location_name: T.nilable(String), tax_exempt: T.nilable(T::Boolean), vehicle_identification_number: T.nilable(String)).void
}
def initialize(
affiliate: nil,
@ -3003,17 +3079,21 @@ module Stripe
customer_service_phone_number: nil,
days_rented: nil,
delivery: nil,
distance: nil,
drivers: nil,
extra_charges: nil,
no_show: nil,
pickup_address: nil,
pickup_at: nil,
pickup_location_name: nil,
rate_amount: nil,
rate_interval: nil,
renter_name: nil,
return_address: nil,
return_at: nil,
tax_exempt: nil
return_location_name: nil,
tax_exempt: nil,
vehicle_identification_number: nil
); end
end
class EventDetails < Stripe::RequestParams

View File

@ -936,7 +936,21 @@ module Stripe
sig { returns(Recipient) }
attr_reader :recipient
end
class Distance < Stripe::StripeObject
# Distance traveled.
sig { returns(Integer) }
attr_reader :amount
# Unit of measurement for the distance traveled. One of `miles` or `kilometers`
sig { returns(String) }
attr_reader :unit
end
class Driver < Stripe::StripeObject
# Driver's identification number.
sig { returns(String) }
attr_reader :driver_identification_number
# Driver's tax number.
sig { returns(String) }
attr_reader :driver_tax_number
# Full name of the driver on the reservation.
sig { returns(String) }
attr_reader :name
@ -1008,6 +1022,9 @@ module Stripe
# Attribute for field delivery
sig { returns(Delivery) }
attr_reader :delivery
# Attribute for field distance
sig { returns(Distance) }
attr_reader :distance
# The details of the drivers associated with the trip.
sig { returns(T::Array[Driver]) }
attr_reader :drivers
@ -1023,6 +1040,9 @@ module Stripe
# Car pick-up time. Measured in seconds since the Unix epoch.
sig { returns(Integer) }
attr_reader :pickup_at
# Name of the pickup location.
sig { returns(T.nilable(String)) }
attr_reader :pickup_location_name
# Rental rate.
sig { returns(Integer) }
attr_reader :rate_amount
@ -1038,9 +1058,15 @@ module Stripe
# Car return time. Measured in seconds since the Unix epoch.
sig { returns(Integer) }
attr_reader :return_at
# Name of the return location.
sig { returns(T.nilable(String)) }
attr_reader :return_location_name
# Indicates whether the goods or services are tax-exempt or tax is not collected.
sig { returns(T::Boolean) }
attr_reader :tax_exempt
# The vehicle identification number of the car.
sig { returns(T.nilable(String)) }
attr_reader :vehicle_identification_number
end
class EventDetails < Stripe::StripeObject
class Address < Stripe::StripeObject
@ -2755,12 +2781,34 @@ module Stripe
}
def initialize(mode: nil, recipient: nil); end
end
class Distance < Stripe::RequestParams
# Distance traveled.
sig { returns(T.nilable(Integer)) }
attr_accessor :amount
# Unit of measurement for the distance traveled. One of `miles` or `kilometers`.
sig { returns(T.nilable(String)) }
attr_accessor :unit
sig { params(amount: T.nilable(Integer), unit: T.nilable(String)).void }
def initialize(amount: nil, unit: nil); end
end
class Driver < Stripe::RequestParams
# Driver's identification number.
sig { returns(T.nilable(String)) }
attr_accessor :driver_identification_number
# Driver's tax number.
sig { returns(T.nilable(String)) }
attr_accessor :driver_tax_number
# Full name of the person or entity on the car reservation.
sig { returns(String) }
attr_accessor :name
sig { params(name: String).void }
def initialize(name: nil); end
sig {
params(driver_identification_number: T.nilable(String), driver_tax_number: T.nilable(String), name: String).void
}
def initialize(
driver_identification_number: nil,
driver_tax_number: nil,
name: nil
); end
end
class PickupAddress < Stripe::RequestParams
# City, district, suburb, town, or village.
@ -2855,6 +2903,11 @@ module Stripe
returns(T.nilable(::Stripe::PaymentIntent::CreateParams::PaymentDetails::CarRental::Delivery))
}
attr_accessor :delivery
# The details of the distance traveled during the rental period.
sig {
returns(T.nilable(::Stripe::PaymentIntent::CreateParams::PaymentDetails::CarRental::Distance))
}
attr_accessor :distance
# The details of the passengers in the travel reservation
sig {
returns(T.nilable(T::Array[::Stripe::PaymentIntent::CreateParams::PaymentDetails::CarRental::Driver]))
@ -2874,6 +2927,9 @@ module Stripe
# Car pick-up time. Measured in seconds since the Unix epoch.
sig { returns(Integer) }
attr_accessor :pickup_at
# Name of the pickup location.
sig { returns(T.nilable(String)) }
attr_accessor :pickup_location_name
# Rental rate.
sig { returns(T.nilable(Integer)) }
attr_accessor :rate_amount
@ -2891,11 +2947,17 @@ module Stripe
# Car return time. Measured in seconds since the Unix epoch.
sig { returns(Integer) }
attr_accessor :return_at
# Name of the return location.
sig { returns(T.nilable(String)) }
attr_accessor :return_location_name
# Indicates whether the goods or services are tax-exempt or tax is not collected.
sig { returns(T.nilable(T::Boolean)) }
attr_accessor :tax_exempt
# The vehicle identification number.
sig { returns(T.nilable(String)) }
attr_accessor :vehicle_identification_number
sig {
params(affiliate: T.nilable(::Stripe::PaymentIntent::CreateParams::PaymentDetails::CarRental::Affiliate), booking_number: String, car_class_code: T.nilable(String), car_make: T.nilable(String), car_model: T.nilable(String), company: T.nilable(String), customer_service_phone_number: T.nilable(String), days_rented: Integer, delivery: T.nilable(::Stripe::PaymentIntent::CreateParams::PaymentDetails::CarRental::Delivery), drivers: T.nilable(T::Array[::Stripe::PaymentIntent::CreateParams::PaymentDetails::CarRental::Driver]), extra_charges: T.nilable(T::Array[String]), no_show: T.nilable(T::Boolean), pickup_address: T.nilable(::Stripe::PaymentIntent::CreateParams::PaymentDetails::CarRental::PickupAddress), pickup_at: Integer, rate_amount: T.nilable(Integer), rate_interval: T.nilable(String), renter_name: T.nilable(String), return_address: T.nilable(::Stripe::PaymentIntent::CreateParams::PaymentDetails::CarRental::ReturnAddress), return_at: Integer, tax_exempt: T.nilable(T::Boolean)).void
params(affiliate: T.nilable(::Stripe::PaymentIntent::CreateParams::PaymentDetails::CarRental::Affiliate), booking_number: String, car_class_code: T.nilable(String), car_make: T.nilable(String), car_model: T.nilable(String), company: T.nilable(String), customer_service_phone_number: T.nilable(String), days_rented: Integer, delivery: T.nilable(::Stripe::PaymentIntent::CreateParams::PaymentDetails::CarRental::Delivery), distance: T.nilable(::Stripe::PaymentIntent::CreateParams::PaymentDetails::CarRental::Distance), drivers: T.nilable(T::Array[::Stripe::PaymentIntent::CreateParams::PaymentDetails::CarRental::Driver]), extra_charges: T.nilable(T::Array[String]), no_show: T.nilable(T::Boolean), pickup_address: T.nilable(::Stripe::PaymentIntent::CreateParams::PaymentDetails::CarRental::PickupAddress), pickup_at: Integer, pickup_location_name: T.nilable(String), rate_amount: T.nilable(Integer), rate_interval: T.nilable(String), renter_name: T.nilable(String), return_address: T.nilable(::Stripe::PaymentIntent::CreateParams::PaymentDetails::CarRental::ReturnAddress), return_at: Integer, return_location_name: T.nilable(String), tax_exempt: T.nilable(T::Boolean), vehicle_identification_number: T.nilable(String)).void
}
def initialize(
affiliate: nil,
@ -2907,17 +2969,21 @@ module Stripe
customer_service_phone_number: nil,
days_rented: nil,
delivery: nil,
distance: nil,
drivers: nil,
extra_charges: nil,
no_show: nil,
pickup_address: nil,
pickup_at: nil,
pickup_location_name: nil,
rate_amount: nil,
rate_interval: nil,
renter_name: nil,
return_address: nil,
return_at: nil,
tax_exempt: nil
return_location_name: nil,
tax_exempt: nil,
vehicle_identification_number: nil
); end
end
class EventDetails < Stripe::RequestParams
@ -6478,12 +6544,34 @@ module Stripe
}
def initialize(mode: nil, recipient: nil); end
end
class Distance < Stripe::RequestParams
# Distance traveled.
sig { returns(T.nilable(Integer)) }
attr_accessor :amount
# Unit of measurement for the distance traveled. One of `miles` or `kilometers`.
sig { returns(T.nilable(String)) }
attr_accessor :unit
sig { params(amount: T.nilable(Integer), unit: T.nilable(String)).void }
def initialize(amount: nil, unit: nil); end
end
class Driver < Stripe::RequestParams
# Driver's identification number.
sig { returns(T.nilable(String)) }
attr_accessor :driver_identification_number
# Driver's tax number.
sig { returns(T.nilable(String)) }
attr_accessor :driver_tax_number
# Full name of the person or entity on the car reservation.
sig { returns(String) }
attr_accessor :name
sig { params(name: String).void }
def initialize(name: nil); end
sig {
params(driver_identification_number: T.nilable(String), driver_tax_number: T.nilable(String), name: String).void
}
def initialize(
driver_identification_number: nil,
driver_tax_number: nil,
name: nil
); end
end
class PickupAddress < Stripe::RequestParams
# City, district, suburb, town, or village.
@ -6578,6 +6666,11 @@ module Stripe
returns(T.nilable(::Stripe::PaymentIntent::UpdateParams::PaymentDetails::CarRental::Delivery))
}
attr_accessor :delivery
# The details of the distance traveled during the rental period.
sig {
returns(T.nilable(::Stripe::PaymentIntent::UpdateParams::PaymentDetails::CarRental::Distance))
}
attr_accessor :distance
# The details of the passengers in the travel reservation
sig {
returns(T.nilable(T::Array[::Stripe::PaymentIntent::UpdateParams::PaymentDetails::CarRental::Driver]))
@ -6597,6 +6690,9 @@ module Stripe
# Car pick-up time. Measured in seconds since the Unix epoch.
sig { returns(Integer) }
attr_accessor :pickup_at
# Name of the pickup location.
sig { returns(T.nilable(String)) }
attr_accessor :pickup_location_name
# Rental rate.
sig { returns(T.nilable(Integer)) }
attr_accessor :rate_amount
@ -6614,11 +6710,17 @@ module Stripe
# Car return time. Measured in seconds since the Unix epoch.
sig { returns(Integer) }
attr_accessor :return_at
# Name of the return location.
sig { returns(T.nilable(String)) }
attr_accessor :return_location_name
# Indicates whether the goods or services are tax-exempt or tax is not collected.
sig { returns(T.nilable(T::Boolean)) }
attr_accessor :tax_exempt
# The vehicle identification number.
sig { returns(T.nilable(String)) }
attr_accessor :vehicle_identification_number
sig {
params(affiliate: T.nilable(::Stripe::PaymentIntent::UpdateParams::PaymentDetails::CarRental::Affiliate), booking_number: String, car_class_code: T.nilable(String), car_make: T.nilable(String), car_model: T.nilable(String), company: T.nilable(String), customer_service_phone_number: T.nilable(String), days_rented: Integer, delivery: T.nilable(::Stripe::PaymentIntent::UpdateParams::PaymentDetails::CarRental::Delivery), drivers: T.nilable(T::Array[::Stripe::PaymentIntent::UpdateParams::PaymentDetails::CarRental::Driver]), extra_charges: T.nilable(T::Array[String]), no_show: T.nilable(T::Boolean), pickup_address: T.nilable(::Stripe::PaymentIntent::UpdateParams::PaymentDetails::CarRental::PickupAddress), pickup_at: Integer, rate_amount: T.nilable(Integer), rate_interval: T.nilable(String), renter_name: T.nilable(String), return_address: T.nilable(::Stripe::PaymentIntent::UpdateParams::PaymentDetails::CarRental::ReturnAddress), return_at: Integer, tax_exempt: T.nilable(T::Boolean)).void
params(affiliate: T.nilable(::Stripe::PaymentIntent::UpdateParams::PaymentDetails::CarRental::Affiliate), booking_number: String, car_class_code: T.nilable(String), car_make: T.nilable(String), car_model: T.nilable(String), company: T.nilable(String), customer_service_phone_number: T.nilable(String), days_rented: Integer, delivery: T.nilable(::Stripe::PaymentIntent::UpdateParams::PaymentDetails::CarRental::Delivery), distance: T.nilable(::Stripe::PaymentIntent::UpdateParams::PaymentDetails::CarRental::Distance), drivers: T.nilable(T::Array[::Stripe::PaymentIntent::UpdateParams::PaymentDetails::CarRental::Driver]), extra_charges: T.nilable(T::Array[String]), no_show: T.nilable(T::Boolean), pickup_address: T.nilable(::Stripe::PaymentIntent::UpdateParams::PaymentDetails::CarRental::PickupAddress), pickup_at: Integer, pickup_location_name: T.nilable(String), rate_amount: T.nilable(Integer), rate_interval: T.nilable(String), renter_name: T.nilable(String), return_address: T.nilable(::Stripe::PaymentIntent::UpdateParams::PaymentDetails::CarRental::ReturnAddress), return_at: Integer, return_location_name: T.nilable(String), tax_exempt: T.nilable(T::Boolean), vehicle_identification_number: T.nilable(String)).void
}
def initialize(
affiliate: nil,
@ -6630,17 +6732,21 @@ module Stripe
customer_service_phone_number: nil,
days_rented: nil,
delivery: nil,
distance: nil,
drivers: nil,
extra_charges: nil,
no_show: nil,
pickup_address: nil,
pickup_at: nil,
pickup_location_name: nil,
rate_amount: nil,
rate_interval: nil,
renter_name: nil,
return_address: nil,
return_at: nil,
tax_exempt: nil
return_location_name: nil,
tax_exempt: nil,
vehicle_identification_number: nil
); end
end
class EventDetails < Stripe::RequestParams
@ -10147,12 +10253,34 @@ module Stripe
}
def initialize(mode: nil, recipient: nil); end
end
class Distance < Stripe::RequestParams
# Distance traveled.
sig { returns(T.nilable(Integer)) }
attr_accessor :amount
# Unit of measurement for the distance traveled. One of `miles` or `kilometers`.
sig { returns(T.nilable(String)) }
attr_accessor :unit
sig { params(amount: T.nilable(Integer), unit: T.nilable(String)).void }
def initialize(amount: nil, unit: nil); end
end
class Driver < Stripe::RequestParams
# Driver's identification number.
sig { returns(T.nilable(String)) }
attr_accessor :driver_identification_number
# Driver's tax number.
sig { returns(T.nilable(String)) }
attr_accessor :driver_tax_number
# Full name of the person or entity on the car reservation.
sig { returns(String) }
attr_accessor :name
sig { params(name: String).void }
def initialize(name: nil); end
sig {
params(driver_identification_number: T.nilable(String), driver_tax_number: T.nilable(String), name: String).void
}
def initialize(
driver_identification_number: nil,
driver_tax_number: nil,
name: nil
); end
end
class PickupAddress < Stripe::RequestParams
# City, district, suburb, town, or village.
@ -10247,6 +10375,11 @@ module Stripe
returns(T.nilable(::Stripe::PaymentIntent::CaptureParams::PaymentDetails::CarRental::Delivery))
}
attr_accessor :delivery
# The details of the distance traveled during the rental period.
sig {
returns(T.nilable(::Stripe::PaymentIntent::CaptureParams::PaymentDetails::CarRental::Distance))
}
attr_accessor :distance
# The details of the passengers in the travel reservation
sig {
returns(T.nilable(T::Array[::Stripe::PaymentIntent::CaptureParams::PaymentDetails::CarRental::Driver]))
@ -10266,6 +10399,9 @@ module Stripe
# Car pick-up time. Measured in seconds since the Unix epoch.
sig { returns(Integer) }
attr_accessor :pickup_at
# Name of the pickup location.
sig { returns(T.nilable(String)) }
attr_accessor :pickup_location_name
# Rental rate.
sig { returns(T.nilable(Integer)) }
attr_accessor :rate_amount
@ -10283,11 +10419,17 @@ module Stripe
# Car return time. Measured in seconds since the Unix epoch.
sig { returns(Integer) }
attr_accessor :return_at
# Name of the return location.
sig { returns(T.nilable(String)) }
attr_accessor :return_location_name
# Indicates whether the goods or services are tax-exempt or tax is not collected.
sig { returns(T.nilable(T::Boolean)) }
attr_accessor :tax_exempt
# The vehicle identification number.
sig { returns(T.nilable(String)) }
attr_accessor :vehicle_identification_number
sig {
params(affiliate: T.nilable(::Stripe::PaymentIntent::CaptureParams::PaymentDetails::CarRental::Affiliate), booking_number: String, car_class_code: T.nilable(String), car_make: T.nilable(String), car_model: T.nilable(String), company: T.nilable(String), customer_service_phone_number: T.nilable(String), days_rented: Integer, delivery: T.nilable(::Stripe::PaymentIntent::CaptureParams::PaymentDetails::CarRental::Delivery), drivers: T.nilable(T::Array[::Stripe::PaymentIntent::CaptureParams::PaymentDetails::CarRental::Driver]), extra_charges: T.nilable(T::Array[String]), no_show: T.nilable(T::Boolean), pickup_address: T.nilable(::Stripe::PaymentIntent::CaptureParams::PaymentDetails::CarRental::PickupAddress), pickup_at: Integer, rate_amount: T.nilable(Integer), rate_interval: T.nilable(String), renter_name: T.nilable(String), return_address: T.nilable(::Stripe::PaymentIntent::CaptureParams::PaymentDetails::CarRental::ReturnAddress), return_at: Integer, tax_exempt: T.nilable(T::Boolean)).void
params(affiliate: T.nilable(::Stripe::PaymentIntent::CaptureParams::PaymentDetails::CarRental::Affiliate), booking_number: String, car_class_code: T.nilable(String), car_make: T.nilable(String), car_model: T.nilable(String), company: T.nilable(String), customer_service_phone_number: T.nilable(String), days_rented: Integer, delivery: T.nilable(::Stripe::PaymentIntent::CaptureParams::PaymentDetails::CarRental::Delivery), distance: T.nilable(::Stripe::PaymentIntent::CaptureParams::PaymentDetails::CarRental::Distance), drivers: T.nilable(T::Array[::Stripe::PaymentIntent::CaptureParams::PaymentDetails::CarRental::Driver]), extra_charges: T.nilable(T::Array[String]), no_show: T.nilable(T::Boolean), pickup_address: T.nilable(::Stripe::PaymentIntent::CaptureParams::PaymentDetails::CarRental::PickupAddress), pickup_at: Integer, pickup_location_name: T.nilable(String), rate_amount: T.nilable(Integer), rate_interval: T.nilable(String), renter_name: T.nilable(String), return_address: T.nilable(::Stripe::PaymentIntent::CaptureParams::PaymentDetails::CarRental::ReturnAddress), return_at: Integer, return_location_name: T.nilable(String), tax_exempt: T.nilable(T::Boolean), vehicle_identification_number: T.nilable(String)).void
}
def initialize(
affiliate: nil,
@ -10299,17 +10441,21 @@ module Stripe
customer_service_phone_number: nil,
days_rented: nil,
delivery: nil,
distance: nil,
drivers: nil,
extra_charges: nil,
no_show: nil,
pickup_address: nil,
pickup_at: nil,
pickup_location_name: nil,
rate_amount: nil,
rate_interval: nil,
renter_name: nil,
return_address: nil,
return_at: nil,
tax_exempt: nil
return_location_name: nil,
tax_exempt: nil,
vehicle_identification_number: nil
); end
end
class EventDetails < Stripe::RequestParams
@ -10992,12 +11138,34 @@ module Stripe
}
def initialize(mode: nil, recipient: nil); end
end
class Distance < Stripe::RequestParams
# Distance traveled.
sig { returns(T.nilable(Integer)) }
attr_accessor :amount
# Unit of measurement for the distance traveled. One of `miles` or `kilometers`.
sig { returns(T.nilable(String)) }
attr_accessor :unit
sig { params(amount: T.nilable(Integer), unit: T.nilable(String)).void }
def initialize(amount: nil, unit: nil); end
end
class Driver < Stripe::RequestParams
# Driver's identification number.
sig { returns(T.nilable(String)) }
attr_accessor :driver_identification_number
# Driver's tax number.
sig { returns(T.nilable(String)) }
attr_accessor :driver_tax_number
# Full name of the person or entity on the car reservation.
sig { returns(String) }
attr_accessor :name
sig { params(name: String).void }
def initialize(name: nil); end
sig {
params(driver_identification_number: T.nilable(String), driver_tax_number: T.nilable(String), name: String).void
}
def initialize(
driver_identification_number: nil,
driver_tax_number: nil,
name: nil
); end
end
class PickupAddress < Stripe::RequestParams
# City, district, suburb, town, or village.
@ -11092,6 +11260,11 @@ module Stripe
returns(T.nilable(::Stripe::PaymentIntent::ConfirmParams::PaymentDetails::CarRental::Delivery))
}
attr_accessor :delivery
# The details of the distance traveled during the rental period.
sig {
returns(T.nilable(::Stripe::PaymentIntent::ConfirmParams::PaymentDetails::CarRental::Distance))
}
attr_accessor :distance
# The details of the passengers in the travel reservation
sig {
returns(T.nilable(T::Array[::Stripe::PaymentIntent::ConfirmParams::PaymentDetails::CarRental::Driver]))
@ -11111,6 +11284,9 @@ module Stripe
# Car pick-up time. Measured in seconds since the Unix epoch.
sig { returns(Integer) }
attr_accessor :pickup_at
# Name of the pickup location.
sig { returns(T.nilable(String)) }
attr_accessor :pickup_location_name
# Rental rate.
sig { returns(T.nilable(Integer)) }
attr_accessor :rate_amount
@ -11128,11 +11304,17 @@ module Stripe
# Car return time. Measured in seconds since the Unix epoch.
sig { returns(Integer) }
attr_accessor :return_at
# Name of the return location.
sig { returns(T.nilable(String)) }
attr_accessor :return_location_name
# Indicates whether the goods or services are tax-exempt or tax is not collected.
sig { returns(T.nilable(T::Boolean)) }
attr_accessor :tax_exempt
# The vehicle identification number.
sig { returns(T.nilable(String)) }
attr_accessor :vehicle_identification_number
sig {
params(affiliate: T.nilable(::Stripe::PaymentIntent::ConfirmParams::PaymentDetails::CarRental::Affiliate), booking_number: String, car_class_code: T.nilable(String), car_make: T.nilable(String), car_model: T.nilable(String), company: T.nilable(String), customer_service_phone_number: T.nilable(String), days_rented: Integer, delivery: T.nilable(::Stripe::PaymentIntent::ConfirmParams::PaymentDetails::CarRental::Delivery), drivers: T.nilable(T::Array[::Stripe::PaymentIntent::ConfirmParams::PaymentDetails::CarRental::Driver]), extra_charges: T.nilable(T::Array[String]), no_show: T.nilable(T::Boolean), pickup_address: T.nilable(::Stripe::PaymentIntent::ConfirmParams::PaymentDetails::CarRental::PickupAddress), pickup_at: Integer, rate_amount: T.nilable(Integer), rate_interval: T.nilable(String), renter_name: T.nilable(String), return_address: T.nilable(::Stripe::PaymentIntent::ConfirmParams::PaymentDetails::CarRental::ReturnAddress), return_at: Integer, tax_exempt: T.nilable(T::Boolean)).void
params(affiliate: T.nilable(::Stripe::PaymentIntent::ConfirmParams::PaymentDetails::CarRental::Affiliate), booking_number: String, car_class_code: T.nilable(String), car_make: T.nilable(String), car_model: T.nilable(String), company: T.nilable(String), customer_service_phone_number: T.nilable(String), days_rented: Integer, delivery: T.nilable(::Stripe::PaymentIntent::ConfirmParams::PaymentDetails::CarRental::Delivery), distance: T.nilable(::Stripe::PaymentIntent::ConfirmParams::PaymentDetails::CarRental::Distance), drivers: T.nilable(T::Array[::Stripe::PaymentIntent::ConfirmParams::PaymentDetails::CarRental::Driver]), extra_charges: T.nilable(T::Array[String]), no_show: T.nilable(T::Boolean), pickup_address: T.nilable(::Stripe::PaymentIntent::ConfirmParams::PaymentDetails::CarRental::PickupAddress), pickup_at: Integer, pickup_location_name: T.nilable(String), rate_amount: T.nilable(Integer), rate_interval: T.nilable(String), renter_name: T.nilable(String), return_address: T.nilable(::Stripe::PaymentIntent::ConfirmParams::PaymentDetails::CarRental::ReturnAddress), return_at: Integer, return_location_name: T.nilable(String), tax_exempt: T.nilable(T::Boolean), vehicle_identification_number: T.nilable(String)).void
}
def initialize(
affiliate: nil,
@ -11144,17 +11326,21 @@ module Stripe
customer_service_phone_number: nil,
days_rented: nil,
delivery: nil,
distance: nil,
drivers: nil,
extra_charges: nil,
no_show: nil,
pickup_address: nil,
pickup_at: nil,
pickup_location_name: nil,
rate_amount: nil,
rate_interval: nil,
renter_name: nil,
return_address: nil,
return_at: nil,
tax_exempt: nil
return_location_name: nil,
tax_exempt: nil,
vehicle_identification_number: nil
); end
end
class EventDetails < Stripe::RequestParams

View File

@ -278,12 +278,34 @@ module Stripe
}
def initialize(mode: nil, recipient: nil); end
end
class Distance < Stripe::RequestParams
# Distance traveled.
sig { returns(T.nilable(Integer)) }
attr_accessor :amount
# Unit of measurement for the distance traveled. One of `miles` or `kilometers`.
sig { returns(T.nilable(String)) }
attr_accessor :unit
sig { params(amount: T.nilable(Integer), unit: T.nilable(String)).void }
def initialize(amount: nil, unit: nil); end
end
class Driver < Stripe::RequestParams
# Driver's identification number.
sig { returns(T.nilable(String)) }
attr_accessor :driver_identification_number
# Driver's tax number.
sig { returns(T.nilable(String)) }
attr_accessor :driver_tax_number
# Full name of the person or entity on the car reservation.
sig { returns(String) }
attr_accessor :name
sig { params(name: String).void }
def initialize(name: nil); end
sig {
params(driver_identification_number: T.nilable(String), driver_tax_number: T.nilable(String), name: String).void
}
def initialize(
driver_identification_number: nil,
driver_tax_number: nil,
name: nil
); end
end
class PickupAddress < Stripe::RequestParams
# City, district, suburb, town, or village.
@ -378,6 +400,11 @@ module Stripe
returns(T.nilable(::Stripe::ChargeService::UpdateParams::PaymentDetails::CarRental::Delivery))
}
attr_accessor :delivery
# The details of the distance traveled during the rental period.
sig {
returns(T.nilable(::Stripe::ChargeService::UpdateParams::PaymentDetails::CarRental::Distance))
}
attr_accessor :distance
# The details of the passengers in the travel reservation
sig {
returns(T.nilable(T::Array[::Stripe::ChargeService::UpdateParams::PaymentDetails::CarRental::Driver]))
@ -397,6 +424,9 @@ module Stripe
# Car pick-up time. Measured in seconds since the Unix epoch.
sig { returns(Integer) }
attr_accessor :pickup_at
# Name of the pickup location.
sig { returns(T.nilable(String)) }
attr_accessor :pickup_location_name
# Rental rate.
sig { returns(T.nilable(Integer)) }
attr_accessor :rate_amount
@ -414,11 +444,17 @@ module Stripe
# Car return time. Measured in seconds since the Unix epoch.
sig { returns(Integer) }
attr_accessor :return_at
# Name of the return location.
sig { returns(T.nilable(String)) }
attr_accessor :return_location_name
# Indicates whether the goods or services are tax-exempt or tax is not collected.
sig { returns(T.nilable(T::Boolean)) }
attr_accessor :tax_exempt
# The vehicle identification number.
sig { returns(T.nilable(String)) }
attr_accessor :vehicle_identification_number
sig {
params(affiliate: T.nilable(::Stripe::ChargeService::UpdateParams::PaymentDetails::CarRental::Affiliate), booking_number: String, car_class_code: T.nilable(String), car_make: T.nilable(String), car_model: T.nilable(String), company: T.nilable(String), customer_service_phone_number: T.nilable(String), days_rented: Integer, delivery: T.nilable(::Stripe::ChargeService::UpdateParams::PaymentDetails::CarRental::Delivery), drivers: T.nilable(T::Array[::Stripe::ChargeService::UpdateParams::PaymentDetails::CarRental::Driver]), extra_charges: T.nilable(T::Array[String]), no_show: T.nilable(T::Boolean), pickup_address: T.nilable(::Stripe::ChargeService::UpdateParams::PaymentDetails::CarRental::PickupAddress), pickup_at: Integer, rate_amount: T.nilable(Integer), rate_interval: T.nilable(String), renter_name: T.nilable(String), return_address: T.nilable(::Stripe::ChargeService::UpdateParams::PaymentDetails::CarRental::ReturnAddress), return_at: Integer, tax_exempt: T.nilable(T::Boolean)).void
params(affiliate: T.nilable(::Stripe::ChargeService::UpdateParams::PaymentDetails::CarRental::Affiliate), booking_number: String, car_class_code: T.nilable(String), car_make: T.nilable(String), car_model: T.nilable(String), company: T.nilable(String), customer_service_phone_number: T.nilable(String), days_rented: Integer, delivery: T.nilable(::Stripe::ChargeService::UpdateParams::PaymentDetails::CarRental::Delivery), distance: T.nilable(::Stripe::ChargeService::UpdateParams::PaymentDetails::CarRental::Distance), drivers: T.nilable(T::Array[::Stripe::ChargeService::UpdateParams::PaymentDetails::CarRental::Driver]), extra_charges: T.nilable(T::Array[String]), no_show: T.nilable(T::Boolean), pickup_address: T.nilable(::Stripe::ChargeService::UpdateParams::PaymentDetails::CarRental::PickupAddress), pickup_at: Integer, pickup_location_name: T.nilable(String), rate_amount: T.nilable(Integer), rate_interval: T.nilable(String), renter_name: T.nilable(String), return_address: T.nilable(::Stripe::ChargeService::UpdateParams::PaymentDetails::CarRental::ReturnAddress), return_at: Integer, return_location_name: T.nilable(String), tax_exempt: T.nilable(T::Boolean), vehicle_identification_number: T.nilable(String)).void
}
def initialize(
affiliate: nil,
@ -430,17 +466,21 @@ module Stripe
customer_service_phone_number: nil,
days_rented: nil,
delivery: nil,
distance: nil,
drivers: nil,
extra_charges: nil,
no_show: nil,
pickup_address: nil,
pickup_at: nil,
pickup_location_name: nil,
rate_amount: nil,
rate_interval: nil,
renter_name: nil,
return_address: nil,
return_at: nil,
tax_exempt: nil
return_location_name: nil,
tax_exempt: nil,
vehicle_identification_number: nil
); end
end
class EventDetails < Stripe::RequestParams
@ -1102,12 +1142,34 @@ module Stripe
}
def initialize(mode: nil, recipient: nil); end
end
class Distance < Stripe::RequestParams
# Distance traveled.
sig { returns(T.nilable(Integer)) }
attr_accessor :amount
# Unit of measurement for the distance traveled. One of `miles` or `kilometers`.
sig { returns(T.nilable(String)) }
attr_accessor :unit
sig { params(amount: T.nilable(Integer), unit: T.nilable(String)).void }
def initialize(amount: nil, unit: nil); end
end
class Driver < Stripe::RequestParams
# Driver's identification number.
sig { returns(T.nilable(String)) }
attr_accessor :driver_identification_number
# Driver's tax number.
sig { returns(T.nilable(String)) }
attr_accessor :driver_tax_number
# Full name of the person or entity on the car reservation.
sig { returns(String) }
attr_accessor :name
sig { params(name: String).void }
def initialize(name: nil); end
sig {
params(driver_identification_number: T.nilable(String), driver_tax_number: T.nilable(String), name: String).void
}
def initialize(
driver_identification_number: nil,
driver_tax_number: nil,
name: nil
); end
end
class PickupAddress < Stripe::RequestParams
# City, district, suburb, town, or village.
@ -1202,6 +1264,11 @@ module Stripe
returns(T.nilable(::Stripe::ChargeService::CaptureParams::PaymentDetails::CarRental::Delivery))
}
attr_accessor :delivery
# The details of the distance traveled during the rental period.
sig {
returns(T.nilable(::Stripe::ChargeService::CaptureParams::PaymentDetails::CarRental::Distance))
}
attr_accessor :distance
# The details of the passengers in the travel reservation
sig {
returns(T.nilable(T::Array[::Stripe::ChargeService::CaptureParams::PaymentDetails::CarRental::Driver]))
@ -1221,6 +1288,9 @@ module Stripe
# Car pick-up time. Measured in seconds since the Unix epoch.
sig { returns(Integer) }
attr_accessor :pickup_at
# Name of the pickup location.
sig { returns(T.nilable(String)) }
attr_accessor :pickup_location_name
# Rental rate.
sig { returns(T.nilable(Integer)) }
attr_accessor :rate_amount
@ -1238,11 +1308,17 @@ module Stripe
# Car return time. Measured in seconds since the Unix epoch.
sig { returns(Integer) }
attr_accessor :return_at
# Name of the return location.
sig { returns(T.nilable(String)) }
attr_accessor :return_location_name
# Indicates whether the goods or services are tax-exempt or tax is not collected.
sig { returns(T.nilable(T::Boolean)) }
attr_accessor :tax_exempt
# The vehicle identification number.
sig { returns(T.nilable(String)) }
attr_accessor :vehicle_identification_number
sig {
params(affiliate: T.nilable(::Stripe::ChargeService::CaptureParams::PaymentDetails::CarRental::Affiliate), booking_number: String, car_class_code: T.nilable(String), car_make: T.nilable(String), car_model: T.nilable(String), company: T.nilable(String), customer_service_phone_number: T.nilable(String), days_rented: Integer, delivery: T.nilable(::Stripe::ChargeService::CaptureParams::PaymentDetails::CarRental::Delivery), drivers: T.nilable(T::Array[::Stripe::ChargeService::CaptureParams::PaymentDetails::CarRental::Driver]), extra_charges: T.nilable(T::Array[String]), no_show: T.nilable(T::Boolean), pickup_address: T.nilable(::Stripe::ChargeService::CaptureParams::PaymentDetails::CarRental::PickupAddress), pickup_at: Integer, rate_amount: T.nilable(Integer), rate_interval: T.nilable(String), renter_name: T.nilable(String), return_address: T.nilable(::Stripe::ChargeService::CaptureParams::PaymentDetails::CarRental::ReturnAddress), return_at: Integer, tax_exempt: T.nilable(T::Boolean)).void
params(affiliate: T.nilable(::Stripe::ChargeService::CaptureParams::PaymentDetails::CarRental::Affiliate), booking_number: String, car_class_code: T.nilable(String), car_make: T.nilable(String), car_model: T.nilable(String), company: T.nilable(String), customer_service_phone_number: T.nilable(String), days_rented: Integer, delivery: T.nilable(::Stripe::ChargeService::CaptureParams::PaymentDetails::CarRental::Delivery), distance: T.nilable(::Stripe::ChargeService::CaptureParams::PaymentDetails::CarRental::Distance), drivers: T.nilable(T::Array[::Stripe::ChargeService::CaptureParams::PaymentDetails::CarRental::Driver]), extra_charges: T.nilable(T::Array[String]), no_show: T.nilable(T::Boolean), pickup_address: T.nilable(::Stripe::ChargeService::CaptureParams::PaymentDetails::CarRental::PickupAddress), pickup_at: Integer, pickup_location_name: T.nilable(String), rate_amount: T.nilable(Integer), rate_interval: T.nilable(String), renter_name: T.nilable(String), return_address: T.nilable(::Stripe::ChargeService::CaptureParams::PaymentDetails::CarRental::ReturnAddress), return_at: Integer, return_location_name: T.nilable(String), tax_exempt: T.nilable(T::Boolean), vehicle_identification_number: T.nilable(String)).void
}
def initialize(
affiliate: nil,
@ -1254,17 +1330,21 @@ module Stripe
customer_service_phone_number: nil,
days_rented: nil,
delivery: nil,
distance: nil,
drivers: nil,
extra_charges: nil,
no_show: nil,
pickup_address: nil,
pickup_at: nil,
pickup_location_name: nil,
rate_amount: nil,
rate_interval: nil,
renter_name: nil,
return_address: nil,
return_at: nil,
tax_exempt: nil
return_location_name: nil,
tax_exempt: nil,
vehicle_identification_number: nil
); end
end
class EventDetails < Stripe::RequestParams

View File

@ -186,12 +186,34 @@ module Stripe
}
def initialize(mode: nil, recipient: nil); end
end
class Distance < Stripe::RequestParams
# Distance traveled.
sig { returns(T.nilable(Integer)) }
attr_accessor :amount
# Unit of measurement for the distance traveled. One of `miles` or `kilometers`.
sig { returns(T.nilable(String)) }
attr_accessor :unit
sig { params(amount: T.nilable(Integer), unit: T.nilable(String)).void }
def initialize(amount: nil, unit: nil); end
end
class Driver < Stripe::RequestParams
# Driver's identification number.
sig { returns(T.nilable(String)) }
attr_accessor :driver_identification_number
# Driver's tax number.
sig { returns(T.nilable(String)) }
attr_accessor :driver_tax_number
# Full name of the person or entity on the car reservation.
sig { returns(String) }
attr_accessor :name
sig { params(name: String).void }
def initialize(name: nil); end
sig {
params(driver_identification_number: T.nilable(String), driver_tax_number: T.nilable(String), name: String).void
}
def initialize(
driver_identification_number: nil,
driver_tax_number: nil,
name: nil
); end
end
class PickupAddress < Stripe::RequestParams
# City, district, suburb, town, or village.
@ -286,6 +308,11 @@ module Stripe
returns(T.nilable(::Stripe::PaymentIntentService::CreateParams::PaymentDetails::CarRental::Delivery))
}
attr_accessor :delivery
# The details of the distance traveled during the rental period.
sig {
returns(T.nilable(::Stripe::PaymentIntentService::CreateParams::PaymentDetails::CarRental::Distance))
}
attr_accessor :distance
# The details of the passengers in the travel reservation
sig {
returns(T.nilable(T::Array[::Stripe::PaymentIntentService::CreateParams::PaymentDetails::CarRental::Driver]))
@ -305,6 +332,9 @@ module Stripe
# Car pick-up time. Measured in seconds since the Unix epoch.
sig { returns(Integer) }
attr_accessor :pickup_at
# Name of the pickup location.
sig { returns(T.nilable(String)) }
attr_accessor :pickup_location_name
# Rental rate.
sig { returns(T.nilable(Integer)) }
attr_accessor :rate_amount
@ -322,11 +352,17 @@ module Stripe
# Car return time. Measured in seconds since the Unix epoch.
sig { returns(Integer) }
attr_accessor :return_at
# Name of the return location.
sig { returns(T.nilable(String)) }
attr_accessor :return_location_name
# Indicates whether the goods or services are tax-exempt or tax is not collected.
sig { returns(T.nilable(T::Boolean)) }
attr_accessor :tax_exempt
# The vehicle identification number.
sig { returns(T.nilable(String)) }
attr_accessor :vehicle_identification_number
sig {
params(affiliate: T.nilable(::Stripe::PaymentIntentService::CreateParams::PaymentDetails::CarRental::Affiliate), booking_number: String, car_class_code: T.nilable(String), car_make: T.nilable(String), car_model: T.nilable(String), company: T.nilable(String), customer_service_phone_number: T.nilable(String), days_rented: Integer, delivery: T.nilable(::Stripe::PaymentIntentService::CreateParams::PaymentDetails::CarRental::Delivery), drivers: T.nilable(T::Array[::Stripe::PaymentIntentService::CreateParams::PaymentDetails::CarRental::Driver]), extra_charges: T.nilable(T::Array[String]), no_show: T.nilable(T::Boolean), pickup_address: T.nilable(::Stripe::PaymentIntentService::CreateParams::PaymentDetails::CarRental::PickupAddress), pickup_at: Integer, rate_amount: T.nilable(Integer), rate_interval: T.nilable(String), renter_name: T.nilable(String), return_address: T.nilable(::Stripe::PaymentIntentService::CreateParams::PaymentDetails::CarRental::ReturnAddress), return_at: Integer, tax_exempt: T.nilable(T::Boolean)).void
params(affiliate: T.nilable(::Stripe::PaymentIntentService::CreateParams::PaymentDetails::CarRental::Affiliate), booking_number: String, car_class_code: T.nilable(String), car_make: T.nilable(String), car_model: T.nilable(String), company: T.nilable(String), customer_service_phone_number: T.nilable(String), days_rented: Integer, delivery: T.nilable(::Stripe::PaymentIntentService::CreateParams::PaymentDetails::CarRental::Delivery), distance: T.nilable(::Stripe::PaymentIntentService::CreateParams::PaymentDetails::CarRental::Distance), drivers: T.nilable(T::Array[::Stripe::PaymentIntentService::CreateParams::PaymentDetails::CarRental::Driver]), extra_charges: T.nilable(T::Array[String]), no_show: T.nilable(T::Boolean), pickup_address: T.nilable(::Stripe::PaymentIntentService::CreateParams::PaymentDetails::CarRental::PickupAddress), pickup_at: Integer, pickup_location_name: T.nilable(String), rate_amount: T.nilable(Integer), rate_interval: T.nilable(String), renter_name: T.nilable(String), return_address: T.nilable(::Stripe::PaymentIntentService::CreateParams::PaymentDetails::CarRental::ReturnAddress), return_at: Integer, return_location_name: T.nilable(String), tax_exempt: T.nilable(T::Boolean), vehicle_identification_number: T.nilable(String)).void
}
def initialize(
affiliate: nil,
@ -338,17 +374,21 @@ module Stripe
customer_service_phone_number: nil,
days_rented: nil,
delivery: nil,
distance: nil,
drivers: nil,
extra_charges: nil,
no_show: nil,
pickup_address: nil,
pickup_at: nil,
pickup_location_name: nil,
rate_amount: nil,
rate_interval: nil,
renter_name: nil,
return_address: nil,
return_at: nil,
tax_exempt: nil
return_location_name: nil,
tax_exempt: nil,
vehicle_identification_number: nil
); end
end
class EventDetails < Stripe::RequestParams
@ -3985,12 +4025,34 @@ module Stripe
}
def initialize(mode: nil, recipient: nil); end
end
class Distance < Stripe::RequestParams
# Distance traveled.
sig { returns(T.nilable(Integer)) }
attr_accessor :amount
# Unit of measurement for the distance traveled. One of `miles` or `kilometers`.
sig { returns(T.nilable(String)) }
attr_accessor :unit
sig { params(amount: T.nilable(Integer), unit: T.nilable(String)).void }
def initialize(amount: nil, unit: nil); end
end
class Driver < Stripe::RequestParams
# Driver's identification number.
sig { returns(T.nilable(String)) }
attr_accessor :driver_identification_number
# Driver's tax number.
sig { returns(T.nilable(String)) }
attr_accessor :driver_tax_number
# Full name of the person or entity on the car reservation.
sig { returns(String) }
attr_accessor :name
sig { params(name: String).void }
def initialize(name: nil); end
sig {
params(driver_identification_number: T.nilable(String), driver_tax_number: T.nilable(String), name: String).void
}
def initialize(
driver_identification_number: nil,
driver_tax_number: nil,
name: nil
); end
end
class PickupAddress < Stripe::RequestParams
# City, district, suburb, town, or village.
@ -4085,6 +4147,11 @@ module Stripe
returns(T.nilable(::Stripe::PaymentIntentService::UpdateParams::PaymentDetails::CarRental::Delivery))
}
attr_accessor :delivery
# The details of the distance traveled during the rental period.
sig {
returns(T.nilable(::Stripe::PaymentIntentService::UpdateParams::PaymentDetails::CarRental::Distance))
}
attr_accessor :distance
# The details of the passengers in the travel reservation
sig {
returns(T.nilable(T::Array[::Stripe::PaymentIntentService::UpdateParams::PaymentDetails::CarRental::Driver]))
@ -4104,6 +4171,9 @@ module Stripe
# Car pick-up time. Measured in seconds since the Unix epoch.
sig { returns(Integer) }
attr_accessor :pickup_at
# Name of the pickup location.
sig { returns(T.nilable(String)) }
attr_accessor :pickup_location_name
# Rental rate.
sig { returns(T.nilable(Integer)) }
attr_accessor :rate_amount
@ -4121,11 +4191,17 @@ module Stripe
# Car return time. Measured in seconds since the Unix epoch.
sig { returns(Integer) }
attr_accessor :return_at
# Name of the return location.
sig { returns(T.nilable(String)) }
attr_accessor :return_location_name
# Indicates whether the goods or services are tax-exempt or tax is not collected.
sig { returns(T.nilable(T::Boolean)) }
attr_accessor :tax_exempt
# The vehicle identification number.
sig { returns(T.nilable(String)) }
attr_accessor :vehicle_identification_number
sig {
params(affiliate: T.nilable(::Stripe::PaymentIntentService::UpdateParams::PaymentDetails::CarRental::Affiliate), booking_number: String, car_class_code: T.nilable(String), car_make: T.nilable(String), car_model: T.nilable(String), company: T.nilable(String), customer_service_phone_number: T.nilable(String), days_rented: Integer, delivery: T.nilable(::Stripe::PaymentIntentService::UpdateParams::PaymentDetails::CarRental::Delivery), drivers: T.nilable(T::Array[::Stripe::PaymentIntentService::UpdateParams::PaymentDetails::CarRental::Driver]), extra_charges: T.nilable(T::Array[String]), no_show: T.nilable(T::Boolean), pickup_address: T.nilable(::Stripe::PaymentIntentService::UpdateParams::PaymentDetails::CarRental::PickupAddress), pickup_at: Integer, rate_amount: T.nilable(Integer), rate_interval: T.nilable(String), renter_name: T.nilable(String), return_address: T.nilable(::Stripe::PaymentIntentService::UpdateParams::PaymentDetails::CarRental::ReturnAddress), return_at: Integer, tax_exempt: T.nilable(T::Boolean)).void
params(affiliate: T.nilable(::Stripe::PaymentIntentService::UpdateParams::PaymentDetails::CarRental::Affiliate), booking_number: String, car_class_code: T.nilable(String), car_make: T.nilable(String), car_model: T.nilable(String), company: T.nilable(String), customer_service_phone_number: T.nilable(String), days_rented: Integer, delivery: T.nilable(::Stripe::PaymentIntentService::UpdateParams::PaymentDetails::CarRental::Delivery), distance: T.nilable(::Stripe::PaymentIntentService::UpdateParams::PaymentDetails::CarRental::Distance), drivers: T.nilable(T::Array[::Stripe::PaymentIntentService::UpdateParams::PaymentDetails::CarRental::Driver]), extra_charges: T.nilable(T::Array[String]), no_show: T.nilable(T::Boolean), pickup_address: T.nilable(::Stripe::PaymentIntentService::UpdateParams::PaymentDetails::CarRental::PickupAddress), pickup_at: Integer, pickup_location_name: T.nilable(String), rate_amount: T.nilable(Integer), rate_interval: T.nilable(String), renter_name: T.nilable(String), return_address: T.nilable(::Stripe::PaymentIntentService::UpdateParams::PaymentDetails::CarRental::ReturnAddress), return_at: Integer, return_location_name: T.nilable(String), tax_exempt: T.nilable(T::Boolean), vehicle_identification_number: T.nilable(String)).void
}
def initialize(
affiliate: nil,
@ -4137,17 +4213,21 @@ module Stripe
customer_service_phone_number: nil,
days_rented: nil,
delivery: nil,
distance: nil,
drivers: nil,
extra_charges: nil,
no_show: nil,
pickup_address: nil,
pickup_at: nil,
pickup_location_name: nil,
rate_amount: nil,
rate_interval: nil,
renter_name: nil,
return_address: nil,
return_at: nil,
tax_exempt: nil
return_location_name: nil,
tax_exempt: nil,
vehicle_identification_number: nil
); end
end
class EventDetails < Stripe::RequestParams
@ -7716,12 +7796,34 @@ module Stripe
}
def initialize(mode: nil, recipient: nil); end
end
class Distance < Stripe::RequestParams
# Distance traveled.
sig { returns(T.nilable(Integer)) }
attr_accessor :amount
# Unit of measurement for the distance traveled. One of `miles` or `kilometers`.
sig { returns(T.nilable(String)) }
attr_accessor :unit
sig { params(amount: T.nilable(Integer), unit: T.nilable(String)).void }
def initialize(amount: nil, unit: nil); end
end
class Driver < Stripe::RequestParams
# Driver's identification number.
sig { returns(T.nilable(String)) }
attr_accessor :driver_identification_number
# Driver's tax number.
sig { returns(T.nilable(String)) }
attr_accessor :driver_tax_number
# Full name of the person or entity on the car reservation.
sig { returns(String) }
attr_accessor :name
sig { params(name: String).void }
def initialize(name: nil); end
sig {
params(driver_identification_number: T.nilable(String), driver_tax_number: T.nilable(String), name: String).void
}
def initialize(
driver_identification_number: nil,
driver_tax_number: nil,
name: nil
); end
end
class PickupAddress < Stripe::RequestParams
# City, district, suburb, town, or village.
@ -7816,6 +7918,11 @@ module Stripe
returns(T.nilable(::Stripe::PaymentIntentService::CaptureParams::PaymentDetails::CarRental::Delivery))
}
attr_accessor :delivery
# The details of the distance traveled during the rental period.
sig {
returns(T.nilable(::Stripe::PaymentIntentService::CaptureParams::PaymentDetails::CarRental::Distance))
}
attr_accessor :distance
# The details of the passengers in the travel reservation
sig {
returns(T.nilable(T::Array[::Stripe::PaymentIntentService::CaptureParams::PaymentDetails::CarRental::Driver]))
@ -7835,6 +7942,9 @@ module Stripe
# Car pick-up time. Measured in seconds since the Unix epoch.
sig { returns(Integer) }
attr_accessor :pickup_at
# Name of the pickup location.
sig { returns(T.nilable(String)) }
attr_accessor :pickup_location_name
# Rental rate.
sig { returns(T.nilable(Integer)) }
attr_accessor :rate_amount
@ -7852,11 +7962,17 @@ module Stripe
# Car return time. Measured in seconds since the Unix epoch.
sig { returns(Integer) }
attr_accessor :return_at
# Name of the return location.
sig { returns(T.nilable(String)) }
attr_accessor :return_location_name
# Indicates whether the goods or services are tax-exempt or tax is not collected.
sig { returns(T.nilable(T::Boolean)) }
attr_accessor :tax_exempt
# The vehicle identification number.
sig { returns(T.nilable(String)) }
attr_accessor :vehicle_identification_number
sig {
params(affiliate: T.nilable(::Stripe::PaymentIntentService::CaptureParams::PaymentDetails::CarRental::Affiliate), booking_number: String, car_class_code: T.nilable(String), car_make: T.nilable(String), car_model: T.nilable(String), company: T.nilable(String), customer_service_phone_number: T.nilable(String), days_rented: Integer, delivery: T.nilable(::Stripe::PaymentIntentService::CaptureParams::PaymentDetails::CarRental::Delivery), drivers: T.nilable(T::Array[::Stripe::PaymentIntentService::CaptureParams::PaymentDetails::CarRental::Driver]), extra_charges: T.nilable(T::Array[String]), no_show: T.nilable(T::Boolean), pickup_address: T.nilable(::Stripe::PaymentIntentService::CaptureParams::PaymentDetails::CarRental::PickupAddress), pickup_at: Integer, rate_amount: T.nilable(Integer), rate_interval: T.nilable(String), renter_name: T.nilable(String), return_address: T.nilable(::Stripe::PaymentIntentService::CaptureParams::PaymentDetails::CarRental::ReturnAddress), return_at: Integer, tax_exempt: T.nilable(T::Boolean)).void
params(affiliate: T.nilable(::Stripe::PaymentIntentService::CaptureParams::PaymentDetails::CarRental::Affiliate), booking_number: String, car_class_code: T.nilable(String), car_make: T.nilable(String), car_model: T.nilable(String), company: T.nilable(String), customer_service_phone_number: T.nilable(String), days_rented: Integer, delivery: T.nilable(::Stripe::PaymentIntentService::CaptureParams::PaymentDetails::CarRental::Delivery), distance: T.nilable(::Stripe::PaymentIntentService::CaptureParams::PaymentDetails::CarRental::Distance), drivers: T.nilable(T::Array[::Stripe::PaymentIntentService::CaptureParams::PaymentDetails::CarRental::Driver]), extra_charges: T.nilable(T::Array[String]), no_show: T.nilable(T::Boolean), pickup_address: T.nilable(::Stripe::PaymentIntentService::CaptureParams::PaymentDetails::CarRental::PickupAddress), pickup_at: Integer, pickup_location_name: T.nilable(String), rate_amount: T.nilable(Integer), rate_interval: T.nilable(String), renter_name: T.nilable(String), return_address: T.nilable(::Stripe::PaymentIntentService::CaptureParams::PaymentDetails::CarRental::ReturnAddress), return_at: Integer, return_location_name: T.nilable(String), tax_exempt: T.nilable(T::Boolean), vehicle_identification_number: T.nilable(String)).void
}
def initialize(
affiliate: nil,
@ -7868,17 +7984,21 @@ module Stripe
customer_service_phone_number: nil,
days_rented: nil,
delivery: nil,
distance: nil,
drivers: nil,
extra_charges: nil,
no_show: nil,
pickup_address: nil,
pickup_at: nil,
pickup_location_name: nil,
rate_amount: nil,
rate_interval: nil,
renter_name: nil,
return_address: nil,
return_at: nil,
tax_exempt: nil
return_location_name: nil,
tax_exempt: nil,
vehicle_identification_number: nil
); end
end
class EventDetails < Stripe::RequestParams
@ -8567,12 +8687,34 @@ module Stripe
}
def initialize(mode: nil, recipient: nil); end
end
class Distance < Stripe::RequestParams
# Distance traveled.
sig { returns(T.nilable(Integer)) }
attr_accessor :amount
# Unit of measurement for the distance traveled. One of `miles` or `kilometers`.
sig { returns(T.nilable(String)) }
attr_accessor :unit
sig { params(amount: T.nilable(Integer), unit: T.nilable(String)).void }
def initialize(amount: nil, unit: nil); end
end
class Driver < Stripe::RequestParams
# Driver's identification number.
sig { returns(T.nilable(String)) }
attr_accessor :driver_identification_number
# Driver's tax number.
sig { returns(T.nilable(String)) }
attr_accessor :driver_tax_number
# Full name of the person or entity on the car reservation.
sig { returns(String) }
attr_accessor :name
sig { params(name: String).void }
def initialize(name: nil); end
sig {
params(driver_identification_number: T.nilable(String), driver_tax_number: T.nilable(String), name: String).void
}
def initialize(
driver_identification_number: nil,
driver_tax_number: nil,
name: nil
); end
end
class PickupAddress < Stripe::RequestParams
# City, district, suburb, town, or village.
@ -8667,6 +8809,11 @@ module Stripe
returns(T.nilable(::Stripe::PaymentIntentService::ConfirmParams::PaymentDetails::CarRental::Delivery))
}
attr_accessor :delivery
# The details of the distance traveled during the rental period.
sig {
returns(T.nilable(::Stripe::PaymentIntentService::ConfirmParams::PaymentDetails::CarRental::Distance))
}
attr_accessor :distance
# The details of the passengers in the travel reservation
sig {
returns(T.nilable(T::Array[::Stripe::PaymentIntentService::ConfirmParams::PaymentDetails::CarRental::Driver]))
@ -8686,6 +8833,9 @@ module Stripe
# Car pick-up time. Measured in seconds since the Unix epoch.
sig { returns(Integer) }
attr_accessor :pickup_at
# Name of the pickup location.
sig { returns(T.nilable(String)) }
attr_accessor :pickup_location_name
# Rental rate.
sig { returns(T.nilable(Integer)) }
attr_accessor :rate_amount
@ -8703,11 +8853,17 @@ module Stripe
# Car return time. Measured in seconds since the Unix epoch.
sig { returns(Integer) }
attr_accessor :return_at
# Name of the return location.
sig { returns(T.nilable(String)) }
attr_accessor :return_location_name
# Indicates whether the goods or services are tax-exempt or tax is not collected.
sig { returns(T.nilable(T::Boolean)) }
attr_accessor :tax_exempt
# The vehicle identification number.
sig { returns(T.nilable(String)) }
attr_accessor :vehicle_identification_number
sig {
params(affiliate: T.nilable(::Stripe::PaymentIntentService::ConfirmParams::PaymentDetails::CarRental::Affiliate), booking_number: String, car_class_code: T.nilable(String), car_make: T.nilable(String), car_model: T.nilable(String), company: T.nilable(String), customer_service_phone_number: T.nilable(String), days_rented: Integer, delivery: T.nilable(::Stripe::PaymentIntentService::ConfirmParams::PaymentDetails::CarRental::Delivery), drivers: T.nilable(T::Array[::Stripe::PaymentIntentService::ConfirmParams::PaymentDetails::CarRental::Driver]), extra_charges: T.nilable(T::Array[String]), no_show: T.nilable(T::Boolean), pickup_address: T.nilable(::Stripe::PaymentIntentService::ConfirmParams::PaymentDetails::CarRental::PickupAddress), pickup_at: Integer, rate_amount: T.nilable(Integer), rate_interval: T.nilable(String), renter_name: T.nilable(String), return_address: T.nilable(::Stripe::PaymentIntentService::ConfirmParams::PaymentDetails::CarRental::ReturnAddress), return_at: Integer, tax_exempt: T.nilable(T::Boolean)).void
params(affiliate: T.nilable(::Stripe::PaymentIntentService::ConfirmParams::PaymentDetails::CarRental::Affiliate), booking_number: String, car_class_code: T.nilable(String), car_make: T.nilable(String), car_model: T.nilable(String), company: T.nilable(String), customer_service_phone_number: T.nilable(String), days_rented: Integer, delivery: T.nilable(::Stripe::PaymentIntentService::ConfirmParams::PaymentDetails::CarRental::Delivery), distance: T.nilable(::Stripe::PaymentIntentService::ConfirmParams::PaymentDetails::CarRental::Distance), drivers: T.nilable(T::Array[::Stripe::PaymentIntentService::ConfirmParams::PaymentDetails::CarRental::Driver]), extra_charges: T.nilable(T::Array[String]), no_show: T.nilable(T::Boolean), pickup_address: T.nilable(::Stripe::PaymentIntentService::ConfirmParams::PaymentDetails::CarRental::PickupAddress), pickup_at: Integer, pickup_location_name: T.nilable(String), rate_amount: T.nilable(Integer), rate_interval: T.nilable(String), renter_name: T.nilable(String), return_address: T.nilable(::Stripe::PaymentIntentService::ConfirmParams::PaymentDetails::CarRental::ReturnAddress), return_at: Integer, return_location_name: T.nilable(String), tax_exempt: T.nilable(T::Boolean), vehicle_identification_number: T.nilable(String)).void
}
def initialize(
affiliate: nil,
@ -8719,17 +8875,21 @@ module Stripe
customer_service_phone_number: nil,
days_rented: nil,
delivery: nil,
distance: nil,
drivers: nil,
extra_charges: nil,
no_show: nil,
pickup_address: nil,
pickup_at: nil,
pickup_location_name: nil,
rate_amount: nil,
rate_interval: nil,
renter_name: nil,
return_address: nil,
return_at: nil,
tax_exempt: nil
return_location_name: nil,
tax_exempt: nil,
vehicle_identification_number: nil
); end
end
class EventDetails < Stripe::RequestParams