class SixSaferpay::RegistrationAlias
Attributes
id[RW]
lifetime[RW]
Public Class Methods
new(id:, lifetime: nil )
click to toggle source
# File lib/six_saferpay/models/registration_alias.rb, line 8 def initialize(id:, lifetime: nil ) @id = id @lifetime = lifetime end
Public Instance Methods
to_hash()
click to toggle source
# File lib/six_saferpay/models/registration_alias.rb, line 15 def to_hash hash = Hash.new hash.merge!(id: @id) if @id hash.merge!(lifetime: @lifetime) if @lifetime hash end
Also aliased as: to_h