Class: Stripe::PaymentIntentUpdateParams::PaymentMethodData::Rechnung::Dob

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods inherited from RequestParams

#to_h

Constructor Details

#initialize(day: nil, month: nil, year: nil) ⇒ Dob

Returns a new instance of Dob.



2192
2193
2194
2195
2196
# File 'lib/stripe/params/payment_intent_update_params.rb', line 2192

def initialize(day: nil, month: nil, year: nil)
  @day = day
  @month = month
  @year = year
end

Instance Attribute Details

#dayObject

The day of birth, between 1 and 31.



2186
2187
2188
# File 'lib/stripe/params/payment_intent_update_params.rb', line 2186

def day
  @day
end

#monthObject

The month of birth, between 1 and 12.



2188
2189
2190
# File 'lib/stripe/params/payment_intent_update_params.rb', line 2188

def month
  @month
end

#yearObject

The four-digit year of birth.



2190
2191
2192
# File 'lib/stripe/params/payment_intent_update_params.rb', line 2190

def year
  @year
end