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
@@ -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} product_eid
|
20
20
|
# @param {Hash} options
|
21
21
|
#
|
22
|
-
def self.find_by_product_eid product_eid, options=
|
22
|
+
def self.find_by_product_eid product_eid, options={}
|
23
23
|
return nil unless product_eid.present?
|
24
24
|
|
25
25
|
params ||= GoTransverseTractApi::ApiData.new.get_query_params({product_eid: product_eid}, options)
|
@@ -30,7 +30,7 @@ module GoTransverseTractApi
|
|
30
30
|
# @param {DateTime} from_date
|
31
31
|
# @param {Hash} options
|
32
32
|
#
|
33
|
-
def self.find_from_date from_date, options=
|
33
|
+
def self.find_from_date from_date, options={}
|
34
34
|
return nil unless from_date.present?
|
35
35
|
|
36
36
|
params ||= GoTransverseTractApi::ApiData.new.get_query_params({from_date: from_date}, options)
|
@@ -41,7 +41,7 @@ module GoTransverseTractApi
|
|
41
41
|
# @param {DateTime} thru_date
|
42
42
|
# @param {Hash} options
|
43
43
|
#
|
44
|
-
def self.find_thru_date thru_date, options=
|
44
|
+
def self.find_thru_date thru_date, options={}
|
45
45
|
return nil unless thru_date.present?
|
46
46
|
|
47
47
|
params ||= GoTransverseTractApi::ApiData.new.get_query_params({thru_date: thru_date}, options)
|
@@ -52,7 +52,7 @@ module GoTransverseTractApi
|
|
52
52
|
# @param {Long} price_list_eid
|
53
53
|
# @param {Hash} options
|
54
54
|
#
|
55
|
-
def self.find_by_price_list_eid price_list_eid, options=
|
55
|
+
def self.find_by_price_list_eid price_list_eid, options={}
|
56
56
|
return nil unless price_list_eid.present?
|
57
57
|
|
58
58
|
params ||= GoTransverseTractApi::ApiData.new.get_query_params({price_list_eid: price_list_eid}, options)
|
@@ -63,7 +63,7 @@ module GoTransverseTractApi
|
|
63
63
|
# @param {Boolean} price_list_is_master
|
64
64
|
# @param {Hash} options
|
65
65
|
#
|
66
|
-
def self.find_by_price_list_is_master price_list_is_master, options=
|
66
|
+
def self.find_by_price_list_is_master price_list_is_master, options={}
|
67
67
|
return nil unless price_list_is_master.present?
|
68
68
|
|
69
69
|
params ||= GoTransverseTractApi::ApiData.new.get_query_params({price_list_is_master: price_list_is_master}, options)
|
@@ -74,7 +74,7 @@ module GoTransverseTractApi
|
|
74
74
|
# @param {String} currency_type
|
75
75
|
# @param {Hash} options
|
76
76
|
#
|
77
|
-
def self.find_by_currency_type currency_type, options=
|
77
|
+
def self.find_by_currency_type currency_type, options={}
|
78
78
|
return nil unless currency_type.present?
|
79
79
|
|
80
80
|
params ||= GoTransverseTractApi::ApiData.new.get_query_params({currency_type: currency_type}, 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} product_eid
|
20
20
|
# @param {Hash} options
|
21
21
|
#
|
22
|
-
def self.find_by_product_eid product_eid, options=
|
22
|
+
def self.find_by_product_eid product_eid, options={}
|
23
23
|
return nil unless product_eid.present?
|
24
24
|
|
25
25
|
params ||= GoTransverseTractApi::ApiData.new.get_query_params({product_eid: product_eid}, options)
|
@@ -30,7 +30,7 @@ module GoTransverseTractApi
|
|
30
30
|
# @param {Long} product_price_eid
|
31
31
|
# @param {Hash} options
|
32
32
|
#
|
33
|
-
def self.find_by_product_price_eid product_price_eid, options=
|
33
|
+
def self.find_by_product_price_eid product_price_eid, options={}
|
34
34
|
return nil unless product_price_eid.present?
|
35
35
|
|
36
36
|
params ||= GoTransverseTractApi::ApiData.new.get_query_params({product_price_eid: product_price_eid}, options)
|
@@ -41,7 +41,7 @@ module GoTransverseTractApi
|
|
41
41
|
# @param {Long} price_list_eid
|
42
42
|
# @param {Hash} options
|
43
43
|
#
|
44
|
-
def self.find_by_price_list_eid price_list_eid, options=
|
44
|
+
def self.find_by_price_list_eid price_list_eid, options={}
|
45
45
|
return nil unless price_list_eid.present?
|
46
46
|
|
47
47
|
params ||= GoTransverseTractApi::ApiData.new.get_query_params({price_list_eid: price_list_eid}, options)
|
@@ -52,7 +52,7 @@ module GoTransverseTractApi
|
|
52
52
|
# @param {Boolean} price_list_is_master
|
53
53
|
# @param {Hash} options
|
54
54
|
#
|
55
|
-
def self.find_by_price_list_is_master price_list_is_master, options=
|
55
|
+
def self.find_by_price_list_is_master price_list_is_master, options={}
|
56
56
|
return nil unless price_list_is_master.present?
|
57
57
|
|
58
58
|
params ||= GoTransverseTractApi::ApiData.new.get_query_params({price_list_is_master: price_list_is_master}, options)
|
@@ -63,7 +63,7 @@ module GoTransverseTractApi
|
|
63
63
|
# @param {String} currency_type
|
64
64
|
# @param {Hash} options
|
65
65
|
#
|
66
|
-
def self.find_by_currency_type currency_type, options=
|
66
|
+
def self.find_by_currency_type currency_type, options={}
|
67
67
|
return nil unless currency_type.present?
|
68
68
|
|
69
69
|
params ||= GoTransverseTractApi::ApiData.new.get_query_params({currency_type: currency_type}, options)
|
@@ -7,7 +7,7 @@ module GoTransverseTractApi
|
|
7
7
|
#
|
8
8
|
# @param {Hash} options
|
9
9
|
#
|
10
|
-
def self.find_all options=
|
10
|
+
def self.find_all options={}
|
11
11
|
params ||= GoTransverseTractApi::ApiData.new.get_query_params({}, options)
|
12
12
|
GoTransverseTractApi.get_response_for(self, params)
|
13
13
|
end
|
@@ -16,7 +16,7 @@ module GoTransverseTractApi
|
|
16
16
|
# @param {String} name
|
17
17
|
# @param {Hash} options
|
18
18
|
#
|
19
|
-
def self.find_by_name name, option=
|
19
|
+
def self.find_by_name name, option={}
|
20
20
|
return nil unless name.present?
|
21
21
|
|
22
22
|
params ||= GoTransverseTractApi::ApiData.new.get_query_params({name: name}, options)
|
@@ -27,7 +27,7 @@ module GoTransverseTractApi
|
|
27
27
|
# @param {Long} eid
|
28
28
|
# @param {Hash} options
|
29
29
|
#
|
30
|
-
def self.find_by_eid eid, options=
|
30
|
+
def self.find_by_eid eid, options={}
|
31
31
|
return nil unless eid.present?
|
32
32
|
|
33
33
|
params ||= GoTransverseTractApi::ApiData.new.get_query_params({eid: eid}, options)
|
@@ -38,7 +38,7 @@ module GoTransverseTractApi
|
|
38
38
|
# @param {Long} product_eid
|
39
39
|
# @param {Hash} options
|
40
40
|
#
|
41
|
-
def self.find_by_product_eid product_eid, options=
|
41
|
+
def self.find_by_product_eid product_eid, options={}
|
42
42
|
return nil unless product_eid.present?
|
43
43
|
|
44
44
|
params ||= GoTransverseTractApi::ApiData.new.get_query_params({product_eid: product_eid}, options)
|
@@ -10,7 +10,7 @@ module GoTransverseTractApi
|
|
10
10
|
# @param {Long} recurrence_period
|
11
11
|
# @param {Hash} options
|
12
12
|
#
|
13
|
-
def find_by_recurrence_period recurrence_period, options=
|
13
|
+
def find_by_recurrence_period recurrence_period, options={}
|
14
14
|
return nil unless recurrence_period.present?
|
15
15
|
|
16
16
|
params ||= GoTransverseTractApi::ApiData.new.get_query_params({recurrence_period: recurrence_period}, options)
|
@@ -21,7 +21,7 @@ module GoTransverseTractApi
|
|
21
21
|
# @param {Long} recurrence_amount
|
22
22
|
# @param {Hash} options
|
23
23
|
#
|
24
|
-
def find_by_recurrence_amount recurrence_amount, options=
|
24
|
+
def find_by_recurrence_amount recurrence_amount, options={}
|
25
25
|
return nil unless recurrence_amount.present?
|
26
26
|
|
27
27
|
params ||= GoTransverseTractApi::ApiData.new.get_query_params({recurrence_amount: recurrence_amount}, options)
|
@@ -32,7 +32,7 @@ module GoTransverseTractApi
|
|
32
32
|
# @param {Boolean} recurring_payment_required
|
33
33
|
# @param {Hash} options
|
34
34
|
#
|
35
|
-
def find_by_recurring_payment_required recurring_payment_required, options=
|
35
|
+
def find_by_recurring_payment_required recurring_payment_required, options={}
|
36
36
|
return nil unless recurring_payment_required.present?
|
37
37
|
|
38
38
|
params ||= GoTransverseTractApi::ApiData.new.get_query_params({recurring_payment_required: recurring_payment_required}, options)
|
@@ -43,7 +43,7 @@ module GoTransverseTractApi
|
|
43
43
|
# @param {Boolean} bill_in_advance
|
44
44
|
# @param {Hash} options
|
45
45
|
#
|
46
|
-
def find_by_bill_in_advance bill_in_advance, options=
|
46
|
+
def find_by_bill_in_advance bill_in_advance, options={}
|
47
47
|
return nil unless bill_in_advance.present?
|
48
48
|
|
49
49
|
params ||= GoTransverseTractApi::ApiData.new.get_query_params({bill_in_advance: bill_in_advance}, options)
|
@@ -54,7 +54,7 @@ module GoTransverseTractApi
|
|
54
54
|
# @param {Boolean} prorated_on_cancel
|
55
55
|
# @param {Hash} options
|
56
56
|
#
|
57
|
-
def find_by_prorated_on_cancel prorated_on_cancel, options=
|
57
|
+
def find_by_prorated_on_cancel prorated_on_cancel, options={}
|
58
58
|
return nil unless prorated_on_cancel.present?
|
59
59
|
|
60
60
|
params ||= GoTransverseTractApi::ApiData.new.get_query_params({prorated_on_cancel: prorated_on_cancel}, options)
|
@@ -65,7 +65,7 @@ module GoTransverseTractApi
|
|
65
65
|
# @param {Boolean} prorated_on_order
|
66
66
|
# @param {Hash} options
|
67
67
|
#
|
68
|
-
def find_by_prorated_on_order prorated_on_order, options=
|
68
|
+
def find_by_prorated_on_order prorated_on_order, options={}
|
69
69
|
return nil unless prorated_on_order.present?
|
70
70
|
|
71
71
|
params ||= GoTransverseTractApi::ApiData.new.get_query_params({prorated_on_order: prorated_on_order}, options)
|
@@ -76,7 +76,7 @@ module GoTransverseTractApi
|
|
76
76
|
# @param {Boolean} prorated_on_order_no_charge
|
77
77
|
# @param {Hash} options
|
78
78
|
#
|
79
|
-
def find_by_prorated_on_order_no_charge prorated_on_order_no_charge, options=
|
79
|
+
def find_by_prorated_on_order_no_charge prorated_on_order_no_charge, options={}
|
80
80
|
return nil unless prorated_on_order_no_charge.present?
|
81
81
|
|
82
82
|
params ||= GoTransverseTractApi::ApiData.new.get_query_params({prorated_on_order_no_charge: prorated_on_order_no_charge}, 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} product_eid
|
22
22
|
# @param {Hash} options
|
23
23
|
#
|
24
|
-
def find_by_product_eid product_eid, options=
|
24
|
+
def find_by_product_eid product_eid, options={}
|
25
25
|
return nil unless product_eid.present?
|
26
26
|
|
27
27
|
params ||= GoTransverseTractApi::ApiData.new.get_query_params({product_eid: product_eid}, options)
|
@@ -31,7 +31,7 @@ module GoTransverseTractApi
|
|
31
31
|
# @param {Long} custom_field_value_eid
|
32
32
|
# @param {Hash} options
|
33
33
|
#
|
34
|
-
def find_by_custom_field_value_eid custom_field_value_eid, options=
|
34
|
+
def find_by_custom_field_value_eid custom_field_value_eid, options={}
|
35
35
|
return nil unless custom_field_value_eid.present?
|
36
36
|
|
37
37
|
params ||= GoTransverseTractApi::ApiData.new.get_query_params({custom_field_value_eid: custom_field_value_eid}, options)
|
@@ -42,7 +42,7 @@ module GoTransverseTractApi
|
|
42
42
|
# @param {Long} parent_eid
|
43
43
|
# @param {Hash} options
|
44
44
|
#
|
45
|
-
def find_by_parent_eid parent_eid, options=
|
45
|
+
def find_by_parent_eid parent_eid, options={}
|
46
46
|
return nil unless parent_eid.present?
|
47
47
|
|
48
48
|
params ||= GoTransverseTractApi::ApiData.new.get_query_params({parent_eid: parent_eid}, options)
|
@@ -53,7 +53,7 @@ module GoTransverseTractApi
|
|
53
53
|
# @param {Long} billing_account_eid
|
54
54
|
# @param {Hash} options
|
55
55
|
#
|
56
|
-
def find_by_billing_account_eid billing_account_eid, options=
|
56
|
+
def find_by_billing_account_eid billing_account_eid, options={}
|
57
57
|
return nil unless billing_account_eid.present?
|
58
58
|
|
59
59
|
params ||= GoTransverseTractApi::ApiData.new.get_query_params({billing_account_eid: billing_account_eid}, options)
|
@@ -64,7 +64,7 @@ module GoTransverseTractApi
|
|
64
64
|
# @param {Long} agreement_eid
|
65
65
|
# @param {Hash} options
|
66
66
|
#
|
67
|
-
def find_by_agreement_eid agreement_eid, options=
|
67
|
+
def find_by_agreement_eid agreement_eid, options={}
|
68
68
|
return nil unless agreement_eid.present?
|
69
69
|
|
70
70
|
params ||= GoTransverseTractApi::ApiData.new.get_query_params({agreement_eid: agreement_eid}, options)
|
@@ -75,7 +75,7 @@ module GoTransverseTractApi
|
|
75
75
|
# @param {Long} account_num
|
76
76
|
# @param {Hash} options
|
77
77
|
#
|
78
|
-
def find_by_account_num account_num, options=
|
78
|
+
def find_by_account_num account_num, options={}
|
79
79
|
return nil unless account_num.present?
|
80
80
|
|
81
81
|
params ||= GoTransverseTractApi::ApiData.new.get_query_params({account_num: account_num}, options)
|
@@ -86,7 +86,7 @@ module GoTransverseTractApi
|
|
86
86
|
# @param {Long} external_account_num
|
87
87
|
# @param {Hash} options
|
88
88
|
#
|
89
|
-
def find_by_external_account_num external_account_num, options=
|
89
|
+
def find_by_external_account_num external_account_num, options={}
|
90
90
|
return nil unless external_account_num.present?
|
91
91
|
|
92
92
|
params ||= GoTransverseTractApi::ApiData.new.get_query_params({external_account_num: external_account_num}, options)
|
@@ -97,7 +97,7 @@ module GoTransverseTractApi
|
|
97
97
|
# @param {Long} service_resource_identifier
|
98
98
|
# @param {Hash} options
|
99
99
|
#
|
100
|
-
def find_by_service_resource_identifier service_resource_identifier, options=
|
100
|
+
def find_by_service_resource_identifier service_resource_identifier, options={}
|
101
101
|
return nil unless service_resource_identifier.present?
|
102
102
|
|
103
103
|
params ||= GoTransverseTractApi::ApiData.new.get_query_params({service_resource_identifier: service_resource_identifier}, options)
|
@@ -108,7 +108,7 @@ module GoTransverseTractApi
|
|
108
108
|
# @param {Long} renewal_count
|
109
109
|
# @param {Hash} options
|
110
110
|
#
|
111
|
-
def find_by_renewal_count renewal_count, options=
|
111
|
+
def find_by_renewal_count renewal_count, options={}
|
112
112
|
return nil unless renewal_count.present?
|
113
113
|
|
114
114
|
params ||= GoTransverseTractApi::ApiData.new.get_query_params({renewal_count: renewal_count}, 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} product_eid
|
22
22
|
# @param {Hash} options
|
23
23
|
#
|
24
|
-
def find_by_product_eid product_eid, options=
|
24
|
+
def find_by_product_eid product_eid, options={}
|
25
25
|
return nil unless product_eid.present?
|
26
26
|
|
27
27
|
params ||= GoTransverseTractApi::ApiData.new.get_query_params({product_eid: product_eid}, options)
|
@@ -32,7 +32,7 @@ module GoTransverseTractApi
|
|
32
32
|
# @param {String} status
|
33
33
|
# @param {Hash} options
|
34
34
|
#
|
35
|
-
def find_by_status status, options=
|
35
|
+
def find_by_status status, options={}
|
36
36
|
return nil unless status.present?
|
37
37
|
|
38
38
|
params ||= GoTransverseTractApi::ApiData.new.get_query_params({status: status}, options)
|
@@ -43,7 +43,7 @@ module GoTransverseTractApi
|
|
43
43
|
# @param {Long} serial_number
|
44
44
|
# @param {Hash} options
|
45
45
|
#
|
46
|
-
def self.find_by_serial_number serial_number, options=
|
46
|
+
def self.find_by_serial_number serial_number, options={}
|
47
47
|
return nil unless serial_number.present?
|
48
48
|
|
49
49
|
params ||= GoTransverseTractApi::ApiData.new.get_query_params({serial_number: serial_number}, 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} service_eid
|
22
22
|
# @param {Hash} options
|
23
23
|
#
|
24
|
-
def find_by_service_eid service_eid, options=
|
24
|
+
def find_by_service_eid service_eid, options={}
|
25
25
|
return nil unless service_eid.present?
|
26
26
|
|
27
27
|
params ||= GoTransverseTractApi::ApiData.new.get_query_params({service_eid: service_eid}, options)
|
@@ -32,7 +32,7 @@ module GoTransverseTractApi
|
|
32
32
|
# @param {Date} start_date
|
33
33
|
# @param {Hash} options
|
34
34
|
#
|
35
|
-
def find_by_start_date start_date, options=
|
35
|
+
def find_by_start_date start_date, options={}
|
36
36
|
return nil unless start_date.present?
|
37
37
|
|
38
38
|
params ||= GoTransverseTractApi::ApiData.new.get_query_params({start_date: start_date}, options)
|
@@ -43,7 +43,7 @@ module GoTransverseTractApi
|
|
43
43
|
# @param {Date} end_date
|
44
44
|
# @param {Hash} options
|
45
45
|
#
|
46
|
-
def find_by_end_date end_date, options=
|
46
|
+
def find_by_end_date end_date, options={}
|
47
47
|
return nil unless end_date.present?
|
48
48
|
|
49
49
|
params ||= GoTransverseTractApi::ApiData.new.get_query_params({end_date: end_date}, options)
|
@@ -54,7 +54,7 @@ module GoTransverseTractApi
|
|
54
54
|
# @param {Boolean} closed
|
55
55
|
# @param {Hash} options
|
56
56
|
#
|
57
|
-
def find_by_closed closed, options=
|
57
|
+
def find_by_closed closed, options={}
|
58
58
|
return nil unless closed.present?
|
59
59
|
|
60
60
|
params ||= GoTransverseTractApi::ApiData.new.get_query_params({closed: closed}, 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} service_eid
|
22
22
|
# @param {Hash} options
|
23
23
|
#
|
24
|
-
def find_by_service_eid service_eid, options=
|
24
|
+
def find_by_service_eid service_eid, options={}
|
25
25
|
return nil unless service_eid.present?
|
26
26
|
|
27
27
|
params ||= GoTransverseTractApi::ApiData.new.get_query_params({service_eid: service_eid}, options)
|
@@ -32,7 +32,7 @@ module GoTransverseTractApi
|
|
32
32
|
# @param {Date} start_date
|
33
33
|
# @param {Hash} options
|
34
34
|
#
|
35
|
-
def find_by_start_date start_date, options=
|
35
|
+
def find_by_start_date start_date, options={}
|
36
36
|
return nil unless start_date.present?
|
37
37
|
|
38
38
|
params ||= GoTransverseTractApi::ApiData.new.get_query_params({start_date: start_date}, options)
|
@@ -43,7 +43,7 @@ module GoTransverseTractApi
|
|
43
43
|
# @param {Date} end_date
|
44
44
|
# @param {Hash} options
|
45
45
|
#
|
46
|
-
def find_by_end_date end_date, options=
|
46
|
+
def find_by_end_date end_date, options={}
|
47
47
|
return nil unless end_date.present?
|
48
48
|
|
49
49
|
params ||= GoTransverseTractApi::ApiData.new.get_query_params({end_date: end_date}, options)
|
@@ -54,7 +54,7 @@ module GoTransverseTractApi
|
|
54
54
|
# @param {Long} recurrence_period
|
55
55
|
# @param {Hash} options
|
56
56
|
#
|
57
|
-
def find_by_recurrence_period recurrence_period, options=
|
57
|
+
def find_by_recurrence_period recurrence_period, options={}
|
58
58
|
return nil unless recurrence_period.present?
|
59
59
|
|
60
60
|
params ||= GoTransverseTractApi::ApiData.new.get_query_params({recurrence_period: recurrence_period}, 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} service_price_eid
|
22
22
|
# @param {Hash} options
|
23
23
|
#
|
24
|
-
def find_by_service_price_eid service_price_eid, options=
|
24
|
+
def find_by_service_price_eid service_price_eid, options={}
|
25
25
|
return nil unless service_price_eid.present?
|
26
26
|
|
27
27
|
params ||= GoTransverseTractApi::ApiData.new.get_query_params({service_price_eid: service_price_eid}, 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} service_eid
|
22
22
|
# @param {Hash} options
|
23
23
|
#
|
24
|
-
def find_by_service_eid service_eid, options=
|
24
|
+
def find_by_service_eid service_eid, options={}
|
25
25
|
return nil unless service_eid.present?
|
26
26
|
|
27
27
|
params ||= GoTransverseTractApi::ApiData.new.get_query_params({service_eid: service_eid}, options)
|
@@ -32,7 +32,7 @@ module GoTransverseTractApi
|
|
32
32
|
# @param {Long} order_item_eid
|
33
33
|
# @param {Hash} options
|
34
34
|
#
|
35
|
-
def find_by_order_item_eid order_item_eid, options=
|
35
|
+
def find_by_order_item_eid order_item_eid, options={}
|
36
36
|
return nil unless order_item_eid.present?
|
37
37
|
|
38
38
|
params ||= GoTransverseTractApi::ApiData.new.get_query_params({order_item_eid: order_item_eid}, options)
|
@@ -43,7 +43,7 @@ module GoTransverseTractApi
|
|
43
43
|
# @param {Long} service_resource_category_eid
|
44
44
|
# @param {Hash} options
|
45
45
|
#
|
46
|
-
def find_by_service_resource_category_eid service_resource_category_eid, options=
|
46
|
+
def find_by_service_resource_category_eid service_resource_category_eid, options={}
|
47
47
|
return nil unless service_resource_category_eid.present?
|
48
48
|
|
49
49
|
params ||= GoTransverseTractApi::ApiData.new.get_query_params({service_resource_category_eid: service_resource_category_eid}, options)
|
@@ -54,7 +54,7 @@ module GoTransverseTractApi
|
|
54
54
|
# @param {Long} identifier
|
55
55
|
# @param {Hash} options
|
56
56
|
#
|
57
|
-
def find_by_identifier identifier, options=
|
57
|
+
def find_by_identifier identifier, options={}
|
58
58
|
return nil unless identifier.present?
|
59
59
|
|
60
60
|
params ||= GoTransverseTractApi::ApiData.new.get_query_params({identifier: identifier}, 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 {String} description
|
77
77
|
# @param {Hash} options
|
78
78
|
#
|
79
|
-
def find_by_description description, options=
|
79
|
+
def find_by_description description, options={}
|
80
80
|
return nil unless description.present?
|
81
81
|
|
82
82
|
params ||= GoTransverseTractApi::ApiData.new.get_query_params({description: description}, options)
|