gotransverse-tract-api 0.7.5 → 0.8.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/gotransverse-tract-api/api_data.rb +21 -2
- data/lib/gotransverse-tract-api/billing_account/adjustment.rb +6 -6
- data/lib/gotransverse-tract-api/billing_account/adjustment_application.rb +2 -2
- data/lib/gotransverse-tract-api/billing_account/adjustment_reason.rb +5 -5
- data/lib/gotransverse-tract-api/billing_account/billing_account.rb +17 -17
- data/lib/gotransverse-tract-api/billing_account/counter.rb +8 -8
- data/lib/gotransverse-tract-api/billing_account/custom_field.rb +6 -6
- data/lib/gotransverse-tract-api/billing_account/custom_field_value.rb +12 -12
- data/lib/gotransverse-tract-api/billing_account/invoice.rb +9 -9
- data/lib/gotransverse-tract-api/billing_account/invoice_item.rb +3 -3
- data/lib/gotransverse-tract-api/billing_account/invoice_item_charge.rb +1 -1
- data/lib/gotransverse-tract-api/billing_account/payment.rb +7 -7
- data/lib/gotransverse-tract-api/billing_account/reason.rb +4 -4
- data/lib/gotransverse-tract-api/billing_account/recurring_payment.rb +4 -4
- data/lib/gotransverse-tract-api/billing_account/refund.rb +5 -5
- data/lib/gotransverse-tract-api/billing_account/scheduled_charge.rb +5 -5
- data/lib/gotransverse-tract-api/billing_account/standard_invoice_adjustment_application.rb +2 -2
- data/lib/gotransverse-tract-api/general_ledger/general_ledger.rb +4 -4
- data/lib/gotransverse-tract-api/general_ledger/gl_account.rb +4 -4
- data/lib/gotransverse-tract-api/general_ledger/gl_account_category.rb +3 -3
- data/lib/gotransverse-tract-api/general_ledger/gl_accounting_entry.rb +6 -6
- data/lib/gotransverse-tract-api/general_ledger/gl_accounting_transaction.rb +7 -7
- data/lib/gotransverse-tract-api/general_ledger/gl_aggregate_batch.rb +6 -6
- data/lib/gotransverse-tract-api/general_ledger/gl_aggregate_entry.rb +5 -5
- data/lib/gotransverse-tract-api/general_ledger/gl_transaction_batch.rb +5 -5
- data/lib/gotransverse-tract-api/order/adjustment_category.rb +4 -4
- data/lib/gotransverse-tract-api/order/agreement.rb +9 -9
- data/lib/gotransverse-tract-api/order/bill_cycle.rb +6 -6
- data/lib/gotransverse-tract-api/order/billing_account_category.rb +4 -4
- data/lib/gotransverse-tract-api/order/order_item.rb +8 -8
- data/lib/gotransverse-tract-api/order/order_item_charge.rb +7 -7
- data/lib/gotransverse-tract-api/order/organization.rb +4 -4
- data/lib/gotransverse-tract-api/order/party_category.rb +5 -5
- data/lib/gotransverse-tract-api/order/payment_term.rb +5 -5
- data/lib/gotransverse-tract-api/order/people.rb +5 -5
- data/lib/gotransverse-tract-api/order/product_relation.rb +3 -3
- data/lib/gotransverse-tract-api/order/renewal_order.rb +10 -10
- data/lib/gotransverse-tract-api/order/sales_order.rb +11 -11
- data/lib/gotransverse-tract-api/product/action.rb +2 -2
- data/lib/gotransverse-tract-api/product/billing_account_segment_field.rb +5 -5
- data/lib/gotransverse-tract-api/product/discount.rb +5 -5
- data/lib/gotransverse-tract-api/product/discount_category.rb +4 -4
- data/lib/gotransverse-tract-api/product/discount_code.rb +10 -10
- data/lib/gotransverse-tract-api/product/discount_identifier.rb +4 -4
- data/lib/gotransverse-tract-api/product/one_time_product_price.rb +1 -1
- data/lib/gotransverse-tract-api/product/operation.rb +2 -2
- data/lib/gotransverse-tract-api/product/operation_attribute.rb +2 -2
- data/lib/gotransverse-tract-api/product/price_list.rb +3 -3
- data/lib/gotransverse-tract-api/product/product.rb +16 -16
- data/lib/gotransverse-tract-api/product/product_price.rb +7 -7
- data/lib/gotransverse-tract-api/product/product_price_range.rb +6 -6
- data/lib/gotransverse-tract-api/product/product_tag.rb +4 -4
- data/lib/gotransverse-tract-api/product/recurring_product_price.rb +7 -7
- data/lib/gotransverse-tract-api/service/service.rb +10 -10
- data/lib/gotransverse-tract-api/service/service_device_inventory_item.rb +4 -4
- data/lib/gotransverse-tract-api/service/service_period.rb +5 -5
- data/lib/gotransverse-tract-api/service/service_price.rb +5 -5
- data/lib/gotransverse-tract-api/service/service_price_range.rb +2 -2
- data/lib/gotransverse-tract-api/service/service_resource.rb +7 -7
- data/lib/gotransverse-tract-api/service/service_resource_category.rb +4 -4
- data/lib/gotransverse-tract-api/usage/global_usage_rule.rb +4 -4
- data/lib/gotransverse-tract-api/usage/order_item_usage_rule.rb +3 -3
- data/lib/gotransverse-tract-api/usage/product_usage_rule.rb +4 -4
- data/lib/gotransverse-tract-api/usage/rate_table.rb +2 -2
- data/lib/gotransverse-tract-api/usage/service_usage_rule.rb +3 -3
- data/lib/gotransverse-tract-api/usage/usage_event.rb +8 -8
- data/lib/gotransverse-tract-api/usage/usage_lookup_table.rb +3 -3
- data/lib/gotransverse-tract-api/usage/usage_lookup_table_entry.rb +4 -4
- data/lib/gotransverse-tract-api/usage/usage_price_category.rb +3 -3
- data/lib/gotransverse-tract-api/usage/usage_rule.rb +2 -2
- data/lib/gotransverse-tract-api/version.rb +1 -1
- data/spec/gotransverse-tract-api/billing_account/billing_account_spec.rb +51 -5
- data/spec/gotransverse-tract-api/billing_account/invoice_spec.rb +27 -1
- metadata +2 -2
@@ -10,7 +10,7 @@ module GoTransverseTractApi
|
|
10
10
|
# @param {Long} eid
|
11
11
|
# @param {Hash} options
|
12
12
|
#
|
13
|
-
def find_by_eid eid, options=
|
13
|
+
def find_by_eid eid, options={}
|
14
14
|
return nil unless eid.present?
|
15
15
|
|
16
16
|
params ||= GoTransverseTractApi::ApiData.new.get_query_params({eid: eid}, options)
|
@@ -21,7 +21,7 @@ module GoTransverseTractApi
|
|
21
21
|
# @param {Long} account_num
|
22
22
|
# @param {Hash} options
|
23
23
|
#
|
24
|
-
def find_by_account_num account_num, options=
|
24
|
+
def find_by_account_num account_num, options={}
|
25
25
|
return nil unless account_num.present?
|
26
26
|
|
27
27
|
params ||= GoTransverseTractApi::ApiData.new.get_query_params({account_num: account_num}, options)
|
@@ -32,7 +32,7 @@ module GoTransverseTractApi
|
|
32
32
|
# @param {Long} billing_account_eid
|
33
33
|
# @param {Hash} options
|
34
34
|
#
|
35
|
-
def find_by_billing_account_eid billing_account_eid, options=
|
35
|
+
def find_by_billing_account_eid billing_account_eid, options={}
|
36
36
|
return nil unless billing_account_eid.present?
|
37
37
|
|
38
38
|
params ||= GoTransverseTractApi::ApiData.new.get_query_params({billing_account_eid: billing_account_eid}, options)
|
@@ -43,7 +43,7 @@ module GoTransverseTractApi
|
|
43
43
|
# @param {Long} invoice_num
|
44
44
|
# @param {Hash} options
|
45
45
|
#
|
46
|
-
def find_by_invoice_num invoice_num, options=
|
46
|
+
def find_by_invoice_num invoice_num, options={}
|
47
47
|
return nil unless invoice_num.present?
|
48
48
|
|
49
49
|
params ||= GoTransverseTractApi::ApiData.new.get_query_params({invoice_num: invoice_num}, options)
|
@@ -54,7 +54,7 @@ module GoTransverseTractApi
|
|
54
54
|
# @param {Long} event_eid
|
55
55
|
# @param {Hash} options
|
56
56
|
#
|
57
|
-
def find_by_event_eid event_eid, options=
|
57
|
+
def find_by_event_eid event_eid, options={}
|
58
58
|
return nil unless event_eid.present?
|
59
59
|
|
60
60
|
params ||= GoTransverseTractApi::ApiData.new.get_query_params({event_eid: event_eid}, options)
|
@@ -65,7 +65,7 @@ module GoTransverseTractApi
|
|
65
65
|
# @param {String} status
|
66
66
|
# @param {Hash} options
|
67
67
|
#
|
68
|
-
def find_by_status status, options=
|
68
|
+
def find_by_status status, options={}
|
69
69
|
return nil unless status.present?
|
70
70
|
|
71
71
|
params ||= GoTransverseTractApi::ApiData.new.get_query_params({status: status}, options)
|
@@ -76,7 +76,7 @@ module GoTransverseTractApi
|
|
76
76
|
# @param {DateTime} occurred_on
|
77
77
|
# @param {Hash} options
|
78
78
|
#
|
79
|
-
def find_by_occurred_on occurred_on, options=
|
79
|
+
def find_by_occurred_on occurred_on, options={}
|
80
80
|
return nil unless occurred_on.present?
|
81
81
|
|
82
82
|
params ||= GoTransverseTractApi::ApiData.new.get_query_params({occurred_on: occurred_on}, options)
|
@@ -87,7 +87,7 @@ module GoTransverseTractApi
|
|
87
87
|
# @param {Long} adjustment_eid
|
88
88
|
# @param {Hash} options
|
89
89
|
#
|
90
|
-
def find_by_adjustment_eid adjustment_eid, options=
|
90
|
+
def find_by_adjustment_eid adjustment_eid, options={}
|
91
91
|
return nil unless adjustment_eid.present?
|
92
92
|
|
93
93
|
params ||= GoTransverseTractApi::ApiData.new.get_query_params({adjustment_eid: adjustment_eid}, options)
|
@@ -100,7 +100,7 @@ module GoTransverseTractApi
|
|
100
100
|
#
|
101
101
|
# Example
|
102
102
|
# whereInvoice=(occurredOn gte '2011-06-15' and occurredOn lte '2011-07-13')
|
103
|
-
def find_by_where_invoice where_invoice, options=
|
103
|
+
def find_by_where_invoice where_invoice, options={}
|
104
104
|
return nil unless where_invoice.present?
|
105
105
|
|
106
106
|
params ||= GoTransverseTractApi::ApiData.new.get_query_params({where_invoice: where_invoice}, options)
|
@@ -10,7 +10,7 @@ module GoTransverseTractApi
|
|
10
10
|
# @param {Long} eid
|
11
11
|
# @param {Hash} options
|
12
12
|
#
|
13
|
-
def find_by_eid eid, options=
|
13
|
+
def find_by_eid eid, options={}
|
14
14
|
return nil unless eid.present?
|
15
15
|
|
16
16
|
params ||= GoTransverseTractApi::ApiData.new.get_query_params({eid: eid}, options)
|
@@ -21,7 +21,7 @@ module GoTransverseTractApi
|
|
21
21
|
# @param {Long} invoice_num
|
22
22
|
# @param {Hash} options
|
23
23
|
#
|
24
|
-
def find_by_invoice_num invoice_num, options=
|
24
|
+
def find_by_invoice_num invoice_num, options={}
|
25
25
|
return nil unless invoice_num.present?
|
26
26
|
|
27
27
|
params ||= GoTransverseTractApi::ApiData.new.get_query_params({invoice_num: invoice_num}, options)
|
@@ -32,7 +32,7 @@ module GoTransverseTractApi
|
|
32
32
|
# @param {Long} invoice_eid
|
33
33
|
# @param {Hash} options
|
34
34
|
#
|
35
|
-
def find_by_invoice_eid invoice_eid, options=
|
35
|
+
def find_by_invoice_eid invoice_eid, options={}
|
36
36
|
return nil unless invoice_eid.present?
|
37
37
|
|
38
38
|
params ||= GoTransverseTractApi::ApiData.new.get_query_params({invoice_eid: invoice_eid}, options)
|
@@ -10,7 +10,7 @@ module GoTransverseTractApi
|
|
10
10
|
# @param {Long} invoice_item_eid
|
11
11
|
# @param {Hash} options
|
12
12
|
#
|
13
|
-
def find_by_invoice_item_eid invoice_item_eid, options=
|
13
|
+
def find_by_invoice_item_eid invoice_item_eid, options={}
|
14
14
|
return nil unless invoice_item_eid.present?
|
15
15
|
|
16
16
|
params ||= GoTransverseTractApi::ApiData.new.get_query_params({invoice_item_eid: invoice_item_eid}, options)
|
@@ -8,7 +8,7 @@ module GoTransverseTractApi
|
|
8
8
|
# @param {Long} eid
|
9
9
|
# @param {Hash} options
|
10
10
|
#
|
11
|
-
def self.find_by_eid eid, options=
|
11
|
+
def self.find_by_eid eid, options={}
|
12
12
|
return nil unless eid.present?
|
13
13
|
|
14
14
|
params ||= GoTransverseTractApi::ApiData.new.get_query_params({eid: eid}, options)
|
@@ -19,7 +19,7 @@ module GoTransverseTractApi
|
|
19
19
|
# @param {Long} account_num
|
20
20
|
# @param {Hash} options
|
21
21
|
#
|
22
|
-
def self.find_by_account_num account_num, options=
|
22
|
+
def self.find_by_account_num account_num, options={}
|
23
23
|
return nil unless account_num.present?
|
24
24
|
|
25
25
|
params ||= GoTransverseTractApi::ApiData.new.get_query_params({account_num: account_num}, options)
|
@@ -30,7 +30,7 @@ module GoTransverseTractApi
|
|
30
30
|
# @param {Long} billing_account_eid
|
31
31
|
# @param {Hash} options
|
32
32
|
#
|
33
|
-
def self.find_by_billing_account_eid billing_account_eid, options=
|
33
|
+
def self.find_by_billing_account_eid billing_account_eid, options={}
|
34
34
|
return nil unless billing_account_eid.present?
|
35
35
|
|
36
36
|
params ||= GoTransverseTractApi::ApiData.new.get_query_params({billing_account_eid: billing_account_eid}, options)
|
@@ -41,7 +41,7 @@ module GoTransverseTractApi
|
|
41
41
|
# @param {DateTime} occurred_on
|
42
42
|
# @param {Hash} options
|
43
43
|
#
|
44
|
-
def self.find_by_occurred_on occurred_on, options=
|
44
|
+
def self.find_by_occurred_on occurred_on, options={}
|
45
45
|
return nil unless occurred_on.present?
|
46
46
|
|
47
47
|
params ||= GoTransverseTractApi::ApiData.new.get_query_params({occurred_on: occurred_on}, options)
|
@@ -52,7 +52,7 @@ module GoTransverseTractApi
|
|
52
52
|
# @param {String} reference
|
53
53
|
# @param {Hash} options
|
54
54
|
#
|
55
|
-
def self.find_by_reference reference, options=
|
55
|
+
def self.find_by_reference reference, options={}
|
56
56
|
return nil unless reference.present?
|
57
57
|
|
58
58
|
params ||= GoTransverseTractApi::ApiData.new.get_query_params({reference: reference}, options)
|
@@ -63,7 +63,7 @@ module GoTransverseTractApi
|
|
63
63
|
# @param {String} status
|
64
64
|
# @param {Hash} options
|
65
65
|
#
|
66
|
-
def self.find_by_status status, options=
|
66
|
+
def self.find_by_status status, options={}
|
67
67
|
return nil unless status.present?
|
68
68
|
|
69
69
|
params ||= GoTransverseTractApi::ApiData.new.get_query_params({status: status}, options)
|
@@ -74,7 +74,7 @@ module GoTransverseTractApi
|
|
74
74
|
# @param {String} authorization
|
75
75
|
# @param {Hash} options
|
76
76
|
#
|
77
|
-
def self.find_by_authorization authorization, options=
|
77
|
+
def self.find_by_authorization authorization, options={}
|
78
78
|
return nil unless authorization.present?
|
79
79
|
|
80
80
|
params ||= GoTransverseTractApi::ApiData.new.get_query_params({authorization: authorization}, options)
|
@@ -9,7 +9,7 @@ module GoTransverseTractApi
|
|
9
9
|
#
|
10
10
|
# @param {Hash} options
|
11
11
|
#
|
12
|
-
def find_all options=
|
12
|
+
def find_all options={}
|
13
13
|
params ||= GoTransverseTractApi::ApiData.new.get_query_params({}, options)
|
14
14
|
GoTransverseTractApi.get_response_for(self, params)
|
15
15
|
end
|
@@ -18,7 +18,7 @@ module GoTransverseTractApi
|
|
18
18
|
# @param {Long} eid
|
19
19
|
# @param {Hash} options
|
20
20
|
#
|
21
|
-
def find_by_eid eid, options=
|
21
|
+
def find_by_eid eid, options={}
|
22
22
|
return nil unless eid.present?
|
23
23
|
|
24
24
|
params ||= GoTransverseTractApi::ApiData.new.get_query_params({eid: eid}, options)
|
@@ -29,7 +29,7 @@ module GoTransverseTractApi
|
|
29
29
|
# @param {String} name
|
30
30
|
# @param {Hash} options
|
31
31
|
#
|
32
|
-
def find_by_name name, options=
|
32
|
+
def find_by_name name, options={}
|
33
33
|
return nil unless name.present?
|
34
34
|
|
35
35
|
params ||= GoTransverseTractApi::ApiData.new.get_query_params({name: name}, options)
|
@@ -40,7 +40,7 @@ module GoTransverseTractApi
|
|
40
40
|
# @param {String} type
|
41
41
|
# @param {Hash} options
|
42
42
|
#
|
43
|
-
def find_by_type type, options=
|
43
|
+
def find_by_type type, options={}
|
44
44
|
return nil unless type.present?
|
45
45
|
|
46
46
|
params ||= GoTransverseTractApi::ApiData.new.get_query_params({type: type}, options)
|
@@ -9,7 +9,7 @@ module GoTransverseTractApi
|
|
9
9
|
#
|
10
10
|
# @param {Hash} options
|
11
11
|
#
|
12
|
-
def find_all options=
|
12
|
+
def find_all options={}
|
13
13
|
params ||= GoTransverseTractApi::ApiData.new.get_query_params({}, options)
|
14
14
|
GoTransverseTractApi.get_response_for(self, params)
|
15
15
|
end
|
@@ -18,7 +18,7 @@ module GoTransverseTractApi
|
|
18
18
|
# @param {Long} eid
|
19
19
|
# @param {Hash} options
|
20
20
|
#
|
21
|
-
def find_by_eid eid, options=
|
21
|
+
def find_by_eid eid, options={}
|
22
22
|
return nil unless eid.present?
|
23
23
|
|
24
24
|
params ||= GoTransverseTractApi::ApiData.new.get_query_params({eid: eid}, options)
|
@@ -29,7 +29,7 @@ module GoTransverseTractApi
|
|
29
29
|
# @param {Long} account_num
|
30
30
|
# @param {Hash} options
|
31
31
|
#
|
32
|
-
def find_by_account_num account_num, options=
|
32
|
+
def find_by_account_num account_num, options={}
|
33
33
|
return nil unless account_num.present?
|
34
34
|
|
35
35
|
params ||= GoTransverseTractApi::ApiData.new.get_query_params({account_num: account_num}, options)
|
@@ -40,7 +40,7 @@ module GoTransverseTractApi
|
|
40
40
|
# @param {Long} billing_account_eid
|
41
41
|
# @param {Hash} options
|
42
42
|
#
|
43
|
-
def find_by_billing_account_eid billing_account_eid, options=
|
43
|
+
def find_by_billing_account_eid billing_account_eid, options={}
|
44
44
|
return nil unless billing_account_eid.present?
|
45
45
|
|
46
46
|
params ||= GoTransverseTractApi::ApiData.new.get_query_params({billing_account_eid: billing_account_eid}, options)
|
@@ -8,7 +8,7 @@ module GoTransverseTractApi
|
|
8
8
|
# @param {Long} payment_eid
|
9
9
|
# @param {Hash} options
|
10
10
|
#
|
11
|
-
def self.find_by_payment_eid payment_eid, options=
|
11
|
+
def self.find_by_payment_eid payment_eid, options={}
|
12
12
|
return nil unless payment_eid.present?
|
13
13
|
|
14
14
|
params ||= GoTransverseTractApi::ApiData.new.get_query_params({payment_eid: payment_eid}, options)
|
@@ -19,7 +19,7 @@ module GoTransverseTractApi
|
|
19
19
|
# @param {DateTime} occurred_on
|
20
20
|
# @param {Hash} options
|
21
21
|
#
|
22
|
-
def self.find_by_occurred_on occurred_on, options=
|
22
|
+
def self.find_by_occurred_on occurred_on, options={}
|
23
23
|
return nil unless occurred_on.present?
|
24
24
|
|
25
25
|
params ||= GoTransverseTractApi::ApiData.new.get_query_params({occurred_on: occurred_on}, options)
|
@@ -30,7 +30,7 @@ module GoTransverseTractApi
|
|
30
30
|
# @param {String} reference
|
31
31
|
# @param {Hash} options
|
32
32
|
#
|
33
|
-
def self.find_by_reference reference, options=
|
33
|
+
def self.find_by_reference reference, options={}
|
34
34
|
return nil unless reference.present?
|
35
35
|
|
36
36
|
params ||= GoTransverseTractApi::ApiData.new.get_query_params({reference: reference}, options)
|
@@ -41,7 +41,7 @@ module GoTransverseTractApi
|
|
41
41
|
# @param {String} status
|
42
42
|
# @param {Hash} options
|
43
43
|
#
|
44
|
-
def self.find_by_status status, options=
|
44
|
+
def self.find_by_status status, options={}
|
45
45
|
return nil unless status.present?
|
46
46
|
|
47
47
|
params ||= GoTransverseTractApi::ApiData.new.get_query_params({status: status}, options)
|
@@ -52,7 +52,7 @@ module GoTransverseTractApi
|
|
52
52
|
# @param {String} authorization
|
53
53
|
# @param {Hash} options
|
54
54
|
#
|
55
|
-
def self.find_by_authorization authorization, options=
|
55
|
+
def self.find_by_authorization authorization, options={}
|
56
56
|
return nil unless authorization.present?
|
57
57
|
|
58
58
|
params ||= GoTransverseTractApi::ApiData.new.get_query_params({authorization: authorization}, options)
|
@@ -9,7 +9,7 @@ module GoTransverseTractApi
|
|
9
9
|
#
|
10
10
|
# @param {Hash} options
|
11
11
|
#
|
12
|
-
def find_all options=
|
12
|
+
def find_all options={}
|
13
13
|
params ||= GoTransverseTractApi::ApiData.new.get_query_params({}, options)
|
14
14
|
GoTransverseTractApi.get_response_for(self, params)
|
15
15
|
end
|
@@ -18,7 +18,7 @@ module GoTransverseTractApi
|
|
18
18
|
# @param {Long} eid
|
19
19
|
# @param {Hash} options
|
20
20
|
#
|
21
|
-
def find_by_eid eid, options=
|
21
|
+
def find_by_eid eid, options={}
|
22
22
|
return nil unless eid.present?
|
23
23
|
|
24
24
|
params ||= GoTransverseTractApi::ApiData.new.get_query_params({eid: eid}, options)
|
@@ -29,7 +29,7 @@ module GoTransverseTractApi
|
|
29
29
|
# @param {Long} service_price_eid
|
30
30
|
# @param {Hash} options
|
31
31
|
#
|
32
|
-
def find_by_service_price_eid service_price_eid, options=
|
32
|
+
def find_by_service_price_eid service_price_eid, options={}
|
33
33
|
return nil unless service_price_eid.present?
|
34
34
|
|
35
35
|
params ||= GoTransverseTractApi::ApiData.new.get_query_params({service_price_eid: service_price_eid}, options)
|
@@ -40,7 +40,7 @@ module GoTransverseTractApi
|
|
40
40
|
# @param {Boolean} invoiced
|
41
41
|
# @param {Hash} options
|
42
42
|
#
|
43
|
-
def find_by_invoiced invoiced, options=
|
43
|
+
def find_by_invoiced invoiced, options={}
|
44
44
|
return nil unless invoiced.present?
|
45
45
|
|
46
46
|
params ||= GoTransverseTractApi::ApiData.new.get_query_params({invoiced: invoiced}, options)
|
@@ -51,7 +51,7 @@ module GoTransverseTractApi
|
|
51
51
|
# @param {Long} order_item_eid
|
52
52
|
# @param {Hash} options
|
53
53
|
#
|
54
|
-
def find_by_order_item_eid order_item_eid, options=
|
54
|
+
def find_by_order_item_eid order_item_eid, options={}
|
55
55
|
return nil unless order_item_eid.present?
|
56
56
|
|
57
57
|
params ||= GoTransverseTractApi::ApiData.new.get_query_params({order_item_eid: order_item_eid}, options)
|
@@ -10,7 +10,7 @@ module GoTransverseTractApi
|
|
10
10
|
# @param {Long} invoice_eid
|
11
11
|
# @param {Hash} options
|
12
12
|
#
|
13
|
-
def find_by_invoice_eid invoice_eid, options=
|
13
|
+
def find_by_invoice_eid invoice_eid, options={}
|
14
14
|
return nil unless invoice_eid.present?
|
15
15
|
|
16
16
|
params ||= GoTransverseTractApi::ApiData.new.get_query_params({invoice_eid: invoice_eid}, options)
|
@@ -21,7 +21,7 @@ module GoTransverseTractApi
|
|
21
21
|
# @param {Long} invoice_num
|
22
22
|
# @param {Hash} options
|
23
23
|
#
|
24
|
-
def find_by_invoice_num invoice_num, options=
|
24
|
+
def find_by_invoice_num invoice_num, options={}
|
25
25
|
return nil unless invoice_num.present?
|
26
26
|
|
27
27
|
params ||= GoTransverseTractApi::ApiData.new.get_query_params({invoice_num: invoice_num}, options)
|
@@ -9,7 +9,7 @@ module GoTransverseTractApi
|
|
9
9
|
#
|
10
10
|
# @param {Hash} options
|
11
11
|
#
|
12
|
-
def find_all options=
|
12
|
+
def find_all options={}
|
13
13
|
params ||= GoTransverseTractApi::ApiData.new.get_query_params({}, options)
|
14
14
|
GoTransverseTractApi.get_response_for(self, params)
|
15
15
|
end
|
@@ -18,7 +18,7 @@ module GoTransverseTractApi
|
|
18
18
|
# @param {Long} eid
|
19
19
|
# @param {Hash} options
|
20
20
|
#
|
21
|
-
def find_by_eid eid, options=
|
21
|
+
def find_by_eid eid, options={}
|
22
22
|
return nil unless eid.present?
|
23
23
|
|
24
24
|
params ||= GoTransverseTractApi::ApiData.new.get_query_params({eid: eid}, options)
|
@@ -29,7 +29,7 @@ module GoTransverseTractApi
|
|
29
29
|
# @param {Boolean} name
|
30
30
|
# @param {Hash} options
|
31
31
|
#
|
32
|
-
def find_by_name name, options=
|
32
|
+
def find_by_name name, options={}
|
33
33
|
return nil unless name.present?
|
34
34
|
|
35
35
|
params ||= GoTransverseTractApi::ApiData.new.get_query_params({name: name}, options)
|
@@ -40,7 +40,7 @@ module GoTransverseTractApi
|
|
40
40
|
# @param {String} status
|
41
41
|
# @param {Hash} options
|
42
42
|
#
|
43
|
-
def find_by_status status, options=
|
43
|
+
def find_by_status status, options={}
|
44
44
|
return nil unless status.present?
|
45
45
|
|
46
46
|
params ||= GoTransverseTractApi::ApiData.new.get_query_params({status: status}, options)
|
@@ -8,7 +8,7 @@ module GoTransverseTractApi
|
|
8
8
|
# @param {Long} eid
|
9
9
|
# @param {Hash} options
|
10
10
|
#
|
11
|
-
def self.find_by_eid eid, options=
|
11
|
+
def self.find_by_eid eid, options={}
|
12
12
|
return nil unless eid.present?
|
13
13
|
|
14
14
|
params ||= GoTransverseTractApi::ApiData.new.get_query_params({eid: eid}, options)
|
@@ -19,7 +19,7 @@ module GoTransverseTractApi
|
|
19
19
|
# @param {Long} general_ledger_eid
|
20
20
|
# @param {Hash} options
|
21
21
|
#
|
22
|
-
def self.find_by_general_ledger_eid general_ledger_eid, options=
|
22
|
+
def self.find_by_general_ledger_eid general_ledger_eid, options={}
|
23
23
|
return nil unless general_ledger_general_ledger_eid.present?
|
24
24
|
|
25
25
|
params ||= GoTransverseTractApi::ApiData.new.get_query_params({general_ledger_eid: general_ledger_eid}, options)
|
@@ -30,7 +30,7 @@ module GoTransverseTractApi
|
|
30
30
|
# @param {String} name
|
31
31
|
# @param {Hash} options
|
32
32
|
#
|
33
|
-
def self.find_by_name name, options=
|
33
|
+
def self.find_by_name name, options={}
|
34
34
|
return nil unless name.present?
|
35
35
|
|
36
36
|
params ||= GoTransverseTractApi::ApiData.new.get_query_params({name: name}, options)
|
@@ -41,7 +41,7 @@ module GoTransverseTractApi
|
|
41
41
|
# @param {String} account_num
|
42
42
|
# @param {Hash} options
|
43
43
|
#
|
44
|
-
def self.find_by_account_num account_num, options=
|
44
|
+
def self.find_by_account_num account_num, options={}
|
45
45
|
return nil unless account_num.present?
|
46
46
|
|
47
47
|
params ||= GoTransverseTractApi::ApiData.new.get_query_params({account_num: account_num}, options)
|
@@ -8,7 +8,7 @@ module GoTransverseTractApi
|
|
8
8
|
# @param {Long} eid
|
9
9
|
# @param {Hash} options
|
10
10
|
#
|
11
|
-
def self.find_by_eid eid, options=
|
11
|
+
def self.find_by_eid eid, options={}
|
12
12
|
return nil unless eid.present?
|
13
13
|
|
14
14
|
params ||= GoTransverseTractApi::ApiData.new.get_query_params({eid: eid}, options)
|
@@ -19,7 +19,7 @@ module GoTransverseTractApi
|
|
19
19
|
# @param {String} name
|
20
20
|
# @param {Hash} options
|
21
21
|
#
|
22
|
-
def self.find_by_name name, options=
|
22
|
+
def self.find_by_name name, options={}
|
23
23
|
return nil unless name.present?
|
24
24
|
|
25
25
|
params ||= GoTransverseTractApi::ApiData.new.get_query_params({name: name}, options)
|
@@ -30,7 +30,7 @@ module GoTransverseTractApi
|
|
30
30
|
# @param {String} status
|
31
31
|
# @param {Hash} options
|
32
32
|
#
|
33
|
-
def self.find_by_status status, options=
|
33
|
+
def self.find_by_status status, options={}
|
34
34
|
return nil unless status.present?
|
35
35
|
|
36
36
|
params ||= GoTransverseTractApi::ApiData.new.get_query_params({status: status}, options)
|
@@ -10,7 +10,7 @@ module GoTransverseTractApi
|
|
10
10
|
# @param {Long} eid
|
11
11
|
# @param {Hash} options
|
12
12
|
#
|
13
|
-
def find_by_eid eid, options=
|
13
|
+
def find_by_eid eid, options={}
|
14
14
|
return nil unless eid.present?
|
15
15
|
|
16
16
|
params ||= GoTransverseTractApi::ApiData.new.get_query_params({eid: eid}, options)
|
@@ -21,7 +21,7 @@ module GoTransverseTractApi
|
|
21
21
|
# @param {Long} gl_account_eid
|
22
22
|
# @param {Hash} options
|
23
23
|
#
|
24
|
-
def find_by_gl_account_eid gl_account_eid, options=
|
24
|
+
def find_by_gl_account_eid gl_account_eid, options={}
|
25
25
|
return nil unless gl_account_eid.present?
|
26
26
|
|
27
27
|
params ||= GoTransverseTractApi::ApiData.new.get_query_params({gl_account_eid: gl_account_eid}, options)
|
@@ -32,7 +32,7 @@ module GoTransverseTractApi
|
|
32
32
|
# @param {Long} gl_accounting_transaction_eid
|
33
33
|
# @param {Hash} options
|
34
34
|
#
|
35
|
-
def find_by_gl_accounting_transaction_eid gl_accounting_transaction_eid, options=
|
35
|
+
def find_by_gl_accounting_transaction_eid gl_accounting_transaction_eid, options={}
|
36
36
|
return nil unless gl_accounting_transaction_eid.present?
|
37
37
|
|
38
38
|
params ||= GoTransverseTractApi::ApiData.new.get_query_params({gl_accounting_transaction_eid: gl_accounting_transaction_eid}, options)
|
@@ -43,7 +43,7 @@ module GoTransverseTractApi
|
|
43
43
|
# @param {Long} gl_transaction_batch_num
|
44
44
|
# @param {Hash} options
|
45
45
|
#
|
46
|
-
def find_by_gl_transaction_batch_num gl_transaction_batch_num, options=
|
46
|
+
def find_by_gl_transaction_batch_num gl_transaction_batch_num, options={}
|
47
47
|
return nil unless gl_transaction_batch_num.present?
|
48
48
|
|
49
49
|
params ||= GoTransverseTractApi::ApiData.new.get_query_params({gl_transaction_batch_num: gl_transaction_batch_num}, options)
|
@@ -54,7 +54,7 @@ module GoTransverseTractApi
|
|
54
54
|
# @param {Long} gl_aggregate_eid
|
55
55
|
# @param {Hash} options
|
56
56
|
#
|
57
|
-
def find_by_gl_aggregate_eid gl_aggregate_eid, options=
|
57
|
+
def find_by_gl_aggregate_eid gl_aggregate_eid, options={}
|
58
58
|
return nil unless gl_aggregate_eid.present?
|
59
59
|
|
60
60
|
params ||= GoTransverseTractApi::ApiData.new.get_query_params({gl_aggregate_eid: gl_aggregate_eid}, options)
|
@@ -65,7 +65,7 @@ module GoTransverseTractApi
|
|
65
65
|
# @param {Long} gl_aggregate_batch_num
|
66
66
|
# @param {Hash} options
|
67
67
|
#
|
68
|
-
def find_by_gl_aggregate_batch_num gl_aggregate_batch_num, options=
|
68
|
+
def find_by_gl_aggregate_batch_num gl_aggregate_batch_num, options={}
|
69
69
|
return nil unless gl_aggregate_batch_num.present?
|
70
70
|
|
71
71
|
params ||= GoTransverseTractApi::ApiData.new.get_query_params({gl_aggregate_batch_num: gl_aggregate_batch_num}, options)
|