Class: Stripe::PaymentIntentConfirmParams::PaymentDetails::MoneyServices::BeneficiaryDetails
- Inherits:
-
RequestParams
- Object
- RequestParams
- Stripe::PaymentIntentConfirmParams::PaymentDetails::MoneyServices::BeneficiaryDetails
- Defined in:
- lib/stripe/params/payment_intent_confirm_params.rb
Defined Under Namespace
Classes: Address, DateOfBirth
Instance Attribute Summary collapse
-
#account_reference ⇒ Object
An opaque identifier for the beneficiary's account (e.g. bank account number, card first6+last4, or other unique identifier).
-
#address ⇒ Object
Address.
-
#date_of_birth ⇒ Object
Date of birth.
-
#email ⇒ Object
Email address.
-
#given_name ⇒ Object
Given (first) name.
-
#phone ⇒ Object
Phone number.
-
#surname ⇒ Object
Surname (family name).
Instance Method Summary collapse
-
#initialize(account_reference: nil, address: nil, date_of_birth: nil, email: nil, given_name: nil, phone: nil, surname: nil) ⇒ BeneficiaryDetails
constructor
A new instance of BeneficiaryDetails.
Methods inherited from RequestParams
attr_accessor, coerce_params, coerce_value, field_encodings, new, #to_h
Constructor Details
#initialize(account_reference: nil, address: nil, date_of_birth: nil, email: nil, given_name: nil, phone: nil, surname: nil) ⇒ BeneficiaryDetails
Returns a new instance of BeneficiaryDetails.
2153 2154 2155 2156 2157 2158 2159 2160 2161 2162 2163 2164 2165 2166 2167 2168 2169 |
# File 'lib/stripe/params/payment_intent_confirm_params.rb', line 2153 def initialize( account_reference: nil, address: nil, date_of_birth: nil, email: nil, given_name: nil, phone: nil, surname: nil ) @account_reference = account_reference @address = address @date_of_birth = date_of_birth @email = email @given_name = given_name @phone = phone @surname = surname end |
Instance Attribute Details
#account_reference ⇒ Object
An opaque identifier for the beneficiary's account (e.g. bank account number, card first6+last4, or other unique identifier).
2139 2140 2141 |
# File 'lib/stripe/params/payment_intent_confirm_params.rb', line 2139 def account_reference @account_reference end |
#address ⇒ Object
Address.
2141 2142 2143 |
# File 'lib/stripe/params/payment_intent_confirm_params.rb', line 2141 def address @address end |
#date_of_birth ⇒ Object
Date of birth.
2143 2144 2145 |
# File 'lib/stripe/params/payment_intent_confirm_params.rb', line 2143 def date_of_birth @date_of_birth end |
#email ⇒ Object
Email address.
2145 2146 2147 |
# File 'lib/stripe/params/payment_intent_confirm_params.rb', line 2145 def email @email end |
#given_name ⇒ Object
Given (first) name.
2147 2148 2149 |
# File 'lib/stripe/params/payment_intent_confirm_params.rb', line 2147 def given_name @given_name end |
#phone ⇒ Object
Phone number.
2149 2150 2151 |
# File 'lib/stripe/params/payment_intent_confirm_params.rb', line 2149 def phone @phone end |
#surname ⇒ Object
Surname (family name).
2151 2152 2153 |
# File 'lib/stripe/params/payment_intent_confirm_params.rb', line 2151 def surname @surname end |