Class: Stripe::PaymentMethod::Custom

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

Defined Under Namespace

Classes: Logo

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

#display_nameObject (readonly)

Display name of the Dashboard-only CustomPaymentMethodType.



807
808
809
# File 'lib/stripe/resources/payment_method.rb', line 807

def display_name
  @display_name
end

#logoObject (readonly)

Contains information about the Dashboard-only CustomPaymentMethodType logo.



809
810
811
# File 'lib/stripe/resources/payment_method.rb', line 809

def 
  @logo
end

#typeObject (readonly)

ID of the Dashboard-only CustomPaymentMethodType. Not expandable.



811
812
813
# File 'lib/stripe/resources/payment_method.rb', line 811

def type
  @type
end

Class Method Details

.field_remappingsObject



817
818
819
# File 'lib/stripe/resources/payment_method.rb', line 817

def self.field_remappings
  @field_remappings = {}
end

.inner_class_typesObject



813
814
815
# File 'lib/stripe/resources/payment_method.rb', line 813

def self.inner_class_types
  @inner_class_types = { logo: Logo }
end