Class: Paya::Web::Guaranteed::CreditDebitTransaction

Inherits:
Base
  • Object
show all
Defined in:
lib/paya/web/guaranteed/credit_debit_transaction.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods inherited from Base

#check_number, #consumer_info, #corporate_consumer, #data_packet, #get_archived_response, #identity_block, #non_corporate_consumer, #process_single_ccd_check, #process_single_certification_check, #process_single_check, #process_single_check_with_token, #process_single_ppd_check, #process_single_tel_check, #process_single_web_check

Constructor Details

#initialize(options = {}) ⇒ CreditDebitTransaction

Returns a new instance of CreditDebitTransaction.



7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
# File 'lib/paya/web/guaranteed/credit_debit_transaction.rb', line 7

def initialize options={}
  @request_id = options[:request_id]
  @transaction_id = options[:transaction_id]
  @routing_number = options[:routing_number]
  @account_number = options[:account_number]
  @account_type = options[:account_type]
  @company_name = options[:company_name]
  @address_1 = options[:address_1]
  @address_2 = options[:address_2]
  @city = options[:city]
  @state = options[:state]
  @dl_state = options[:dl_state]
  @dl_number = options[:dl_number]
  @dob_year = options[:dob_year]
  @zip = options[:zip]
  @phone_number = options[:phone_number]
  @check_amount = options[:check_amount]
  @identifier = options[:identifier]
end

Instance Attribute Details

#account_numberObject

Returns the value of attribute account_number.



5
6
7
# File 'lib/paya/web/guaranteed/credit_debit_transaction.rb', line 5

def 
  @account_number
end

#account_typeObject

Returns the value of attribute account_type.



5
6
7
# File 'lib/paya/web/guaranteed/credit_debit_transaction.rb', line 5

def 
  @account_type
end

#address_1Object

Returns the value of attribute address_1.



5
6
7
# File 'lib/paya/web/guaranteed/credit_debit_transaction.rb', line 5

def address_1
  @address_1
end

#address_2Object

Returns the value of attribute address_2.



5
6
7
# File 'lib/paya/web/guaranteed/credit_debit_transaction.rb', line 5

def address_2
  @address_2
end

#check_amountObject

Returns the value of attribute check_amount.



5
6
7
# File 'lib/paya/web/guaranteed/credit_debit_transaction.rb', line 5

def check_amount
  @check_amount
end

#cityObject

Returns the value of attribute city.



5
6
7
# File 'lib/paya/web/guaranteed/credit_debit_transaction.rb', line 5

def city
  @city
end

#company_nameObject

Returns the value of attribute company_name.



5
6
7
# File 'lib/paya/web/guaranteed/credit_debit_transaction.rb', line 5

def company_name
  @company_name
end

#dl_numberObject

Returns the value of attribute dl_number.



5
6
7
# File 'lib/paya/web/guaranteed/credit_debit_transaction.rb', line 5

def dl_number
  @dl_number
end

#dl_stateObject

Returns the value of attribute dl_state.



5
6
7
# File 'lib/paya/web/guaranteed/credit_debit_transaction.rb', line 5

def dl_state
  @dl_state
end

#dob_yearObject

Returns the value of attribute dob_year.



5
6
7
# File 'lib/paya/web/guaranteed/credit_debit_transaction.rb', line 5

def dob_year
  @dob_year
end

#identifierObject

Returns the value of attribute identifier.



5
6
7
# File 'lib/paya/web/guaranteed/credit_debit_transaction.rb', line 5

def identifier
  @identifier
end

#phone_numberObject

Returns the value of attribute phone_number.



5
6
7
# File 'lib/paya/web/guaranteed/credit_debit_transaction.rb', line 5

def phone_number
  @phone_number
end

#request_idObject

Returns the value of attribute request_id.



5
6
7
# File 'lib/paya/web/guaranteed/credit_debit_transaction.rb', line 5

def request_id
  @request_id
end

#routing_numberObject

Returns the value of attribute routing_number.



5
6
7
# File 'lib/paya/web/guaranteed/credit_debit_transaction.rb', line 5

def routing_number
  @routing_number
end

#stateObject

Returns the value of attribute state.



5
6
7
# File 'lib/paya/web/guaranteed/credit_debit_transaction.rb', line 5

def state
  @state
end

#transaction_idObject

Returns the value of attribute transaction_id.



5
6
7
# File 'lib/paya/web/guaranteed/credit_debit_transaction.rb', line 5

def transaction_id
  @transaction_id
end

#zipObject

Returns the value of attribute zip.



5
6
7
# File 'lib/paya/web/guaranteed/credit_debit_transaction.rb', line 5

def zip
  @zip
end

Instance Method Details

#process(options = {}, check_verification = false, identity_verification = false, dl_required = false) ⇒ Object



27
28
29
# File 'lib/paya/web/guaranteed/credit_debit_transaction.rb', line 27

def process options={}, check_verification=false, identity_verification=false, dl_required=false
  raise 'Transaction not supported'
end