Class: GatewayCustomerProfile

Inherits:
GatewayCustomer show all
Includes:
GatewayErrors
Defined in:
lib/gateway_customer_profile.rb

Instance Attribute Summary collapse

Attributes inherited from GatewayCustomer

#address, #cell_phone, #city, #country, #email_id, #fax, #first_name, #home_phone, #last_name, #office_ext, #office_phone, #state, #zip

Instance Method Summary collapse

Methods inherited from GatewayCustomer

#convert_to_authorize_net_input, #convert_to_braintree_input, #convert_to_fortis_input

Constructor Details

#initialize(profile_id, payment_profile_id) ⇒ GatewayCustomerProfile

Returns a new instance of GatewayCustomerProfile.



6
7
8
9
# File 'lib/gateway_customer_profile.rb', line 6

def initialize(profile_id, payment_profile_id)
  self.profile_id = profile_id.to_s
  self.payment_profile_id  = payment_profile_id.to_s
end

Instance Attribute Details

#payment_profile_idObject

Returns the value of attribute payment_profile_id.



4
5
6
# File 'lib/gateway_customer_profile.rb', line 4

def payment_profile_id
  @payment_profile_id
end

#profile_idObject

Returns the value of attribute profile_id.



4
5
6
# File 'lib/gateway_customer_profile.rb', line 4

def profile_id
  @profile_id
end