Class: GoCardlessPro::Resources::InstalmentSchedule::Links

Inherits:
Object
  • Object
show all
Defined in:
lib/gocardless_pro/resources/instalment_schedule.rb

Instance Method Summary collapse

Constructor Details

#initialize(links) ⇒ Links

Returns a new instance of Links.



74
75
76
# File 'lib/gocardless_pro/resources/instalment_schedule.rb', line 74

def initialize(links)
  @links = links || {}
end

Instance Method Details

#customerObject



78
79
80
# File 'lib/gocardless_pro/resources/instalment_schedule.rb', line 78

def customer
  @links['customer']
end

#mandateObject



82
83
84
# File 'lib/gocardless_pro/resources/instalment_schedule.rb', line 82

def mandate
  @links['mandate']
end

#paymentsObject



86
87
88
# File 'lib/gocardless_pro/resources/instalment_schedule.rb', line 86

def payments
  @links['payments']
end