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} gl_transaction_batch_eid
|
22
22
|
# @param {Hash} options
|
23
23
|
#
|
24
|
-
def find_by_gl_transaction_batch_eid gl_transaction_batch_eid, options=
|
24
|
+
def find_by_gl_transaction_batch_eid gl_transaction_batch_eid, options={}
|
25
25
|
return nil unless gl_transaction_batch_eid.present?
|
26
26
|
|
27
27
|
params ||= GoTransverseTractApi::ApiData.new.get_query_params({gl_transaction_batch_eid: gl_transaction_batch_eid}, options)
|
@@ -32,7 +32,7 @@ module GoTransverseTractApi
|
|
32
32
|
# @param {Long} batch_num
|
33
33
|
# @param {Hash} options
|
34
34
|
#
|
35
|
-
def find_by_batch_num batch_num, options=
|
35
|
+
def find_by_batch_num batch_num, options={}
|
36
36
|
return nil unless batch_num.present?
|
37
37
|
|
38
38
|
params ||= GoTransverseTractApi::ApiData.new.get_query_params({batch_num: batch_num}, options)
|
@@ -43,7 +43,7 @@ module GoTransverseTractApi
|
|
43
43
|
# @param {Date} batch_posted_on
|
44
44
|
# @param {Hash} options
|
45
45
|
#
|
46
|
-
def find_by_batch_posted_on batch_posted_on, options=
|
46
|
+
def find_by_batch_posted_on batch_posted_on, options={}
|
47
47
|
return nil unless batch_posted_on.present?
|
48
48
|
|
49
49
|
params ||= GoTransverseTractApi::ApiData.new.get_query_params({batch_posted_on: batch_posted_on}, options)
|
@@ -54,7 +54,7 @@ module GoTransverseTractApi
|
|
54
54
|
# @param {Date} occurred_on
|
55
55
|
# @param {Hash} options
|
56
56
|
#
|
57
|
-
def find_by_occurred_on occurred_on, options=
|
57
|
+
def find_by_occurred_on occurred_on, options={}
|
58
58
|
return nil unless occurred_on.present?
|
59
59
|
|
60
60
|
params ||= GoTransverseTractApi::ApiData.new.get_query_params({occurred_on: occurred_on}, options)
|
@@ -65,7 +65,7 @@ module GoTransverseTractApi
|
|
65
65
|
# @param {String} currency_type
|
66
66
|
# @param {Hash} options
|
67
67
|
#
|
68
|
-
def find_by_currency_type currency_type, options=
|
68
|
+
def find_by_currency_type currency_type, options={}
|
69
69
|
return nil unless currency_type.present?
|
70
70
|
|
71
71
|
params ||= GoTransverseTractApi::ApiData.new.get_query_params({currency_type: currency_type}, options)
|
@@ -76,7 +76,7 @@ module GoTransverseTractApi
|
|
76
76
|
# @param {String} original_currency_type
|
77
77
|
# @param {Hash} options
|
78
78
|
#
|
79
|
-
def find_by_original_currency_type original_currency_type, options=
|
79
|
+
def find_by_original_currency_type original_currency_type, options={}
|
80
80
|
return nil unless original_currency_type.present?
|
81
81
|
|
82
82
|
params ||= GoTransverseTractApi::ApiData.new.get_query_params({original_currency_type: original_currency_type}, 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} batch_num
|
22
22
|
# @param {Hash} options
|
23
23
|
#
|
24
|
-
def find_by_batch_num batch_num, options=
|
24
|
+
def find_by_batch_num batch_num, options={}
|
25
25
|
return nil unless batch_num.present?
|
26
26
|
|
27
27
|
params ||= GoTransverseTractApi::ApiData.new.get_query_params({batch_num: batch_num}, 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 {Boolean} exported
|
44
44
|
# @param {Hash} options
|
45
45
|
#
|
46
|
-
def find_by_exported exported, options=
|
46
|
+
def find_by_exported exported, options={}
|
47
47
|
return nil unless exported.present?
|
48
48
|
|
49
49
|
params ||= GoTransverseTractApi::ApiData.new.get_query_params({exported: exported}, options)
|
@@ -54,7 +54,7 @@ module GoTransverseTractApi
|
|
54
54
|
# @param {DateTime} posted_on
|
55
55
|
# @param {Hash} options
|
56
56
|
#
|
57
|
-
def find_by_posted_on posted_on, options=
|
57
|
+
def find_by_posted_on posted_on, options={}
|
58
58
|
return nil unless posted_on.present?
|
59
59
|
|
60
60
|
params ||= GoTransverseTractApi::ApiData.new.get_query_params({posted_on: posted_on}, options)
|
@@ -65,7 +65,7 @@ module GoTransverseTractApi
|
|
65
65
|
# @param {Date} batch_posted_on
|
66
66
|
# @param {Hash} options
|
67
67
|
#
|
68
|
-
def find_by_batch_posted_on batch_posted_on, options=
|
68
|
+
def find_by_batch_posted_on batch_posted_on, options={}
|
69
69
|
return nil unless batch_posted_on.present?
|
70
70
|
|
71
71
|
params ||= GoTransverseTractApi::ApiData.new.get_query_params({batch_posted_on: batch_posted_on}, 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} batch_num
|
22
22
|
# @param {Hash} options
|
23
23
|
#
|
24
|
-
def find_by_batch_num batch_num, options=
|
24
|
+
def find_by_batch_num batch_num, options={}
|
25
25
|
return nil unless batch_num.present?
|
26
26
|
|
27
27
|
params ||= GoTransverseTractApi::ApiData.new.get_query_params({batch_num: batch_num}, options)
|
@@ -32,7 +32,7 @@ module GoTransverseTractApi
|
|
32
32
|
# @param {DateTime} posted_on
|
33
33
|
# @param {Hash} options
|
34
34
|
#
|
35
|
-
def find_by_posted_on posted_on, options=
|
35
|
+
def find_by_posted_on posted_on, options={}
|
36
36
|
return nil unless posted_on.present?
|
37
37
|
|
38
38
|
params ||= GoTransverseTractApi::ApiData.new.get_query_params({posted_on: posted_on}, options)
|
@@ -43,7 +43,7 @@ module GoTransverseTractApi
|
|
43
43
|
# @param {Long} gl_account_eid
|
44
44
|
# @param {Hash} options
|
45
45
|
#
|
46
|
-
def find_by_gl_account_eid gl_account_eid, options=
|
46
|
+
def find_by_gl_account_eid gl_account_eid, options={}
|
47
47
|
return nil unless gl_account_eid.present?
|
48
48
|
|
49
49
|
params ||= GoTransverseTractApi::ApiData.new.get_query_params({gl_account_eid: gl_account_eid}, options)
|
@@ -54,7 +54,7 @@ module GoTransverseTractApi
|
|
54
54
|
# @param {Long} gl_aggregate_batch_eid
|
55
55
|
# @param {Hash} options
|
56
56
|
#
|
57
|
-
def find_by_gl_aggregate_batch_eid gl_aggregate_batch_eid, options=
|
57
|
+
def find_by_gl_aggregate_batch_eid gl_aggregate_batch_eid, options={}
|
58
58
|
return nil unless gl_aggregate_batch_eid.present?
|
59
59
|
|
60
60
|
params ||= GoTransverseTractApi::ApiData.new.get_query_params({gl_aggregate_batch_eid: gl_aggregate_batch_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} batch_num
|
22
22
|
# @param {Hash} options
|
23
23
|
#
|
24
|
-
def find_by_batch_num batch_num, options=
|
24
|
+
def find_by_batch_num batch_num, options={}
|
25
25
|
return nil unless batch_num.present?
|
26
26
|
|
27
27
|
params ||= GoTransverseTractApi::ApiData.new.get_query_params({batch_num: batch_num}, options)
|
@@ -32,7 +32,7 @@ module GoTransverseTractApi
|
|
32
32
|
# @param {DateTime} posted_on
|
33
33
|
# @param {Hash} options
|
34
34
|
#
|
35
|
-
def find_by_posted_on posted_on, options=
|
35
|
+
def find_by_posted_on posted_on, options={}
|
36
36
|
return nil unless posted_on.present?
|
37
37
|
|
38
38
|
params ||= GoTransverseTractApi::ApiData.new.get_query_params({posted_on: posted_on}, options)
|
@@ -43,7 +43,7 @@ module GoTransverseTractApi
|
|
43
43
|
# @param {String} status
|
44
44
|
# @param {Hash} options
|
45
45
|
#
|
46
|
-
def find_by_status status, options=
|
46
|
+
def find_by_status status, options={}
|
47
47
|
return nil unless status.present?
|
48
48
|
|
49
49
|
params ||= GoTransverseTractApi::ApiData.new.get_query_params({status: status}, options)
|
@@ -54,7 +54,7 @@ module GoTransverseTractApi
|
|
54
54
|
# @param {Boolean} exported
|
55
55
|
# @param {Hash} options
|
56
56
|
#
|
57
|
-
def find_by_exported exported, options=
|
57
|
+
def find_by_exported exported, options={}
|
58
58
|
return nil unless exported.present?
|
59
59
|
|
60
60
|
params ||= GoTransverseTractApi::ApiData.new.get_query_params({exported: exported}, 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} 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)
|
@@ -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 {Long} product_eid
|
41
41
|
# @param {Hash} options
|
42
42
|
#
|
43
|
-
def find_by_product_eid product_eid, options=
|
43
|
+
def find_by_product_eid product_eid, options={}
|
44
44
|
return nil unless product_eid.present?
|
45
45
|
|
46
46
|
params ||= GoTransverseTractApi::ApiData.new.get_query_params({product_eid: product_eid}, options)
|
@@ -51,7 +51,7 @@ module GoTransverseTractApi
|
|
51
51
|
# @param {String} status
|
52
52
|
# @param {Hash} options
|
53
53
|
#
|
54
|
-
def find_by_status status, options=
|
54
|
+
def find_by_status status, options={}
|
55
55
|
return nil unless status.present?
|
56
56
|
|
57
57
|
params ||= GoTransverseTractApi::ApiData.new.get_query_params({status: status}, options)
|
@@ -62,7 +62,7 @@ module GoTransverseTractApi
|
|
62
62
|
# @param {String} termination_fee_currency_type
|
63
63
|
# @param {Hash} options
|
64
64
|
#
|
65
|
-
def find_by_termination_fee_currency_type termination_fee_currency_type, options=
|
65
|
+
def find_by_termination_fee_currency_type termination_fee_currency_type, options={}
|
66
66
|
return nil unless termination_fee_currency_type.present?
|
67
67
|
|
68
68
|
params ||= GoTransverseTractApi::ApiData.new.get_query_params({termination_fee_currency_type: termination_fee_currency_type}, options)
|
@@ -73,7 +73,7 @@ module GoTransverseTractApi
|
|
73
73
|
# @param {String} max_termination_fee_currency_type
|
74
74
|
# @param {Hash} options
|
75
75
|
#
|
76
|
-
def find_by_max_termination_fee_currency_type max_termination_fee_currency_type, options=
|
76
|
+
def find_by_max_termination_fee_currency_type max_termination_fee_currency_type, options={}
|
77
77
|
return nil unless max_termination_fee_currency_type.present?
|
78
78
|
|
79
79
|
params ||= GoTransverseTractApi::ApiData.new.get_query_params({max_termination_fee_currency_type: max_termination_fee_currency_type}, options)
|
@@ -84,7 +84,7 @@ module GoTransverseTractApi
|
|
84
84
|
# @param {Date} from_date
|
85
85
|
# @param {Hash} options
|
86
86
|
#
|
87
|
-
def find_by_from_date from_date, options=
|
87
|
+
def find_by_from_date from_date, options={}
|
88
88
|
return nil unless from_date.present?
|
89
89
|
|
90
90
|
params ||= GoTransverseTractApi::ApiData.new.get_query_params({from_date: from_date}, options)
|
@@ -95,7 +95,7 @@ module GoTransverseTractApi
|
|
95
95
|
# @param {Date} thru_date
|
96
96
|
# @param {Hash} options
|
97
97
|
#
|
98
|
-
def find_by_thru_date thru_date, options=
|
98
|
+
def find_by_thru_date thru_date, options={}
|
99
99
|
return nil unless thru_date.present?
|
100
100
|
|
101
101
|
params ||= GoTransverseTractApi::ApiData.new.get_query_params({thru_date: thru_date}, 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)
|
@@ -51,7 +51,7 @@ module GoTransverseTractApi
|
|
51
51
|
# @param {String} status
|
52
52
|
# @param {Hash} options
|
53
53
|
#
|
54
|
-
def find_by_status status, options=
|
54
|
+
def find_by_status status, options={}
|
55
55
|
return nil unless status.present?
|
56
56
|
|
57
57
|
params ||= GoTransverseTractApi::ApiData.new.get_query_params({status: status}, options)
|
@@ -62,7 +62,7 @@ module GoTransverseTractApi
|
|
62
62
|
# @param {String} currency_type
|
63
63
|
# @param {Hash} options
|
64
64
|
#
|
65
|
-
def find_by_currency_type currency_type, options=
|
65
|
+
def find_by_currency_type currency_type, options={}
|
66
66
|
return nil unless currency_type.present?
|
67
67
|
|
68
68
|
params ||= GoTransverseTractApi::ApiData.new.get_query_params({currency_type: currency_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 {String} desc
|
30
30
|
# @param {Hash} options
|
31
31
|
#
|
32
|
-
def find_by_desc desc, options=
|
32
|
+
def find_by_desc desc, options={}
|
33
33
|
return nil unless desc.present?
|
34
34
|
|
35
35
|
params ||= GoTransverseTractApi::ApiData.new.get_query_params({desc: desc}, 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} order_eid
|
20
20
|
# @param {Hash} options
|
21
21
|
#
|
22
|
-
def self.find_by_order_eid order_eid, options=
|
22
|
+
def self.find_by_order_eid order_eid, options={}
|
23
23
|
return nil unless order_eid.present?
|
24
24
|
|
25
25
|
params ||= GoTransverseTractApi::ApiData.new.get_query_params({order_eid: order_eid}, options)
|
@@ -30,7 +30,7 @@ module GoTransverseTractApi
|
|
30
30
|
# @param {String} order_num
|
31
31
|
# @param {Hash} options
|
32
32
|
#
|
33
|
-
def self.find_by_order_num order_num, options=
|
33
|
+
def self.find_by_order_num order_num, options={}
|
34
34
|
return nil unless order_num.present?
|
35
35
|
|
36
36
|
params ||= GoTransverseTractApi::ApiData.new.get_query_params({order_num: order_num}, options)
|
@@ -41,7 +41,7 @@ module GoTransverseTractApi
|
|
41
41
|
# @param {Long} product_eid
|
42
42
|
# @param {Hash} options
|
43
43
|
#
|
44
|
-
def self.find_by_product_eid product_eid, options=
|
44
|
+
def self.find_by_product_eid product_eid, options={}
|
45
45
|
return nil unless product_eid.present?
|
46
46
|
|
47
47
|
params ||= GoTransverseTractApi::ApiData.new.get_query_params({product_eid: product_eid}, options)
|
@@ -52,7 +52,7 @@ module GoTransverseTractApi
|
|
52
52
|
# @param {Long} parent_order_item_eid
|
53
53
|
# @param {Hash} options
|
54
54
|
#
|
55
|
-
def self.find_by_parent_order_item_eid parent_order_item_eid, options=
|
55
|
+
def self.find_by_parent_order_item_eid parent_order_item_eid, options={}
|
56
56
|
return nil unless parent_order_item_eid.present?
|
57
57
|
|
58
58
|
params ||= GoTransverseTractApi::ApiData.new.get_query_params({parent_order_item_eid: parent_order_item_eid}, options)
|
@@ -63,7 +63,7 @@ module GoTransverseTractApi
|
|
63
63
|
# @param {String} service_identifier
|
64
64
|
# @param {Hash} options
|
65
65
|
#
|
66
|
-
def self.find_by_service_identifier service_identifier, options=
|
66
|
+
def self.find_by_service_identifier service_identifier, options={}
|
67
67
|
return nil unless service_identifier.present?
|
68
68
|
|
69
69
|
params ||= GoTransverseTractApi::ApiData.new.get_query_params({service_identifier: service_identifier}, options)
|
@@ -74,7 +74,7 @@ module GoTransverseTractApi
|
|
74
74
|
# @param {Long} service_eid
|
75
75
|
# @param {Hash} options
|
76
76
|
#
|
77
|
-
def self.find_by_service_eid service_eid, options=
|
77
|
+
def self.find_by_service_eid service_eid, options={}
|
78
78
|
return nil unless service_eid.present?
|
79
79
|
|
80
80
|
params ||= GoTransverseTractApi::ApiData.new.get_query_params({service_eid: service_eid}, options)
|
@@ -85,7 +85,7 @@ module GoTransverseTractApi
|
|
85
85
|
# @param {String} discount_identifier
|
86
86
|
# @param {Hash} options
|
87
87
|
#
|
88
|
-
def self.find_by_discount_identifier discount_identifier, options=
|
88
|
+
def self.find_by_discount_identifier discount_identifier, options={}
|
89
89
|
return nil unless discount_identifier.present?
|
90
90
|
|
91
91
|
params ||= GoTransverseTractApi::ApiData.new.get_query_params({discount_identifier: discount_identifier}, options)
|