Class: GatewayCustomerProfile
- Inherits:
-
GatewayCustomer
- Object
- GatewayCustomer
- GatewayCustomerProfile
- Includes:
- GatewayErrors
- Defined in:
- lib/gateway_customer_profile.rb
Instance Attribute Summary collapse
-
#payment_profile_id ⇒ Object
Returns the value of attribute payment_profile_id.
-
#profile_id ⇒ Object
Returns the value of attribute profile_id.
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
-
#initialize(profile_id, payment_profile_id) ⇒ GatewayCustomerProfile
constructor
A new instance of GatewayCustomerProfile.
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_id ⇒ Object
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_id ⇒ Object
Returns the value of attribute profile_id.
4 5 6 |
# File 'lib/gateway_customer_profile.rb', line 4 def profile_id @profile_id end |