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