Module: PayPal::SDK::Invoice::Services
Instance Method Summary collapse
- #BuildCancelInvoice(options = {}, &block) ⇒ Object (also: #build_cancel_invoice)
- #BuildCreateAndSendInvoice(options = {}, &block) ⇒ Object (also: #build_create_and_send_invoice)
- #BuildCreateInvoice(options = {}, &block) ⇒ Object (also: #build_create_invoice)
- #BuildDeleteInvoice(options = {}, &block) ⇒ Object (also: #build_delete_invoice)
- #BuildGenerateInvoiceNumber(options = {}, &block) ⇒ Object (also: #build_generate_invoice_number)
- #BuildGetInvoiceDetails(options = {}, &block) ⇒ Object (also: #build_get_invoice_details)
- #BuildMarkInvoiceAsPaid(options = {}, &block) ⇒ Object (also: #build_mark_invoice_as_paid)
- #BuildMarkInvoiceAsRefunded(options = {}, &block) ⇒ Object (also: #build_mark_invoice_as_refunded)
- #BuildMarkInvoiceAsUnpaid(options = {}, &block) ⇒ Object (also: #build_mark_invoice_as_unpaid)
- #BuildRemindInvoice(options = {}, &block) ⇒ Object (also: #build_remind_invoice)
- #BuildSearchInvoices(options = {}, &block) ⇒ Object (also: #build_search_invoices)
- #BuildSendInvoice(options = {}, &block) ⇒ Object (also: #build_send_invoice)
- #BuildUpdateInvoice(options = {}, &block) ⇒ Object (also: #build_update_invoice)
-
#CancelInvoice(options = {}, http_header = {}) ⇒ Object
(also: #cancel_invoice)
Service Call: CancelInvoice.
-
#CreateAndSendInvoice(options = {}, http_header = {}) ⇒ Object
(also: #create_and_send_invoice)
Service Call: CreateAndSendInvoice.
-
#CreateInvoice(options = {}, http_header = {}) ⇒ Object
(also: #create_invoice)
Service Call: CreateInvoice.
-
#DeleteInvoice(options = {}, http_header = {}) ⇒ Object
(also: #delete_invoice)
Service Call: DeleteInvoice.
-
#GenerateInvoiceNumber(options = {}, http_header = {}) ⇒ Object
(also: #generate_invoice_number)
Service Call: GenerateInvoiceNumber.
-
#GetInvoiceDetails(options = {}, http_header = {}) ⇒ Object
(also: #get_invoice_details)
Service Call: GetInvoiceDetails.
-
#MarkInvoiceAsPaid(options = {}, http_header = {}) ⇒ Object
(also: #mark_invoice_as_paid)
Service Call: MarkInvoiceAsPaid.
-
#MarkInvoiceAsRefunded(options = {}, http_header = {}) ⇒ Object
(also: #mark_invoice_as_refunded)
Service Call: MarkInvoiceAsRefunded.
-
#MarkInvoiceAsUnpaid(options = {}, http_header = {}) ⇒ Object
(also: #mark_invoice_as_unpaid)
Service Call: MarkInvoiceAsUnpaid.
-
#RemindInvoice(options = {}, http_header = {}) ⇒ Object
(also: #remind_invoice)
Service Call: RemindInvoice.
-
#SearchInvoices(options = {}, http_header = {}) ⇒ Object
(also: #search_invoices)
Service Call: SearchInvoices.
-
#SendInvoice(options = {}, http_header = {}) ⇒ Object
(also: #send_invoice)
Service Call: SendInvoice.
-
#UpdateInvoice(options = {}, http_header = {}) ⇒ Object
(also: #update_invoice)
Service Call: UpdateInvoice.
Instance Method Details
#BuildCancelInvoice(options = {}, &block) ⇒ Object Also known as: build_cancel_invoice
160 161 162 163 164 165 |
# File 'lib/paypal-sdk/invoice/services.rb', line 160 def BuildCancelInvoice( = {}, &block) klass = CancelInvoiceRequest object = .is_a?(klass) ? : klass.new( || {}) object.instance_eval(&block) if block object end |
#BuildCreateAndSendInvoice(options = {}, &block) ⇒ Object Also known as: build_create_and_send_invoice
103 104 105 106 107 108 |
# File 'lib/paypal-sdk/invoice/services.rb', line 103 def BuildCreateAndSendInvoice( = {}, &block) klass = CreateAndSendInvoiceRequest object = .is_a?(klass) ? : klass.new( || {}) object.instance_eval(&block) if block object end |
#BuildCreateInvoice(options = {}, &block) ⇒ Object Also known as: build_create_invoice
27 28 29 30 31 32 |
# File 'lib/paypal-sdk/invoice/services.rb', line 27 def BuildCreateInvoice( = {}, &block) klass = CreateInvoiceRequest object = .is_a?(klass) ? : klass.new( || {}) object.instance_eval(&block) if block object end |
#BuildDeleteInvoice(options = {}, &block) ⇒ Object Also known as: build_delete_invoice
255 256 257 258 259 260 |
# File 'lib/paypal-sdk/invoice/services.rb', line 255 def BuildDeleteInvoice( = {}, &block) klass = DeleteInvoiceRequest object = .is_a?(klass) ? : klass.new( || {}) object.instance_eval(&block) if block object end |
#BuildGenerateInvoiceNumber(options = {}, &block) ⇒ Object Also known as: build_generate_invoice_number
84 85 86 87 88 89 |
# File 'lib/paypal-sdk/invoice/services.rb', line 84 def BuildGenerateInvoiceNumber( = {}, &block) klass = GenerateInvoiceNumberRequest object = .is_a?(klass) ? : klass.new( || {}) object.instance_eval(&block) if block object end |
#BuildGetInvoiceDetails(options = {}, &block) ⇒ Object Also known as: build_get_invoice_details
141 142 143 144 145 146 |
# File 'lib/paypal-sdk/invoice/services.rb', line 141 def BuildGetInvoiceDetails( = {}, &block) klass = GetInvoiceDetailsRequest object = .is_a?(klass) ? : klass.new( || {}) object.instance_eval(&block) if block object end |
#BuildMarkInvoiceAsPaid(options = {}, &block) ⇒ Object Also known as: build_mark_invoice_as_paid
198 199 200 201 202 203 |
# File 'lib/paypal-sdk/invoice/services.rb', line 198 def BuildMarkInvoiceAsPaid( = {}, &block) klass = MarkInvoiceAsPaidRequest object = .is_a?(klass) ? : klass.new( || {}) object.instance_eval(&block) if block object end |
#BuildMarkInvoiceAsRefunded(options = {}, &block) ⇒ Object Also known as: build_mark_invoice_as_refunded
236 237 238 239 240 241 |
# File 'lib/paypal-sdk/invoice/services.rb', line 236 def BuildMarkInvoiceAsRefunded( = {}, &block) klass = MarkInvoiceAsRefundedRequest object = .is_a?(klass) ? : klass.new( || {}) object.instance_eval(&block) if block object end |
#BuildMarkInvoiceAsUnpaid(options = {}, &block) ⇒ Object Also known as: build_mark_invoice_as_unpaid
217 218 219 220 221 222 |
# File 'lib/paypal-sdk/invoice/services.rb', line 217 def BuildMarkInvoiceAsUnpaid( = {}, &block) klass = MarkInvoiceAsUnpaidRequest object = .is_a?(klass) ? : klass.new( || {}) object.instance_eval(&block) if block object end |
#BuildRemindInvoice(options = {}, &block) ⇒ Object Also known as: build_remind_invoice
65 66 67 68 69 70 |
# File 'lib/paypal-sdk/invoice/services.rb', line 65 def BuildRemindInvoice( = {}, &block) klass = RemindInvoiceRequest object = .is_a?(klass) ? : klass.new( || {}) object.instance_eval(&block) if block object end |
#BuildSearchInvoices(options = {}, &block) ⇒ Object Also known as: build_search_invoices
179 180 181 182 183 184 |
# File 'lib/paypal-sdk/invoice/services.rb', line 179 def BuildSearchInvoices( = {}, &block) klass = SearchInvoicesRequest object = .is_a?(klass) ? : klass.new( || {}) object.instance_eval(&block) if block object end |
#BuildSendInvoice(options = {}, &block) ⇒ Object Also known as: build_send_invoice
46 47 48 49 50 51 |
# File 'lib/paypal-sdk/invoice/services.rb', line 46 def BuildSendInvoice( = {}, &block) klass = SendInvoiceRequest object = .is_a?(klass) ? : klass.new( || {}) object.instance_eval(&block) if block object end |
#BuildUpdateInvoice(options = {}, &block) ⇒ Object Also known as: build_update_invoice
122 123 124 125 126 127 |
# File 'lib/paypal-sdk/invoice/services.rb', line 122 def BuildUpdateInvoice( = {}, &block) klass = UpdateInvoiceRequest object = .is_a?(klass) ? : klass.new( || {}) object.instance_eval(&block) if block object end |
#CancelInvoice(options = {}, http_header = {}) ⇒ Object Also known as: cancel_invoice
Service Call: CancelInvoice
152 153 154 155 156 157 |
# File 'lib/paypal-sdk/invoice/services.rb', line 152 def CancelInvoice( = {} , http_header = {}) request_object = BuildCancelInvoice() request_hash = request_object.to_hash response_hash = request("CancelInvoice", request_hash, http_header) CancelInvoiceResponse.new(response_hash) end |
#CreateAndSendInvoice(options = {}, http_header = {}) ⇒ Object Also known as: create_and_send_invoice
Service Call: CreateAndSendInvoice
95 96 97 98 99 100 |
# File 'lib/paypal-sdk/invoice/services.rb', line 95 def CreateAndSendInvoice( = {} , http_header = {}) request_object = BuildCreateAndSendInvoice() request_hash = request_object.to_hash response_hash = request("CreateAndSendInvoice", request_hash, http_header) CreateAndSendInvoiceResponse.new(response_hash) end |
#CreateInvoice(options = {}, http_header = {}) ⇒ Object Also known as: create_invoice
Service Call: CreateInvoice
19 20 21 22 23 24 |
# File 'lib/paypal-sdk/invoice/services.rb', line 19 def CreateInvoice( = {} , http_header = {}) request_object = BuildCreateInvoice() request_hash = request_object.to_hash response_hash = request("CreateInvoice", request_hash, http_header) CreateInvoiceResponse.new(response_hash) end |
#DeleteInvoice(options = {}, http_header = {}) ⇒ Object Also known as: delete_invoice
Service Call: DeleteInvoice
247 248 249 250 251 252 |
# File 'lib/paypal-sdk/invoice/services.rb', line 247 def DeleteInvoice( = {} , http_header = {}) request_object = BuildDeleteInvoice() request_hash = request_object.to_hash response_hash = request("DeleteInvoice", request_hash, http_header) DeleteInvoiceResponse.new(response_hash) end |
#GenerateInvoiceNumber(options = {}, http_header = {}) ⇒ Object Also known as: generate_invoice_number
Service Call: GenerateInvoiceNumber
76 77 78 79 80 81 |
# File 'lib/paypal-sdk/invoice/services.rb', line 76 def GenerateInvoiceNumber( = {} , http_header = {}) request_object = BuildGenerateInvoiceNumber() request_hash = request_object.to_hash response_hash = request("GenerateInvoiceNumber", request_hash, http_header) GenerateInvoiceNumberResponse.new(response_hash) end |
#GetInvoiceDetails(options = {}, http_header = {}) ⇒ Object Also known as: get_invoice_details
Service Call: GetInvoiceDetails
133 134 135 136 137 138 |
# File 'lib/paypal-sdk/invoice/services.rb', line 133 def GetInvoiceDetails( = {} , http_header = {}) request_object = BuildGetInvoiceDetails() request_hash = request_object.to_hash response_hash = request("GetInvoiceDetails", request_hash, http_header) GetInvoiceDetailsResponse.new(response_hash) end |
#MarkInvoiceAsPaid(options = {}, http_header = {}) ⇒ Object Also known as: mark_invoice_as_paid
Service Call: MarkInvoiceAsPaid
190 191 192 193 194 195 |
# File 'lib/paypal-sdk/invoice/services.rb', line 190 def MarkInvoiceAsPaid( = {} , http_header = {}) request_object = BuildMarkInvoiceAsPaid() request_hash = request_object.to_hash response_hash = request("MarkInvoiceAsPaid", request_hash, http_header) MarkInvoiceAsPaidResponse.new(response_hash) end |
#MarkInvoiceAsRefunded(options = {}, http_header = {}) ⇒ Object Also known as: mark_invoice_as_refunded
Service Call: MarkInvoiceAsRefunded
228 229 230 231 232 233 |
# File 'lib/paypal-sdk/invoice/services.rb', line 228 def MarkInvoiceAsRefunded( = {} , http_header = {}) request_object = BuildMarkInvoiceAsRefunded() request_hash = request_object.to_hash response_hash = request("MarkInvoiceAsRefunded", request_hash, http_header) MarkInvoiceAsRefundedResponse.new(response_hash) end |
#MarkInvoiceAsUnpaid(options = {}, http_header = {}) ⇒ Object Also known as: mark_invoice_as_unpaid
Service Call: MarkInvoiceAsUnpaid
209 210 211 212 213 214 |
# File 'lib/paypal-sdk/invoice/services.rb', line 209 def MarkInvoiceAsUnpaid( = {} , http_header = {}) request_object = BuildMarkInvoiceAsUnpaid() request_hash = request_object.to_hash response_hash = request("MarkInvoiceAsUnpaid", request_hash, http_header) MarkInvoiceAsUnpaidResponse.new(response_hash) end |
#RemindInvoice(options = {}, http_header = {}) ⇒ Object Also known as: remind_invoice
Service Call: RemindInvoice
57 58 59 60 61 62 |
# File 'lib/paypal-sdk/invoice/services.rb', line 57 def RemindInvoice( = {} , http_header = {}) request_object = BuildRemindInvoice() request_hash = request_object.to_hash response_hash = request("RemindInvoice", request_hash, http_header) RemindInvoiceResponse.new(response_hash) end |
#SearchInvoices(options = {}, http_header = {}) ⇒ Object Also known as: search_invoices
Service Call: SearchInvoices
171 172 173 174 175 176 |
# File 'lib/paypal-sdk/invoice/services.rb', line 171 def SearchInvoices( = {} , http_header = {}) request_object = BuildSearchInvoices() request_hash = request_object.to_hash response_hash = request("SearchInvoices", request_hash, http_header) SearchInvoicesResponse.new(response_hash) end |
#SendInvoice(options = {}, http_header = {}) ⇒ Object Also known as: send_invoice
Service Call: SendInvoice
38 39 40 41 42 43 |
# File 'lib/paypal-sdk/invoice/services.rb', line 38 def SendInvoice( = {} , http_header = {}) request_object = BuildSendInvoice() request_hash = request_object.to_hash response_hash = request("SendInvoice", request_hash, http_header) SendInvoiceResponse.new(response_hash) end |
#UpdateInvoice(options = {}, http_header = {}) ⇒ Object Also known as: update_invoice
Service Call: UpdateInvoice
114 115 116 117 118 119 |
# File 'lib/paypal-sdk/invoice/services.rb', line 114 def UpdateInvoice( = {} , http_header = {}) request_object = BuildUpdateInvoice() request_hash = request_object.to_hash response_hash = request("UpdateInvoice", request_hash, http_header) UpdateInvoiceResponse.new(response_hash) end |