class AuthorizeNet::PaymentProfile
Constants
- ATTRIBUTES
Public Instance Methods
to_h()
click to toggle source
Override
Calls superclass method
AuthorizeNet::DataObject#to_h
# File lib/authorize_net/payment_profile.rb, line 26 def to_h hash = super hash.delete('creditCard') if !@credit_card.nil? hash['payment'] = { 'creditCard' => @credit_card.to_h } end return hash end