Class: Spree::PayseraForm

Inherits:
Object
  • Object
show all
Includes:
ActiveModel::Model
Defined in:
app/models/spree/paysera_form.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#accepturlObject

Returns the value of attribute accepturl.



6
7
8
# File 'app/models/spree/paysera_form.rb', line 6

def accepturl
  @accepturl
end

#amountObject

Returns the value of attribute amount.



6
7
8
# File 'app/models/spree/paysera_form.rb', line 6

def amount
  @amount
end

#callbackurlObject

Returns the value of attribute callbackurl.



6
7
8
# File 'app/models/spree/paysera_form.rb', line 6

def callbackurl
  @callbackurl
end

#cancelurlObject

Returns the value of attribute cancelurl.



6
7
8
# File 'app/models/spree/paysera_form.rb', line 6

def cancelurl
  @cancelurl
end

#countryObject

Returns the value of attribute country.



6
7
8
# File 'app/models/spree/paysera_form.rb', line 6

def country
  @country
end

#currencyObject

Returns the value of attribute currency.



6
7
8
# File 'app/models/spree/paysera_form.rb', line 6

def currency
  @currency
end

#developeridObject

Returns the value of attribute developerid.



6
7
8
# File 'app/models/spree/paysera_form.rb', line 6

def developerid
  @developerid
end

#disalow_paymentsObject

Returns the value of attribute disalow_payments.



6
7
8
# File 'app/models/spree/paysera_form.rb', line 6

def disalow_payments
  @disalow_payments
end

#langObject

Returns the value of attribute lang.



6
7
8
# File 'app/models/spree/paysera_form.rb', line 6

def lang
  @lang
end

#only_paymentsObject

Returns the value of attribute only_payments.



6
7
8
# File 'app/models/spree/paysera_form.rb', line 6

def only_payments
  @only_payments
end

#orderidObject

Returns the value of attribute orderid.



6
7
8
# File 'app/models/spree/paysera_form.rb', line 6

def orderid
  @orderid
end

#p_cityObject

Returns the value of attribute p_city.



6
7
8
# File 'app/models/spree/paysera_form.rb', line 6

def p_city
  @p_city
end

#p_countrycodeObject

Returns the value of attribute p_countrycode.



6
7
8
# File 'app/models/spree/paysera_form.rb', line 6

def p_countrycode
  @p_countrycode
end

#p_emailObject

Returns the value of attribute p_email.



6
7
8
# File 'app/models/spree/paysera_form.rb', line 6

def p_email
  @p_email
end

#p_firstnameObject

Returns the value of attribute p_firstname.



6
7
8
# File 'app/models/spree/paysera_form.rb', line 6

def p_firstname
  @p_firstname
end

#p_lastnameObject

Returns the value of attribute p_lastname.



6
7
8
# File 'app/models/spree/paysera_form.rb', line 6

def p_lastname
  @p_lastname
end

#p_stateObject

Returns the value of attribute p_state.



6
7
8
# File 'app/models/spree/paysera_form.rb', line 6

def p_state
  @p_state
end

#p_streetObject

Returns the value of attribute p_street.



6
7
8
# File 'app/models/spree/paysera_form.rb', line 6

def p_street
  @p_street
end

#p_zipObject

Returns the value of attribute p_zip.



6
7
8
# File 'app/models/spree/paysera_form.rb', line 6

def p_zip
  @p_zip
end

#paymentObject

Returns the value of attribute payment.



6
7
8
# File 'app/models/spree/paysera_form.rb', line 6

def payment
  @payment
end

#paytextObject

Returns the value of attribute paytext.



6
7
8
# File 'app/models/spree/paysera_form.rb', line 6

def paytext
  @paytext
end

#personcodeObject

Returns the value of attribute personcode.



6
7
8
# File 'app/models/spree/paysera_form.rb', line 6

def personcode
  @personcode
end

#projectidObject

Returns the value of attribute projectid.



6
7
8
# File 'app/models/spree/paysera_form.rb', line 6

def projectid
  @projectid
end

#testObject

Returns the value of attribute test.



6
7
8
# File 'app/models/spree/paysera_form.rb', line 6

def test
  @test
end

#time_limitObject

Returns the value of attribute time_limit.



6
7
8
# File 'app/models/spree/paysera_form.rb', line 6

def time_limit
  @time_limit
end

#versionObject

Returns the value of attribute version.



6
7
8
# File 'app/models/spree/paysera_form.rb', line 6

def version
  @version
end

Instance Method Details

#attributesObject



49
50
51
# File 'app/models/spree/paysera_form.rb', line 49

def attributes
  instance_values.except('errors', 'validation_context').symbolize_keys
end