Class: GlobalCollect::RequestModels::DoRefund::CreditCardPayment

Inherits:
Payment
  • Object
show all
Defined in:
lib/global_collect/request_models/do_refund/credit_card_payment.rb

Instance Attribute Summary

Attributes inherited from Base

#errors

Instance Method Summary collapse

Methods inherited from Payment

#suggested_response_mixins

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.16.1 specifies the full list of possible fields



4
5
6
7
8
9
10
# File 'lib/global_collect/request_models/do_refund/credit_card_payment.rb', line 4

def fields
  super.merge({
    "PAYMENTPRODUCTID" => ["N5",  "O"],
    "CREDITCARDNUMBER" => ["N19", "O"],
    "EXPIRYDATE"       => ["N4",  "O"]
  })
end