Class: GoCardlessPro::Resources::BillingRequest::Links
- Inherits:
-
Object
- Object
- GoCardlessPro::Resources::BillingRequest::Links
- Defined in:
- lib/gocardless_pro/resources/billing_request.rb
Instance Method Summary collapse
- #bank_authorisation ⇒ Object
- #creditor ⇒ Object
- #customer ⇒ Object
- #customer_bank_account ⇒ Object
- #customer_billing_detail ⇒ Object
-
#initialize(links) ⇒ Links
constructor
A new instance of Links.
- #instalment_schedule_request ⇒ Object
- #instalment_schedule_request_instalment_schedule ⇒ Object
- #mandate_request ⇒ Object
- #mandate_request_mandate ⇒ Object
- #organisation ⇒ Object
- #payment_provider ⇒ Object
- #payment_request ⇒ Object
- #payment_request_payment ⇒ Object
- #subscription_request ⇒ Object
- #subscription_request_subscription ⇒ Object
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_authorisation ⇒ Object
69 70 71 |
# File 'lib/gocardless_pro/resources/billing_request.rb', line 69 def @links['bank_authorisation'] end |
#creditor ⇒ Object
73 74 75 |
# File 'lib/gocardless_pro/resources/billing_request.rb', line 73 def creditor @links['creditor'] end |
#customer ⇒ Object
77 78 79 |
# File 'lib/gocardless_pro/resources/billing_request.rb', line 77 def customer @links['customer'] end |
#customer_bank_account ⇒ Object
81 82 83 |
# File 'lib/gocardless_pro/resources/billing_request.rb', line 81 def customer_bank_account @links['customer_bank_account'] end |
#customer_billing_detail ⇒ Object
85 86 87 |
# File 'lib/gocardless_pro/resources/billing_request.rb', line 85 def customer_billing_detail @links['customer_billing_detail'] end |
#instalment_schedule_request ⇒ Object
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_schedule ⇒ Object
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_request ⇒ Object
97 98 99 |
# File 'lib/gocardless_pro/resources/billing_request.rb', line 97 def mandate_request @links['mandate_request'] end |
#mandate_request_mandate ⇒ Object
101 102 103 |
# File 'lib/gocardless_pro/resources/billing_request.rb', line 101 def mandate_request_mandate @links['mandate_request_mandate'] end |
#organisation ⇒ Object
105 106 107 |
# File 'lib/gocardless_pro/resources/billing_request.rb', line 105 def organisation @links['organisation'] end |
#payment_provider ⇒ Object
109 110 111 |
# File 'lib/gocardless_pro/resources/billing_request.rb', line 109 def payment_provider @links['payment_provider'] end |
#payment_request ⇒ Object
113 114 115 |
# File 'lib/gocardless_pro/resources/billing_request.rb', line 113 def payment_request @links['payment_request'] end |
#payment_request_payment ⇒ Object
117 118 119 |
# File 'lib/gocardless_pro/resources/billing_request.rb', line 117 def payment_request_payment @links['payment_request_payment'] end |
#subscription_request ⇒ Object
121 122 123 |
# File 'lib/gocardless_pro/resources/billing_request.rb', line 121 def subscription_request @links['subscription_request'] end |
#subscription_request_subscription ⇒ Object
125 126 127 |
# File 'lib/gocardless_pro/resources/billing_request.rb', line 125 def subscription_request_subscription @links['subscription_request_subscription'] end |