Class: PrestoAPI::Transaction

Inherits:
Base
  • Object
show all
Defined in:
lib/presto_api.rb

Instance Attribute Summary collapse

Method Summary

Methods inherited from Base

#from_json!, #to_json

Instance Attribute Details

#amountObject

Returns the value of attribute amount.



44
45
46
# File 'lib/presto_api.rb', line 44

def amount
  @amount
end

#balanceObject

Returns the value of attribute balance.



44
45
46
# File 'lib/presto_api.rb', line 44

def balance
  @balance
end

#dateObject

Returns the value of attribute date.



44
45
46
# File 'lib/presto_api.rb', line 44

def date
  @date
end

#locationObject

Returns the value of attribute location.



44
45
46
# File 'lib/presto_api.rb', line 44

def location
  @location
end

#loyalty_discountObject

Returns the value of attribute loyalty_discount.



44
45
46
# File 'lib/presto_api.rb', line 44

def loyalty_discount
  @loyalty_discount
end

#loyalty_monthObject

Returns the value of attribute loyalty_month.



44
45
46
# File 'lib/presto_api.rb', line 44

def loyalty_month
  @loyalty_month
end

#loyalty_stepObject

Returns the value of attribute loyalty_step.



44
45
46
# File 'lib/presto_api.rb', line 44

def loyalty_step
  @loyalty_step
end

#loyalty_tripObject

Returns the value of attribute loyalty_trip.



44
45
46
# File 'lib/presto_api.rb', line 44

def loyalty_trip
  @loyalty_trip
end

#service_providerObject

Returns the value of attribute service_provider.



44
45
46
# File 'lib/presto_api.rb', line 44

def service_provider
  @service_provider
end

#typeObject

Returns the value of attribute type.



44
45
46
# File 'lib/presto_api.rb', line 44

def type
  @type
end