class GoCardlessPro::Resources::Payment::Links

Public Class Methods

new(links) click to toggle source
# File lib/gocardless_pro/resources/payment.rb, line 72
def initialize(links)
  @links = links || {}
end

Public Instance Methods

creditor() click to toggle source
# File lib/gocardless_pro/resources/payment.rb, line 76
def creditor
  @links['creditor']
end
instalment_schedule() click to toggle source
# File lib/gocardless_pro/resources/payment.rb, line 80
def instalment_schedule
  @links['instalment_schedule']
end
mandate() click to toggle source
# File lib/gocardless_pro/resources/payment.rb, line 84
def mandate
  @links['mandate']
end
payout() click to toggle source
# File lib/gocardless_pro/resources/payment.rb, line 88
def payout
  @links['payout']
end
subscription() click to toggle source
# File lib/gocardless_pro/resources/payment.rb, line 92
def subscription
  @links['subscription']
end