paypal-sdk-invoice 1.106.0 → 1.117.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/Gemfile +17 -17
- data/README.md +125 -125
- data/Rakefile +14 -14
- data/lib/paypal-sdk-invoice.rb +2 -2
- data/lib/paypal-sdk/invoice.rb +16 -16
- data/lib/paypal-sdk/invoice/api.rb +21 -21
- data/lib/paypal-sdk/invoice/data_types.rb +988 -871
- data/lib/paypal-sdk/invoice/services.rb +267 -248
- data/lib/paypal-sdk/invoice/version.rb +7 -7
- data/spec/config/paypal.yml +24 -24
- data/spec/invoice_spec.rb +18 -18
- data/spec/spec_helper.rb +6 -6
- metadata +20 -24
@@ -1,248 +1,267 @@
|
|
1
|
-
require 'paypal-sdk-core'
|
2
|
-
|
3
|
-
# AUTO GENERATED code for Invoice
|
4
|
-
module PayPal::SDK
|
5
|
-
module Invoice
|
6
|
-
|
7
|
-
# Service Version
|
8
|
-
SERVICE_VERSION = "1.
|
9
|
-
# Service Name
|
10
|
-
SERVICE_NAME = "Invoice"
|
11
|
-
|
12
|
-
module Services
|
13
|
-
include DataTypes
|
14
|
-
|
15
|
-
|
16
|
-
# Service Call: CreateInvoice
|
17
|
-
# @param CreateInvoiceRequest
|
18
|
-
# @return CreateInvoiceResponse
|
19
|
-
def CreateInvoice(options = {} , http_header = {})
|
20
|
-
request_object = BuildCreateInvoice(options)
|
21
|
-
request_hash = request_object.to_hash
|
22
|
-
response_hash = request("CreateInvoice", request_hash, http_header)
|
23
|
-
CreateInvoiceResponse.new(response_hash)
|
24
|
-
end
|
25
|
-
alias_method :create_invoice, :CreateInvoice
|
26
|
-
|
27
|
-
def BuildCreateInvoice(options = {}, &block)
|
28
|
-
klass = CreateInvoiceRequest
|
29
|
-
object = options.is_a?(klass) ? options : klass.new(options || {})
|
30
|
-
object.instance_eval(&block) if block
|
31
|
-
object
|
32
|
-
end
|
33
|
-
alias_method :build_create_invoice, :BuildCreateInvoice
|
34
|
-
|
35
|
-
# Service Call: SendInvoice
|
36
|
-
# @param SendInvoiceRequest
|
37
|
-
# @return SendInvoiceResponse
|
38
|
-
def SendInvoice(options = {} , http_header = {})
|
39
|
-
request_object = BuildSendInvoice(options)
|
40
|
-
request_hash = request_object.to_hash
|
41
|
-
response_hash = request("SendInvoice", request_hash, http_header)
|
42
|
-
SendInvoiceResponse.new(response_hash)
|
43
|
-
end
|
44
|
-
alias_method :send_invoice, :SendInvoice
|
45
|
-
|
46
|
-
def BuildSendInvoice(options = {}, &block)
|
47
|
-
klass = SendInvoiceRequest
|
48
|
-
object = options.is_a?(klass) ? options : klass.new(options || {})
|
49
|
-
object.instance_eval(&block) if block
|
50
|
-
object
|
51
|
-
end
|
52
|
-
alias_method :build_send_invoice, :BuildSendInvoice
|
53
|
-
|
54
|
-
# Service Call: RemindInvoice
|
55
|
-
# @param RemindInvoiceRequest
|
56
|
-
# @return RemindInvoiceResponse
|
57
|
-
def RemindInvoice(options = {} , http_header = {})
|
58
|
-
request_object = BuildRemindInvoice(options)
|
59
|
-
request_hash = request_object.to_hash
|
60
|
-
response_hash = request("RemindInvoice", request_hash, http_header)
|
61
|
-
RemindInvoiceResponse.new(response_hash)
|
62
|
-
end
|
63
|
-
alias_method :remind_invoice, :RemindInvoice
|
64
|
-
|
65
|
-
def BuildRemindInvoice(options = {}, &block)
|
66
|
-
klass = RemindInvoiceRequest
|
67
|
-
object = options.is_a?(klass) ? options : klass.new(options || {})
|
68
|
-
object.instance_eval(&block) if block
|
69
|
-
object
|
70
|
-
end
|
71
|
-
alias_method :build_remind_invoice, :BuildRemindInvoice
|
72
|
-
|
73
|
-
# Service Call:
|
74
|
-
# @param
|
75
|
-
# @return
|
76
|
-
def
|
77
|
-
request_object =
|
78
|
-
request_hash = request_object.to_hash
|
79
|
-
response_hash = request("
|
80
|
-
|
81
|
-
end
|
82
|
-
alias_method :
|
83
|
-
|
84
|
-
def
|
85
|
-
klass =
|
86
|
-
object = options.is_a?(klass) ? options : klass.new(options || {})
|
87
|
-
object.instance_eval(&block) if block
|
88
|
-
object
|
89
|
-
end
|
90
|
-
alias_method :
|
91
|
-
|
92
|
-
# Service Call:
|
93
|
-
# @param
|
94
|
-
# @return
|
95
|
-
def
|
96
|
-
request_object =
|
97
|
-
request_hash = request_object.to_hash
|
98
|
-
response_hash = request("
|
99
|
-
|
100
|
-
end
|
101
|
-
alias_method :
|
102
|
-
|
103
|
-
def
|
104
|
-
klass =
|
105
|
-
object = options.is_a?(klass) ? options : klass.new(options || {})
|
106
|
-
object.instance_eval(&block) if block
|
107
|
-
object
|
108
|
-
end
|
109
|
-
alias_method :
|
110
|
-
|
111
|
-
# Service Call:
|
112
|
-
# @param
|
113
|
-
# @return
|
114
|
-
def
|
115
|
-
request_object =
|
116
|
-
request_hash = request_object.to_hash
|
117
|
-
response_hash = request("
|
118
|
-
|
119
|
-
end
|
120
|
-
alias_method :
|
121
|
-
|
122
|
-
def
|
123
|
-
klass =
|
124
|
-
object = options.is_a?(klass) ? options : klass.new(options || {})
|
125
|
-
object.instance_eval(&block) if block
|
126
|
-
object
|
127
|
-
end
|
128
|
-
alias_method :
|
129
|
-
|
130
|
-
# Service Call:
|
131
|
-
# @param
|
132
|
-
# @return
|
133
|
-
def
|
134
|
-
request_object =
|
135
|
-
request_hash = request_object.to_hash
|
136
|
-
response_hash = request("
|
137
|
-
|
138
|
-
end
|
139
|
-
alias_method :
|
140
|
-
|
141
|
-
def
|
142
|
-
klass =
|
143
|
-
object = options.is_a?(klass) ? options : klass.new(options || {})
|
144
|
-
object.instance_eval(&block) if block
|
145
|
-
object
|
146
|
-
end
|
147
|
-
alias_method :
|
148
|
-
|
149
|
-
# Service Call:
|
150
|
-
# @param
|
151
|
-
# @return
|
152
|
-
def
|
153
|
-
request_object =
|
154
|
-
request_hash = request_object.to_hash
|
155
|
-
response_hash = request("
|
156
|
-
|
157
|
-
end
|
158
|
-
alias_method :
|
159
|
-
|
160
|
-
def
|
161
|
-
klass =
|
162
|
-
object = options.is_a?(klass) ? options : klass.new(options || {})
|
163
|
-
object.instance_eval(&block) if block
|
164
|
-
object
|
165
|
-
end
|
166
|
-
alias_method :
|
167
|
-
|
168
|
-
# Service Call:
|
169
|
-
# @param
|
170
|
-
# @return
|
171
|
-
def
|
172
|
-
request_object =
|
173
|
-
request_hash = request_object.to_hash
|
174
|
-
response_hash = request("
|
175
|
-
|
176
|
-
end
|
177
|
-
alias_method :
|
178
|
-
|
179
|
-
def
|
180
|
-
klass =
|
181
|
-
object = options.is_a?(klass) ? options : klass.new(options || {})
|
182
|
-
object.instance_eval(&block) if block
|
183
|
-
object
|
184
|
-
end
|
185
|
-
alias_method :
|
186
|
-
|
187
|
-
# Service Call:
|
188
|
-
# @param
|
189
|
-
# @return
|
190
|
-
def
|
191
|
-
request_object =
|
192
|
-
request_hash = request_object.to_hash
|
193
|
-
response_hash = request("
|
194
|
-
|
195
|
-
end
|
196
|
-
alias_method :
|
197
|
-
|
198
|
-
def
|
199
|
-
klass =
|
200
|
-
object = options.is_a?(klass) ? options : klass.new(options || {})
|
201
|
-
object.instance_eval(&block) if block
|
202
|
-
object
|
203
|
-
end
|
204
|
-
alias_method :
|
205
|
-
|
206
|
-
# Service Call:
|
207
|
-
# @param
|
208
|
-
# @return
|
209
|
-
def
|
210
|
-
request_object =
|
211
|
-
request_hash = request_object.to_hash
|
212
|
-
response_hash = request("
|
213
|
-
|
214
|
-
end
|
215
|
-
alias_method :
|
216
|
-
|
217
|
-
def
|
218
|
-
klass =
|
219
|
-
object = options.is_a?(klass) ? options : klass.new(options || {})
|
220
|
-
object.instance_eval(&block) if block
|
221
|
-
object
|
222
|
-
end
|
223
|
-
alias_method :
|
224
|
-
|
225
|
-
# Service Call:
|
226
|
-
# @param
|
227
|
-
# @return
|
228
|
-
def
|
229
|
-
request_object =
|
230
|
-
request_hash = request_object.to_hash
|
231
|
-
response_hash = request("
|
232
|
-
|
233
|
-
end
|
234
|
-
alias_method :
|
235
|
-
|
236
|
-
def
|
237
|
-
klass =
|
238
|
-
object = options.is_a?(klass) ? options : klass.new(options || {})
|
239
|
-
object.instance_eval(&block) if block
|
240
|
-
object
|
241
|
-
end
|
242
|
-
alias_method :
|
243
|
-
|
244
|
-
|
245
|
-
|
246
|
-
|
247
|
-
|
248
|
-
|
1
|
+
require 'paypal-sdk-core'
|
2
|
+
|
3
|
+
# AUTO GENERATED code for Invoice
|
4
|
+
module PayPal::SDK
|
5
|
+
module Invoice
|
6
|
+
|
7
|
+
# Service Version
|
8
|
+
SERVICE_VERSION = "1.12.0"
|
9
|
+
# Service Name
|
10
|
+
SERVICE_NAME = "Invoice"
|
11
|
+
|
12
|
+
module Services
|
13
|
+
include DataTypes
|
14
|
+
|
15
|
+
|
16
|
+
# Service Call: CreateInvoice
|
17
|
+
# @param CreateInvoiceRequest
|
18
|
+
# @return CreateInvoiceResponse
|
19
|
+
def CreateInvoice(options = {} , http_header = {})
|
20
|
+
request_object = BuildCreateInvoice(options)
|
21
|
+
request_hash = request_object.to_hash
|
22
|
+
response_hash = request("CreateInvoice", request_hash, http_header)
|
23
|
+
CreateInvoiceResponse.new(response_hash)
|
24
|
+
end
|
25
|
+
alias_method :create_invoice, :CreateInvoice
|
26
|
+
|
27
|
+
def BuildCreateInvoice(options = {}, &block)
|
28
|
+
klass = CreateInvoiceRequest
|
29
|
+
object = options.is_a?(klass) ? options : klass.new(options || {})
|
30
|
+
object.instance_eval(&block) if block
|
31
|
+
object
|
32
|
+
end
|
33
|
+
alias_method :build_create_invoice, :BuildCreateInvoice
|
34
|
+
|
35
|
+
# Service Call: SendInvoice
|
36
|
+
# @param SendInvoiceRequest
|
37
|
+
# @return SendInvoiceResponse
|
38
|
+
def SendInvoice(options = {} , http_header = {})
|
39
|
+
request_object = BuildSendInvoice(options)
|
40
|
+
request_hash = request_object.to_hash
|
41
|
+
response_hash = request("SendInvoice", request_hash, http_header)
|
42
|
+
SendInvoiceResponse.new(response_hash)
|
43
|
+
end
|
44
|
+
alias_method :send_invoice, :SendInvoice
|
45
|
+
|
46
|
+
def BuildSendInvoice(options = {}, &block)
|
47
|
+
klass = SendInvoiceRequest
|
48
|
+
object = options.is_a?(klass) ? options : klass.new(options || {})
|
49
|
+
object.instance_eval(&block) if block
|
50
|
+
object
|
51
|
+
end
|
52
|
+
alias_method :build_send_invoice, :BuildSendInvoice
|
53
|
+
|
54
|
+
# Service Call: RemindInvoice
|
55
|
+
# @param RemindInvoiceRequest
|
56
|
+
# @return RemindInvoiceResponse
|
57
|
+
def RemindInvoice(options = {} , http_header = {})
|
58
|
+
request_object = BuildRemindInvoice(options)
|
59
|
+
request_hash = request_object.to_hash
|
60
|
+
response_hash = request("RemindInvoice", request_hash, http_header)
|
61
|
+
RemindInvoiceResponse.new(response_hash)
|
62
|
+
end
|
63
|
+
alias_method :remind_invoice, :RemindInvoice
|
64
|
+
|
65
|
+
def BuildRemindInvoice(options = {}, &block)
|
66
|
+
klass = RemindInvoiceRequest
|
67
|
+
object = options.is_a?(klass) ? options : klass.new(options || {})
|
68
|
+
object.instance_eval(&block) if block
|
69
|
+
object
|
70
|
+
end
|
71
|
+
alias_method :build_remind_invoice, :BuildRemindInvoice
|
72
|
+
|
73
|
+
# Service Call: GenerateInvoiceNumber
|
74
|
+
# @param GenerateInvoiceNumberRequest
|
75
|
+
# @return GenerateInvoiceNumberResponse
|
76
|
+
def GenerateInvoiceNumber(options = {} , http_header = {})
|
77
|
+
request_object = BuildGenerateInvoiceNumber(options)
|
78
|
+
request_hash = request_object.to_hash
|
79
|
+
response_hash = request("GenerateInvoiceNumber", request_hash, http_header)
|
80
|
+
GenerateInvoiceNumberResponse.new(response_hash)
|
81
|
+
end
|
82
|
+
alias_method :generate_invoice_number, :GenerateInvoiceNumber
|
83
|
+
|
84
|
+
def BuildGenerateInvoiceNumber(options = {}, &block)
|
85
|
+
klass = GenerateInvoiceNumberRequest
|
86
|
+
object = options.is_a?(klass) ? options : klass.new(options || {})
|
87
|
+
object.instance_eval(&block) if block
|
88
|
+
object
|
89
|
+
end
|
90
|
+
alias_method :build_generate_invoice_number, :BuildGenerateInvoiceNumber
|
91
|
+
|
92
|
+
# Service Call: CreateAndSendInvoice
|
93
|
+
# @param CreateAndSendInvoiceRequest
|
94
|
+
# @return CreateAndSendInvoiceResponse
|
95
|
+
def CreateAndSendInvoice(options = {} , http_header = {})
|
96
|
+
request_object = BuildCreateAndSendInvoice(options)
|
97
|
+
request_hash = request_object.to_hash
|
98
|
+
response_hash = request("CreateAndSendInvoice", request_hash, http_header)
|
99
|
+
CreateAndSendInvoiceResponse.new(response_hash)
|
100
|
+
end
|
101
|
+
alias_method :create_and_send_invoice, :CreateAndSendInvoice
|
102
|
+
|
103
|
+
def BuildCreateAndSendInvoice(options = {}, &block)
|
104
|
+
klass = CreateAndSendInvoiceRequest
|
105
|
+
object = options.is_a?(klass) ? options : klass.new(options || {})
|
106
|
+
object.instance_eval(&block) if block
|
107
|
+
object
|
108
|
+
end
|
109
|
+
alias_method :build_create_and_send_invoice, :BuildCreateAndSendInvoice
|
110
|
+
|
111
|
+
# Service Call: UpdateInvoice
|
112
|
+
# @param UpdateInvoiceRequest
|
113
|
+
# @return UpdateInvoiceResponse
|
114
|
+
def UpdateInvoice(options = {} , http_header = {})
|
115
|
+
request_object = BuildUpdateInvoice(options)
|
116
|
+
request_hash = request_object.to_hash
|
117
|
+
response_hash = request("UpdateInvoice", request_hash, http_header)
|
118
|
+
UpdateInvoiceResponse.new(response_hash)
|
119
|
+
end
|
120
|
+
alias_method :update_invoice, :UpdateInvoice
|
121
|
+
|
122
|
+
def BuildUpdateInvoice(options = {}, &block)
|
123
|
+
klass = UpdateInvoiceRequest
|
124
|
+
object = options.is_a?(klass) ? options : klass.new(options || {})
|
125
|
+
object.instance_eval(&block) if block
|
126
|
+
object
|
127
|
+
end
|
128
|
+
alias_method :build_update_invoice, :BuildUpdateInvoice
|
129
|
+
|
130
|
+
# Service Call: GetInvoiceDetails
|
131
|
+
# @param GetInvoiceDetailsRequest
|
132
|
+
# @return GetInvoiceDetailsResponse
|
133
|
+
def GetInvoiceDetails(options = {} , http_header = {})
|
134
|
+
request_object = BuildGetInvoiceDetails(options)
|
135
|
+
request_hash = request_object.to_hash
|
136
|
+
response_hash = request("GetInvoiceDetails", request_hash, http_header)
|
137
|
+
GetInvoiceDetailsResponse.new(response_hash)
|
138
|
+
end
|
139
|
+
alias_method :get_invoice_details, :GetInvoiceDetails
|
140
|
+
|
141
|
+
def BuildGetInvoiceDetails(options = {}, &block)
|
142
|
+
klass = GetInvoiceDetailsRequest
|
143
|
+
object = options.is_a?(klass) ? options : klass.new(options || {})
|
144
|
+
object.instance_eval(&block) if block
|
145
|
+
object
|
146
|
+
end
|
147
|
+
alias_method :build_get_invoice_details, :BuildGetInvoiceDetails
|
148
|
+
|
149
|
+
# Service Call: CancelInvoice
|
150
|
+
# @param CancelInvoiceRequest
|
151
|
+
# @return CancelInvoiceResponse
|
152
|
+
def CancelInvoice(options = {} , http_header = {})
|
153
|
+
request_object = BuildCancelInvoice(options)
|
154
|
+
request_hash = request_object.to_hash
|
155
|
+
response_hash = request("CancelInvoice", request_hash, http_header)
|
156
|
+
CancelInvoiceResponse.new(response_hash)
|
157
|
+
end
|
158
|
+
alias_method :cancel_invoice, :CancelInvoice
|
159
|
+
|
160
|
+
def BuildCancelInvoice(options = {}, &block)
|
161
|
+
klass = CancelInvoiceRequest
|
162
|
+
object = options.is_a?(klass) ? options : klass.new(options || {})
|
163
|
+
object.instance_eval(&block) if block
|
164
|
+
object
|
165
|
+
end
|
166
|
+
alias_method :build_cancel_invoice, :BuildCancelInvoice
|
167
|
+
|
168
|
+
# Service Call: SearchInvoices
|
169
|
+
# @param SearchInvoicesRequest
|
170
|
+
# @return SearchInvoicesResponse
|
171
|
+
def SearchInvoices(options = {} , http_header = {})
|
172
|
+
request_object = BuildSearchInvoices(options)
|
173
|
+
request_hash = request_object.to_hash
|
174
|
+
response_hash = request("SearchInvoices", request_hash, http_header)
|
175
|
+
SearchInvoicesResponse.new(response_hash)
|
176
|
+
end
|
177
|
+
alias_method :search_invoices, :SearchInvoices
|
178
|
+
|
179
|
+
def BuildSearchInvoices(options = {}, &block)
|
180
|
+
klass = SearchInvoicesRequest
|
181
|
+
object = options.is_a?(klass) ? options : klass.new(options || {})
|
182
|
+
object.instance_eval(&block) if block
|
183
|
+
object
|
184
|
+
end
|
185
|
+
alias_method :build_search_invoices, :BuildSearchInvoices
|
186
|
+
|
187
|
+
# Service Call: MarkInvoiceAsPaid
|
188
|
+
# @param MarkInvoiceAsPaidRequest
|
189
|
+
# @return MarkInvoiceAsPaidResponse
|
190
|
+
def MarkInvoiceAsPaid(options = {} , http_header = {})
|
191
|
+
request_object = BuildMarkInvoiceAsPaid(options)
|
192
|
+
request_hash = request_object.to_hash
|
193
|
+
response_hash = request("MarkInvoiceAsPaid", request_hash, http_header)
|
194
|
+
MarkInvoiceAsPaidResponse.new(response_hash)
|
195
|
+
end
|
196
|
+
alias_method :mark_invoice_as_paid, :MarkInvoiceAsPaid
|
197
|
+
|
198
|
+
def BuildMarkInvoiceAsPaid(options = {}, &block)
|
199
|
+
klass = MarkInvoiceAsPaidRequest
|
200
|
+
object = options.is_a?(klass) ? options : klass.new(options || {})
|
201
|
+
object.instance_eval(&block) if block
|
202
|
+
object
|
203
|
+
end
|
204
|
+
alias_method :build_mark_invoice_as_paid, :BuildMarkInvoiceAsPaid
|
205
|
+
|
206
|
+
# Service Call: MarkInvoiceAsUnpaid
|
207
|
+
# @param MarkInvoiceAsUnpaidRequest
|
208
|
+
# @return MarkInvoiceAsUnpaidResponse
|
209
|
+
def MarkInvoiceAsUnpaid(options = {} , http_header = {})
|
210
|
+
request_object = BuildMarkInvoiceAsUnpaid(options)
|
211
|
+
request_hash = request_object.to_hash
|
212
|
+
response_hash = request("MarkInvoiceAsUnpaid", request_hash, http_header)
|
213
|
+
MarkInvoiceAsUnpaidResponse.new(response_hash)
|
214
|
+
end
|
215
|
+
alias_method :mark_invoice_as_unpaid, :MarkInvoiceAsUnpaid
|
216
|
+
|
217
|
+
def BuildMarkInvoiceAsUnpaid(options = {}, &block)
|
218
|
+
klass = MarkInvoiceAsUnpaidRequest
|
219
|
+
object = options.is_a?(klass) ? options : klass.new(options || {})
|
220
|
+
object.instance_eval(&block) if block
|
221
|
+
object
|
222
|
+
end
|
223
|
+
alias_method :build_mark_invoice_as_unpaid, :BuildMarkInvoiceAsUnpaid
|
224
|
+
|
225
|
+
# Service Call: MarkInvoiceAsRefunded
|
226
|
+
# @param MarkInvoiceAsRefundedRequest
|
227
|
+
# @return MarkInvoiceAsRefundedResponse
|
228
|
+
def MarkInvoiceAsRefunded(options = {} , http_header = {})
|
229
|
+
request_object = BuildMarkInvoiceAsRefunded(options)
|
230
|
+
request_hash = request_object.to_hash
|
231
|
+
response_hash = request("MarkInvoiceAsRefunded", request_hash, http_header)
|
232
|
+
MarkInvoiceAsRefundedResponse.new(response_hash)
|
233
|
+
end
|
234
|
+
alias_method :mark_invoice_as_refunded, :MarkInvoiceAsRefunded
|
235
|
+
|
236
|
+
def BuildMarkInvoiceAsRefunded(options = {}, &block)
|
237
|
+
klass = MarkInvoiceAsRefundedRequest
|
238
|
+
object = options.is_a?(klass) ? options : klass.new(options || {})
|
239
|
+
object.instance_eval(&block) if block
|
240
|
+
object
|
241
|
+
end
|
242
|
+
alias_method :build_mark_invoice_as_refunded, :BuildMarkInvoiceAsRefunded
|
243
|
+
|
244
|
+
# Service Call: DeleteInvoice
|
245
|
+
# @param DeleteInvoiceRequest
|
246
|
+
# @return DeleteInvoiceResponse
|
247
|
+
def DeleteInvoice(options = {} , http_header = {})
|
248
|
+
request_object = BuildDeleteInvoice(options)
|
249
|
+
request_hash = request_object.to_hash
|
250
|
+
response_hash = request("DeleteInvoice", request_hash, http_header)
|
251
|
+
DeleteInvoiceResponse.new(response_hash)
|
252
|
+
end
|
253
|
+
alias_method :delete_invoice, :DeleteInvoice
|
254
|
+
|
255
|
+
def BuildDeleteInvoice(options = {}, &block)
|
256
|
+
klass = DeleteInvoiceRequest
|
257
|
+
object = options.is_a?(klass) ? options : klass.new(options || {})
|
258
|
+
object.instance_eval(&block) if block
|
259
|
+
object
|
260
|
+
end
|
261
|
+
alias_method :build_delete_invoice, :BuildDeleteInvoice
|
262
|
+
|
263
|
+
|
264
|
+
end
|
265
|
+
|
266
|
+
end
|
267
|
+
end
|