Class: Stripe::PaymentRecordReportPaymentAttemptParams::PaymentMethodDetails::Custom

Inherits:
RequestParams
  • Object
show all
Defined in:
lib/stripe/params/payment_record_report_payment_attempt_params.rb

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(display_name: nil, type: nil) ⇒ Custom

Returns a new instance of Custom.



129
130
131
132
# File 'lib/stripe/params/payment_record_report_payment_attempt_params.rb', line 129

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

Instance Attribute Details

#display_nameObject

Display name for the custom (user-defined) payment method type used to make this payment.



125
126
127
# File 'lib/stripe/params/payment_record_report_payment_attempt_params.rb', line 125

def display_name
  @display_name
end

#typeObject

The custom payment method type associated with this payment.



127
128
129
# File 'lib/stripe/params/payment_record_report_payment_attempt_params.rb', line 127

def type
  @type
end