class SixSaferpay::PaymentMethodOptions
Attributes
bankcontact[RW]
Public Class Methods
new(bankcontact: nil)
click to toggle source
# File lib/six_saferpay/models/payment_method_options.rb, line 6 def initialize(bankcontact: nil) @bankcontact = SixSaferpay::Bankcontact.new(bankcontact.to_h) if bankcontact end
Public Instance Methods
to_hash()
click to toggle source
# File lib/six_saferpay/models/payment_method_options.rb, line 10 def to_hash hash = Hash.new hash.merge!(bankcontact: @bankcontact.to_h) if @bankcontact hash end
Also aliased as: to_h