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.



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

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.



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

def evaluation_context
  @evaluation_context
end

#event_typeObject

The type of evaluation event.



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

def event_type
  @event_type
end

#expandObject

Specifies which fields in the response should be expanded.



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

def expand
  @expand
end