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.



114
115
116
117
# File 'lib/stripe/params/radar/payment_evaluation_create_params.rb', line 114

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.



110
111
112
# File 'lib/stripe/params/radar/payment_evaluation_create_params.rb', line 110

def billing_details
  @billing_details
end

#payment_methodObject

ID of the payment method used in this payment evaluation.



112
113
114
# File 'lib/stripe/params/radar/payment_evaluation_create_params.rb', line 112

def payment_method
  @payment_method
end