class Ingenico::Connect::SDK::Domain::Payment::RefundPaymentProduct840CustomerAccount
@attr [String] customer_account_status
@attr [String] customer_address_status
@attr [String] payer_id
Attributes
customer_account_status[RW]
customer_address_status[RW]
payer_id[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/payment/refund_payment_product840_customer_account.rb, line 31 def from_hash(hash) super if hash.has_key? 'customerAccountStatus' @customer_account_status = hash['customerAccountStatus'] end if hash.has_key? 'customerAddressStatus' @customer_address_status = hash['customerAddressStatus'] end if hash.has_key? 'payerId' @payer_id = hash['payerId'] 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/payment/refund_payment_product840_customer_account.rb, line 23 def to_h hash = super hash['customerAccountStatus'] = @customer_account_status unless @customer_account_status.nil? hash['customerAddressStatus'] = @customer_address_status unless @customer_address_status.nil? hash['payerId'] = @payer_id unless @payer_id.nil? hash end