killbill-client 0.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- data/.gitignore +3 -0
- data/Gemfile +3 -0
- data/README.md +18 -0
- data/Rakefile +26 -0
- data/killbill_client.gemspec +44 -0
- data/lib/killbill_client.rb +93 -0
- data/lib/killbill_client/api/api.rb +85 -0
- data/lib/killbill_client/api/errors.rb +175 -0
- data/lib/killbill_client/api/net_http_adapter.rb +131 -0
- data/lib/killbill_client/models/account.rb +36 -0
- data/lib/killbill_client/models/gen/account_attributes.rb +51 -0
- data/lib/killbill_client/models/gen/account_attributes_simple.rb +33 -0
- data/lib/killbill_client/models/gen/account_attributes_with_balance.rb +52 -0
- data/lib/killbill_client/models/gen/account_attributes_with_balance_and_c_b_a.rb +53 -0
- data/lib/killbill_client/models/gen/account_email_attributes.rb +33 -0
- data/lib/killbill_client/models/gen/account_timeline_attributes.rb +35 -0
- data/lib/killbill_client/models/gen/analytics_sanity_attributes.rb +36 -0
- data/lib/killbill_client/models/gen/audit_log_attributes.rb +37 -0
- data/lib/killbill_client/models/gen/bundle_attributes_no_subscriptions.rb +36 -0
- data/lib/killbill_client/models/gen/bundle_attributes_simple.rb +34 -0
- data/lib/killbill_client/models/gen/bundle_attributes_with_subscriptions.rb +35 -0
- data/lib/killbill_client/models/gen/bundle_timeline_attributes.rb +36 -0
- data/lib/killbill_client/models/gen/business_account_attributes.rb +41 -0
- data/lib/killbill_client/models/gen/business_field_attributes.rb +35 -0
- data/lib/killbill_client/models/gen/business_invoice_attributes.rb +43 -0
- data/lib/killbill_client/models/gen/business_invoice_item_attributes.rb +46 -0
- data/lib/killbill_client/models/gen/business_invoice_payment_attributes.rb +50 -0
- data/lib/killbill_client/models/gen/business_overdue_status_attributes.rb +37 -0
- data/lib/killbill_client/models/gen/business_snapshot_attributes.rb +38 -0
- data/lib/killbill_client/models/gen/business_subscription_transition_attributes.rb +64 -0
- data/lib/killbill_client/models/gen/business_tag_attributes.rb +34 -0
- data/lib/killbill_client/models/gen/catalog_attributes_simple.rb +33 -0
- data/lib/killbill_client/models/gen/chargeback_attributes.rb +37 -0
- data/lib/killbill_client/models/gen/chargeback_collection_attributes.rb +33 -0
- data/lib/killbill_client/models/gen/credit_attributes.rb +39 -0
- data/lib/killbill_client/models/gen/credit_collection_attributes.rb +33 -0
- data/lib/killbill_client/models/gen/custom_field_attributes.rb +33 -0
- data/lib/killbill_client/models/gen/invoice_attributes_simple.rb +42 -0
- data/lib/killbill_client/models/gen/invoice_attributes_with_bundle_keys.rb +44 -0
- data/lib/killbill_client/models/gen/invoice_attributes_with_items.rb +43 -0
- data/lib/killbill_client/models/gen/invoice_email_attributes.rb +33 -0
- data/lib/killbill_client/models/gen/invoice_item_attributes_simple.rb +45 -0
- data/lib/killbill_client/models/gen/notification_attributes.rb +35 -0
- data/lib/killbill_client/models/gen/overdue_state_attributes.rb +38 -0
- data/lib/killbill_client/models/gen/payment_attributes_simple.rb +47 -0
- data/lib/killbill_client/models/gen/payment_attributes_with_bundle_keys.rb +50 -0
- data/lib/killbill_client/models/gen/payment_method_attributes.rb +36 -0
- data/lib/killbill_client/models/gen/payment_method_plugin_detail_attributes.rb +46 -0
- data/lib/killbill_client/models/gen/payment_method_properties.rb +34 -0
- data/lib/killbill_client/models/gen/phase_attributes.rb +33 -0
- data/lib/killbill_client/models/gen/plan_attributes.rb +33 -0
- data/lib/killbill_client/models/gen/plan_detail_attributes.rb +36 -0
- data/lib/killbill_client/models/gen/product_attributes.rb +36 -0
- data/lib/killbill_client/models/gen/refund_attributes.rb +40 -0
- data/lib/killbill_client/models/gen/require_gen.rb +80 -0
- data/lib/killbill_client/models/gen/subscription_attributes_no_events.rb +41 -0
- data/lib/killbill_client/models/gen/subscription_attributes_simple.rb +33 -0
- data/lib/killbill_client/models/gen/subscription_attributes_with_events.rb +36 -0
- data/lib/killbill_client/models/gen/subscription_deleted_event_attributes.rb +40 -0
- data/lib/killbill_client/models/gen/subscription_new_event_attributes.rb +38 -0
- data/lib/killbill_client/models/gen/subscription_read_event_attributes.rb +40 -0
- data/lib/killbill_client/models/gen/tag_attributes.rb +34 -0
- data/lib/killbill_client/models/gen/tag_definition_attributes.rb +36 -0
- data/lib/killbill_client/models/gen/tenant_attributes.rb +35 -0
- data/lib/killbill_client/models/gen/tenant_key_attributes.rb +33 -0
- data/lib/killbill_client/models/gen/time_series_data_attributes.rb +33 -0
- data/lib/killbill_client/models/invoice.rb +7 -0
- data/lib/killbill_client/models/invoice_item.rb +17 -0
- data/lib/killbill_client/models/models.rb +15 -0
- data/lib/killbill_client/models/payment.rb +6 -0
- data/lib/killbill_client/models/payment_method.rb +92 -0
- data/lib/killbill_client/models/resource.rb +125 -0
- data/lib/killbill_client/models/tag_definition.rb +6 -0
- data/lib/killbill_client/utils.rb +30 -0
- data/lib/killbill_client/version.rb +18 -0
- data/lib/rails/generators/killbill_client/config_generator.rb +17 -0
- data/lib/rails/killbill_client.rb +7 -0
- data/spec/killbill_client/remote/api_spec.rb +10 -0
- data/spec/killbill_client/remote/model_spec.rb +77 -0
- data/spec/spec_helper.rb +31 -0
- metadata +165 -0
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
###################################################################################
|
|
2
|
+
# #
|
|
3
|
+
# Copyright 2010-2013 Ning, Inc. #
|
|
4
|
+
# #
|
|
5
|
+
# Ning licenses this file to you under the Apache License, version 2.0 #
|
|
6
|
+
# (the "License"); you may not use this file except in compliance with the #
|
|
7
|
+
# License. You may obtain a copy of the License at: #
|
|
8
|
+
# #
|
|
9
|
+
# http://www.apache.org/licenses/LICENSE-2.0 #
|
|
10
|
+
# #
|
|
11
|
+
# Unless required by applicable law or agreed to in writing, software #
|
|
12
|
+
# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT #
|
|
13
|
+
# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the #
|
|
14
|
+
# License for the specific language governing permissions and limitations #
|
|
15
|
+
# under the License. #
|
|
16
|
+
# #
|
|
17
|
+
###################################################################################
|
|
18
|
+
|
|
19
|
+
|
|
20
|
+
#
|
|
21
|
+
# DO NOT EDIT!!!
|
|
22
|
+
# File automatically generated by killbill-java-parser (git@github.com:killbill/killbill-java-parser.git)
|
|
23
|
+
#
|
|
24
|
+
|
|
25
|
+
|
|
26
|
+
module KillBillClient
|
|
27
|
+
module Model
|
|
28
|
+
class BusinessSnapshotAttributes < Resource
|
|
29
|
+
attribute :business_account
|
|
30
|
+
attribute :business_subscription_transitions
|
|
31
|
+
attribute :business_invoices
|
|
32
|
+
attribute :business_invoice_payments
|
|
33
|
+
attribute :business_overdue_statuses
|
|
34
|
+
attribute :business_tags
|
|
35
|
+
attribute :business_fields
|
|
36
|
+
end
|
|
37
|
+
end
|
|
38
|
+
end
|
|
@@ -0,0 +1,64 @@
|
|
|
1
|
+
###################################################################################
|
|
2
|
+
# #
|
|
3
|
+
# Copyright 2010-2013 Ning, Inc. #
|
|
4
|
+
# #
|
|
5
|
+
# Ning licenses this file to you under the Apache License, version 2.0 #
|
|
6
|
+
# (the "License"); you may not use this file except in compliance with the #
|
|
7
|
+
# License. You may obtain a copy of the License at: #
|
|
8
|
+
# #
|
|
9
|
+
# http://www.apache.org/licenses/LICENSE-2.0 #
|
|
10
|
+
# #
|
|
11
|
+
# Unless required by applicable law or agreed to in writing, software #
|
|
12
|
+
# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT #
|
|
13
|
+
# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the #
|
|
14
|
+
# License for the specific language governing permissions and limitations #
|
|
15
|
+
# under the License. #
|
|
16
|
+
# #
|
|
17
|
+
###################################################################################
|
|
18
|
+
|
|
19
|
+
|
|
20
|
+
#
|
|
21
|
+
# DO NOT EDIT!!!
|
|
22
|
+
# File automatically generated by killbill-java-parser (git@github.com:killbill/killbill-java-parser.git)
|
|
23
|
+
#
|
|
24
|
+
|
|
25
|
+
|
|
26
|
+
module KillBillClient
|
|
27
|
+
module Model
|
|
28
|
+
class BusinessSubscriptionTransitionAttributes < Resource
|
|
29
|
+
attribute :total_ordering
|
|
30
|
+
attribute :bundle_id
|
|
31
|
+
attribute :external_key
|
|
32
|
+
attribute :account_id
|
|
33
|
+
attribute :account_key
|
|
34
|
+
attribute :subscription_id
|
|
35
|
+
attribute :requested_timestamp
|
|
36
|
+
attribute :event_type
|
|
37
|
+
attribute :category
|
|
38
|
+
attribute :prev_product_name
|
|
39
|
+
attribute :prev_product_type
|
|
40
|
+
attribute :prev_product_category
|
|
41
|
+
attribute :prev_slug
|
|
42
|
+
attribute :prev_phase
|
|
43
|
+
attribute :prev_billing_period
|
|
44
|
+
attribute :prev_price
|
|
45
|
+
attribute :prev_price_list
|
|
46
|
+
attribute :prev_mrr
|
|
47
|
+
attribute :prev_currency
|
|
48
|
+
attribute :prev_start_date
|
|
49
|
+
attribute :prev_state
|
|
50
|
+
attribute :next_product_name
|
|
51
|
+
attribute :next_product_type
|
|
52
|
+
attribute :next_product_category
|
|
53
|
+
attribute :next_slug
|
|
54
|
+
attribute :next_phase
|
|
55
|
+
attribute :next_billing_period
|
|
56
|
+
attribute :next_price
|
|
57
|
+
attribute :next_price_list
|
|
58
|
+
attribute :next_mrr
|
|
59
|
+
attribute :next_currency
|
|
60
|
+
attribute :next_start_date
|
|
61
|
+
attribute :next_state
|
|
62
|
+
end
|
|
63
|
+
end
|
|
64
|
+
end
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
###################################################################################
|
|
2
|
+
# #
|
|
3
|
+
# Copyright 2010-2013 Ning, Inc. #
|
|
4
|
+
# #
|
|
5
|
+
# Ning licenses this file to you under the Apache License, version 2.0 #
|
|
6
|
+
# (the "License"); you may not use this file except in compliance with the #
|
|
7
|
+
# License. You may obtain a copy of the License at: #
|
|
8
|
+
# #
|
|
9
|
+
# http://www.apache.org/licenses/LICENSE-2.0 #
|
|
10
|
+
# #
|
|
11
|
+
# Unless required by applicable law or agreed to in writing, software #
|
|
12
|
+
# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT #
|
|
13
|
+
# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the #
|
|
14
|
+
# License for the specific language governing permissions and limitations #
|
|
15
|
+
# under the License. #
|
|
16
|
+
# #
|
|
17
|
+
###################################################################################
|
|
18
|
+
|
|
19
|
+
|
|
20
|
+
#
|
|
21
|
+
# DO NOT EDIT!!!
|
|
22
|
+
# File automatically generated by killbill-java-parser (git@github.com:killbill/killbill-java-parser.git)
|
|
23
|
+
#
|
|
24
|
+
|
|
25
|
+
|
|
26
|
+
module KillBillClient
|
|
27
|
+
module Model
|
|
28
|
+
class BusinessTagAttributes < Resource
|
|
29
|
+
attribute :object_type
|
|
30
|
+
attribute :id
|
|
31
|
+
attribute :name
|
|
32
|
+
end
|
|
33
|
+
end
|
|
34
|
+
end
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
###################################################################################
|
|
2
|
+
# #
|
|
3
|
+
# Copyright 2010-2013 Ning, Inc. #
|
|
4
|
+
# #
|
|
5
|
+
# Ning licenses this file to you under the Apache License, version 2.0 #
|
|
6
|
+
# (the "License"); you may not use this file except in compliance with the #
|
|
7
|
+
# License. You may obtain a copy of the License at: #
|
|
8
|
+
# #
|
|
9
|
+
# http://www.apache.org/licenses/LICENSE-2.0 #
|
|
10
|
+
# #
|
|
11
|
+
# Unless required by applicable law or agreed to in writing, software #
|
|
12
|
+
# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT #
|
|
13
|
+
# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the #
|
|
14
|
+
# License for the specific language governing permissions and limitations #
|
|
15
|
+
# under the License. #
|
|
16
|
+
# #
|
|
17
|
+
###################################################################################
|
|
18
|
+
|
|
19
|
+
|
|
20
|
+
#
|
|
21
|
+
# DO NOT EDIT!!!
|
|
22
|
+
# File automatically generated by killbill-java-parser (git@github.com:killbill/killbill-java-parser.git)
|
|
23
|
+
#
|
|
24
|
+
|
|
25
|
+
|
|
26
|
+
module KillBillClient
|
|
27
|
+
module Model
|
|
28
|
+
class CatalogAttributesSimple < Resource
|
|
29
|
+
attribute :name
|
|
30
|
+
attribute :products
|
|
31
|
+
end
|
|
32
|
+
end
|
|
33
|
+
end
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
###################################################################################
|
|
2
|
+
# #
|
|
3
|
+
# Copyright 2010-2013 Ning, Inc. #
|
|
4
|
+
# #
|
|
5
|
+
# Ning licenses this file to you under the Apache License, version 2.0 #
|
|
6
|
+
# (the "License"); you may not use this file except in compliance with the #
|
|
7
|
+
# License. You may obtain a copy of the License at: #
|
|
8
|
+
# #
|
|
9
|
+
# http://www.apache.org/licenses/LICENSE-2.0 #
|
|
10
|
+
# #
|
|
11
|
+
# Unless required by applicable law or agreed to in writing, software #
|
|
12
|
+
# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT #
|
|
13
|
+
# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the #
|
|
14
|
+
# License for the specific language governing permissions and limitations #
|
|
15
|
+
# under the License. #
|
|
16
|
+
# #
|
|
17
|
+
###################################################################################
|
|
18
|
+
|
|
19
|
+
|
|
20
|
+
#
|
|
21
|
+
# DO NOT EDIT!!!
|
|
22
|
+
# File automatically generated by killbill-java-parser (git@github.com:killbill/killbill-java-parser.git)
|
|
23
|
+
#
|
|
24
|
+
|
|
25
|
+
|
|
26
|
+
module KillBillClient
|
|
27
|
+
module Model
|
|
28
|
+
class ChargebackAttributes < Resource
|
|
29
|
+
attribute :requested_date
|
|
30
|
+
attribute :effective_date
|
|
31
|
+
attribute :chargeback_amount
|
|
32
|
+
attribute :payment_id
|
|
33
|
+
attribute :reason
|
|
34
|
+
attribute :audit_logs
|
|
35
|
+
end
|
|
36
|
+
end
|
|
37
|
+
end
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
###################################################################################
|
|
2
|
+
# #
|
|
3
|
+
# Copyright 2010-2013 Ning, Inc. #
|
|
4
|
+
# #
|
|
5
|
+
# Ning licenses this file to you under the Apache License, version 2.0 #
|
|
6
|
+
# (the "License"); you may not use this file except in compliance with the #
|
|
7
|
+
# License. You may obtain a copy of the License at: #
|
|
8
|
+
# #
|
|
9
|
+
# http://www.apache.org/licenses/LICENSE-2.0 #
|
|
10
|
+
# #
|
|
11
|
+
# Unless required by applicable law or agreed to in writing, software #
|
|
12
|
+
# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT #
|
|
13
|
+
# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the #
|
|
14
|
+
# License for the specific language governing permissions and limitations #
|
|
15
|
+
# under the License. #
|
|
16
|
+
# #
|
|
17
|
+
###################################################################################
|
|
18
|
+
|
|
19
|
+
|
|
20
|
+
#
|
|
21
|
+
# DO NOT EDIT!!!
|
|
22
|
+
# File automatically generated by killbill-java-parser (git@github.com:killbill/killbill-java-parser.git)
|
|
23
|
+
#
|
|
24
|
+
|
|
25
|
+
|
|
26
|
+
module KillBillClient
|
|
27
|
+
module Model
|
|
28
|
+
class ChargebackCollectionAttributes < Resource
|
|
29
|
+
attribute :account_id
|
|
30
|
+
attribute :chargebacks
|
|
31
|
+
end
|
|
32
|
+
end
|
|
33
|
+
end
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
###################################################################################
|
|
2
|
+
# #
|
|
3
|
+
# Copyright 2010-2013 Ning, Inc. #
|
|
4
|
+
# #
|
|
5
|
+
# Ning licenses this file to you under the Apache License, version 2.0 #
|
|
6
|
+
# (the "License"); you may not use this file except in compliance with the #
|
|
7
|
+
# License. You may obtain a copy of the License at: #
|
|
8
|
+
# #
|
|
9
|
+
# http://www.apache.org/licenses/LICENSE-2.0 #
|
|
10
|
+
# #
|
|
11
|
+
# Unless required by applicable law or agreed to in writing, software #
|
|
12
|
+
# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT #
|
|
13
|
+
# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the #
|
|
14
|
+
# License for the specific language governing permissions and limitations #
|
|
15
|
+
# under the License. #
|
|
16
|
+
# #
|
|
17
|
+
###################################################################################
|
|
18
|
+
|
|
19
|
+
|
|
20
|
+
#
|
|
21
|
+
# DO NOT EDIT!!!
|
|
22
|
+
# File automatically generated by killbill-java-parser (git@github.com:killbill/killbill-java-parser.git)
|
|
23
|
+
#
|
|
24
|
+
|
|
25
|
+
|
|
26
|
+
module KillBillClient
|
|
27
|
+
module Model
|
|
28
|
+
class CreditAttributes < Resource
|
|
29
|
+
attribute :credit_amount
|
|
30
|
+
attribute :invoice_id
|
|
31
|
+
attribute :invoice_number
|
|
32
|
+
attribute :requested_date
|
|
33
|
+
attribute :effective_date
|
|
34
|
+
attribute :reason
|
|
35
|
+
attribute :account_id
|
|
36
|
+
attribute :audit_logs
|
|
37
|
+
end
|
|
38
|
+
end
|
|
39
|
+
end
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
###################################################################################
|
|
2
|
+
# #
|
|
3
|
+
# Copyright 2010-2013 Ning, Inc. #
|
|
4
|
+
# #
|
|
5
|
+
# Ning licenses this file to you under the Apache License, version 2.0 #
|
|
6
|
+
# (the "License"); you may not use this file except in compliance with the #
|
|
7
|
+
# License. You may obtain a copy of the License at: #
|
|
8
|
+
# #
|
|
9
|
+
# http://www.apache.org/licenses/LICENSE-2.0 #
|
|
10
|
+
# #
|
|
11
|
+
# Unless required by applicable law or agreed to in writing, software #
|
|
12
|
+
# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT #
|
|
13
|
+
# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the #
|
|
14
|
+
# License for the specific language governing permissions and limitations #
|
|
15
|
+
# under the License. #
|
|
16
|
+
# #
|
|
17
|
+
###################################################################################
|
|
18
|
+
|
|
19
|
+
|
|
20
|
+
#
|
|
21
|
+
# DO NOT EDIT!!!
|
|
22
|
+
# File automatically generated by killbill-java-parser (git@github.com:killbill/killbill-java-parser.git)
|
|
23
|
+
#
|
|
24
|
+
|
|
25
|
+
|
|
26
|
+
module KillBillClient
|
|
27
|
+
module Model
|
|
28
|
+
class CreditCollectionAttributes < Resource
|
|
29
|
+
attribute :account_id
|
|
30
|
+
attribute :credits
|
|
31
|
+
end
|
|
32
|
+
end
|
|
33
|
+
end
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
###################################################################################
|
|
2
|
+
# #
|
|
3
|
+
# Copyright 2010-2013 Ning, Inc. #
|
|
4
|
+
# #
|
|
5
|
+
# Ning licenses this file to you under the Apache License, version 2.0 #
|
|
6
|
+
# (the "License"); you may not use this file except in compliance with the #
|
|
7
|
+
# License. You may obtain a copy of the License at: #
|
|
8
|
+
# #
|
|
9
|
+
# http://www.apache.org/licenses/LICENSE-2.0 #
|
|
10
|
+
# #
|
|
11
|
+
# Unless required by applicable law or agreed to in writing, software #
|
|
12
|
+
# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT #
|
|
13
|
+
# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the #
|
|
14
|
+
# License for the specific language governing permissions and limitations #
|
|
15
|
+
# under the License. #
|
|
16
|
+
# #
|
|
17
|
+
###################################################################################
|
|
18
|
+
|
|
19
|
+
|
|
20
|
+
#
|
|
21
|
+
# DO NOT EDIT!!!
|
|
22
|
+
# File automatically generated by killbill-java-parser (git@github.com:killbill/killbill-java-parser.git)
|
|
23
|
+
#
|
|
24
|
+
|
|
25
|
+
|
|
26
|
+
module KillBillClient
|
|
27
|
+
module Model
|
|
28
|
+
class CustomFieldAttributes < Resource
|
|
29
|
+
attribute :name
|
|
30
|
+
attribute :value
|
|
31
|
+
end
|
|
32
|
+
end
|
|
33
|
+
end
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
###################################################################################
|
|
2
|
+
# #
|
|
3
|
+
# Copyright 2010-2013 Ning, Inc. #
|
|
4
|
+
# #
|
|
5
|
+
# Ning licenses this file to you under the Apache License, version 2.0 #
|
|
6
|
+
# (the "License"); you may not use this file except in compliance with the #
|
|
7
|
+
# License. You may obtain a copy of the License at: #
|
|
8
|
+
# #
|
|
9
|
+
# http://www.apache.org/licenses/LICENSE-2.0 #
|
|
10
|
+
# #
|
|
11
|
+
# Unless required by applicable law or agreed to in writing, software #
|
|
12
|
+
# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT #
|
|
13
|
+
# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the #
|
|
14
|
+
# License for the specific language governing permissions and limitations #
|
|
15
|
+
# under the License. #
|
|
16
|
+
# #
|
|
17
|
+
###################################################################################
|
|
18
|
+
|
|
19
|
+
|
|
20
|
+
#
|
|
21
|
+
# DO NOT EDIT!!!
|
|
22
|
+
# File automatically generated by killbill-java-parser (git@github.com:killbill/killbill-java-parser.git)
|
|
23
|
+
#
|
|
24
|
+
|
|
25
|
+
|
|
26
|
+
module KillBillClient
|
|
27
|
+
module Model
|
|
28
|
+
class InvoiceAttributesSimple < Resource
|
|
29
|
+
attribute :amount
|
|
30
|
+
attribute :currency
|
|
31
|
+
attribute :credit_adj
|
|
32
|
+
attribute :refund_adj
|
|
33
|
+
attribute :invoice_id
|
|
34
|
+
attribute :invoice_date
|
|
35
|
+
attribute :target_date
|
|
36
|
+
attribute :invoice_number
|
|
37
|
+
attribute :balance
|
|
38
|
+
attribute :account_id
|
|
39
|
+
attribute :audit_logs
|
|
40
|
+
end
|
|
41
|
+
end
|
|
42
|
+
end
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
###################################################################################
|
|
2
|
+
# #
|
|
3
|
+
# Copyright 2010-2013 Ning, Inc. #
|
|
4
|
+
# #
|
|
5
|
+
# Ning licenses this file to you under the Apache License, version 2.0 #
|
|
6
|
+
# (the "License"); you may not use this file except in compliance with the #
|
|
7
|
+
# License. You may obtain a copy of the License at: #
|
|
8
|
+
# #
|
|
9
|
+
# http://www.apache.org/licenses/LICENSE-2.0 #
|
|
10
|
+
# #
|
|
11
|
+
# Unless required by applicable law or agreed to in writing, software #
|
|
12
|
+
# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT #
|
|
13
|
+
# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the #
|
|
14
|
+
# License for the specific language governing permissions and limitations #
|
|
15
|
+
# under the License. #
|
|
16
|
+
# #
|
|
17
|
+
###################################################################################
|
|
18
|
+
|
|
19
|
+
|
|
20
|
+
#
|
|
21
|
+
# DO NOT EDIT!!!
|
|
22
|
+
# File automatically generated by killbill-java-parser (git@github.com:killbill/killbill-java-parser.git)
|
|
23
|
+
#
|
|
24
|
+
|
|
25
|
+
|
|
26
|
+
module KillBillClient
|
|
27
|
+
module Model
|
|
28
|
+
class InvoiceAttributesWithBundleKeys < Resource
|
|
29
|
+
attribute :amount
|
|
30
|
+
attribute :currency
|
|
31
|
+
attribute :credit_adj
|
|
32
|
+
attribute :refund_adj
|
|
33
|
+
attribute :invoice_id
|
|
34
|
+
attribute :invoice_date
|
|
35
|
+
attribute :target_date
|
|
36
|
+
attribute :invoice_number
|
|
37
|
+
attribute :balance
|
|
38
|
+
attribute :account_id
|
|
39
|
+
attribute :external_bundle_keys
|
|
40
|
+
attribute :credits
|
|
41
|
+
attribute :audit_logs
|
|
42
|
+
end
|
|
43
|
+
end
|
|
44
|
+
end
|