Class: GoCardlessPro::Resources::BillingRequest::Links

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

Instance Method Summary collapse

Constructor Details

#initialize(links) ⇒ Links

Returns a new instance of Links.



65
66
67
# File 'lib/gocardless_pro/resources/billing_request.rb', line 65

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

Instance Method Details

#bank_authorisationObject



69
70
71
# File 'lib/gocardless_pro/resources/billing_request.rb', line 69

def bank_authorisation
  @links['bank_authorisation']
end

#creditorObject



73
74
75
# File 'lib/gocardless_pro/resources/billing_request.rb', line 73

def creditor
  @links['creditor']
end

#customerObject



77
78
79
# File 'lib/gocardless_pro/resources/billing_request.rb', line 77

def customer
  @links['customer']
end

#customer_bank_accountObject



81
82
83
# File 'lib/gocardless_pro/resources/billing_request.rb', line 81

def 
  @links['customer_bank_account']
end

#customer_billing_detailObject



85
86
87
# File 'lib/gocardless_pro/resources/billing_request.rb', line 85

def customer_billing_detail
  @links['customer_billing_detail']
end

#instalment_schedule_requestObject



89
90
91
# File 'lib/gocardless_pro/resources/billing_request.rb', line 89

def instalment_schedule_request
  @links['instalment_schedule_request']
end

#instalment_schedule_request_instalment_scheduleObject



93
94
95
# File 'lib/gocardless_pro/resources/billing_request.rb', line 93

def instalment_schedule_request_instalment_schedule
  @links['instalment_schedule_request_instalment_schedule']
end

#mandate_requestObject



97
98
99
# File 'lib/gocardless_pro/resources/billing_request.rb', line 97

def mandate_request
  @links['mandate_request']
end

#mandate_request_mandateObject



101
102
103
# File 'lib/gocardless_pro/resources/billing_request.rb', line 101

def mandate_request_mandate
  @links['mandate_request_mandate']
end

#organisationObject



105
106
107
# File 'lib/gocardless_pro/resources/billing_request.rb', line 105

def organisation
  @links['organisation']
end

#payment_providerObject



109
110
111
# File 'lib/gocardless_pro/resources/billing_request.rb', line 109

def payment_provider
  @links['payment_provider']
end

#payment_requestObject



113
114
115
# File 'lib/gocardless_pro/resources/billing_request.rb', line 113

def payment_request
  @links['payment_request']
end

#payment_request_paymentObject



117
118
119
# File 'lib/gocardless_pro/resources/billing_request.rb', line 117

def payment_request_payment
  @links['payment_request_payment']
end

#subscription_requestObject



121
122
123
# File 'lib/gocardless_pro/resources/billing_request.rb', line 121

def subscription_request
  @links['subscription_request']
end

#subscription_request_subscriptionObject



125
126
127
# File 'lib/gocardless_pro/resources/billing_request.rb', line 125

def subscription_request_subscription
  @links['subscription_request_subscription']
end