Class: Stripe::PaymentIntentConfirmParams::PaymentDetails::MoneyServices::BeneficiaryDetails

Inherits:
RequestParams
  • Object
show all
Defined in:
lib/stripe/params/payment_intent_confirm_params.rb

Defined Under Namespace

Classes: Address, DateOfBirth

Instance Attribute Summary collapse

Instance Method Summary collapse

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 = 
  @address = address
  @date_of_birth = date_of_birth
  @email = email
  @given_name = given_name
  @phone = phone
  @surname = surname
end

Instance Attribute Details

#account_referenceObject

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
end

#addressObject

Address.



2141
2142
2143
# File 'lib/stripe/params/payment_intent_confirm_params.rb', line 2141

def address
  @address
end

#date_of_birthObject

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

#emailObject

Email address.



2145
2146
2147
# File 'lib/stripe/params/payment_intent_confirm_params.rb', line 2145

def email
  @email
end

#given_nameObject

Given (first) name.



2147
2148
2149
# File 'lib/stripe/params/payment_intent_confirm_params.rb', line 2147

def given_name
  @given_name
end

#phoneObject

Phone number.



2149
2150
2151
# File 'lib/stripe/params/payment_intent_confirm_params.rb', line 2149

def phone
  @phone
end

#surnameObject

Surname (family name).



2151
2152
2153
# File 'lib/stripe/params/payment_intent_confirm_params.rb', line 2151

def surname
  @surname
end