killbill-client 1.10.0 → 1.11.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 +14 -0
- data/lib/killbill_client/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: f34cbba28821aa7e8fdee247bd18b91f1934b13b
|
4
|
+
data.tar.gz: 09ef75444ac99a4bcecdc75bdad1a763ded0e27a
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: a963240b1466170b108ba01fc8503c03b35b8c564bac405e35b329ea1a37d8803a3a0a72ddfeb0c25bc94de04438369bcca6dd4379cdfe51dd37e9aa4d236853
|
7
|
+
data.tar.gz: 3b07fb964a98abf2bf20c22320567fd9cc426042db68adb2c69cf4162d53dfd313670a7b6d81fc8acddb58f8584084645100b63b18e2ddde9dfa95d4b82c5098
|
@@ -53,6 +53,16 @@ module KillBillClient
|
|
53
53
|
},
|
54
54
|
options
|
55
55
|
end
|
56
|
+
|
57
|
+
def find_children(account_id, with_balance = false, with_balance_and_cba = false, audit='NONE', options = {})
|
58
|
+
get "#{KILLBILL_API_ACCOUNTS_PREFIX}/#{account_id}/children",
|
59
|
+
{
|
60
|
+
:audit => audit,
|
61
|
+
:accountWithBalance => with_balance,
|
62
|
+
:accountWithBalanceAndCBA => with_balance_and_cba
|
63
|
+
},
|
64
|
+
options
|
65
|
+
end
|
56
66
|
end
|
57
67
|
|
58
68
|
def create(user = nil, reason = nil, comment = nil, options = {})
|
@@ -144,6 +154,10 @@ module KillBillClient
|
|
144
154
|
OverdueStateAttributes
|
145
155
|
end
|
146
156
|
|
157
|
+
def children(with_balance = false, with_balance_and_cba = false, audit='NONE', options = {})
|
158
|
+
Account::find_children(self.account_id, with_balance, with_balance_and_cba, audit, options)
|
159
|
+
end
|
160
|
+
|
147
161
|
def auto_pay_off?(options = {})
|
148
162
|
control_tag?(AUTO_PAY_OFF_ID, options)
|
149
163
|
end
|
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: 1.
|
4
|
+
version: 1.11.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: 2017-10-
|
11
|
+
date: 2017-10-24 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
requirement: !ruby/object:Gem::Requirement
|