Class: Transfirst::Wallet

Inherits:
API
  • Object
show all
Defined in:
lib/transfirst/wallet.rb

Constant Summary

Constants inherited from API

API::ADD_ENTITY, API::MERCHANT_PROD_TYPE, API::MERCHANT_WEB_SERVICE, API::NO_API_ERROR, API::RECURRING, API::STATUS_ACTIVE, API::STATUS_INACTIVE, API::UPDATE_ENTITY, API::VERSION, API::XSD_PATH

Instance Attribute Summary collapse

Attributes inherited from API

#client, #gateway_id, #registration_key

Instance Method Summary collapse

Methods inherited from API

#make_request, #register

Constructor Details

#initialize(*args) ⇒ Wallet

Returns a new instance of Wallet.



7
8
9
10
11
# File 'lib/transfirst/wallet.rb', line 7

def initialize(*args)
  api, attrs = *args
  @api = api
  @body = build_request(attrs)
end

Instance Attribute Details

#addrLn1Object

Returns the value of attribute addrLn1.



3
4
5
# File 'lib/transfirst/wallet.rb', line 3

def addrLn1
  @addrLn1
end

#addrLn2Object

Returns the value of attribute addrLn2.



3
4
5
# File 'lib/transfirst/wallet.rb', line 3

def addrLn2
  @addrLn2
end

#apiObject

Returns the value of attribute api.



3
4
5
# File 'lib/transfirst/wallet.rb', line 3

def api
  @api
end

#cityObject

Returns the value of attribute city.



3
4
5
# File 'lib/transfirst/wallet.rb', line 3

def city
  @city
end

#full_nameObject

Returns the value of attribute full_name.



3
4
5
# File 'lib/transfirst/wallet.rb', line 3

def full_name
  @full_name
end

#panObject

Returns the value of attribute pan.



3
4
5
# File 'lib/transfirst/wallet.rb', line 3

def pan
  @pan
end

#secObject

Returns the value of attribute sec.



3
4
5
# File 'lib/transfirst/wallet.rb', line 3

def sec
  @sec
end

#stateObject

Returns the value of attribute state.



3
4
5
# File 'lib/transfirst/wallet.rb', line 3

def state
  @state
end

#xprDtObject

Returns the value of attribute xprDt.



3
4
5
# File 'lib/transfirst/wallet.rb', line 3

def xprDt
  @xprDt
end

#zipCodeObject

Returns the value of attribute zipCode.



3
4
5
# File 'lib/transfirst/wallet.rb', line 3

def zipCode
  @zipCode
end