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.



71
72
73
# File 'lib/gocardless_pro/resources/instalment_schedule.rb', line 71

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

Instance Method Details

#customerObject



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

def customer
  @links['customer']
end

#mandateObject



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

def mandate
  @links['mandate']
end

#paymentsObject



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

def payments
  @links['payments']
end