killbill-client 0.7.2 → 0.7.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +5 -13
- data/lib/killbill_client/api/api.rb +2 -2
- data/lib/killbill_client/api/errors.rb +1 -1
- data/lib/killbill_client/api/net_http_adapter.rb +21 -1
- data/lib/killbill_client/models/account.rb +60 -112
- data/lib/killbill_client/models/account_timeline.rb +1 -1
- data/lib/killbill_client/models/bundle.rb +35 -34
- data/lib/killbill_client/models/catalog.rb +34 -0
- data/lib/killbill_client/models/custom_field.rb +3 -11
- data/lib/killbill_client/models/gen/account_attributes.rb +3 -3
- data/lib/killbill_client/models/gen/account_email_attributes.rb +3 -3
- data/lib/killbill_client/models/gen/account_timeline_attributes.rb +3 -3
- data/lib/killbill_client/models/gen/audit_log_attributes.rb +3 -3
- data/lib/killbill_client/models/gen/billing_exception_attributes.rb +3 -3
- data/lib/killbill_client/models/gen/bundle_attributes.rb +3 -3
- data/lib/killbill_client/models/gen/bundle_timeline_attributes.rb +3 -3
- data/lib/killbill_client/models/gen/catalog_attributes_simple.rb +3 -3
- data/lib/killbill_client/models/gen/credit_attributes.rb +3 -3
- data/lib/killbill_client/models/gen/custom_field_attributes.rb +3 -3
- data/lib/killbill_client/models/gen/deleted_event_subscription_attributes.rb +3 -3
- data/lib/killbill_client/models/gen/direct_payment_attributes.rb +45 -0
- data/lib/killbill_client/models/gen/direct_transaction_attributes.rb +47 -0
- data/lib/killbill_client/models/gen/event_subscription_attributes.rb +3 -3
- data/lib/killbill_client/models/gen/{chargeback_attributes.rb → gateway_notification_attributes.rb} +9 -12
- data/lib/killbill_client/models/gen/{refund_attributes.rb → hosted_payment_page_billing_address_attributes.rb} +10 -14
- data/lib/killbill_client/models/gen/hosted_payment_page_customer_attributes.rb +36 -0
- data/lib/killbill_client/models/gen/hosted_payment_page_fields_attributes.rb +33 -0
- data/lib/killbill_client/models/gen/hosted_payment_page_form_descriptor_attributes.rb +37 -0
- data/lib/killbill_client/models/gen/invoice_attributes.rb +3 -3
- data/lib/killbill_client/models/gen/invoice_email_attributes.rb +3 -3
- data/lib/killbill_client/models/gen/invoice_item_attributes.rb +3 -3
- data/lib/killbill_client/models/gen/invoice_payment_attributes.rb +46 -0
- data/lib/killbill_client/models/gen/invoice_payment_transaction_attributes.rb +49 -0
- data/lib/killbill_client/models/gen/new_event_subscription_attributes.rb +3 -3
- data/lib/killbill_client/models/gen/notification_attributes.rb +3 -3
- data/lib/killbill_client/models/gen/overdue_state_attributes.rb +3 -3
- data/lib/killbill_client/models/gen/payment_attributes.rb +11 -16
- data/lib/killbill_client/models/gen/payment_method_attributes.rb +4 -3
- data/lib/killbill_client/models/gen/payment_method_plugin_detail_attributes.rb +3 -15
- data/lib/killbill_client/models/gen/payment_transaction_attributes.rb +47 -0
- data/lib/killbill_client/models/gen/phase_attributes.rb +3 -3
- data/lib/killbill_client/models/gen/plan_attributes.rb +3 -3
- data/lib/killbill_client/models/gen/plan_detail_attributes.rb +3 -3
- data/lib/killbill_client/models/gen/{payment_method_properties.rb → plugin_property_attributes.rb} +4 -4
- data/lib/killbill_client/models/gen/price_attributes.rb +3 -3
- data/lib/killbill_client/models/gen/product_attributes.rb +3 -3
- data/lib/killbill_client/models/gen/require_gen.rb +12 -6
- data/lib/killbill_client/models/gen/session_attributes.rb +3 -3
- data/lib/killbill_client/models/gen/stack_trace_element_attributes.rb +3 -3
- data/lib/killbill_client/models/gen/subject_attributes.rb +3 -3
- data/lib/killbill_client/models/gen/subscription_attributes.rb +3 -3
- data/lib/killbill_client/models/gen/tag_attributes.rb +3 -3
- data/lib/killbill_client/models/gen/tag_definition_attributes.rb +3 -3
- data/lib/killbill_client/models/gen/tenant_attributes.rb +3 -3
- data/lib/killbill_client/models/gen/tenant_key_attributes.rb +3 -3
- data/lib/killbill_client/models/gen/usage_attributes.rb +3 -3
- data/lib/killbill_client/models/helpers/custom_field_helper.rb +51 -0
- data/lib/killbill_client/models/helpers/tag_helper.rb +112 -0
- data/lib/killbill_client/models/invoice.rb +30 -13
- data/lib/killbill_client/models/invoice_item.rb +37 -5
- data/lib/killbill_client/models/invoice_payment.rb +67 -0
- data/lib/killbill_client/models/models.rb +10 -2
- data/lib/killbill_client/models/payment.rb +5 -32
- data/lib/killbill_client/models/payment_method.rb +5 -6
- data/lib/killbill_client/models/phase.rb +9 -0
- data/lib/killbill_client/models/plan.rb +9 -0
- data/lib/killbill_client/models/plan_detail.rb +9 -0
- data/lib/killbill_client/models/product.rb +9 -0
- data/lib/killbill_client/models/resource.rb +22 -5
- data/lib/killbill_client/models/subscription.rb +28 -30
- data/lib/killbill_client/models/tag.rb +7 -11
- data/lib/killbill_client/models/tag_definition.rb +27 -6
- data/lib/killbill_client/models/transaction.rb +104 -0
- data/lib/killbill_client/version.rb +1 -1
- data/spec/killbill_client/remote/api_spec.rb +1 -1
- data/spec/killbill_client/remote/model_spec.rb +38 -23
- data/spec/killbill_client/resource_spec.rb +18 -0
- data/spec/spec_helper.rb +12 -0
- metadata +36 -19
- data/lib/killbill_client/models/chargeback.rb +0 -36
- data/lib/killbill_client/models/refund.rb +0 -55
@@ -3,9 +3,9 @@
|
|
3
3
|
# Copyright 2010-2013 Ning, Inc. #
|
4
4
|
# Copyright 2014 The Billing Project, LLC #
|
5
5
|
# #
|
6
|
-
#
|
7
|
-
# (the "License"); you may not use this file except in
|
8
|
-
# License. You may obtain a copy of the License at:
|
6
|
+
# The Billing Project licenses this file to you under the Apache License, #
|
7
|
+
# version 2.0 (the "License"); you may not use this file except in #
|
8
|
+
# compliance with the License. You may obtain a copy of the License at: #
|
9
9
|
# #
|
10
10
|
# http://www.apache.org/licenses/LICENSE-2.0 #
|
11
11
|
# #
|
@@ -3,9 +3,9 @@
|
|
3
3
|
# Copyright 2010-2013 Ning, Inc. #
|
4
4
|
# Copyright 2014 The Billing Project, LLC #
|
5
5
|
# #
|
6
|
-
#
|
7
|
-
# (the "License"); you may not use this file except in
|
8
|
-
# License. You may obtain a copy of the License at:
|
6
|
+
# The Billing Project licenses this file to you under the Apache License, #
|
7
|
+
# version 2.0 (the "License"); you may not use this file except in #
|
8
|
+
# compliance with the License. You may obtain a copy of the License at: #
|
9
9
|
# #
|
10
10
|
# http://www.apache.org/licenses/LICENSE-2.0 #
|
11
11
|
# #
|
@@ -0,0 +1,45 @@
|
|
1
|
+
###################################################################################
|
2
|
+
# #
|
3
|
+
# Copyright 2010-2013 Ning, Inc. #
|
4
|
+
# Copyright 2014 The Billing Project, LLC #
|
5
|
+
# #
|
6
|
+
# The Billing Project licenses this file to you under the Apache License, #
|
7
|
+
# version 2.0 (the "License"); you may not use this file except in #
|
8
|
+
# compliance with the License. You may obtain a copy of the License at: #
|
9
|
+
# #
|
10
|
+
# http://www.apache.org/licenses/LICENSE-2.0 #
|
11
|
+
# #
|
12
|
+
# Unless required by applicable law or agreed to in writing, software #
|
13
|
+
# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT #
|
14
|
+
# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the #
|
15
|
+
# License for the specific language governing permissions and limitations #
|
16
|
+
# under the License. #
|
17
|
+
# #
|
18
|
+
###################################################################################
|
19
|
+
|
20
|
+
|
21
|
+
#
|
22
|
+
# DO NOT EDIT!!!
|
23
|
+
# File automatically generated by killbill-java-parser (git@github.com:killbill/killbill-java-parser.git)
|
24
|
+
#
|
25
|
+
|
26
|
+
|
27
|
+
module KillBillClient
|
28
|
+
module Model
|
29
|
+
class DirectPaymentAttributes < Resource
|
30
|
+
attribute :account_id
|
31
|
+
attribute :payment_id
|
32
|
+
attribute :payment_number
|
33
|
+
attribute :payment_external_key
|
34
|
+
attribute :auth_amount
|
35
|
+
attribute :captured_amount
|
36
|
+
attribute :purchased_amount
|
37
|
+
attribute :refunded_amount
|
38
|
+
attribute :credited_amount
|
39
|
+
attribute :currency
|
40
|
+
attribute :payment_method_id
|
41
|
+
attribute :transactions
|
42
|
+
attribute :audit_logs
|
43
|
+
end
|
44
|
+
end
|
45
|
+
end
|
@@ -0,0 +1,47 @@
|
|
1
|
+
###################################################################################
|
2
|
+
# #
|
3
|
+
# Copyright 2010-2013 Ning, Inc. #
|
4
|
+
# Copyright 2014 The Billing Project, LLC #
|
5
|
+
# #
|
6
|
+
# The Billing Project licenses this file to you under the Apache License, #
|
7
|
+
# version 2.0 (the "License"); you may not use this file except in #
|
8
|
+
# compliance with the License. You may obtain a copy of the License at: #
|
9
|
+
# #
|
10
|
+
# http://www.apache.org/licenses/LICENSE-2.0 #
|
11
|
+
# #
|
12
|
+
# Unless required by applicable law or agreed to in writing, software #
|
13
|
+
# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT #
|
14
|
+
# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the #
|
15
|
+
# License for the specific language governing permissions and limitations #
|
16
|
+
# under the License. #
|
17
|
+
# #
|
18
|
+
###################################################################################
|
19
|
+
|
20
|
+
|
21
|
+
#
|
22
|
+
# DO NOT EDIT!!!
|
23
|
+
# File automatically generated by killbill-java-parser (git@github.com:killbill/killbill-java-parser.git)
|
24
|
+
#
|
25
|
+
|
26
|
+
|
27
|
+
module KillBillClient
|
28
|
+
module Model
|
29
|
+
class DirectTransactionAttributes < Resource
|
30
|
+
attribute :transaction_id
|
31
|
+
attribute :transaction_external_key
|
32
|
+
attribute :payment_id
|
33
|
+
attribute :payment_external_key
|
34
|
+
attribute :transaction_type
|
35
|
+
attribute :amount
|
36
|
+
attribute :currency
|
37
|
+
attribute :effective_date
|
38
|
+
attribute :status
|
39
|
+
attribute :gateway_error_code
|
40
|
+
attribute :gateway_error_msg
|
41
|
+
attribute :first_payment_reference_id
|
42
|
+
attribute :second_payment_reference_id
|
43
|
+
attribute :properties
|
44
|
+
attribute :audit_logs
|
45
|
+
end
|
46
|
+
end
|
47
|
+
end
|
@@ -3,9 +3,9 @@
|
|
3
3
|
# Copyright 2010-2013 Ning, Inc. #
|
4
4
|
# Copyright 2014 The Billing Project, LLC #
|
5
5
|
# #
|
6
|
-
#
|
7
|
-
# (the "License"); you may not use this file except in
|
8
|
-
# License. You may obtain a copy of the License at:
|
6
|
+
# The Billing Project licenses this file to you under the Apache License, #
|
7
|
+
# version 2.0 (the "License"); you may not use this file except in #
|
8
|
+
# compliance with the License. You may obtain a copy of the License at: #
|
9
9
|
# #
|
10
10
|
# http://www.apache.org/licenses/LICENSE-2.0 #
|
11
11
|
# #
|
data/lib/killbill_client/models/gen/{chargeback_attributes.rb → gateway_notification_attributes.rb}
RENAMED
@@ -3,9 +3,9 @@
|
|
3
3
|
# Copyright 2010-2013 Ning, Inc. #
|
4
4
|
# Copyright 2014 The Billing Project, LLC #
|
5
5
|
# #
|
6
|
-
#
|
7
|
-
# (the "License"); you may not use this file except in
|
8
|
-
# License. You may obtain a copy of the License at:
|
6
|
+
# The Billing Project licenses this file to you under the Apache License, #
|
7
|
+
# version 2.0 (the "License"); you may not use this file except in #
|
8
|
+
# compliance with the License. You may obtain a copy of the License at: #
|
9
9
|
# #
|
10
10
|
# http://www.apache.org/licenses/LICENSE-2.0 #
|
11
11
|
# #
|
@@ -26,15 +26,12 @@
|
|
26
26
|
|
27
27
|
module KillBillClient
|
28
28
|
module Model
|
29
|
-
class
|
30
|
-
attribute :
|
31
|
-
attribute :
|
32
|
-
attribute :
|
33
|
-
attribute :
|
34
|
-
attribute :
|
35
|
-
attribute :payment_id
|
36
|
-
attribute :currency
|
37
|
-
attribute :audit_logs
|
29
|
+
class GatewayNotificationAttributes < Resource
|
30
|
+
attribute :kb_payment_id
|
31
|
+
attribute :status
|
32
|
+
attribute :entity
|
33
|
+
attribute :headers
|
34
|
+
attribute :properties
|
38
35
|
end
|
39
36
|
end
|
40
37
|
end
|
@@ -3,9 +3,9 @@
|
|
3
3
|
# Copyright 2010-2013 Ning, Inc. #
|
4
4
|
# Copyright 2014 The Billing Project, LLC #
|
5
5
|
# #
|
6
|
-
#
|
7
|
-
# (the "License"); you may not use this file except in
|
8
|
-
# License. You may obtain a copy of the License at:
|
6
|
+
# The Billing Project licenses this file to you under the Apache License, #
|
7
|
+
# version 2.0 (the "License"); you may not use this file except in #
|
8
|
+
# compliance with the License. You may obtain a copy of the License at: #
|
9
9
|
# #
|
10
10
|
# http://www.apache.org/licenses/LICENSE-2.0 #
|
11
11
|
# #
|
@@ -26,17 +26,13 @@
|
|
26
26
|
|
27
27
|
module KillBillClient
|
28
28
|
module Model
|
29
|
-
class
|
30
|
-
attribute :
|
31
|
-
attribute :
|
32
|
-
attribute :
|
33
|
-
attribute :
|
34
|
-
attribute :
|
35
|
-
attribute :
|
36
|
-
attribute :requested_date
|
37
|
-
attribute :effective_date
|
38
|
-
attribute :adjustments
|
39
|
-
attribute :audit_logs
|
29
|
+
class HostedPaymentPageBillingAddressAttributes < Resource
|
30
|
+
attribute :city
|
31
|
+
attribute :address1
|
32
|
+
attribute :address2
|
33
|
+
attribute :state
|
34
|
+
attribute :zip
|
35
|
+
attribute :country
|
40
36
|
end
|
41
37
|
end
|
42
38
|
end
|
@@ -0,0 +1,36 @@
|
|
1
|
+
###################################################################################
|
2
|
+
# #
|
3
|
+
# Copyright 2010-2013 Ning, Inc. #
|
4
|
+
# Copyright 2014 The Billing Project, LLC #
|
5
|
+
# #
|
6
|
+
# The Billing Project licenses this file to you under the Apache License, #
|
7
|
+
# version 2.0 (the "License"); you may not use this file except in #
|
8
|
+
# compliance with the License. You may obtain a copy of the License at: #
|
9
|
+
# #
|
10
|
+
# http://www.apache.org/licenses/LICENSE-2.0 #
|
11
|
+
# #
|
12
|
+
# Unless required by applicable law or agreed to in writing, software #
|
13
|
+
# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT #
|
14
|
+
# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the #
|
15
|
+
# License for the specific language governing permissions and limitations #
|
16
|
+
# under the License. #
|
17
|
+
# #
|
18
|
+
###################################################################################
|
19
|
+
|
20
|
+
|
21
|
+
#
|
22
|
+
# DO NOT EDIT!!!
|
23
|
+
# File automatically generated by killbill-java-parser (git@github.com:killbill/killbill-java-parser.git)
|
24
|
+
#
|
25
|
+
|
26
|
+
|
27
|
+
module KillBillClient
|
28
|
+
module Model
|
29
|
+
class HostedPaymentPageCustomerAttributes < Resource
|
30
|
+
attribute :first_name
|
31
|
+
attribute :last_name
|
32
|
+
attribute :email
|
33
|
+
attribute :phone
|
34
|
+
end
|
35
|
+
end
|
36
|
+
end
|
@@ -0,0 +1,33 @@
|
|
1
|
+
###################################################################################
|
2
|
+
# #
|
3
|
+
# Copyright 2010-2013 Ning, Inc. #
|
4
|
+
# Copyright 2014 The Billing Project, LLC #
|
5
|
+
# #
|
6
|
+
# The Billing Project licenses this file to you under the Apache License, #
|
7
|
+
# version 2.0 (the "License"); you may not use this file except in #
|
8
|
+
# compliance with the License. You may obtain a copy of the License at: #
|
9
|
+
# #
|
10
|
+
# http://www.apache.org/licenses/LICENSE-2.0 #
|
11
|
+
# #
|
12
|
+
# Unless required by applicable law or agreed to in writing, software #
|
13
|
+
# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT #
|
14
|
+
# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the #
|
15
|
+
# License for the specific language governing permissions and limitations #
|
16
|
+
# under the License. #
|
17
|
+
# #
|
18
|
+
###################################################################################
|
19
|
+
|
20
|
+
|
21
|
+
#
|
22
|
+
# DO NOT EDIT!!!
|
23
|
+
# File automatically generated by killbill-java-parser (git@github.com:killbill/killbill-java-parser.git)
|
24
|
+
#
|
25
|
+
|
26
|
+
|
27
|
+
module KillBillClient
|
28
|
+
module Model
|
29
|
+
class HostedPaymentPageFieldsAttributes < Resource
|
30
|
+
attribute :form_fields
|
31
|
+
end
|
32
|
+
end
|
33
|
+
end
|
@@ -0,0 +1,37 @@
|
|
1
|
+
###################################################################################
|
2
|
+
# #
|
3
|
+
# Copyright 2010-2013 Ning, Inc. #
|
4
|
+
# Copyright 2014 The Billing Project, LLC #
|
5
|
+
# #
|
6
|
+
# The Billing Project licenses this file to you under the Apache License, #
|
7
|
+
# version 2.0 (the "License"); you may not use this file except in #
|
8
|
+
# compliance with the License. You may obtain a copy of the License at: #
|
9
|
+
# #
|
10
|
+
# http://www.apache.org/licenses/LICENSE-2.0 #
|
11
|
+
# #
|
12
|
+
# Unless required by applicable law or agreed to in writing, software #
|
13
|
+
# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT #
|
14
|
+
# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the #
|
15
|
+
# License for the specific language governing permissions and limitations #
|
16
|
+
# under the License. #
|
17
|
+
# #
|
18
|
+
###################################################################################
|
19
|
+
|
20
|
+
|
21
|
+
#
|
22
|
+
# DO NOT EDIT!!!
|
23
|
+
# File automatically generated by killbill-java-parser (git@github.com:killbill/killbill-java-parser.git)
|
24
|
+
#
|
25
|
+
|
26
|
+
|
27
|
+
module KillBillClient
|
28
|
+
module Model
|
29
|
+
class HostedPaymentPageFormDescriptorAttributes < Resource
|
30
|
+
attribute :kb_account_id
|
31
|
+
attribute :form_method
|
32
|
+
attribute :form_url
|
33
|
+
attribute :form_fields
|
34
|
+
attribute :properties
|
35
|
+
end
|
36
|
+
end
|
37
|
+
end
|
@@ -3,9 +3,9 @@
|
|
3
3
|
# Copyright 2010-2013 Ning, Inc. #
|
4
4
|
# Copyright 2014 The Billing Project, LLC #
|
5
5
|
# #
|
6
|
-
#
|
7
|
-
# (the "License"); you may not use this file except in
|
8
|
-
# License. You may obtain a copy of the License at:
|
6
|
+
# The Billing Project licenses this file to you under the Apache License, #
|
7
|
+
# version 2.0 (the "License"); you may not use this file except in #
|
8
|
+
# compliance with the License. You may obtain a copy of the License at: #
|
9
9
|
# #
|
10
10
|
# http://www.apache.org/licenses/LICENSE-2.0 #
|
11
11
|
# #
|
@@ -3,9 +3,9 @@
|
|
3
3
|
# Copyright 2010-2013 Ning, Inc. #
|
4
4
|
# Copyright 2014 The Billing Project, LLC #
|
5
5
|
# #
|
6
|
-
#
|
7
|
-
# (the "License"); you may not use this file except in
|
8
|
-
# License. You may obtain a copy of the License at:
|
6
|
+
# The Billing Project licenses this file to you under the Apache License, #
|
7
|
+
# version 2.0 (the "License"); you may not use this file except in #
|
8
|
+
# compliance with the License. You may obtain a copy of the License at: #
|
9
9
|
# #
|
10
10
|
# http://www.apache.org/licenses/LICENSE-2.0 #
|
11
11
|
# #
|
@@ -3,9 +3,9 @@
|
|
3
3
|
# Copyright 2010-2013 Ning, Inc. #
|
4
4
|
# Copyright 2014 The Billing Project, LLC #
|
5
5
|
# #
|
6
|
-
#
|
7
|
-
# (the "License"); you may not use this file except in
|
8
|
-
# License. You may obtain a copy of the License at:
|
6
|
+
# The Billing Project licenses this file to you under the Apache License, #
|
7
|
+
# version 2.0 (the "License"); you may not use this file except in #
|
8
|
+
# compliance with the License. You may obtain a copy of the License at: #
|
9
9
|
# #
|
10
10
|
# http://www.apache.org/licenses/LICENSE-2.0 #
|
11
11
|
# #
|
@@ -0,0 +1,46 @@
|
|
1
|
+
###################################################################################
|
2
|
+
# #
|
3
|
+
# Copyright 2010-2013 Ning, Inc. #
|
4
|
+
# Copyright 2014 The Billing Project, LLC #
|
5
|
+
# #
|
6
|
+
# The Billing Project licenses this file to you under the Apache License, #
|
7
|
+
# version 2.0 (the "License"); you may not use this file except in #
|
8
|
+
# compliance with the License. You may obtain a copy of the License at: #
|
9
|
+
# #
|
10
|
+
# http://www.apache.org/licenses/LICENSE-2.0 #
|
11
|
+
# #
|
12
|
+
# Unless required by applicable law or agreed to in writing, software #
|
13
|
+
# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT #
|
14
|
+
# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the #
|
15
|
+
# License for the specific language governing permissions and limitations #
|
16
|
+
# under the License. #
|
17
|
+
# #
|
18
|
+
###################################################################################
|
19
|
+
|
20
|
+
|
21
|
+
#
|
22
|
+
# DO NOT EDIT!!!
|
23
|
+
# File automatically generated by killbill-java-parser (git@github.com:killbill/killbill-java-parser.git)
|
24
|
+
#
|
25
|
+
|
26
|
+
|
27
|
+
module KillBillClient
|
28
|
+
module Model
|
29
|
+
class InvoicePaymentAttributes < Resource
|
30
|
+
attribute :target_invoice_id
|
31
|
+
attribute :account_id
|
32
|
+
attribute :payment_id
|
33
|
+
attribute :payment_number
|
34
|
+
attribute :payment_external_key
|
35
|
+
attribute :auth_amount
|
36
|
+
attribute :captured_amount
|
37
|
+
attribute :purchased_amount
|
38
|
+
attribute :refunded_amount
|
39
|
+
attribute :credited_amount
|
40
|
+
attribute :currency
|
41
|
+
attribute :payment_method_id
|
42
|
+
attribute :transactions
|
43
|
+
attribute :audit_logs
|
44
|
+
end
|
45
|
+
end
|
46
|
+
end
|
@@ -0,0 +1,49 @@
|
|
1
|
+
###################################################################################
|
2
|
+
# #
|
3
|
+
# Copyright 2010-2013 Ning, Inc. #
|
4
|
+
# Copyright 2014 The Billing Project, LLC #
|
5
|
+
# #
|
6
|
+
# The Billing Project licenses this file to you under the Apache License, #
|
7
|
+
# version 2.0 (the "License"); you may not use this file except in #
|
8
|
+
# compliance with the License. You may obtain a copy of the License at: #
|
9
|
+
# #
|
10
|
+
# http://www.apache.org/licenses/LICENSE-2.0 #
|
11
|
+
# #
|
12
|
+
# Unless required by applicable law or agreed to in writing, software #
|
13
|
+
# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT #
|
14
|
+
# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the #
|
15
|
+
# License for the specific language governing permissions and limitations #
|
16
|
+
# under the License. #
|
17
|
+
# #
|
18
|
+
###################################################################################
|
19
|
+
|
20
|
+
|
21
|
+
#
|
22
|
+
# DO NOT EDIT!!!
|
23
|
+
# File automatically generated by killbill-java-parser (git@github.com:killbill/killbill-java-parser.git)
|
24
|
+
#
|
25
|
+
|
26
|
+
|
27
|
+
module KillBillClient
|
28
|
+
module Model
|
29
|
+
class InvoicePaymentTransactionAttributes < Resource
|
30
|
+
attribute :transaction_id
|
31
|
+
attribute :transaction_external_key
|
32
|
+
attribute :payment_id
|
33
|
+
attribute :payment_external_key
|
34
|
+
attribute :transaction_type
|
35
|
+
attribute :amount
|
36
|
+
attribute :currency
|
37
|
+
attribute :effective_date
|
38
|
+
attribute :status
|
39
|
+
attribute :gateway_error_code
|
40
|
+
attribute :gateway_error_msg
|
41
|
+
attribute :first_payment_reference_id
|
42
|
+
attribute :second_payment_reference_id
|
43
|
+
attribute :properties
|
44
|
+
attribute :is_adjusted
|
45
|
+
attribute :adjustments
|
46
|
+
attribute :audit_logs
|
47
|
+
end
|
48
|
+
end
|
49
|
+
end
|
@@ -3,9 +3,9 @@
|
|
3
3
|
# Copyright 2010-2013 Ning, Inc. #
|
4
4
|
# Copyright 2014 The Billing Project, LLC #
|
5
5
|
# #
|
6
|
-
#
|
7
|
-
# (the "License"); you may not use this file except in
|
8
|
-
# License. You may obtain a copy of the License at:
|
6
|
+
# The Billing Project licenses this file to you under the Apache License, #
|
7
|
+
# version 2.0 (the "License"); you may not use this file except in #
|
8
|
+
# compliance with the License. You may obtain a copy of the License at: #
|
9
9
|
# #
|
10
10
|
# http://www.apache.org/licenses/LICENSE-2.0 #
|
11
11
|
# #
|
@@ -3,9 +3,9 @@
|
|
3
3
|
# Copyright 2010-2013 Ning, Inc. #
|
4
4
|
# Copyright 2014 The Billing Project, LLC #
|
5
5
|
# #
|
6
|
-
#
|
7
|
-
# (the "License"); you may not use this file except in
|
8
|
-
# License. You may obtain a copy of the License at:
|
6
|
+
# The Billing Project licenses this file to you under the Apache License, #
|
7
|
+
# version 2.0 (the "License"); you may not use this file except in #
|
8
|
+
# compliance with the License. You may obtain a copy of the License at: #
|
9
9
|
# #
|
10
10
|
# http://www.apache.org/licenses/LICENSE-2.0 #
|
11
11
|
# #
|
@@ -3,9 +3,9 @@
|
|
3
3
|
# Copyright 2010-2013 Ning, Inc. #
|
4
4
|
# Copyright 2014 The Billing Project, LLC #
|
5
5
|
# #
|
6
|
-
#
|
7
|
-
# (the "License"); you may not use this file except in
|
8
|
-
# License. You may obtain a copy of the License at:
|
6
|
+
# The Billing Project licenses this file to you under the Apache License, #
|
7
|
+
# version 2.0 (the "License"); you may not use this file except in #
|
8
|
+
# compliance with the License. You may obtain a copy of the License at: #
|
9
9
|
# #
|
10
10
|
# http://www.apache.org/licenses/LICENSE-2.0 #
|
11
11
|
# #
|
@@ -3,9 +3,9 @@
|
|
3
3
|
# Copyright 2010-2013 Ning, Inc. #
|
4
4
|
# Copyright 2014 The Billing Project, LLC #
|
5
5
|
# #
|
6
|
-
#
|
7
|
-
# (the "License"); you may not use this file except in
|
8
|
-
# License. You may obtain a copy of the License at:
|
6
|
+
# The Billing Project licenses this file to you under the Apache License, #
|
7
|
+
# version 2.0 (the "License"); you may not use this file except in #
|
8
|
+
# compliance with the License. You may obtain a copy of the License at: #
|
9
9
|
# #
|
10
10
|
# http://www.apache.org/licenses/LICENSE-2.0 #
|
11
11
|
# #
|
@@ -27,23 +27,18 @@
|
|
27
27
|
module KillBillClient
|
28
28
|
module Model
|
29
29
|
class PaymentAttributes < Resource
|
30
|
-
attribute :amount
|
31
|
-
attribute :paid_amount
|
32
30
|
attribute :account_id
|
33
|
-
attribute :invoice_id
|
34
31
|
attribute :payment_id
|
35
32
|
attribute :payment_number
|
36
|
-
attribute :
|
37
|
-
attribute :
|
38
|
-
attribute :
|
39
|
-
attribute :
|
33
|
+
attribute :payment_external_key
|
34
|
+
attribute :auth_amount
|
35
|
+
attribute :captured_amount
|
36
|
+
attribute :purchased_amount
|
37
|
+
attribute :refunded_amount
|
38
|
+
attribute :credited_amount
|
40
39
|
attribute :currency
|
41
|
-
attribute :
|
42
|
-
attribute :
|
43
|
-
attribute :gateway_error_msg
|
44
|
-
attribute :external_bundle_keys
|
45
|
-
attribute :refunds
|
46
|
-
attribute :chargebacks
|
40
|
+
attribute :payment_method_id
|
41
|
+
attribute :transactions
|
47
42
|
attribute :audit_logs
|
48
43
|
end
|
49
44
|
end
|
@@ -3,9 +3,9 @@
|
|
3
3
|
# Copyright 2010-2013 Ning, Inc. #
|
4
4
|
# Copyright 2014 The Billing Project, LLC #
|
5
5
|
# #
|
6
|
-
#
|
7
|
-
# (the "License"); you may not use this file except in
|
8
|
-
# License. You may obtain a copy of the License at:
|
6
|
+
# The Billing Project licenses this file to you under the Apache License, #
|
7
|
+
# version 2.0 (the "License"); you may not use this file except in #
|
8
|
+
# compliance with the License. You may obtain a copy of the License at: #
|
9
9
|
# #
|
10
10
|
# http://www.apache.org/licenses/LICENSE-2.0 #
|
11
11
|
# #
|
@@ -28,6 +28,7 @@ module KillBillClient
|
|
28
28
|
module Model
|
29
29
|
class PaymentMethodAttributes < Resource
|
30
30
|
attribute :payment_method_id
|
31
|
+
attribute :external_key
|
31
32
|
attribute :account_id
|
32
33
|
attribute :is_default
|
33
34
|
attribute :plugin_name
|
@@ -3,9 +3,9 @@
|
|
3
3
|
# Copyright 2010-2013 Ning, Inc. #
|
4
4
|
# Copyright 2014 The Billing Project, LLC #
|
5
5
|
# #
|
6
|
-
#
|
7
|
-
# (the "License"); you may not use this file except in
|
8
|
-
# License. You may obtain a copy of the License at:
|
6
|
+
# The Billing Project licenses this file to you under the Apache License, #
|
7
|
+
# version 2.0 (the "License"); you may not use this file except in #
|
8
|
+
# compliance with the License. You may obtain a copy of the License at: #
|
9
9
|
# #
|
10
10
|
# http://www.apache.org/licenses/LICENSE-2.0 #
|
11
11
|
# #
|
@@ -29,18 +29,6 @@ module KillBillClient
|
|
29
29
|
class PaymentMethodPluginDetailAttributes < Resource
|
30
30
|
attribute :external_payment_id
|
31
31
|
attribute :is_default_payment_method
|
32
|
-
attribute :type
|
33
|
-
attribute :cc_name
|
34
|
-
attribute :cc_type
|
35
|
-
attribute :cc_expiration_month
|
36
|
-
attribute :cc_expiration_year
|
37
|
-
attribute :cc_last4
|
38
|
-
attribute :address1
|
39
|
-
attribute :address2
|
40
|
-
attribute :city
|
41
|
-
attribute :state
|
42
|
-
attribute :zip
|
43
|
-
attribute :country
|
44
32
|
attribute :properties
|
45
33
|
end
|
46
34
|
end
|