Class: Stripe::Radar::CustomerEvaluationCreateParams

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

Defined Under Namespace

Classes: EvaluationContext

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(evaluation_context: nil, event_type: nil, expand: nil) ⇒ CustomerEvaluationCreateParams

Returns a new instance of CustomerEvaluationCreateParams.



62
63
64
65
66
# File 'lib/stripe/params/radar/customer_evaluation_create_params.rb', line 62

def initialize(evaluation_context: nil, event_type: nil, expand: nil)
  @evaluation_context = evaluation_context
  @event_type = event_type
  @expand = expand
end

Instance Attribute Details

#evaluation_contextObject

Array of context entries for the evaluation.



56
57
58
# File 'lib/stripe/params/radar/customer_evaluation_create_params.rb', line 56

def evaluation_context
  @evaluation_context
end

#event_typeObject

The type of evaluation event.



58
59
60
# File 'lib/stripe/params/radar/customer_evaluation_create_params.rb', line 58

def event_type
  @event_type
end

#expandObject

Specifies which fields in the response should be expanded.



60
61
62
# File 'lib/stripe/params/radar/customer_evaluation_create_params.rb', line 60

def expand
  @expand
end