class Ingenico::Direct::SDK::Domain::PaymentProduct130SpecificThreeDSecure
@attr [true/false] acquirer_exemption
@attr [String] merchant_score
@attr [Integer] number_of_items
@attr [String] usecase
Attributes
acquirer_exemption[RW]
merchant_score[RW]
number_of_items[RW]
usecase[RW]
Public Instance Methods
from_hash(hash)
click to toggle source
Calls superclass method
Ingenico::Direct::SDK::DataObject#from_hash
# File lib/ingenico/direct/sdk/domain/payment_product130_specific_three_d_secure.rb, line 30 def from_hash(hash) super @acquirer_exemption = hash['acquirerExemption'] if hash.key? 'acquirerExemption' @merchant_score = hash['merchantScore'] if hash.key? 'merchantScore' @number_of_items = hash['numberOfItems'] if hash.key? 'numberOfItems' @usecase = hash['usecase'] if hash.key? 'usecase' end
to_h()
click to toggle source
@return (Hash)
Calls superclass method
Ingenico::Direct::SDK::DataObject#to_h
# File lib/ingenico/direct/sdk/domain/payment_product130_specific_three_d_secure.rb, line 21 def to_h hash = super hash['acquirerExemption'] = @acquirer_exemption unless @acquirer_exemption.nil? hash['merchantScore'] = @merchant_score unless @merchant_score.nil? hash['numberOfItems'] = @number_of_items unless @number_of_items.nil? hash['usecase'] = @usecase unless @usecase.nil? hash end