Class: GlobalCollect::RequestModels::InsertOrderWithPayment::HostedCreditCardOnlinePayment
Instance Attribute Summary
Attributes inherited from Base
#errors
Instance Method Summary
collapse
Methods inherited from Base
#[], #[]=, #validate
Constructor Details
Returns a new instance of HostedCreditCardOnlinePayment.
3
4
5
6
|
# File 'lib/global_collect/request_models/insert_order_with_payment/hosted_credit_card_online_payment.rb', line 3
def initialize(attributes)
super(attributes)
@attributes["HOSTEDINDICATOR"] = "1"
end
|
Instance Method Details
#fields ⇒ Object
12
13
14
15
16
17
|
# File 'lib/global_collect/request_models/insert_order_with_payment/hosted_credit_card_online_payment.rb', line 12
def fields
super.merge({
"EXPIRYDATE" => ['N4', 'O'],
"CREDITCARDNUMBER" => ['N19', 'O']
})
end
|
#suggested_response_mixins ⇒ Object