Class: Stripe::Radar::PaymentEvaluationCreateParams::PaymentDetails::PaymentMethodDetails

Inherits:
Stripe::RequestParams
  • Object
show all
Defined in:
lib/stripe/params/radar/payment_evaluation_create_params.rb

Defined Under Namespace

Classes: BillingDetails

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(billing_details: nil, payment_method: nil) ⇒ PaymentMethodDetails

Returns a new instance of PaymentMethodDetails.



143
144
145
146
# File 'lib/stripe/params/radar/payment_evaluation_create_params.rb', line 143

def initialize(billing_details: nil, payment_method: nil)
  @billing_details = billing_details
  @payment_method = payment_method
end

Instance Attribute Details

#billing_detailsObject

Billing information associated with the payment evaluation.



139
140
141
# File 'lib/stripe/params/radar/payment_evaluation_create_params.rb', line 139

def billing_details
  @billing_details
end

#payment_methodObject

ID of the payment method used in this payment evaluation.



141
142
143
# File 'lib/stripe/params/radar/payment_evaluation_create_params.rb', line 141

def payment_method
  @payment_method
end