Class: GoCardlessPro::Resources::Event::Links

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

Instance Method Summary collapse

Constructor Details

#initialize(links) ⇒ Links

Returns a new instance of Links.



55
56
57
# File 'lib/gocardless_pro/resources/event.rb', line 55

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

Instance Method Details

#bank_authorisationObject



59
60
61
# File 'lib/gocardless_pro/resources/event.rb', line 59

def bank_authorisation
  @links['bank_authorisation']
end

#billing_requestObject



63
64
65
# File 'lib/gocardless_pro/resources/event.rb', line 63

def billing_request
  @links['billing_request']
end

#billing_request_flowObject



67
68
69
# File 'lib/gocardless_pro/resources/event.rb', line 67

def billing_request_flow
  @links['billing_request_flow']
end

#creditorObject



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

def creditor
  @links['creditor']
end

#customerObject



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

def customer
  @links['customer']
end

#customer_bank_accountObject



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

def 
  @links['customer_bank_account']
end

#instalment_scheduleObject



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

def instalment_schedule
  @links['instalment_schedule']
end

#mandateObject



87
88
89
# File 'lib/gocardless_pro/resources/event.rb', line 87

def mandate
  @links['mandate']
end

#mandate_request_mandateObject



91
92
93
# File 'lib/gocardless_pro/resources/event.rb', line 91

def mandate_request_mandate
  @links['mandate_request_mandate']
end

#new_customer_bank_accountObject



95
96
97
# File 'lib/gocardless_pro/resources/event.rb', line 95

def 
  @links['new_customer_bank_account']
end

#new_mandateObject



99
100
101
# File 'lib/gocardless_pro/resources/event.rb', line 99

def new_mandate
  @links['new_mandate']
end

#organisationObject



103
104
105
# File 'lib/gocardless_pro/resources/event.rb', line 103

def organisation
  @links['organisation']
end

#parent_eventObject



107
108
109
# File 'lib/gocardless_pro/resources/event.rb', line 107

def parent_event
  @links['parent_event']
end

#payer_authorisationObject



111
112
113
# File 'lib/gocardless_pro/resources/event.rb', line 111

def payer_authorisation
  @links['payer_authorisation']
end

#paymentObject



115
116
117
# File 'lib/gocardless_pro/resources/event.rb', line 115

def payment
  @links['payment']
end

#payment_request_paymentObject



119
120
121
# File 'lib/gocardless_pro/resources/event.rb', line 119

def payment_request_payment
  @links['payment_request_payment']
end

#payoutObject



123
124
125
# File 'lib/gocardless_pro/resources/event.rb', line 123

def payout
  @links['payout']
end

#previous_customer_bank_accountObject



127
128
129
# File 'lib/gocardless_pro/resources/event.rb', line 127

def 
  @links['previous_customer_bank_account']
end

#refundObject



131
132
133
# File 'lib/gocardless_pro/resources/event.rb', line 131

def refund
  @links['refund']
end

#scheme_identifierObject



135
136
137
# File 'lib/gocardless_pro/resources/event.rb', line 135

def scheme_identifier
  @links['scheme_identifier']
end

#subscriptionObject



139
140
141
# File 'lib/gocardless_pro/resources/event.rb', line 139

def subscription
  @links['subscription']
end