Class: PaysonAPI::V2::Requests::Merchant
- Inherits:
-
Object
- Object
- PaysonAPI::V2::Requests::Merchant
- Defined in:
- lib/payson_api/v2/requests/merchant.rb
Instance Attribute Summary collapse
-
#checkout_uri ⇒ Object
Returns the value of attribute checkout_uri.
-
#confirmation_uri ⇒ Object
Returns the value of attribute confirmation_uri.
-
#integration_info ⇒ Object
Returns the value of attribute integration_info.
-
#notification_uri ⇒ Object
Returns the value of attribute notification_uri.
-
#partner_id ⇒ Object
Returns the value of attribute partner_id.
-
#reference ⇒ Object
Returns the value of attribute reference.
-
#terms_uri ⇒ Object
Returns the value of attribute terms_uri.
-
#validation_uri ⇒ Object
Returns the value of attribute validation_uri.
Instance Method Summary collapse
Instance Attribute Details
#checkout_uri ⇒ Object
Returns the value of attribute checkout_uri.
7 8 9 |
# File 'lib/payson_api/v2/requests/merchant.rb', line 7 def checkout_uri @checkout_uri end |
#confirmation_uri ⇒ Object
Returns the value of attribute confirmation_uri.
7 8 9 |
# File 'lib/payson_api/v2/requests/merchant.rb', line 7 def confirmation_uri @confirmation_uri end |
#integration_info ⇒ Object
Returns the value of attribute integration_info.
7 8 9 |
# File 'lib/payson_api/v2/requests/merchant.rb', line 7 def integration_info @integration_info end |
#notification_uri ⇒ Object
Returns the value of attribute notification_uri.
7 8 9 |
# File 'lib/payson_api/v2/requests/merchant.rb', line 7 def notification_uri @notification_uri end |
#partner_id ⇒ Object
Returns the value of attribute partner_id.
7 8 9 |
# File 'lib/payson_api/v2/requests/merchant.rb', line 7 def partner_id @partner_id end |
#reference ⇒ Object
Returns the value of attribute reference.
7 8 9 |
# File 'lib/payson_api/v2/requests/merchant.rb', line 7 def reference @reference end |
#terms_uri ⇒ Object
Returns the value of attribute terms_uri.
7 8 9 |
# File 'lib/payson_api/v2/requests/merchant.rb', line 7 def terms_uri @terms_uri end |
#validation_uri ⇒ Object
Returns the value of attribute validation_uri.
7 8 9 |
# File 'lib/payson_api/v2/requests/merchant.rb', line 7 def validation_uri @validation_uri end |
Instance Method Details
#to_hash ⇒ Object
10 11 12 13 14 15 16 17 18 19 20 21 |
# File 'lib/payson_api/v2/requests/merchant.rb', line 10 def to_hash {}.tap do |hash| hash['checkoutUri'] = @checkout_uri hash['notificationUri'] = @notification_uri hash['termsUri'] = @terms_uri hash['confirmationUri'] = @confirmation_uri hash['partnerId'] = @partner_id unless @partner_id.nil? hash['validationUri'] = @validation_uri unless @validation_uri.nil? hash['integrationInfo'] = @integration_info unless @integration_info.nil? hash['reference'] = @reference unless @reference.nil? end end |