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.



2205
2206
2207
2208
2209
# File 'lib/stripe/params/payment_intent_update_params.rb', line 2205

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.



2199
2200
2201
# File 'lib/stripe/params/payment_intent_update_params.rb', line 2199

def day
  @day
end

#monthObject

The month of birth, between 1 and 12.



2201
2202
2203
# File 'lib/stripe/params/payment_intent_update_params.rb', line 2201

def month
  @month
end

#yearObject

The four-digit year of birth.



2203
2204
2205
# File 'lib/stripe/params/payment_intent_update_params.rb', line 2203

def year
  @year
end