Class: GlobalCollect::RequestModels::DoPayment::Payment
- Defined in:
- lib/global_collect/request_models/do_payment/payment.rb
Direct Known Subclasses
Instance Attribute Summary
Attributes inherited from Base
Instance Method Summary collapse
-
#fields ⇒ Object
WDL §5.13.1 specifies the full list of possible fields.
- #suggested_response_mixins ⇒ Object
Methods inherited from Base
#[], #[]=, #initialize, #validate
Constructor Details
This class inherits a constructor from GlobalCollect::RequestModels::Base
Instance Method Details
#fields ⇒ Object
WDL §5.13.1 specifies the full list of possible fields
10 11 12 13 14 15 16 17 18 19 20 21 22 |
# File 'lib/global_collect/request_models/do_payment/payment.rb', line 10 def fields super.merge({ "MERCHANTREFERENCE" => ["AN30" , "R"], "ORDERID" => ["N10" , "R"], "EFFORTID" => ["N5" , "O"], "PAYMENTPRODUCTID" => ["N5" , "R"], "AMOUNT" => ["N12" , "O"], "AMOUNTSIGN" => ["AN1" , "O"], "CURRENCYCODE" => ["AN3" , "R"], "HOSTEDINDICATOR" => ["N1" , "O"], "RETURNURL" => ["AN512", "O"] }) end |
#suggested_response_mixins ⇒ Object
3 4 5 6 7 8 |
# File 'lib/global_collect/request_models/do_payment/payment.rb', line 3 def suggested_response_mixins [ GlobalCollect::Responses::SuccessRow, GlobalCollect::Responses::DoPayment::ResponseMethods ] end |