Class: GlobalCollect::RequestModels::SetPayment::Payment

Inherits:
Base
  • Object
show all
Defined in:
lib/global_collect/request_models/set_payment/payment.rb

Instance Attribute Summary

Attributes inherited from Base

#errors

Instance Method Summary collapse

Methods inherited from Base

#[], #[]=, #initialize, #suggested_response_mixins, #validate

Constructor Details

This class inherits a constructor from GlobalCollect::RequestModels::Base

Instance Method Details

#fieldsObject

WDL §5.33.1 specifies the full list of possible fields



4
5
6
7
8
9
10
11
12
13
# File 'lib/global_collect/request_models/set_payment/payment.rb', line 4

def fields
  super.merge({
    "ORDERID"          => ["N10", "R"],
    "EFFORTID"         => ["N5",  "O"],
    "PAYMENTPRODUCTID" => ["N5",  "R"],
    "AMOUNT"           => ["N12", "O"],
    "CURRENCYCODE"     => ["AN3", "O"],
    "DATECOLLECT"      => ["D8",  "O"]
  })
end