class Ingenico::Connect::SDK::Domain::Dispute::DisputeCreationDetail
@attr [String] dispute_creation_date
@attr [String] dispute_originator
@attr [String] user_name
Attributes
dispute_creation_date[RW]
dispute_originator[RW]
user_name[RW]
Public Instance Methods
from_hash(hash)
click to toggle source
Calls superclass method
Ingenico::Connect::SDK::DataObject#from_hash
# File lib/ingenico/connect/sdk/domain/dispute/dispute_creation_detail.rb, line 31 def from_hash(hash) super if hash.has_key? 'disputeCreationDate' @dispute_creation_date = hash['disputeCreationDate'] end if hash.has_key? 'disputeOriginator' @dispute_originator = hash['disputeOriginator'] end if hash.has_key? 'userName' @user_name = hash['userName'] end end
to_h()
click to toggle source
@return (Hash)
Calls superclass method
Ingenico::Connect::SDK::DataObject#to_h
# File lib/ingenico/connect/sdk/domain/dispute/dispute_creation_detail.rb, line 23 def to_h hash = super hash['disputeCreationDate'] = @dispute_creation_date unless @dispute_creation_date.nil? hash['disputeOriginator'] = @dispute_originator unless @dispute_originator.nil? hash['userName'] = @user_name unless @user_name.nil? hash end