Class: GlobalCollect::Builders::InsertOrderWithPayment::CreditCardOnlinePayment

Inherits:
Payment
  • Object
show all
Defined in:
lib/global_collect/builders/insert_order_with_payment/credit_card_online_payment.rb

Direct Known Subclasses

HostedCreditCardOnlinePayment

Instance Attribute Summary

Attributes inherited from Payment

#payment

Instance Method Summary collapse

Methods inherited from Payment

#build

Instance Method Details

#payment_fieldsObject

WDL §5.28 Table 106 specifies credit card payment fields



4
5
6
7
8
9
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
# File 'lib/global_collect/builders/insert_order_with_payment/credit_card_online_payment.rb', line 4

def payment_fields
  super + %w[
    EXPIRYDATE             
    CREDITCARDNUMBER       
    ISSUENUMBER            
    CVV                    
    CVVINDICATOR           
    AVSINDICATOR           
    AUTHENTICATIONINDICATOR
    STTINDICATOR           
    FIRSTNAME              
    PREFIXSURNAME          
    SURNAME                
    STREET                 
    HOUSENUMBER            
    CUSTOMERIPADDRESS      
    ADDITIONALADDRESSINFO  
    ZIP                    
    CITY                   
    STATE                  
    PHONENUMBER            
    EMAIL                  
    BIRTHDATE              
    DCCINDICATOR           
    ISSUERAMOUNT           
    ISSUERCURRENCYCODE     
    MARGINRATEPERCENTAGE   
    EXCHANGERATESOURCENAME 
    EXCHANGERATE           
    EXCHANGERATEVALIDTO    
    MAC                    
  ]
end