Class: Stripe::PaymentMethod::KrCard
- Inherits:
-
StripeObject
- Object
- StripeObject
- Stripe::PaymentMethod::KrCard
- Defined in:
- lib/stripe/resources/payment_method.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
Class Method Summary collapse
Methods inherited from StripeObject
#==, #[], #[]=, #_get_inner_class_type, 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.
1001 1002 1003 |
# File 'lib/stripe/resources/payment_method.rb', line 1001 def brand @brand end |
#last4 ⇒ Object (readonly)
The last four digits of the card. This may not be present for American Express cards.
1003 1004 1005 |
# File 'lib/stripe/resources/payment_method.rb', line 1003 def last4 @last4 end |
Class Method Details
.field_remappings ⇒ Object
1009 1010 1011 |
# File 'lib/stripe/resources/payment_method.rb', line 1009 def self.field_remappings @field_remappings = {} end |
.inner_class_types ⇒ Object
1005 1006 1007 |
# File 'lib/stripe/resources/payment_method.rb', line 1005 def self.inner_class_types @inner_class_types = {} end |