Class: Stripe::Source::Owner

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

Defined Under Namespace

Classes: Address, VerifiedAddress

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?, #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

#addressObject (readonly)

Owner’s address.



482
483
484
# File 'lib/stripe/resources/source.rb', line 482

def address
  @address
end

#emailObject (readonly)

Owner’s email address.



484
485
486
# File 'lib/stripe/resources/source.rb', line 484

def email
  @email
end

#nameObject (readonly)

Owner’s full name.



486
487
488
# File 'lib/stripe/resources/source.rb', line 486

def name
  @name
end

#phoneObject (readonly)

Owner’s phone number (including extension).



488
489
490
# File 'lib/stripe/resources/source.rb', line 488

def phone
  @phone
end

#verified_addressObject (readonly)

Verified owner’s address. Verified values are verified or provided by the payment method directly (and if supported) at the time of authorization or settlement. They cannot be set or mutated.



490
491
492
# File 'lib/stripe/resources/source.rb', line 490

def verified_address
  @verified_address
end

#verified_emailObject (readonly)

Verified owner’s email address. Verified values are verified or provided by the payment method directly (and if supported) at the time of authorization or settlement. They cannot be set or mutated.



492
493
494
# File 'lib/stripe/resources/source.rb', line 492

def verified_email
  @verified_email
end

#verified_nameObject (readonly)

Verified owner’s full name. Verified values are verified or provided by the payment method directly (and if supported) at the time of authorization or settlement. They cannot be set or mutated.



494
495
496
# File 'lib/stripe/resources/source.rb', line 494

def verified_name
  @verified_name
end

#verified_phoneObject (readonly)

Verified owner’s phone number (including extension). Verified values are verified or provided by the payment method directly (and if supported) at the time of authorization or settlement. They cannot be set or mutated.



496
497
498
# File 'lib/stripe/resources/source.rb', line 496

def verified_phone
  @verified_phone
end

Class Method Details

.field_remappingsObject



502
503
504
# File 'lib/stripe/resources/source.rb', line 502

def self.field_remappings
  @field_remappings = {}
end

.inner_class_typesObject



498
499
500
# File 'lib/stripe/resources/source.rb', line 498

def self.inner_class_types
  @inner_class_types = { address: Address, verified_address: VerifiedAddress }
end