killbill-client 3.0.0 → 3.1.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/killbill_client/models/account.rb +3 -5
- data/lib/killbill_client/models/credit.rb +5 -5
- data/lib/killbill_client/models/custom_field.rb +17 -0
- data/lib/killbill_client/models/gen/invoice_attributes.rb +1 -0
- data/lib/killbill_client/models/gen/overdue_state_attributes.rb +0 -1
- data/lib/killbill_client/models/gen/require_gen.rb +52 -53
- data/lib/killbill_client/models/gen/subscription_attributes.rb +1 -0
- data/lib/killbill_client/models/invoice.rb +4 -7
- data/lib/killbill_client/models/subscription.rb +10 -0
- data/lib/killbill_client/version.rb +1 -1
- data/spec/killbill_client/remote/model_spec.rb +2 -2
- metadata +2 -7
- data/lib/killbill_client/models/gen/block_price_override_attributes.rb +0 -37
- data/lib/killbill_client/models/gen/credit_attributes.rb +0 -43
- data/lib/killbill_client/models/gen/phase_price_override_attributes.rb +0 -39
- data/lib/killbill_client/models/gen/tier_price_override_attributes.rb +0 -34
- data/lib/killbill_client/models/gen/usage_price_override_attributes.rb +0 -38
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 8b2f7c7a0eeb0c3f653b836d32d889c00208cfa9
|
4
|
+
data.tar.gz: 736afa732515f2989f7a59abfb3d299b1563fc95
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: b5160736215a14db56df3d01cb975fcd39c5779cca3763eab7546c77436e334040353d3a69e3286c3cd92fa09b7070c62117edd90ea780362ba22a00db71ab13
|
7
|
+
data.tar.gz: efc57a5df04a56e364be076de8b256072f4740da951509802c849ba02b9b92f2eaaf927cd13243580285eeb22558ce76f5b9bf2893add82e3557dbec9f263eb1
|
@@ -143,20 +143,18 @@ module KillBillClient
|
|
143
143
|
Bundle
|
144
144
|
end
|
145
145
|
|
146
|
-
def invoices(
|
146
|
+
def invoices(options = {})
|
147
147
|
self.class.get "#{KILLBILL_API_ACCOUNTS_PREFIX}/#{account_id}/invoices",
|
148
148
|
{
|
149
|
-
:withItems => with_items
|
150
149
|
},
|
151
150
|
options,
|
152
151
|
Invoice
|
153
152
|
end
|
154
153
|
|
155
|
-
def migration_invoices(
|
154
|
+
def migration_invoices(options = {})
|
156
155
|
self.class.get "#{KILLBILL_API_ACCOUNTS_PREFIX}/#{account_id}/invoices",
|
157
156
|
{
|
158
|
-
:withMigrationInvoices => true
|
159
|
-
:withItems => with_items
|
157
|
+
:withMigrationInvoices => true
|
160
158
|
},
|
161
159
|
options,
|
162
160
|
Invoice
|
@@ -1,6 +1,6 @@
|
|
1
1
|
module KillBillClient
|
2
2
|
module Model
|
3
|
-
class Credit <
|
3
|
+
class Credit < InvoiceItemAttributes
|
4
4
|
KILLBILL_API_CREDITS_PREFIX = "#{KILLBILL_API_PREFIX}/credits"
|
5
5
|
has_many :audit_logs, KillBillClient::Model::AuditLog
|
6
6
|
|
@@ -9,13 +9,13 @@ module KillBillClient
|
|
9
9
|
get "#{KILLBILL_API_CREDITS_PREFIX}/#{credit_id}",
|
10
10
|
{},
|
11
11
|
options,
|
12
|
-
|
12
|
+
InvoiceItemAttributes
|
13
13
|
end
|
14
14
|
end
|
15
15
|
|
16
16
|
def create(auto_commit = false, user = nil, reason = nil, comment = nil, options = {})
|
17
|
-
|
18
|
-
to_json,
|
17
|
+
created_credits = self.class.post KILLBILL_API_CREDITS_PREFIX,
|
18
|
+
[to_hash].to_json,
|
19
19
|
{
|
20
20
|
:autoCommit => auto_commit
|
21
21
|
},
|
@@ -24,7 +24,7 @@ module KillBillClient
|
|
24
24
|
:reason => reason,
|
25
25
|
:comment => comment,
|
26
26
|
}.merge(options)
|
27
|
-
|
27
|
+
created_credits
|
28
28
|
end
|
29
29
|
|
30
30
|
end
|
@@ -28,6 +28,23 @@ module KillBillClient
|
|
28
28
|
},
|
29
29
|
options
|
30
30
|
end
|
31
|
+
|
32
|
+
def find_in_batches_by_search_type_name(object_type, field_name, field_value, offset = 0, limit = 100, options = {})
|
33
|
+
|
34
|
+
query_fields = {
|
35
|
+
:objectType => object_type,
|
36
|
+
:fieldName => field_name,
|
37
|
+
:fieldValue => field_value,
|
38
|
+
:offset => offset,
|
39
|
+
:limit => limit
|
40
|
+
}
|
41
|
+
query_fields[:fieldValue] = field_value if field_value
|
42
|
+
|
43
|
+
get "#{KILLBILL_API_CUSTOM_FIELDS_PREFIX}/search",
|
44
|
+
query_fields,
|
45
|
+
options
|
46
|
+
end
|
47
|
+
|
31
48
|
end
|
32
49
|
end
|
33
50
|
end
|
@@ -30,7 +30,6 @@ module KillBillClient
|
|
30
30
|
class OverdueStateAttributes < Resource
|
31
31
|
attribute :name
|
32
32
|
attribute :external_message
|
33
|
-
attribute :days_between_payment_retries
|
34
33
|
attribute :is_disable_entitlement_and_changes_blocked
|
35
34
|
attribute :is_block_changes
|
36
35
|
attribute :is_clear_state
|
@@ -25,39 +25,26 @@
|
|
25
25
|
#
|
26
26
|
|
27
27
|
|
28
|
-
require 'killbill_client/models/gen/tenant_attributes'
|
29
|
-
require 'killbill_client/models/gen/subject_attributes'
|
30
|
-
require 'killbill_client/models/gen/account_email_attributes'
|
31
|
-
require 'killbill_client/models/gen/tag_attributes'
|
32
|
-
require 'killbill_client/models/gen/invoice_attributes'
|
33
|
-
require 'killbill_client/models/gen/plugin_property_attributes'
|
34
|
-
require 'killbill_client/models/gen/account_timeline_attributes'
|
35
|
-
require 'killbill_client/models/gen/overdue_state_attributes'
|
36
|
-
require 'killbill_client/models/gen/user_roles_attributes'
|
37
|
-
require 'killbill_client/models/gen/payment_method_plugin_detail_attributes'
|
38
|
-
require 'killbill_client/models/gen/payment_method_attributes'
|
39
|
-
require 'killbill_client/models/gen/plugin_service_info_attributes'
|
40
|
-
require 'killbill_client/models/gen/plugin_info_attributes'
|
41
|
-
require 'killbill_client/models/gen/tier_price_attributes'
|
42
|
-
require 'killbill_client/models/gen/tag_definition_attributes'
|
43
|
-
require 'killbill_client/models/gen/block_price_attributes'
|
44
|
-
require 'killbill_client/models/gen/account_attributes'
|
45
|
-
require 'killbill_client/models/gen/hosted_payment_page_form_descriptor_attributes'
|
46
|
-
require 'killbill_client/models/gen/bulk_subscriptions_bundle_attributes'
|
47
|
-
require 'killbill_client/models/gen/blocking_state_attributes'
|
48
28
|
require 'killbill_client/models/gen/invoice_item_attributes'
|
29
|
+
require 'killbill_client/models/gen/combo_hosted_payment_page_attributes'
|
30
|
+
require 'killbill_client/models/gen/simple_plan_attributes'
|
31
|
+
require 'killbill_client/models/gen/bundle_timeline_attributes'
|
32
|
+
require 'killbill_client/models/gen/payment_transaction_attributes'
|
33
|
+
require 'killbill_client/models/gen/unit_usage_record_attributes'
|
34
|
+
require 'killbill_client/models/gen/usage_record_attributes'
|
35
|
+
require 'killbill_client/models/gen/subscription_usage_record_attributes'
|
36
|
+
require 'killbill_client/models/gen/rolled_up_unit_attributes'
|
37
|
+
require 'killbill_client/models/gen/rolled_up_usage_attributes'
|
49
38
|
require 'killbill_client/models/gen/role_definition_attributes'
|
50
|
-
require 'killbill_client/models/gen/
|
39
|
+
require 'killbill_client/models/gen/usage_price_attributes'
|
40
|
+
require 'killbill_client/models/gen/combo_payment_transaction_attributes'
|
41
|
+
require 'killbill_client/models/gen/hosted_payment_page_fields_attributes'
|
42
|
+
require 'killbill_client/models/gen/plan_detail_attributes'
|
51
43
|
require 'killbill_client/models/gen/invoice_payment_transaction_attributes'
|
44
|
+
require 'killbill_client/models/gen/overdue_attributes'
|
45
|
+
require 'killbill_client/models/gen/tier_price_attributes'
|
46
|
+
require 'killbill_client/models/gen/tag_definition_attributes'
|
52
47
|
require 'killbill_client/models/gen/hosted_payment_page_billing_address_attributes'
|
53
|
-
require 'killbill_client/models/gen/plan_detail_attributes'
|
54
|
-
require 'killbill_client/models/gen/custom_field_attributes'
|
55
|
-
require 'killbill_client/models/gen/rolled_up_unit_attributes'
|
56
|
-
require 'killbill_client/models/gen/rolled_up_usage_attributes'
|
57
|
-
require 'killbill_client/models/gen/gateway_notification_attributes'
|
58
|
-
require 'killbill_client/models/gen/event_subscription_attributes'
|
59
|
-
require 'killbill_client/models/gen/subscription_attributes'
|
60
|
-
require 'killbill_client/models/gen/notification_attributes'
|
61
48
|
require 'killbill_client/models/gen/unit_attributes'
|
62
49
|
require 'killbill_client/models/gen/product_attributes'
|
63
50
|
require 'killbill_client/models/gen/plan_attributes'
|
@@ -70,34 +57,46 @@ require 'killbill_client/models/gen/price_attributes'
|
|
70
57
|
require 'killbill_client/models/gen/price_list_attributes'
|
71
58
|
require 'killbill_client/models/gen/duration_attributes'
|
72
59
|
require 'killbill_client/models/gen/catalog_attributes'
|
73
|
-
require 'killbill_client/models/gen/
|
74
|
-
require 'killbill_client/models/gen/
|
60
|
+
require 'killbill_client/models/gen/custom_field_attributes'
|
61
|
+
require 'killbill_client/models/gen/overdue_state_attributes'
|
62
|
+
require 'killbill_client/models/gen/overdue_condition_attributes'
|
75
63
|
require 'killbill_client/models/gen/bundle_attributes'
|
76
|
-
require 'killbill_client/models/gen/
|
64
|
+
require 'killbill_client/models/gen/invoice_attributes'
|
77
65
|
require 'killbill_client/models/gen/payment_attributes'
|
78
|
-
require 'killbill_client/models/gen/
|
79
|
-
require 'killbill_client/models/gen/
|
80
|
-
require 'killbill_client/models/gen/
|
81
|
-
require 'killbill_client/models/gen/
|
82
|
-
require 'killbill_client/models/gen/
|
83
|
-
require 'killbill_client/models/gen/billing_exception_attributes'
|
84
|
-
require 'killbill_client/models/gen/audit_log_attributes'
|
66
|
+
require 'killbill_client/models/gen/node_command_attributes'
|
67
|
+
require 'killbill_client/models/gen/payment_method_plugin_detail_attributes'
|
68
|
+
require 'killbill_client/models/gen/payment_method_attributes'
|
69
|
+
require 'killbill_client/models/gen/node_command_property_attributes'
|
70
|
+
require 'killbill_client/models/gen/tenant_key_value_attributes'
|
85
71
|
require 'killbill_client/models/gen/phase_price_attributes'
|
72
|
+
require 'killbill_client/models/gen/overdue_state_config_attributes'
|
73
|
+
require 'killbill_client/models/gen/invoice_payment_attributes'
|
74
|
+
require 'killbill_client/models/gen/blocking_state_attributes'
|
75
|
+
require 'killbill_client/models/gen/audit_log_attributes'
|
76
|
+
require 'killbill_client/models/gen/payment_attempt_attributes'
|
77
|
+
require 'killbill_client/models/gen/node_info_attributes'
|
78
|
+
require 'killbill_client/models/gen/notification_attributes'
|
79
|
+
require 'killbill_client/models/gen/event_subscription_attributes'
|
80
|
+
require 'killbill_client/models/gen/subscription_attributes'
|
81
|
+
require 'killbill_client/models/gen/account_timeline_attributes'
|
82
|
+
require 'killbill_client/models/gen/plugin_service_info_attributes'
|
83
|
+
require 'killbill_client/models/gen/plugin_info_attributes'
|
84
|
+
require 'killbill_client/models/gen/tenant_attributes'
|
85
|
+
require 'killbill_client/models/gen/plugin_property_attributes'
|
86
|
+
require 'killbill_client/models/gen/user_roles_attributes'
|
86
87
|
require 'killbill_client/models/gen/profiling_data_attributes_item'
|
87
88
|
require 'killbill_client/models/gen/profiling_data_attributes'
|
88
|
-
require 'killbill_client/models/gen/node_command_attributes'
|
89
|
-
require 'killbill_client/models/gen/session_attributes'
|
90
|
-
require 'killbill_client/models/gen/hosted_payment_page_customer_attributes'
|
91
|
-
require 'killbill_client/models/gen/tenant_key_value_attributes'
|
92
89
|
require 'killbill_client/models/gen/admin_payment_attributes'
|
93
|
-
require 'killbill_client/models/gen/
|
90
|
+
require 'killbill_client/models/gen/account_email_attributes'
|
91
|
+
require 'killbill_client/models/gen/hosted_payment_page_form_descriptor_attributes'
|
92
|
+
require 'killbill_client/models/gen/bulk_subscriptions_bundle_attributes'
|
93
|
+
require 'killbill_client/models/gen/subject_attributes'
|
94
|
+
require 'killbill_client/models/gen/stack_trace_element_attributes'
|
95
|
+
require 'killbill_client/models/gen/billing_exception_attributes'
|
96
|
+
require 'killbill_client/models/gen/hosted_payment_page_customer_attributes'
|
97
|
+
require 'killbill_client/models/gen/gateway_notification_attributes'
|
98
|
+
require 'killbill_client/models/gen/account_attributes'
|
94
99
|
require 'killbill_client/models/gen/invoice_dry_run_attributes'
|
95
|
-
require 'killbill_client/models/gen/
|
96
|
-
require 'killbill_client/models/gen/
|
97
|
-
require 'killbill_client/models/gen/
|
98
|
-
require 'killbill_client/models/gen/overdue_state_config_attributes'
|
99
|
-
require 'killbill_client/models/gen/simple_plan_attributes'
|
100
|
-
require 'killbill_client/models/gen/combo_hosted_payment_page_attributes'
|
101
|
-
require 'killbill_client/models/gen/credit_attributes'
|
102
|
-
require 'killbill_client/models/gen/overdue_condition_attributes'
|
103
|
-
require 'killbill_client/models/gen/node_info_attributes'
|
100
|
+
require 'killbill_client/models/gen/session_attributes'
|
101
|
+
require 'killbill_client/models/gen/block_price_attributes'
|
102
|
+
require 'killbill_client/models/gen/tag_attributes'
|
@@ -11,7 +11,7 @@ module KillBillClient
|
|
11
11
|
|
12
12
|
has_many :audit_logs, KillBillClient::Model::AuditLog
|
13
13
|
has_many :items, KillBillClient::Model::InvoiceItem
|
14
|
-
has_many :credits, KillBillClient::Model::
|
14
|
+
has_many :credits, KillBillClient::Model::InvoiceItem
|
15
15
|
|
16
16
|
has_custom_fields KILLBILL_API_INVOICES_PREFIX, :invoice_id
|
17
17
|
has_tags KILLBILL_API_INVOICES_PREFIX, :invoice_id
|
@@ -19,29 +19,26 @@ module KillBillClient
|
|
19
19
|
|
20
20
|
|
21
21
|
class << self
|
22
|
-
def find_by_id(invoice_id,
|
22
|
+
def find_by_id(invoice_id, audit = "NONE", options = {})
|
23
23
|
get "#{KILLBILL_API_INVOICES_PREFIX}/#{invoice_id}",
|
24
24
|
{
|
25
|
-
:withItems => with_items,
|
26
25
|
:audit => audit
|
27
26
|
},
|
28
27
|
options
|
29
28
|
end
|
30
29
|
|
31
|
-
def find_by_number(number,
|
30
|
+
def find_by_number(number, audit = "NONE", options = {})
|
32
31
|
get "#{KILLBILL_API_INVOICES_PREFIX}/byNumber/#{number}",
|
33
32
|
{
|
34
|
-
:withItems => with_items,
|
35
33
|
:audit => audit
|
36
34
|
},
|
37
35
|
options
|
38
36
|
end
|
39
37
|
|
40
|
-
def find_by_invoice_item_id(invoice_item_id,
|
38
|
+
def find_by_invoice_item_id(invoice_item_id, with_children_items = false, audit = "NONE", options = {})
|
41
39
|
get "#{KILLBILL_API_INVOICES_PREFIX}/byItemId/#{invoice_item_id}",
|
42
40
|
{
|
43
41
|
:withChildrenItems => with_children_items,
|
44
|
-
:withItems => with_items,
|
45
42
|
:audit => audit
|
46
43
|
},
|
47
44
|
options
|
@@ -23,6 +23,16 @@ module KillBillClient
|
|
23
23
|
options
|
24
24
|
end
|
25
25
|
|
26
|
+
def find_by_external_key(external_key, options = {})
|
27
|
+
params = {}
|
28
|
+
params[:externalKey] = external_key
|
29
|
+
|
30
|
+
get "#{KILLBILL_API_ENTITLEMENT_PREFIX}",
|
31
|
+
params,
|
32
|
+
options
|
33
|
+
end
|
34
|
+
|
35
|
+
|
26
36
|
def event_audit_logs_with_history(event_id, options = {})
|
27
37
|
get "#{KILLBILL_API_ENTITLEMENT_PREFIX}/events/#{event_id}/auditLogsWithHistory",
|
28
38
|
{},
|
@@ -299,9 +299,9 @@ describe KillBillClient::Model do
|
|
299
299
|
|
300
300
|
# Create a credit for invoice
|
301
301
|
new_credit = KillBillClient::Model::Credit.new
|
302
|
-
new_credit.
|
302
|
+
new_credit.amount = 10.1
|
303
303
|
new_credit.invoice_id = invoice_id
|
304
|
-
new_credit.
|
304
|
+
new_credit.start_date = "2013-09-30"
|
305
305
|
new_credit.account_id = account.account_id
|
306
306
|
|
307
307
|
expect { new_credit.create(true, 'KillBill Spec test') }.to raise_error(KillBillClient::API::BadRequest)
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: killbill-client
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 3.
|
4
|
+
version: 3.1.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Killbill core team
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2019-
|
11
|
+
date: 2019-10-21 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rake
|
@@ -81,7 +81,6 @@ files:
|
|
81
81
|
- lib/killbill_client/models/gen/audit_log_attributes.rb
|
82
82
|
- lib/killbill_client/models/gen/billing_exception_attributes.rb
|
83
83
|
- lib/killbill_client/models/gen/block_price_attributes.rb
|
84
|
-
- lib/killbill_client/models/gen/block_price_override_attributes.rb
|
85
84
|
- lib/killbill_client/models/gen/blocking_state_attributes.rb
|
86
85
|
- lib/killbill_client/models/gen/bulk_subscriptions_bundle_attributes.rb
|
87
86
|
- lib/killbill_client/models/gen/bundle_attributes.rb
|
@@ -89,7 +88,6 @@ files:
|
|
89
88
|
- lib/killbill_client/models/gen/catalog_attributes.rb
|
90
89
|
- lib/killbill_client/models/gen/combo_hosted_payment_page_attributes.rb
|
91
90
|
- lib/killbill_client/models/gen/combo_payment_transaction_attributes.rb
|
92
|
-
- lib/killbill_client/models/gen/credit_attributes.rb
|
93
91
|
- lib/killbill_client/models/gen/custom_field_attributes.rb
|
94
92
|
- lib/killbill_client/models/gen/duration_attributes.rb
|
95
93
|
- lib/killbill_client/models/gen/event_subscription_attributes.rb
|
@@ -119,7 +117,6 @@ files:
|
|
119
117
|
- lib/killbill_client/models/gen/payment_transaction_attributes.rb
|
120
118
|
- lib/killbill_client/models/gen/phase_attributes.rb
|
121
119
|
- lib/killbill_client/models/gen/phase_price_attributes.rb
|
122
|
-
- lib/killbill_client/models/gen/phase_price_override_attributes.rb
|
123
120
|
- lib/killbill_client/models/gen/plan_attributes.rb
|
124
121
|
- lib/killbill_client/models/gen/plan_detail_attributes.rb
|
125
122
|
- lib/killbill_client/models/gen/plugin_info_attributes.rb
|
@@ -146,13 +143,11 @@ files:
|
|
146
143
|
- lib/killbill_client/models/gen/tenant_key_value_attributes.rb
|
147
144
|
- lib/killbill_client/models/gen/tier_attributes.rb
|
148
145
|
- lib/killbill_client/models/gen/tier_price_attributes.rb
|
149
|
-
- lib/killbill_client/models/gen/tier_price_override_attributes.rb
|
150
146
|
- lib/killbill_client/models/gen/tiered_block_attributes.rb
|
151
147
|
- lib/killbill_client/models/gen/unit_attributes.rb
|
152
148
|
- lib/killbill_client/models/gen/unit_usage_record_attributes.rb
|
153
149
|
- lib/killbill_client/models/gen/usage_attributes.rb
|
154
150
|
- lib/killbill_client/models/gen/usage_price_attributes.rb
|
155
|
-
- lib/killbill_client/models/gen/usage_price_override_attributes.rb
|
156
151
|
- lib/killbill_client/models/gen/usage_record_attributes.rb
|
157
152
|
- lib/killbill_client/models/gen/user_roles_attributes.rb
|
158
153
|
- lib/killbill_client/models/helpers/audit_log_with_history_helper.rb
|
@@ -1,37 +0,0 @@
|
|
1
|
-
#############################################################################################
|
2
|
-
# #
|
3
|
-
# Copyright 2010-2013 Ning, Inc. #
|
4
|
-
# Copyright 2014 Groupon, Inc. #
|
5
|
-
# Copyright 2014 The Billing Project, LLC #
|
6
|
-
# #
|
7
|
-
# The Billing Project licenses this file to you under the Apache License, version 2.0 #
|
8
|
-
# (the "License"); you may not use this file except in compliance with the #
|
9
|
-
# License. You may obtain a copy of the License at: #
|
10
|
-
# #
|
11
|
-
# http://www.apache.org/licenses/LICENSE-2.0 #
|
12
|
-
# #
|
13
|
-
# Unless required by applicable law or agreed to in writing, software #
|
14
|
-
# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT #
|
15
|
-
# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the #
|
16
|
-
# License for the specific language governing permissions and limitations #
|
17
|
-
# under the License. #
|
18
|
-
# #
|
19
|
-
#############################################################################################
|
20
|
-
|
21
|
-
|
22
|
-
#
|
23
|
-
# DO NOT EDIT!!!
|
24
|
-
# File automatically generated by killbill-java-parser (git@github.com:killbill/killbill-java-parser.git)
|
25
|
-
#
|
26
|
-
|
27
|
-
|
28
|
-
module KillBillClient
|
29
|
-
module Model
|
30
|
-
class BlockPriceOverrideAttributes < Resource
|
31
|
-
attribute :unit_name
|
32
|
-
attribute :size
|
33
|
-
attribute :price
|
34
|
-
attribute :max
|
35
|
-
end
|
36
|
-
end
|
37
|
-
end
|
@@ -1,43 +0,0 @@
|
|
1
|
-
#############################################################################################
|
2
|
-
# #
|
3
|
-
# Copyright 2010-2013 Ning, Inc. #
|
4
|
-
# Copyright 2014 Groupon, Inc. #
|
5
|
-
# Copyright 2014 The Billing Project, LLC #
|
6
|
-
# #
|
7
|
-
# The Billing Project licenses this file to you under the Apache License, version 2.0 #
|
8
|
-
# (the "License"); you may not use this file except in compliance with the #
|
9
|
-
# License. You may obtain a copy of the License at: #
|
10
|
-
# #
|
11
|
-
# http://www.apache.org/licenses/LICENSE-2.0 #
|
12
|
-
# #
|
13
|
-
# Unless required by applicable law or agreed to in writing, software #
|
14
|
-
# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT #
|
15
|
-
# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the #
|
16
|
-
# License for the specific language governing permissions and limitations #
|
17
|
-
# under the License. #
|
18
|
-
# #
|
19
|
-
#############################################################################################
|
20
|
-
|
21
|
-
|
22
|
-
#
|
23
|
-
# DO NOT EDIT!!!
|
24
|
-
# File automatically generated by killbill-java-parser (git@github.com:killbill/killbill-java-parser.git)
|
25
|
-
#
|
26
|
-
|
27
|
-
|
28
|
-
module KillBillClient
|
29
|
-
module Model
|
30
|
-
class CreditAttributes < Resource
|
31
|
-
attribute :credit_id
|
32
|
-
attribute :credit_amount
|
33
|
-
attribute :currency
|
34
|
-
attribute :invoice_id
|
35
|
-
attribute :invoice_number
|
36
|
-
attribute :effective_date
|
37
|
-
attribute :account_id
|
38
|
-
attribute :description
|
39
|
-
attribute :item_details
|
40
|
-
attribute :audit_logs
|
41
|
-
end
|
42
|
-
end
|
43
|
-
end
|
@@ -1,39 +0,0 @@
|
|
1
|
-
#############################################################################################
|
2
|
-
# #
|
3
|
-
# Copyright 2010-2013 Ning, Inc. #
|
4
|
-
# Copyright 2014 Groupon, Inc. #
|
5
|
-
# Copyright 2014 The Billing Project, LLC #
|
6
|
-
# #
|
7
|
-
# The Billing Project licenses this file to you under the Apache License, version 2.0 #
|
8
|
-
# (the "License"); you may not use this file except in compliance with the #
|
9
|
-
# License. You may obtain a copy of the License at: #
|
10
|
-
# #
|
11
|
-
# http://www.apache.org/licenses/LICENSE-2.0 #
|
12
|
-
# #
|
13
|
-
# Unless required by applicable law or agreed to in writing, software #
|
14
|
-
# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT #
|
15
|
-
# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the #
|
16
|
-
# License for the specific language governing permissions and limitations #
|
17
|
-
# under the License. #
|
18
|
-
# #
|
19
|
-
#############################################################################################
|
20
|
-
|
21
|
-
|
22
|
-
#
|
23
|
-
# DO NOT EDIT!!!
|
24
|
-
# File automatically generated by killbill-java-parser (git@github.com:killbill/killbill-java-parser.git)
|
25
|
-
#
|
26
|
-
|
27
|
-
|
28
|
-
module KillBillClient
|
29
|
-
module Model
|
30
|
-
class PhasePriceOverrideAttributes < Resource
|
31
|
-
attribute :plan_name
|
32
|
-
attribute :phase_name
|
33
|
-
attribute :phase_type
|
34
|
-
attribute :fixed_price
|
35
|
-
attribute :recurring_price
|
36
|
-
attribute :usage_overrides
|
37
|
-
end
|
38
|
-
end
|
39
|
-
end
|
@@ -1,34 +0,0 @@
|
|
1
|
-
#############################################################################################
|
2
|
-
# #
|
3
|
-
# Copyright 2010-2013 Ning, Inc. #
|
4
|
-
# Copyright 2014 Groupon, Inc. #
|
5
|
-
# Copyright 2014 The Billing Project, LLC #
|
6
|
-
# #
|
7
|
-
# The Billing Project licenses this file to you under the Apache License, version 2.0 #
|
8
|
-
# (the "License"); you may not use this file except in compliance with the #
|
9
|
-
# License. You may obtain a copy of the License at: #
|
10
|
-
# #
|
11
|
-
# http://www.apache.org/licenses/LICENSE-2.0 #
|
12
|
-
# #
|
13
|
-
# Unless required by applicable law or agreed to in writing, software #
|
14
|
-
# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT #
|
15
|
-
# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the #
|
16
|
-
# License for the specific language governing permissions and limitations #
|
17
|
-
# under the License. #
|
18
|
-
# #
|
19
|
-
#############################################################################################
|
20
|
-
|
21
|
-
|
22
|
-
#
|
23
|
-
# DO NOT EDIT!!!
|
24
|
-
# File automatically generated by killbill-java-parser (git@github.com:killbill/killbill-java-parser.git)
|
25
|
-
#
|
26
|
-
|
27
|
-
|
28
|
-
module KillBillClient
|
29
|
-
module Model
|
30
|
-
class TierPriceOverrideAttributes < Resource
|
31
|
-
attribute :block_price_overrides
|
32
|
-
end
|
33
|
-
end
|
34
|
-
end
|
@@ -1,38 +0,0 @@
|
|
1
|
-
#############################################################################################
|
2
|
-
# #
|
3
|
-
# Copyright 2010-2013 Ning, Inc. #
|
4
|
-
# Copyright 2014 Groupon, Inc. #
|
5
|
-
# Copyright 2014 The Billing Project, LLC #
|
6
|
-
# #
|
7
|
-
# The Billing Project licenses this file to you under the Apache License, version 2.0 #
|
8
|
-
# (the "License"); you may not use this file except in compliance with the #
|
9
|
-
# License. You may obtain a copy of the License at: #
|
10
|
-
# #
|
11
|
-
# http://www.apache.org/licenses/LICENSE-2.0 #
|
12
|
-
# #
|
13
|
-
# Unless required by applicable law or agreed to in writing, software #
|
14
|
-
# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT #
|
15
|
-
# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the #
|
16
|
-
# License for the specific language governing permissions and limitations #
|
17
|
-
# under the License. #
|
18
|
-
# #
|
19
|
-
#############################################################################################
|
20
|
-
|
21
|
-
|
22
|
-
#
|
23
|
-
# DO NOT EDIT!!!
|
24
|
-
# File automatically generated by killbill-java-parser (git@github.com:killbill/killbill-java-parser.git)
|
25
|
-
#
|
26
|
-
|
27
|
-
|
28
|
-
module KillBillClient
|
29
|
-
module Model
|
30
|
-
class UsagePriceOverrideAttributes < Resource
|
31
|
-
attribute :usage_name
|
32
|
-
attribute :usage_type
|
33
|
-
attribute :billing_mode
|
34
|
-
attribute :tier_block_policy
|
35
|
-
attribute :tier_price_overrides
|
36
|
-
end
|
37
|
-
end
|
38
|
-
end
|