Class: Stripe::SharedPayment::GrantedToken::RiskDetails::Insights

Inherits:
Stripe::StripeObject show all
Defined in:
lib/stripe/resources/shared_payment/granted_token.rb

Defined Under Namespace

Classes: Bot, CardIssuerDecline, CardTesting, FraudulentDispute, StolenCard

Constant Summary

Constants inherited from Stripe::StripeObject

Stripe::StripeObject::RESERVED_FIELD_NAMES

Instance Attribute Summary collapse

Attributes inherited from Stripe::StripeObject

#last_response

Class Method Summary collapse

Methods inherited from Stripe::StripeObject

#==, #[], #[]=, #_get_inner_class_type, additive_object_param, additive_object_param?, #as_json, construct_from, #deleted?, #dirty!, #each, #eql?, field_encodings, #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

#botObject (readonly)

Bot risk insight (score: Float, recommended_action).



1652
1653
1654
# File 'lib/stripe/resources/shared_payment/granted_token.rb', line 1652

def bot
  @bot
end

#card_issuer_declineObject (readonly)

Card issuer decline risk insight (score: Float, recommended_action).



1654
1655
1656
# File 'lib/stripe/resources/shared_payment/granted_token.rb', line 1654

def card_issuer_decline
  @card_issuer_decline
end

#card_testingObject (readonly)

Card testing risk insight (score: Float, recommended_action).



1656
1657
1658
# File 'lib/stripe/resources/shared_payment/granted_token.rb', line 1656

def card_testing
  @card_testing
end

#fraudulent_disputeObject (readonly)

Fraudulent dispute risk insight (score: Integer, recommended_action).



1658
1659
1660
# File 'lib/stripe/resources/shared_payment/granted_token.rb', line 1658

def fraudulent_dispute
  @fraudulent_dispute
end

#stolen_cardObject (readonly)

Stolen card risk insight (score: Integer, recommended_action).



1660
1661
1662
# File 'lib/stripe/resources/shared_payment/granted_token.rb', line 1660

def stolen_card
  @stolen_card
end

Class Method Details

.field_remappingsObject



1672
1673
1674
# File 'lib/stripe/resources/shared_payment/granted_token.rb', line 1672

def self.field_remappings
  @field_remappings = {}
end

.inner_class_typesObject



1662
1663
1664
1665
1666
1667
1668
1669
1670
# File 'lib/stripe/resources/shared_payment/granted_token.rb', line 1662

def self.inner_class_types
  @inner_class_types = {
    bot: Bot,
    card_issuer_decline: CardIssuerDecline,
    card_testing: CardTesting,
    fraudulent_dispute: FraudulentDispute,
    stolen_card: StolenCard,
  }
end