Class: GlobalCollect::RequestModels::InsertOrderWithPayment::CreditCardOnlinePayment
- Defined in:
- lib/global_collect/request_models/insert_order_with_payment/credit_card_online_payment.rb
Direct Known Subclasses
Instance Attribute Summary
Attributes inherited from Base
Instance Method Summary collapse
-
#fields ⇒ Object
WDL §5.28.1 TABLE 106 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.28.1 TABLE 106 specifies the full list of possible fields
10 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 37 38 39 40 41 42 |
# File 'lib/global_collect/request_models/insert_order_with_payment/credit_card_online_payment.rb', line 10 def fields super.merge({ "EXPIRYDATE" => ['N4', 'R'], "CREDITCARDNUMBER" => ['N19', 'R'], "ISSUENUMBER" => ['N2', 'O'], "CVV" => ['N4', 'O'], "CVVINDICATOR" => ['N1', 'O'], "AVSINDICATOR" => ['N1', 'O'], "AUTHENTICATIONINDICATOR" => ['N1', 'O'], "STTINDICATOR" => ['N1', 'O'], "FIRSTNAME" => ['AN15', 'O'], "PREFIXSURNAME" => ['AN15', 'O'], "SURNAME" => ['AN35', 'O'], "STREET" => ['AN50', 'O'], "HOUSENUMBER" => ['AN15', 'O'], "CUSTOMERIPADDRESS" => ['AN32', 'O'], "ADDITIONALADDRESSINFO" => ['AN50', 'O'], "ZIP" => ['AN10', 'O'], "CITY" => ['AN40', 'O'], "STATE" => ['AN35', 'O'], "PHONENUMBER" => ['AN20', 'O'], "EMAIL" => ['AN70', 'O'], "BIRTHDATE" => ['N8', 'O'], "DCCINDICATOR" => ['N1', 'O'], "ISSUERAMOUNT" => ['N12', 'O'], "ISSUERCURRENCYCODE" => ['AN3', 'O'], "MARGINRATEPERCENTAGE" => ['N6 ', 'O'], "EXCHANGERATESOURCENAME" => ['AN32', 'O'], "EXCHANGERATE" => ['N12', 'O'], "EXCHANGERATEVALIDTO" => ['N14', 'O'], "MAC" => ['AN64', 'O'] }) end |
#suggested_response_mixins ⇒ Object
3 4 5 6 7 8 |
# File 'lib/global_collect/request_models/insert_order_with_payment/credit_card_online_payment.rb', line 3 def suggested_response_mixins [ GlobalCollect::Responses::SuccessRow, GlobalCollect::Responses::InsertOrderWithPayment::CreditCardOnlinePaymentResponseMethods ] end |