Class: Stripe::Radar::CustomerEvaluationCreateParams::EvaluationContext::CustomerDetails::CustomerData

Inherits:
Stripe::RequestParams
  • Object
show all
Defined in:
lib/stripe/params/radar/customer_evaluation_create_params.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods inherited from Stripe::RequestParams

attr_accessor, coerce_params, coerce_value, field_encodings, new, #to_h

Constructor Details

#initialize(email: nil, name: nil, phone: nil) ⇒ CustomerData

Returns a new instance of CustomerData.



26
27
28
29
30
# File 'lib/stripe/params/radar/customer_evaluation_create_params.rb', line 26

def initialize(email: nil, name: nil, phone: nil)
  @email = email
  @name = name
  @phone = phone
end

Instance Attribute Details

#emailObject

Customer email



20
21
22
# File 'lib/stripe/params/radar/customer_evaluation_create_params.rb', line 20

def email
  @email
end

#nameObject

Customer name



22
23
24
# File 'lib/stripe/params/radar/customer_evaluation_create_params.rb', line 22

def name
  @name
end

#phoneObject

Customer phone



24
25
26
# File 'lib/stripe/params/radar/customer_evaluation_create_params.rb', line 24

def phone
  @phone
end