Class: Stripe::ConfirmationToken::PaymentMethodPreview::KrCard
- Inherits:
-
StripeObject
- Object
- StripeObject
- Stripe::ConfirmationToken::PaymentMethodPreview::KrCard
- Defined in:
- lib/stripe/resources/confirmation_token.rb
Constant Summary
Constants inherited from StripeObject
StripeObject::RESERVED_FIELD_NAMES
Instance Attribute Summary collapse
-
#brand ⇒ Object
readonly
The local credit or debit card brand.
-
#last4 ⇒ Object
readonly
The last four digits of the card.
Attributes inherited from StripeObject
Method Summary
Methods inherited from StripeObject
#==, #[], #[]=, additive_object_param, additive_object_param?, #as_json, construct_from, #deleted?, #dirty!, #each, #eql?, #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
#brand ⇒ Object (readonly)
The local credit or debit card brand.
530 531 532 |
# File 'lib/stripe/resources/confirmation_token.rb', line 530 def brand @brand end |
#last4 ⇒ Object (readonly)
The last four digits of the card. This may not be present for American Express cards.
532 533 534 |
# File 'lib/stripe/resources/confirmation_token.rb', line 532 def last4 @last4 end |