class Mollie::Customer
Attributes
Public Instance Methods
Source
# File lib/mollie/customer.rb, line 11 def created_at=(created_at) @created_at = Time.parse(created_at.to_s) end
Source
# File lib/mollie/customer.rb, line 19 def mandates(options = {}) Mandate.all(options.merge(customer_id: id)) end
Source
# File lib/mollie/customer.rb, line 15 def metadata=(metadata) @metadata = OpenStruct.new(metadata) if metadata.is_a?(Hash) end
Source
# File lib/mollie/customer.rb, line 23 def payments(options = {}) Payment.all(options.merge(customer_id: id)) end
Source
# File lib/mollie/customer.rb, line 27 def subscriptions(options = {}) Subscription.all(options.merge(customer_id: id)) end