Class: Stripe::PaymentRecordService::ReportPaymentParams::ProcessorDetails

Inherits:
RequestParams
  • Object
show all
Defined in:
lib/stripe/services/payment_record_service.rb

Defined Under Namespace

Classes: Custom

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods inherited from RequestParams

#to_h

Constructor Details

#initialize(custom: nil, type: nil) ⇒ ProcessorDetails

Returns a new instance of ProcessorDetails.



382
383
384
385
# File 'lib/stripe/services/payment_record_service.rb', line 382

def initialize(custom: nil, type: nil)
  @custom = custom
  @type = type
end

Instance Attribute Details

#customObject

Information about the custom processor used to make this payment.



378
379
380
# File 'lib/stripe/services/payment_record_service.rb', line 378

def custom
  @custom
end

#typeObject

The type of the processor details. An additional hash is included on processor_details with a name matching this value. It contains additional information specific to the processor.



380
381
382
# File 'lib/stripe/services/payment_record_service.rb', line 380

def type
  @type
end