Class: Stripe::V2::Core::BatchJobCreateParams

Inherits:
RequestParams show all
Defined in:
lib/stripe/params/v2/core/batch_job_create_params.rb

Defined Under Namespace

Classes: Endpoint, NotificationSuppression

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods inherited from RequestParams

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

Constructor Details

#initialize(endpoint: nil, metadata: nil, notification_suppression: nil, skip_validation: nil) ⇒ BatchJobCreateParams

Returns a new instance of BatchJobCreateParams.



39
40
41
42
43
44
45
46
47
48
49
# File 'lib/stripe/params/v2/core/batch_job_create_params.rb', line 39

def initialize(
  endpoint: nil,
  metadata: nil,
  notification_suppression: nil,
  skip_validation: nil
)
  @endpoint = endpoint
  @metadata = 
  @notification_suppression = notification_suppression
  @skip_validation = skip_validation
end

Instance Attribute Details

#endpointObject

The endpoint configuration for the batch job.



31
32
33
# File 'lib/stripe/params/v2/core/batch_job_create_params.rb', line 31

def endpoint
  @endpoint
end

#metadataObject

The metadata of the ‘batch_job`.



33
34
35
# File 'lib/stripe/params/v2/core/batch_job_create_params.rb', line 33

def 
  @metadata
end

#notification_suppressionObject

Notification suppression settings for the batch job.



35
36
37
# File 'lib/stripe/params/v2/core/batch_job_create_params.rb', line 35

def notification_suppression
  @notification_suppression
end

#skip_validationObject

Allows the user to skip validation.



37
38
39
# File 'lib/stripe/params/v2/core/batch_job_create_params.rb', line 37

def skip_validation
  @skip_validation
end