Class: PaysonAPI::V2::Models::Merchant
- Inherits:
-
Object
- Object
- PaysonAPI::V2::Models::Merchant
- Defined in:
- lib/payson_api/v2/models/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.
Class Method Summary collapse
Instance Attribute Details
#checkout_uri ⇒ Object
Returns the value of attribute checkout_uri.
7 8 9 |
# File 'lib/payson_api/v2/models/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/models/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/models/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/models/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/models/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/models/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/models/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/models/merchant.rb', line 7 def validation_uri @validation_uri end |
Class Method Details
.from_hash(hash) ⇒ Object
10 11 12 13 14 15 16 17 18 19 20 |
# File 'lib/payson_api/v2/models/merchant.rb', line 10 def self.from_hash(hash) new.tap do |merchant| merchant.checkout_uri = hash['checkoutUri'] merchant.confirmation_uri = hash['confirmationUri'] merchant.validation_uri = hash['validationUri'] merchant.terms_uri = hash['termsUri'] merchant.partner_id = hash['partnerId'] merchant.integration_info = hash['integrationInfo'] merchant.reference = hash['reference'] end end |