Class: Stripe::PaymentMethod::KrCard

Inherits:
StripeObject show all
Defined in:
lib/stripe/resources/payment_method.rb

Constant Summary

Constants inherited from StripeObject

StripeObject::RESERVED_FIELD_NAMES

Instance Attribute Summary collapse

Attributes inherited from StripeObject

#last_response

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

#brandObject (readonly)

The local credit or debit card brand.



1001
1002
1003
# File 'lib/stripe/resources/payment_method.rb', line 1001

def brand
  @brand
end

#last4Object (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_remappingsObject



1009
1010
1011
# File 'lib/stripe/resources/payment_method.rb', line 1009

def self.field_remappings
  @field_remappings = {}
end

.inner_class_typesObject



1005
1006
1007
# File 'lib/stripe/resources/payment_method.rb', line 1005

def self.inner_class_types
  @inner_class_types = {}
end