Class: Stripe::Radar::AccountEvaluationCreateParams::RegistrationInitiated::CustomerData

Inherits:
Stripe::RequestParams
  • Object
show all
Defined in:
lib/stripe/params/radar/account_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.



79
80
81
82
83
# File 'lib/stripe/params/radar/account_evaluation_create_params.rb', line 79

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

Instance Attribute Details

#emailObject

Customer email



73
74
75
# File 'lib/stripe/params/radar/account_evaluation_create_params.rb', line 73

def email
  @email
end

#nameObject

Customer name



75
76
77
# File 'lib/stripe/params/radar/account_evaluation_create_params.rb', line 75

def name
  @name
end

#phoneObject

Customer phone



77
78
79
# File 'lib/stripe/params/radar/account_evaluation_create_params.rb', line 77

def phone
  @phone
end