Class: GlobalCollect::RequestModels::DoRefund::Payment
- Defined in:
- lib/global_collect/request_models/do_refund/payment.rb
Direct Known Subclasses
Instance Attribute Summary
Attributes inherited from Base
Instance Method Summary collapse
-
#fields ⇒ Object
WDL §5.16.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.16.1 specifies the full list of possible fields
11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 |
# File 'lib/global_collect/request_models/do_refund/payment.rb', line 11 def fields super.merge({ "ORDERID" => ["N10", "R"], "EFFORTID" => ["N5", "O"], "MERCHANTREFERENCE" => ["AN30", "R"], "REFERENCEORIGPAYMENT" => ["AN30", "O"], "CURRENCYCODE" => ["AN3", "O"], "AMOUNT" => ["N12", "O"], "COUNTRYCODE" => ["AN2", "O"], "REFUNDDATE" => ["D", "O"], "SURNAME" => ["AN35", "O"], "FIRSTNAME" => ["AN15", "O"], "PREFIXSURNAME" => ["AN15", "O"], "TITLE" => ["AN35", "O"], "COMPANYNAME" => ["AN40", "O"], "COMPANYDATA" => ["AN50", "O"], "STREET" => ["AN50", "O"], "HOUSENUMBER" => ["AN15", "O"], "ADDITIONALADDRESSINFO" => ["AN50", "O"], "ZIP" => ["AN10", "O"], "CITY" => ["AN40", "O"], "STATE" => ["AN35", "O"], "EMAILADDRESS" => ["AN70", "O"], "EMAILTYPEINDICATOR" => ["N1", "O"] }) end |
#suggested_response_mixins ⇒ Object
3 4 5 6 7 8 |
# File 'lib/global_collect/request_models/do_refund/payment.rb', line 3 def suggested_response_mixins [ GlobalCollect::Responses::SuccessRow, GlobalCollect::Responses::DoRefund::ResponseMethods ] end |