Class: Stripe::V2::Core::BatchJob::StatusDetails
- Inherits:
-
StripeObject
- Object
- StripeObject
- Stripe::V2::Core::BatchJob::StatusDetails
- Defined in:
- lib/stripe/resources/v2/core/batch_job.rb
Defined Under Namespace
Classes: BatchFailed, Canceled, Complete, InProgress, ReadyForUpload, Timeout, Validating, ValidationFailed
Constant Summary
Constants inherited from StripeObject
StripeObject::RESERVED_FIELD_NAMES
Instance Attribute Summary collapse
-
#batch_failed ⇒ Object
readonly
Additional details for the ‘BATCH_FAILED` status of the `BatchJob`.
-
#canceled ⇒ Object
readonly
Additional details for the ‘CANCELED` status of the `BatchJob`.
-
#complete ⇒ Object
readonly
Additional details for the ‘COMPLETE` status of the `BatchJob`.
-
#in_progress ⇒ Object
readonly
Additional details for the ‘IN_PROGRESS` status of the `BatchJob`.
-
#ready_for_upload ⇒ Object
readonly
Additional details for the ‘READY_FOR_UPLOAD` status of the `BatchJob`.
-
#timeout ⇒ Object
readonly
Additional details for the ‘TIMEOUT` status of the `BatchJob`.
-
#validating ⇒ Object
readonly
Additional details for the ‘VALIDATING` status of the `BatchJob`.
-
#validation_failed ⇒ Object
readonly
Additional details for the ‘VALIDATION_FAILED` status of the `BatchJob`.
Attributes inherited from StripeObject
Class Method Summary collapse
Methods inherited from StripeObject
#==, #[], #[]=, #_get_inner_class_type, additive_object_param, additive_object_param?, #as_json, construct_from, #deleted?, #dirty!, #each, #eql?, #hash, #initialize, #inspect, #keys, #marshal_dump, #marshal_load, protected_fields, #serialize_params, #to_hash, #to_json, #to_s, #update_attributes, #values
Constructor Details
This class inherits a constructor from Stripe::StripeObject
Dynamic Method Handling
This class handles dynamic methods through the method_missing method in the class Stripe::StripeObject
Instance Attribute Details
#batch_failed ⇒ Object (readonly)
Additional details for the ‘BATCH_FAILED` status of the `BatchJob`.
328 329 330 |
# File 'lib/stripe/resources/v2/core/batch_job.rb', line 328 def batch_failed @batch_failed end |
#canceled ⇒ Object (readonly)
Additional details for the ‘CANCELED` status of the `BatchJob`.
330 331 332 |
# File 'lib/stripe/resources/v2/core/batch_job.rb', line 330 def canceled @canceled end |
#complete ⇒ Object (readonly)
Additional details for the ‘COMPLETE` status of the `BatchJob`.
332 333 334 |
# File 'lib/stripe/resources/v2/core/batch_job.rb', line 332 def complete @complete end |
#in_progress ⇒ Object (readonly)
Additional details for the ‘IN_PROGRESS` status of the `BatchJob`.
334 335 336 |
# File 'lib/stripe/resources/v2/core/batch_job.rb', line 334 def in_progress @in_progress end |
#ready_for_upload ⇒ Object (readonly)
Additional details for the ‘READY_FOR_UPLOAD` status of the `BatchJob`.
336 337 338 |
# File 'lib/stripe/resources/v2/core/batch_job.rb', line 336 def ready_for_upload @ready_for_upload end |
#timeout ⇒ Object (readonly)
Additional details for the ‘TIMEOUT` status of the `BatchJob`.
338 339 340 |
# File 'lib/stripe/resources/v2/core/batch_job.rb', line 338 def timeout @timeout end |
#validating ⇒ Object (readonly)
Additional details for the ‘VALIDATING` status of the `BatchJob`.
340 341 342 |
# File 'lib/stripe/resources/v2/core/batch_job.rb', line 340 def validating @validating end |
#validation_failed ⇒ Object (readonly)
Additional details for the ‘VALIDATION_FAILED` status of the `BatchJob`.
342 343 344 |
# File 'lib/stripe/resources/v2/core/batch_job.rb', line 342 def validation_failed @validation_failed end |
Class Method Details
.field_encodings ⇒ Object
361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 |
# File 'lib/stripe/resources/v2/core/batch_job.rb', line 361 def self.field_encodings @field_encodings = { canceled: { kind: :object, fields: { failure_count: :int64_string, output_file: { kind: :object, fields: { size: :int64_string } }, success_count: :int64_string, }, }, complete: { kind: :object, fields: { failure_count: :int64_string, output_file: { kind: :object, fields: { size: :int64_string } }, success_count: :int64_string, }, }, in_progress: { kind: :object, fields: { failure_count: :int64_string, success_count: :int64_string }, }, timeout: { kind: :object, fields: { failure_count: :int64_string, output_file: { kind: :object, fields: { size: :int64_string } }, success_count: :int64_string, }, }, validating: { kind: :object, fields: { validated_count: :int64_string } }, validation_failed: { kind: :object, fields: { failure_count: :int64_string, output_file: { kind: :object, fields: { size: :int64_string } }, success_count: :int64_string, }, }, } end |
.field_remappings ⇒ Object
357 358 359 |
# File 'lib/stripe/resources/v2/core/batch_job.rb', line 357 def self.field_remappings @field_remappings = {} end |
.inner_class_types ⇒ Object
344 345 346 347 348 349 350 351 352 353 354 355 |
# File 'lib/stripe/resources/v2/core/batch_job.rb', line 344 def self.inner_class_types @inner_class_types = { batch_failed: BatchFailed, canceled: Canceled, complete: Complete, in_progress: InProgress, ready_for_upload: ReadyForUpload, timeout: Timeout, validating: Validating, validation_failed: ValidationFailed, } end |