Class: Stripe::PaymentIntent::PaymentDetails::MoneyServices::BeneficiaryDetails

Inherits:
StripeObject
  • Object
show all
Defined in:
lib/stripe/resources/payment_intent.rb

Defined Under Namespace

Classes: Address, DateOfBirth

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

Attribute for field address



3017
3018
3019
# File 'lib/stripe/resources/payment_intent.rb', line 3017

def address
  @address
end

#date_of_birthObject (readonly)

Attribute for field date_of_birth



3019
3020
3021
# File 'lib/stripe/resources/payment_intent.rb', line 3019

def date_of_birth
  @date_of_birth
end

#emailObject (readonly)

Email address.



3021
3022
3023
# File 'lib/stripe/resources/payment_intent.rb', line 3021

def email
  @email
end

#given_nameObject (readonly)

Given name (first name).



3023
3024
3025
# File 'lib/stripe/resources/payment_intent.rb', line 3023

def given_name
  @given_name
end

#phoneObject (readonly)

Phone number.



3025
3026
3027
# File 'lib/stripe/resources/payment_intent.rb', line 3025

def phone
  @phone
end

#surnameObject (readonly)

Surname (last name).



3027
3028
3029
# File 'lib/stripe/resources/payment_intent.rb', line 3027

def surname
  @surname
end

Class Method Details

.field_remappingsObject



3033
3034
3035
# File 'lib/stripe/resources/payment_intent.rb', line 3033

def self.field_remappings
  @field_remappings = {}
end

.inner_class_typesObject



3029
3030
3031
# File 'lib/stripe/resources/payment_intent.rb', line 3029

def self.inner_class_types
  @inner_class_types = { address: Address, date_of_birth: DateOfBirth }
end