class PaysonAPI::V2::Models::Account
Attributes
account_email[RW]
enabled_for_invoice[RW]
enabled_for_payment_plan[RW]
enabled_for_recurring_payments[RW]
merchant_id[RW]
status[RW]
Public Class Methods
from_hash(hash)
click to toggle source
# File lib/payson_api/v2/models/account.rb, line 10 def self.from_hash(hash) new.tap do |account| account.account_email = hash['accountEmail'] account.status = hash['status'] account.merchant_id = hash['merchantId'] account.enabled_for_invoice = hash['enabledForInvoice'] account.enabled_for_payment_plan = hash['enabledForpaymentPlan'] account.enabled_for_recurring_payments = hash['enabledForRecurringPayments'] end end