Class: GoCardless::Payment

Inherits:
Resource show all
Defined in:
lib/gocardless/payment.rb

Instance Attribute Summary collapse

Attributes inherited from Resource

#id, #uri

Method Summary

Methods inherited from Resource

creatable, creatable?, date_accessor, date_writer, find, find_with_client, #initialize, #inspect, new_with_client, #persisted?, reference_accessor, reference_reader, reference_writer, #save, #to_hash, #to_json, updatable, updatable?

Constructor Details

This class inherits a constructor from GoCardless::Resource

Instance Attribute Details

#amount ⇒ Object

Returns the value of attribute amount.



5
6
7
# File 'lib/gocardless/payment.rb', line 5

def amount
  @amount
end

#currency ⇒ Object

Returns the value of attribute currency.



5
6
7
# File 'lib/gocardless/payment.rb', line 5

def currency
  @currency
end

#status ⇒ Object

Returns the value of attribute status.



5
6
7
# File 'lib/gocardless/payment.rb', line 5

def status
  @status
end