Class: Stripe::TestHelpers::Issuing::AuthorizationCaptureParams::PurchaseDetails::Fleet::CardholderPromptData

Inherits:
RequestParams
  • Object
show all
Defined in:
lib/stripe/params/test_helpers/issuing/authorization_capture_params.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods inherited from RequestParams

#to_h

Constructor Details

#initialize(driver_id: nil, odometer: nil, unspecified_id: nil, user_id: nil, vehicle_number: nil) ⇒ CardholderPromptData

Returns a new instance of CardholderPromptData.



22
23
24
25
26
27
28
29
30
31
32
33
34
# File 'lib/stripe/params/test_helpers/issuing/authorization_capture_params.rb', line 22

def initialize(
  driver_id: nil,
  odometer: nil,
  unspecified_id: nil,
  user_id: nil,
  vehicle_number: nil
)
  @driver_id = driver_id
  @odometer = odometer
  @unspecified_id = unspecified_id
  @user_id = user_id
  @vehicle_number = vehicle_number
end

Instance Attribute Details

#driver_idObject

Driver ID.



12
13
14
# File 'lib/stripe/params/test_helpers/issuing/authorization_capture_params.rb', line 12

def driver_id
  @driver_id
end

#odometerObject

Odometer reading.



14
15
16
# File 'lib/stripe/params/test_helpers/issuing/authorization_capture_params.rb', line 14

def odometer
  @odometer
end

#unspecified_idObject

An alphanumeric ID. This field is used when a vehicle ID, driver ID, or generic ID is entered by the cardholder, but the merchant or card network did not specify the prompt type.



16
17
18
# File 'lib/stripe/params/test_helpers/issuing/authorization_capture_params.rb', line 16

def unspecified_id
  @unspecified_id
end

#user_idObject

User ID.



18
19
20
# File 'lib/stripe/params/test_helpers/issuing/authorization_capture_params.rb', line 18

def user_id
  @user_id
end

#vehicle_numberObject

Vehicle number.



20
21
22
# File 'lib/stripe/params/test_helpers/issuing/authorization_capture_params.rb', line 20

def vehicle_number
  @vehicle_number
end