Class: GlobalCollect::RequestModels::DoPayment::RecurringPayment
- Defined in:
- lib/global_collect/request_models/do_payment/recurring_payment.rb
Direct Known Subclasses
Instance Attribute Summary
Attributes inherited from Base
Instance Method Summary collapse
Methods inherited from Payment
Methods inherited from Base
#[], #[]=, #initialize, #suggested_response_mixins, #validate
Constructor Details
This class inherits a constructor from GlobalCollect::RequestModels::Base
Instance Method Details
#fields ⇒ Object
3 4 5 6 7 8 9 10 11 12 13 14 |
# File 'lib/global_collect/request_models/do_payment/recurring_payment.rb', line 3 def fields # A recurring payment will never have the default EFFORTID of '1', hence # it is a required field. # # Also, a recurring payment recalls the existing payment information on # the order, thus does not require a PAYMENTPRODUCTID, per # WDL ยง5.13 # "Variable amount recurring order payments" section. super.merge({ "EFFORTID" => ["N5", "R"], "PAYMENTPRODUCTID" => ["N5", "O"] }) end |