data-and-reporting-sdk 1.2.0 → 1.3.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/LICENSE +1 -1
- data/README.md +14 -14
- data/lib/shell_data_reporting_ap_is/controllers/o_auth_authorization_controller.rb +1 -1
- data/lib/shell_data_reporting_ap_is/exceptions/api_exception.rb +11 -0
- data/lib/shell_data_reporting_ap_is/exceptions/default_error_exception.rb +12 -0
- data/lib/shell_data_reporting_ap_is/exceptions/error_object_exception.rb +13 -0
- data/lib/shell_data_reporting_ap_is/exceptions/error_user_access_error1_exception.rb +12 -0
- data/lib/shell_data_reporting_ap_is/exceptions/o_auth_provider_exception.rb +14 -0
- data/lib/shell_data_reporting_ap_is/models/account_access.rb +17 -0
- data/lib/shell_data_reporting_ap_is/models/account_request.rb +26 -0
- data/lib/shell_data_reporting_ap_is/models/account_response.rb +16 -0
- data/lib/shell_data_reporting_ap_is/models/account_response_accounts_items.rb +79 -0
- data/lib/shell_data_reporting_ap_is/models/accounts.rb +13 -0
- data/lib/shell_data_reporting_ap_is/models/address.rb +21 -0
- data/lib/shell_data_reporting_ap_is/models/associated_account.rb +18 -0
- data/lib/shell_data_reporting_ap_is/models/audit_request.rb +21 -0
- data/lib/shell_data_reporting_ap_is/models/audit_response.rb +16 -0
- data/lib/shell_data_reporting_ap_is/models/audit_response_audits_items.rb +46 -0
- data/lib/shell_data_reporting_ap_is/models/bank_account.rb +22 -0
- data/lib/shell_data_reporting_ap_is/models/bonus_configuration.rb +45 -0
- data/lib/shell_data_reporting_ap_is/models/bonus_history.rb +47 -0
- data/lib/shell_data_reporting_ap_is/models/card_day_time_restrictions.rb +17 -0
- data/lib/shell_data_reporting_ap_is/models/card_exceptions.rb +27 -0
- data/lib/shell_data_reporting_ap_is/models/card_group_request.rb +19 -0
- data/lib/shell_data_reporting_ap_is/models/card_group_response.rb +16 -0
- data/lib/shell_data_reporting_ap_is/models/card_group_response_card_groups_items.rb +34 -0
- data/lib/shell_data_reporting_ap_is/models/card_type_request.rb +19 -0
- data/lib/shell_data_reporting_ap_is/models/card_type_response.rb +14 -0
- data/lib/shell_data_reporting_ap_is/models/card_type_response_customer_card_types_items.rb +52 -0
- data/lib/shell_data_reporting_ap_is/models/card_type_response_error.rb +12 -0
- data/lib/shell_data_reporting_ap_is/models/card_usage_restrictions.rb +38 -0
- data/lib/shell_data_reporting_ap_is/models/card_usage_summary_request.rb +19 -0
- data/lib/shell_data_reporting_ap_is/models/card_usage_summary_response.rb +14 -0
- data/lib/shell_data_reporting_ap_is/models/col_co_access.rb +16 -0
- data/lib/shell_data_reporting_ap_is/models/current_volume.rb +16 -0
- data/lib/shell_data_reporting_ap_is/models/customer_contract.rb +13 -0
- data/lib/shell_data_reporting_ap_is/models/customer_detail_request.rb +16 -0
- data/lib/shell_data_reporting_ap_is/models/customer_detail_response.rb +43 -0
- data/lib/shell_data_reporting_ap_is/models/customer_price_list_request.rb +22 -0
- data/lib/shell_data_reporting_ap_is/models/customer_price_list_response.rb +13 -0
- data/lib/shell_data_reporting_ap_is/models/default_error_fault.rb +12 -0
- data/lib/shell_data_reporting_ap_is/models/default_error_fault_detail.rb +12 -0
- data/lib/shell_data_reporting_ap_is/models/delivery_addresses.rb +28 -0
- data/lib/shell_data_reporting_ap_is/models/eid_access.rb +14 -0
- data/lib/shell_data_reporting_ap_is/models/eid_document.rb +21 -0
- data/lib/shell_data_reporting_ap_is/models/eid_document_response.rb +17 -0
- data/lib/shell_data_reporting_ap_is/models/eid_download_req.rb +16 -0
- data/lib/shell_data_reporting_ap_is/models/eid_download_request.rb +12 -0
- data/lib/shell_data_reporting_ap_is/models/eid_search_req.rb +19 -0
- data/lib/shell_data_reporting_ap_is/models/eid_search_request.rb +13 -0
- data/lib/shell_data_reporting_ap_is/models/error_details.rb +14 -0
- data/lib/shell_data_reporting_ap_is/models/error_status.rb +12 -0
- data/lib/shell_data_reporting_ap_is/models/error_user_access.rb +12 -0
- data/lib/shell_data_reporting_ap_is/models/error_user_access_error.rb +12 -0
- data/lib/shell_data_reporting_ap_is/models/exception_product.rb +12 -0
- data/lib/shell_data_reporting_ap_is/models/exception_site_location.rb +12 -0
- data/lib/shell_data_reporting_ap_is/models/fee_item.rb +97 -0
- data/lib/shell_data_reporting_ap_is/models/fee_item_summary_all_of0.rb +27 -0
- data/lib/shell_data_reporting_ap_is/models/fee_rule_location.rb +19 -0
- data/lib/shell_data_reporting_ap_is/models/fee_rule_product.rb +16 -0
- data/lib/shell_data_reporting_ap_is/models/fee_rule_tier.rb +14 -0
- data/lib/shell_data_reporting_ap_is/models/fee_summary_response.rb +14 -0
- data/lib/shell_data_reporting_ap_is/models/fees_fee_rule_tiers.rb +18 -0
- data/lib/shell_data_reporting_ap_is/models/finance_currency.rb +16 -0
- data/lib/shell_data_reporting_ap_is/models/fleetmanagement_v1_user_loggedinuser_request.rb +16 -0
- data/lib/shell_data_reporting_ap_is/models/fuel_consumption_card.rb +13 -0
- data/lib/shell_data_reporting_ap_is/models/fuel_consumption_data.rb +30 -0
- data/lib/shell_data_reporting_ap_is/models/fuel_consumption_request.rb +19 -0
- data/lib/shell_data_reporting_ap_is/models/fuel_consumption_response.rb +14 -0
- data/lib/shell_data_reporting_ap_is/models/invoice_dates_data.rb +13 -0
- data/lib/shell_data_reporting_ap_is/models/invoice_dates_request.rb +12 -0
- data/lib/shell_data_reporting_ap_is/models/invoice_dates_request_filters.rb +16 -0
- data/lib/shell_data_reporting_ap_is/models/invoice_dates_response_data.rb +13 -0
- data/lib/shell_data_reporting_ap_is/models/invoice_distribution_method.rb +15 -0
- data/lib/shell_data_reporting_ap_is/models/invoice_download_req.rb +16 -0
- data/lib/shell_data_reporting_ap_is/models/invoice_download_request.rb +12 -0
- data/lib/shell_data_reporting_ap_is/models/invoice_search_additional_document.rb +14 -0
- data/lib/shell_data_reporting_ap_is/models/invoice_search_details.rb +93 -0
- data/lib/shell_data_reporting_ap_is/models/invoice_search_request.rb +14 -0
- data/lib/shell_data_reporting_ap_is/models/invoice_search_request_filters.rb +30 -0
- data/lib/shell_data_reporting_ap_is/models/invoice_search_response.rb +16 -0
- data/lib/shell_data_reporting_ap_is/models/invoice_summary_details.rb +21 -0
- data/lib/shell_data_reporting_ap_is/models/invoice_summary_request.rb +12 -0
- data/lib/shell_data_reporting_ap_is/models/invoice_summary_request_filters.rb +30 -0
- data/lib/shell_data_reporting_ap_is/models/invoice_summary_response.rb +13 -0
- data/lib/shell_data_reporting_ap_is/models/invoices_summaries.rb +31 -0
- data/lib/shell_data_reporting_ap_is/models/last_statement_of_account.rb +45 -0
- data/lib/shell_data_reporting_ap_is/models/logged_in_user_request.rb +16 -0
- data/lib/shell_data_reporting_ap_is/models/logged_in_user_response.rb +35 -0
- data/lib/shell_data_reporting_ap_is/models/monthly_invoice_trend.rb +17 -0
- data/lib/shell_data_reporting_ap_is/models/multi_priced_transaction_request.rb +30 -0
- data/lib/shell_data_reporting_ap_is/models/multi_priced_transaction_request_accounts_items.rb +14 -0
- data/lib/shell_data_reporting_ap_is/models/multi_priced_transaction_response.rb +16 -0
- data/lib/shell_data_reporting_ap_is/models/multi_priced_transaction_response_transactions_items.rb +165 -0
- data/lib/shell_data_reporting_ap_is/models/past_statement_of_accounts.rb +58 -0
- data/lib/shell_data_reporting_ap_is/models/payer_access.rb +19 -0
- data/lib/shell_data_reporting_ap_is/models/payer_details.rb +150 -0
- data/lib/shell_data_reporting_ap_is/models/payer_request.rb +18 -0
- data/lib/shell_data_reporting_ap_is/models/payer_response.rb +16 -0
- data/lib/shell_data_reporting_ap_is/models/payers.rb +16 -0
- data/lib/shell_data_reporting_ap_is/models/payments_since_last_soa.rb +40 -0
- data/lib/shell_data_reporting_ap_is/models/pin_advice_types.rb +15 -0
- data/lib/shell_data_reporting_ap_is/models/price_list.rb +45 -0
- data/lib/shell_data_reporting_ap_is/models/price_trans_summary_request.rb +39 -0
- data/lib/shell_data_reporting_ap_is/models/price_transaction_request.rb +42 -0
- data/lib/shell_data_reporting_ap_is/models/priced_request_data.rb +76 -7
- data/lib/shell_data_reporting_ap_is/models/priced_response_data.rb +221 -0
- data/lib/shell_data_reporting_ap_is/models/priced_trans_summary_response.rb +14 -0
- data/lib/shell_data_reporting_ap_is/models/priced_trans_summary_response_transactions_summary_items.rb +28 -0
- data/lib/shell_data_reporting_ap_is/models/priced_transaction_items_location_items.rb +12 -0
- data/lib/shell_data_reporting_ap_is/models/priced_transaction_request_v2.rb +13 -0
- data/lib/shell_data_reporting_ap_is/models/priced_transaction_response.rb +12 -0
- data/lib/shell_data_reporting_ap_is/models/priced_transaction_response_transactions_items.rb +166 -0
- data/lib/shell_data_reporting_ap_is/models/priced_transaction_response_v2.rb +15 -0
- data/lib/shell_data_reporting_ap_is/models/pricing_current_volume.rb +18 -0
- data/lib/shell_data_reporting_ap_is/models/pricing_history.rb +16 -0
- data/lib/shell_data_reporting_ap_is/models/purchase_categories.rb +14 -0
- data/lib/shell_data_reporting_ap_is/models/recent_transaction_req.rb +26 -0
- data/lib/shell_data_reporting_ap_is/models/recent_transaction_request.rb +13 -0
- data/lib/shell_data_reporting_ap_is/models/recent_transactions.rb +98 -0
- data/lib/shell_data_reporting_ap_is/models/recent_transactions_response.rb +15 -0
- data/lib/shell_data_reporting_ap_is/models/role.rb +17 -0
- data/lib/shell_data_reporting_ap_is/models/search_doc_req.rb +28 -0
- data/lib/shell_data_reporting_ap_is/models/search_documents_invoice.rb +24 -0
- data/lib/shell_data_reporting_ap_is/models/search_documents_request.rb +13 -0
- data/lib/shell_data_reporting_ap_is/models/search_documents_response.rb +17 -0
- data/lib/shell_data_reporting_ap_is/models/search_soa_req.rb +20 -0
- data/lib/shell_data_reporting_ap_is/models/search_statement_of_account.rb +27 -0
- data/lib/shell_data_reporting_ap_is/models/search_statement_of_account_request.rb +13 -0
- data/lib/shell_data_reporting_ap_is/models/search_statement_of_account_response.rb +16 -0
- data/lib/shell_data_reporting_ap_is/models/site_location.rb +12 -0
- data/lib/shell_data_reporting_ap_is/models/statement_of_account_request.rb +12 -0
- data/lib/shell_data_reporting_ap_is/models/statement_of_account_request_filters.rb +24 -0
- data/lib/shell_data_reporting_ap_is/models/statement_of_account_resp.rb +18 -0
- data/lib/shell_data_reporting_ap_is/models/statement_of_account_response.rb +13 -0
- data/lib/shell_data_reporting_ap_is/models/tier.rb +21 -0
- data/lib/shell_data_reporting_ap_is/models/transaction_exceptions.rb +127 -0
- data/lib/shell_data_reporting_ap_is/models/transaction_exceptions_request.rb +25 -0
- data/lib/shell_data_reporting_ap_is/models/transaction_exceptions_response.rb +15 -0
- data/lib/shell_data_reporting_ap_is/models/transaction_fees_request.rb +28 -0
- data/lib/shell_data_reporting_ap_is/models/transaction_fees_response.rb +16 -0
- data/lib/shell_data_reporting_ap_is/models/update_odometer.rb +14 -0
- data/lib/shell_data_reporting_ap_is/models/update_odometer_reference.rb +14 -0
- data/lib/shell_data_reporting_ap_is/models/update_odometer_request.rb +18 -0
- data/lib/shell_data_reporting_ap_is/models/update_odometer_response.rb +15 -0
- data/lib/shell_data_reporting_ap_is/models/usage_summary.rb +23 -0
- data/lib/shell_data_reporting_ap_is/models/volume_based_bonus_request.rb +17 -0
- data/lib/shell_data_reporting_ap_is/models/volume_based_bonus_response.rb +17 -0
- data/lib/shell_data_reporting_ap_is/models/volume_based_pricing_request.rb +15 -0
- data/lib/shell_data_reporting_ap_is/models/volume_based_pricing_response.rb +16 -0
- data/lib/shell_data_reporting_ap_is/utilities/file_wrapper.rb +14 -2
- metadata +2 -2
@@ -73,5 +73,19 @@ module ShellDataReportingApIs
|
|
73
73
|
error,
|
74
74
|
request_id)
|
75
75
|
end
|
76
|
+
|
77
|
+
# Provides a human-readable string representation of the object.
|
78
|
+
def to_s
|
79
|
+
class_name = self.class.name.split('::').last
|
80
|
+
"<#{class_name} transactions_summary: #{@transactions_summary}, error: #{@error},"\
|
81
|
+
" request_id: #{@request_id}>"
|
82
|
+
end
|
83
|
+
|
84
|
+
# Provides a debugging-friendly string with detailed object information.
|
85
|
+
def inspect
|
86
|
+
class_name = self.class.name.split('::').last
|
87
|
+
"<#{class_name} transactions_summary: #{@transactions_summary.inspect}, error:"\
|
88
|
+
" #{@error.inspect}, request_id: #{@request_id.inspect}>"
|
89
|
+
end
|
76
90
|
end
|
77
91
|
end
|
@@ -232,5 +232,33 @@ module ShellDataReportingApIs
|
|
232
232
|
customer_retail_value_total_net,
|
233
233
|
customer_retail_value_total_gross)
|
234
234
|
end
|
235
|
+
|
236
|
+
# Provides a human-readable string representation of the object.
|
237
|
+
def to_s
|
238
|
+
class_name = self.class.name.split('::').last
|
239
|
+
"<#{class_name} product_id: #{@product_id}, product_code: #{@product_code}, product_name:"\
|
240
|
+
" #{@product_name}, product_group_id: #{@product_group_id}, product_group_name:"\
|
241
|
+
" #{@product_group_name}, site_group_id: #{@site_group_id}, site_group_name:"\
|
242
|
+
" #{@site_group_name}, total_fuel_quantity: #{@total_fuel_quantity}, total_net_amount:"\
|
243
|
+
" #{@total_net_amount}, total_gross_amount: #{@total_gross_amount}, invoice_currency_code:"\
|
244
|
+
" #{@invoice_currency_code}, invoice_currency_symbol: #{@invoice_currency_symbol},"\
|
245
|
+
" customer_retail_value_total_net: #{@customer_retail_value_total_net},"\
|
246
|
+
" customer_retail_value_total_gross: #{@customer_retail_value_total_gross}>"
|
247
|
+
end
|
248
|
+
|
249
|
+
# Provides a debugging-friendly string with detailed object information.
|
250
|
+
def inspect
|
251
|
+
class_name = self.class.name.split('::').last
|
252
|
+
"<#{class_name} product_id: #{@product_id.inspect}, product_code: #{@product_code.inspect},"\
|
253
|
+
" product_name: #{@product_name.inspect}, product_group_id: #{@product_group_id.inspect},"\
|
254
|
+
" product_group_name: #{@product_group_name.inspect}, site_group_id:"\
|
255
|
+
" #{@site_group_id.inspect}, site_group_name: #{@site_group_name.inspect},"\
|
256
|
+
" total_fuel_quantity: #{@total_fuel_quantity.inspect}, total_net_amount:"\
|
257
|
+
" #{@total_net_amount.inspect}, total_gross_amount: #{@total_gross_amount.inspect},"\
|
258
|
+
" invoice_currency_code: #{@invoice_currency_code.inspect}, invoice_currency_symbol:"\
|
259
|
+
" #{@invoice_currency_symbol.inspect}, customer_retail_value_total_net:"\
|
260
|
+
" #{@customer_retail_value_total_net.inspect}, customer_retail_value_total_gross:"\
|
261
|
+
" #{@customer_retail_value_total_gross.inspect}>"
|
262
|
+
end
|
235
263
|
end
|
236
264
|
end
|
@@ -72,5 +72,17 @@ module ShellDataReportingApIs
|
|
72
72
|
|
73
73
|
true
|
74
74
|
end
|
75
|
+
|
76
|
+
# Provides a human-readable string representation of the object.
|
77
|
+
def to_s
|
78
|
+
class_name = self.class.name.split('::').last
|
79
|
+
"<#{class_name} latitude: #{@latitude}, longitude: #{@longitude}>"
|
80
|
+
end
|
81
|
+
|
82
|
+
# Provides a debugging-friendly string with detailed object information.
|
83
|
+
def inspect
|
84
|
+
class_name = self.class.name.split('::').last
|
85
|
+
"<#{class_name} latitude: #{@latitude.inspect}, longitude: #{@longitude.inspect}>"
|
86
|
+
end
|
75
87
|
end
|
76
88
|
end
|
@@ -66,5 +66,18 @@ module ShellDataReportingApIs
|
|
66
66
|
page,
|
67
67
|
page_size)
|
68
68
|
end
|
69
|
+
|
70
|
+
# Provides a human-readable string representation of the object.
|
71
|
+
def to_s
|
72
|
+
class_name = self.class.name.split('::').last
|
73
|
+
"<#{class_name} filters: #{@filters}, page: #{@page}, page_size: #{@page_size}>"
|
74
|
+
end
|
75
|
+
|
76
|
+
# Provides a debugging-friendly string with detailed object information.
|
77
|
+
def inspect
|
78
|
+
class_name = self.class.name.split('::').last
|
79
|
+
"<#{class_name} filters: #{@filters.inspect}, page: #{@page.inspect}, page_size:"\
|
80
|
+
" #{@page_size.inspect}>"
|
81
|
+
end
|
69
82
|
end
|
70
83
|
end
|
@@ -55,5 +55,17 @@ module ShellDataReportingApIs
|
|
55
55
|
# Create object from extracted values.
|
56
56
|
PricedTransactionResponse.new(transactions)
|
57
57
|
end
|
58
|
+
|
59
|
+
# Provides a human-readable string representation of the object.
|
60
|
+
def to_s
|
61
|
+
class_name = self.class.name.split('::').last
|
62
|
+
"<#{class_name} transactions: #{@transactions}>"
|
63
|
+
end
|
64
|
+
|
65
|
+
# Provides a debugging-friendly string with detailed object information.
|
66
|
+
def inspect
|
67
|
+
class_name = self.class.name.split('::').last
|
68
|
+
"<#{class_name} transactions: #{@transactions.inspect}>"
|
69
|
+
end
|
58
70
|
end
|
59
71
|
end
|
data/lib/shell_data_reporting_ap_is/models/priced_transaction_response_transactions_items.rb
CHANGED
@@ -1665,5 +1665,171 @@ module ShellDataReportingApIs
|
|
1665
1665
|
|
1666
1666
|
true
|
1667
1667
|
end
|
1668
|
+
|
1669
|
+
# Provides a human-readable string representation of the object.
|
1670
|
+
def to_s
|
1671
|
+
class_name = self.class.name.split('::').last
|
1672
|
+
"<#{class_name} type: #{@type}, card_id: #{@card_id}, card_pan: #{@card_pan}, card_expiry:"\
|
1673
|
+
" #{@card_expiry}, transaction_date: #{@transaction_date}, transaction_time:"\
|
1674
|
+
" #{@transaction_time}, utc_offset: #{@utc_offset}, fleet_id_input: #{@fleet_id_input},"\
|
1675
|
+
" odometer_input: #{@odometer_input}, driver_name: #{@driver_name}, vehicle_registration:"\
|
1676
|
+
" #{@vehicle_registration}, invoice_currency_code: #{@invoice_currency_code},"\
|
1677
|
+
" invoice_currency_symbol: #{@invoice_currency_symbol}, transaction_currency_code:"\
|
1678
|
+
" #{@transaction_currency_code}, transaction_currency_symbol:"\
|
1679
|
+
" #{@transaction_currency_symbol}, transaction_net_amount: #{@transaction_net_amount},"\
|
1680
|
+
" transaction_tax: #{@transaction_tax}, transaction_gross_amount:"\
|
1681
|
+
" #{@transaction_gross_amount}, invoice_net_amount: #{@invoice_net_amount}, invoice_tax:"\
|
1682
|
+
" #{@invoice_tax}, invoice_gross_amount: #{@invoice_gross_amount}, purchased_in_country:"\
|
1683
|
+
" #{@purchased_in_country}, account_id: #{@account_id}, account_number: #{@account_number},"\
|
1684
|
+
" account_name: #{@account_name}, account_short_name: #{@account_short_name}, quantity:"\
|
1685
|
+
" #{@quantity}, fuel_product: #{@fuel_product}, unit_price_in_transaction_currency:"\
|
1686
|
+
" #{@unit_price_in_transaction_currency}, unit_price_in_invoice_currency:"\
|
1687
|
+
" #{@unit_price_in_invoice_currency}, unit_discount_transaction_currency:"\
|
1688
|
+
" #{@unit_discount_transaction_currency}, unit_discount_invoice_currency:"\
|
1689
|
+
" #{@unit_discount_invoice_currency}, is_invoiced: #{@is_invoiced}, invoice_number:"\
|
1690
|
+
" #{@invoice_number}, invoice_date: #{@invoice_date}, site_code: #{@site_code}, site_name:"\
|
1691
|
+
" #{@site_name}, site_country: #{@site_country}, location: #{@location}, card_group_name:"\
|
1692
|
+
" #{@card_group_name}, receipt_number: #{@receipt_number}, product_code: #{@product_code},"\
|
1693
|
+
" product_name: #{@product_name}, product_group_id: #{@product_group_id},"\
|
1694
|
+
" product_group_name: #{@product_group_name}, del_co_exchange_rate:"\
|
1695
|
+
" #{@del_co_exchange_rate}, col_co_exchange_rate: #{@col_co_exchange_rate}, is_shell_site:"\
|
1696
|
+
" #{@is_shell_site}, network: #{@network}, site_group_id: #{@site_group_id},"\
|
1697
|
+
" site_group_name: #{@site_group_name}, posting_date: #{@posting_date}, issuer_code:"\
|
1698
|
+
" #{@issuer_code}, purchased_in_country_code: #{@purchased_in_country_code},"\
|
1699
|
+
" customer_country_code: #{@customer_country_code}, customer_country: #{@customer_country},"\
|
1700
|
+
" release_code: #{@release_code}, card_group_id: #{@card_group_id}, card_sequence_number:"\
|
1701
|
+
" #{@card_sequence_number}, check_digit: #{@check_digit}, fleet_id_description:"\
|
1702
|
+
" #{@fleet_id_description}, vat_rate: #{@vat_rate}, vat_category: #{@vat_category},"\
|
1703
|
+
" vat_country: #{@vat_country}, effective_discount_in_trx_currency:"\
|
1704
|
+
" #{@effective_discount_in_trx_currency}, transaction_type: #{@transaction_type},"\
|
1705
|
+
" pin_indicator: #{@pin_indicator}, vat_applicable: #{@vat_applicable},"\
|
1706
|
+
" net_invoice_indicator: #{@net_invoice_indicator}, customer_currency_code:"\
|
1707
|
+
" #{@customer_currency_code}, customer_currency_symbol: #{@customer_currency_symbol},"\
|
1708
|
+
' effective_unit_discount_in_customer_currency:'\
|
1709
|
+
" #{@effective_unit_discount_in_customer_currency}, effective_discount_in_customer_currency:"\
|
1710
|
+
" #{@effective_discount_in_customer_currency}, va_ton_net_amount_in_customer_currency:"\
|
1711
|
+
" #{@va_ton_net_amount_in_customer_currency}, discount_type: #{@discount_type},"\
|
1712
|
+
" transaction_status: #{@transaction_status}, sales_item_id: #{@sales_item_id}, payer_group:"\
|
1713
|
+
" #{@payer_group}, payer_group_name: #{@payer_group_name}, refund_flag: #{@refund_flag},"\
|
1714
|
+
" original_sales_item_id: #{@original_sales_item_id}, delco_name: #{@delco_name},"\
|
1715
|
+
" delco_code: #{@delco_code}, payer_number: #{@payer_number}, payer_name: #{@payer_name},"\
|
1716
|
+
" card_expiry_period: #{@card_expiry_period}, authorisation_code: #{@authorisation_code},"\
|
1717
|
+
" transaction_id: #{@transaction_id}, transaction_line: #{@transaction_line},"\
|
1718
|
+
" allow_clearing: #{@allow_clearing}, crm_number: #{@crm_number}, dispute_status:"\
|
1719
|
+
" #{@dispute_status}, rebate_rate: #{@rebate_rate}, del_co_to_col_co_exchange_rate:"\
|
1720
|
+
" #{@del_co_to_col_co_exchange_rate}, net_euro_amount: #{@net_euro_amount},"\
|
1721
|
+
" euro_rebate_amount: #{@euro_rebate_amount}, euro_vat_amount: #{@euro_vat_amount},"\
|
1722
|
+
" parent_customer_number: #{@parent_customer_number}, parent_customer_name:"\
|
1723
|
+
" #{@parent_customer_name}, parent_customer_id: #{@parent_customer_id},"\
|
1724
|
+
" incoming_site_number: #{@incoming_site_number}, incoming_site_description:"\
|
1725
|
+
" #{@incoming_site_description}, incoming_currency_code: #{@incoming_currency_code},"\
|
1726
|
+
" incoming_product_code: #{@incoming_product_code}, credit_debit_code:"\
|
1727
|
+
" #{@credit_debit_code}, correction_flag: #{@correction_flag}, additional1: #{@additional1},"\
|
1728
|
+
" additional2: #{@additional2}, additional3: #{@additional3}, additional4: #{@additional4},"\
|
1729
|
+
" rebateon_net_amount_in_customer_currency: #{@rebateon_net_amount_in_customer_currency},"\
|
1730
|
+
' rebateon_net_amount_in_transaction_currency:'\
|
1731
|
+
" #{@rebateon_net_amount_in_transaction_currency}, network_code: #{@network_code},"\
|
1732
|
+
" trn_identifier: #{@trn_identifier}, card_type: #{@card_type}, delco_list_price_unit_net:"\
|
1733
|
+
" #{@delco_list_price_unit_net}, delco_retail_price_unit_net:"\
|
1734
|
+
" #{@delco_retail_price_unit_net}, delco_retail_price_unit_gross:"\
|
1735
|
+
" #{@delco_retail_price_unit_gross}, delco_retail_value_total_net:"\
|
1736
|
+
" #{@delco_retail_value_total_net}, delco_retail_value_total_gross:"\
|
1737
|
+
" #{@delco_retail_value_total_gross}, customer_retail_price_unit_gross:"\
|
1738
|
+
" #{@customer_retail_price_unit_gross}, customer_retail_value_total_gross:"\
|
1739
|
+
" #{@customer_retail_value_total_gross}, customer_retail_value_total_net:"\
|
1740
|
+
" #{@customer_retail_value_total_net}, transaction_type_description:"\
|
1741
|
+
" #{@transaction_type_description}, error: #{@error}, request_id: #{@request_id}>"
|
1742
|
+
end
|
1743
|
+
|
1744
|
+
# Provides a debugging-friendly string with detailed object information.
|
1745
|
+
def inspect
|
1746
|
+
class_name = self.class.name.split('::').last
|
1747
|
+
"<#{class_name} type: #{@type.inspect}, card_id: #{@card_id.inspect}, card_pan:"\
|
1748
|
+
" #{@card_pan.inspect}, card_expiry: #{@card_expiry.inspect}, transaction_date:"\
|
1749
|
+
" #{@transaction_date.inspect}, transaction_time: #{@transaction_time.inspect}, utc_offset:"\
|
1750
|
+
" #{@utc_offset.inspect}, fleet_id_input: #{@fleet_id_input.inspect}, odometer_input:"\
|
1751
|
+
" #{@odometer_input.inspect}, driver_name: #{@driver_name.inspect}, vehicle_registration:"\
|
1752
|
+
" #{@vehicle_registration.inspect}, invoice_currency_code:"\
|
1753
|
+
" #{@invoice_currency_code.inspect}, invoice_currency_symbol:"\
|
1754
|
+
" #{@invoice_currency_symbol.inspect}, transaction_currency_code:"\
|
1755
|
+
" #{@transaction_currency_code.inspect}, transaction_currency_symbol:"\
|
1756
|
+
" #{@transaction_currency_symbol.inspect}, transaction_net_amount:"\
|
1757
|
+
" #{@transaction_net_amount.inspect}, transaction_tax: #{@transaction_tax.inspect},"\
|
1758
|
+
" transaction_gross_amount: #{@transaction_gross_amount.inspect}, invoice_net_amount:"\
|
1759
|
+
" #{@invoice_net_amount.inspect}, invoice_tax: #{@invoice_tax.inspect},"\
|
1760
|
+
" invoice_gross_amount: #{@invoice_gross_amount.inspect}, purchased_in_country:"\
|
1761
|
+
" #{@purchased_in_country.inspect}, account_id: #{@account_id.inspect}, account_number:"\
|
1762
|
+
" #{@account_number.inspect}, account_name: #{@account_name.inspect}, account_short_name:"\
|
1763
|
+
" #{@account_short_name.inspect}, quantity: #{@quantity.inspect}, fuel_product:"\
|
1764
|
+
" #{@fuel_product.inspect}, unit_price_in_transaction_currency:"\
|
1765
|
+
" #{@unit_price_in_transaction_currency.inspect}, unit_price_in_invoice_currency:"\
|
1766
|
+
" #{@unit_price_in_invoice_currency.inspect}, unit_discount_transaction_currency:"\
|
1767
|
+
" #{@unit_discount_transaction_currency.inspect}, unit_discount_invoice_currency:"\
|
1768
|
+
" #{@unit_discount_invoice_currency.inspect}, is_invoiced: #{@is_invoiced.inspect},"\
|
1769
|
+
" invoice_number: #{@invoice_number.inspect}, invoice_date: #{@invoice_date.inspect},"\
|
1770
|
+
" site_code: #{@site_code.inspect}, site_name: #{@site_name.inspect}, site_country:"\
|
1771
|
+
" #{@site_country.inspect}, location: #{@location.inspect}, card_group_name:"\
|
1772
|
+
" #{@card_group_name.inspect}, receipt_number: #{@receipt_number.inspect}, product_code:"\
|
1773
|
+
" #{@product_code.inspect}, product_name: #{@product_name.inspect}, product_group_id:"\
|
1774
|
+
" #{@product_group_id.inspect}, product_group_name: #{@product_group_name.inspect},"\
|
1775
|
+
" del_co_exchange_rate: #{@del_co_exchange_rate.inspect}, col_co_exchange_rate:"\
|
1776
|
+
" #{@col_co_exchange_rate.inspect}, is_shell_site: #{@is_shell_site.inspect}, network:"\
|
1777
|
+
" #{@network.inspect}, site_group_id: #{@site_group_id.inspect}, site_group_name:"\
|
1778
|
+
" #{@site_group_name.inspect}, posting_date: #{@posting_date.inspect}, issuer_code:"\
|
1779
|
+
" #{@issuer_code.inspect}, purchased_in_country_code: #{@purchased_in_country_code.inspect},"\
|
1780
|
+
" customer_country_code: #{@customer_country_code.inspect}, customer_country:"\
|
1781
|
+
" #{@customer_country.inspect}, release_code: #{@release_code.inspect}, card_group_id:"\
|
1782
|
+
" #{@card_group_id.inspect}, card_sequence_number: #{@card_sequence_number.inspect},"\
|
1783
|
+
" check_digit: #{@check_digit.inspect}, fleet_id_description:"\
|
1784
|
+
" #{@fleet_id_description.inspect}, vat_rate: #{@vat_rate.inspect}, vat_category:"\
|
1785
|
+
" #{@vat_category.inspect}, vat_country: #{@vat_country.inspect},"\
|
1786
|
+
" effective_discount_in_trx_currency: #{@effective_discount_in_trx_currency.inspect},"\
|
1787
|
+
" transaction_type: #{@transaction_type.inspect}, pin_indicator: #{@pin_indicator.inspect},"\
|
1788
|
+
" vat_applicable: #{@vat_applicable.inspect}, net_invoice_indicator:"\
|
1789
|
+
" #{@net_invoice_indicator.inspect}, customer_currency_code:"\
|
1790
|
+
" #{@customer_currency_code.inspect}, customer_currency_symbol:"\
|
1791
|
+
" #{@customer_currency_symbol.inspect}, effective_unit_discount_in_customer_currency:"\
|
1792
|
+
" #{@effective_unit_discount_in_customer_currency.inspect},"\
|
1793
|
+
' effective_discount_in_customer_currency:'\
|
1794
|
+
" #{@effective_discount_in_customer_currency.inspect},"\
|
1795
|
+
' va_ton_net_amount_in_customer_currency:'\
|
1796
|
+
" #{@va_ton_net_amount_in_customer_currency.inspect}, discount_type:"\
|
1797
|
+
" #{@discount_type.inspect}, transaction_status: #{@transaction_status.inspect},"\
|
1798
|
+
" sales_item_id: #{@sales_item_id.inspect}, payer_group: #{@payer_group.inspect},"\
|
1799
|
+
" payer_group_name: #{@payer_group_name.inspect}, refund_flag: #{@refund_flag.inspect},"\
|
1800
|
+
" original_sales_item_id: #{@original_sales_item_id.inspect}, delco_name:"\
|
1801
|
+
" #{@delco_name.inspect}, delco_code: #{@delco_code.inspect}, payer_number:"\
|
1802
|
+
" #{@payer_number.inspect}, payer_name: #{@payer_name.inspect}, card_expiry_period:"\
|
1803
|
+
" #{@card_expiry_period.inspect}, authorisation_code: #{@authorisation_code.inspect},"\
|
1804
|
+
" transaction_id: #{@transaction_id.inspect}, transaction_line:"\
|
1805
|
+
" #{@transaction_line.inspect}, allow_clearing: #{@allow_clearing.inspect}, crm_number:"\
|
1806
|
+
" #{@crm_number.inspect}, dispute_status: #{@dispute_status.inspect}, rebate_rate:"\
|
1807
|
+
" #{@rebate_rate.inspect}, del_co_to_col_co_exchange_rate:"\
|
1808
|
+
" #{@del_co_to_col_co_exchange_rate.inspect}, net_euro_amount: #{@net_euro_amount.inspect},"\
|
1809
|
+
" euro_rebate_amount: #{@euro_rebate_amount.inspect}, euro_vat_amount:"\
|
1810
|
+
" #{@euro_vat_amount.inspect}, parent_customer_number: #{@parent_customer_number.inspect},"\
|
1811
|
+
" parent_customer_name: #{@parent_customer_name.inspect}, parent_customer_id:"\
|
1812
|
+
" #{@parent_customer_id.inspect}, incoming_site_number: #{@incoming_site_number.inspect},"\
|
1813
|
+
" incoming_site_description: #{@incoming_site_description.inspect}, incoming_currency_code:"\
|
1814
|
+
" #{@incoming_currency_code.inspect}, incoming_product_code:"\
|
1815
|
+
" #{@incoming_product_code.inspect}, credit_debit_code: #{@credit_debit_code.inspect},"\
|
1816
|
+
" correction_flag: #{@correction_flag.inspect}, additional1: #{@additional1.inspect},"\
|
1817
|
+
" additional2: #{@additional2.inspect}, additional3: #{@additional3.inspect}, additional4:"\
|
1818
|
+
" #{@additional4.inspect}, rebateon_net_amount_in_customer_currency:"\
|
1819
|
+
" #{@rebateon_net_amount_in_customer_currency.inspect},"\
|
1820
|
+
' rebateon_net_amount_in_transaction_currency:'\
|
1821
|
+
" #{@rebateon_net_amount_in_transaction_currency.inspect}, network_code:"\
|
1822
|
+
" #{@network_code.inspect}, trn_identifier: #{@trn_identifier.inspect}, card_type:"\
|
1823
|
+
" #{@card_type.inspect}, delco_list_price_unit_net: #{@delco_list_price_unit_net.inspect},"\
|
1824
|
+
" delco_retail_price_unit_net: #{@delco_retail_price_unit_net.inspect},"\
|
1825
|
+
" delco_retail_price_unit_gross: #{@delco_retail_price_unit_gross.inspect},"\
|
1826
|
+
" delco_retail_value_total_net: #{@delco_retail_value_total_net.inspect},"\
|
1827
|
+
" delco_retail_value_total_gross: #{@delco_retail_value_total_gross.inspect},"\
|
1828
|
+
" customer_retail_price_unit_gross: #{@customer_retail_price_unit_gross.inspect},"\
|
1829
|
+
" customer_retail_value_total_gross: #{@customer_retail_value_total_gross.inspect},"\
|
1830
|
+
" customer_retail_value_total_net: #{@customer_retail_value_total_net.inspect},"\
|
1831
|
+
" transaction_type_description: #{@transaction_type_description.inspect}, error:"\
|
1832
|
+
" #{@error.inspect}, request_id: #{@request_id.inspect}>"
|
1833
|
+
end
|
1668
1834
|
end
|
1669
1835
|
end
|
@@ -102,5 +102,20 @@ module ShellDataReportingApIs
|
|
102
102
|
page_size,
|
103
103
|
total_pages)
|
104
104
|
end
|
105
|
+
|
106
|
+
# Provides a human-readable string representation of the object.
|
107
|
+
def to_s
|
108
|
+
class_name = self.class.name.split('::').last
|
109
|
+
"<#{class_name} request_id: #{@request_id}, status: #{@status}, data: #{@data}, page:"\
|
110
|
+
" #{@page}, page_size: #{@page_size}, total_pages: #{@total_pages}>"
|
111
|
+
end
|
112
|
+
|
113
|
+
# Provides a debugging-friendly string with detailed object information.
|
114
|
+
def inspect
|
115
|
+
class_name = self.class.name.split('::').last
|
116
|
+
"<#{class_name} request_id: #{@request_id.inspect}, status: #{@status.inspect}, data:"\
|
117
|
+
" #{@data.inspect}, page: #{@page.inspect}, page_size: #{@page_size.inspect}, total_pages:"\
|
118
|
+
" #{@total_pages.inspect}>"
|
119
|
+
end
|
105
120
|
end
|
106
121
|
end
|
@@ -108,5 +108,23 @@ module ShellDataReportingApIs
|
|
108
108
|
total_volume,
|
109
109
|
next_fee_creation_date)
|
110
110
|
end
|
111
|
+
|
112
|
+
# Provides a human-readable string representation of the object.
|
113
|
+
def to_s
|
114
|
+
class_name = self.class.name.split('::').last
|
115
|
+
"<#{class_name} fee_rule_id: #{@fee_rule_id}, fee_rule_description:"\
|
116
|
+
" #{@fee_rule_description}, price_rule_id: #{@price_rule_id}, price_rule_description:"\
|
117
|
+
" #{@price_rule_description}, total_volume: #{@total_volume}, next_fee_creation_date:"\
|
118
|
+
" #{@next_fee_creation_date}>"
|
119
|
+
end
|
120
|
+
|
121
|
+
# Provides a debugging-friendly string with detailed object information.
|
122
|
+
def inspect
|
123
|
+
class_name = self.class.name.split('::').last
|
124
|
+
"<#{class_name} fee_rule_id: #{@fee_rule_id.inspect}, fee_rule_description:"\
|
125
|
+
" #{@fee_rule_description.inspect}, price_rule_id: #{@price_rule_id.inspect},"\
|
126
|
+
" price_rule_description: #{@price_rule_description.inspect}, total_volume:"\
|
127
|
+
" #{@total_volume.inspect}, next_fee_creation_date: #{@next_fee_creation_date.inspect}>"
|
128
|
+
end
|
111
129
|
end
|
112
130
|
end
|
@@ -98,5 +98,21 @@ module ShellDataReportingApIs
|
|
98
98
|
fees_rule_description,
|
99
99
|
total_volume)
|
100
100
|
end
|
101
|
+
|
102
|
+
# Provides a human-readable string representation of the object.
|
103
|
+
def to_s
|
104
|
+
class_name = self.class.name.split('::').last
|
105
|
+
"<#{class_name} from_date: #{@from_date}, to_date: #{@to_date}, fees_rule_id:"\
|
106
|
+
" #{@fees_rule_id}, fees_rule_description: #{@fees_rule_description}, total_volume:"\
|
107
|
+
" #{@total_volume}>"
|
108
|
+
end
|
109
|
+
|
110
|
+
# Provides a debugging-friendly string with detailed object information.
|
111
|
+
def inspect
|
112
|
+
class_name = self.class.name.split('::').last
|
113
|
+
"<#{class_name} from_date: #{@from_date.inspect}, to_date: #{@to_date.inspect},"\
|
114
|
+
" fees_rule_id: #{@fees_rule_id.inspect}, fees_rule_description:"\
|
115
|
+
" #{@fees_rule_description.inspect}, total_volume: #{@total_volume.inspect}>"
|
116
|
+
end
|
101
117
|
end
|
102
118
|
end
|
@@ -107,5 +107,19 @@ module ShellDataReportingApIs
|
|
107
107
|
is_visible,
|
108
108
|
product_groups)
|
109
109
|
end
|
110
|
+
|
111
|
+
# Provides a human-readable string representation of the object.
|
112
|
+
def to_s
|
113
|
+
class_name = self.class.name.split('::').last
|
114
|
+
"<#{class_name} id: #{@id}, code: #{@code}, name: #{@name}, is_visible: #{@is_visible},"\
|
115
|
+
" product_groups: #{@product_groups}>"
|
116
|
+
end
|
117
|
+
|
118
|
+
# Provides a debugging-friendly string with detailed object information.
|
119
|
+
def inspect
|
120
|
+
class_name = self.class.name.split('::').last
|
121
|
+
"<#{class_name} id: #{@id.inspect}, code: #{@code.inspect}, name: #{@name.inspect},"\
|
122
|
+
" is_visible: #{@is_visible.inspect}, product_groups: #{@product_groups.inspect}>"
|
123
|
+
end
|
110
124
|
end
|
111
125
|
end
|
@@ -205,5 +205,31 @@ module ShellDataReportingApIs
|
|
205
205
|
card_issuer_name,
|
206
206
|
column_list)
|
207
207
|
end
|
208
|
+
|
209
|
+
# Provides a human-readable string representation of the object.
|
210
|
+
def to_s
|
211
|
+
class_name = self.class.name.split('::').last
|
212
|
+
"<#{class_name} col_co_code: #{@col_co_code}, payer_number: #{@payer_number},"\
|
213
|
+
" account_number: #{@account_number}, product_code: #{@product_code}, purchased_in_country:"\
|
214
|
+
" #{@purchased_in_country}, card_pan: #{@card_pan}, from_date_time: #{@from_date_time},"\
|
215
|
+
" to_date_time: #{@to_date_time}, transaction_status: #{@transaction_status}, fuel_only:"\
|
216
|
+
" #{@fuel_only}, product_group_name: #{@product_group_name}, vehicle_registration_number:"\
|
217
|
+
" #{@vehicle_registration_number}, include_declines: #{@include_declines}, card_issuer_name:"\
|
218
|
+
" #{@card_issuer_name}, column_list: #{@column_list}>"
|
219
|
+
end
|
220
|
+
|
221
|
+
# Provides a debugging-friendly string with detailed object information.
|
222
|
+
def inspect
|
223
|
+
class_name = self.class.name.split('::').last
|
224
|
+
"<#{class_name} col_co_code: #{@col_co_code.inspect}, payer_number:"\
|
225
|
+
" #{@payer_number.inspect}, account_number: #{@account_number.inspect}, product_code:"\
|
226
|
+
" #{@product_code.inspect}, purchased_in_country: #{@purchased_in_country.inspect},"\
|
227
|
+
" card_pan: #{@card_pan.inspect}, from_date_time: #{@from_date_time.inspect}, to_date_time:"\
|
228
|
+
" #{@to_date_time.inspect}, transaction_status: #{@transaction_status.inspect}, fuel_only:"\
|
229
|
+
" #{@fuel_only.inspect}, product_group_name: #{@product_group_name.inspect},"\
|
230
|
+
" vehicle_registration_number: #{@vehicle_registration_number.inspect}, include_declines:"\
|
231
|
+
" #{@include_declines.inspect}, card_issuer_name: #{@card_issuer_name.inspect}, column_list:"\
|
232
|
+
" #{@column_list.inspect}>"
|
233
|
+
end
|
208
234
|
end
|
209
235
|
end
|
@@ -60,5 +60,18 @@ module ShellDataReportingApIs
|
|
60
60
|
page,
|
61
61
|
filters)
|
62
62
|
end
|
63
|
+
|
64
|
+
# Provides a human-readable string representation of the object.
|
65
|
+
def to_s
|
66
|
+
class_name = self.class.name.split('::').last
|
67
|
+
"<#{class_name} page_size: #{@page_size}, page: #{@page}, filters: #{@filters}>"
|
68
|
+
end
|
69
|
+
|
70
|
+
# Provides a debugging-friendly string with detailed object information.
|
71
|
+
def inspect
|
72
|
+
class_name = self.class.name.split('::').last
|
73
|
+
"<#{class_name} page_size: #{@page_size.inspect}, page: #{@page.inspect}, filters:"\
|
74
|
+
" #{@filters.inspect}>"
|
75
|
+
end
|
63
76
|
end
|
64
77
|
end
|
@@ -883,5 +883,103 @@ module ShellDataReportingApIs
|
|
883
883
|
ev_printed_number,
|
884
884
|
is_rfid)
|
885
885
|
end
|
886
|
+
|
887
|
+
# Provides a human-readable string representation of the object.
|
888
|
+
def to_s
|
889
|
+
class_name = self.class.name.split('::').last
|
890
|
+
"<#{class_name} col_co_code: #{@col_co_code}, payer_number: #{@payer_number},"\
|
891
|
+
" account_number: #{@account_number}, card_issue_number: #{@card_issue_number},"\
|
892
|
+
" collecting_company_currency_code: #{@collecting_company_currency_code},"\
|
893
|
+
" cust_data_customer_entered: #{@cust_data_customer_entered}, cust_data_driver_id:"\
|
894
|
+
" #{@cust_data_driver_id}, cust_data_fleet_description: #{@cust_data_fleet_description},"\
|
895
|
+
" fleet_id_input: #{@fleet_id_input}, amount: #{@amount}, euroshell_site_number:"\
|
896
|
+
" #{@euroshell_site_number}, incoming_product_code: #{@incoming_product_code}, product_code:"\
|
897
|
+
" #{@product_code}, product_name: #{@product_name}, site_code: #{@site_code},"\
|
898
|
+
" hosting_collecting_company_name: #{@hosting_collecting_company_name},"\
|
899
|
+
" hosting_collecting_company_number: #{@hosting_collecting_company_number},"\
|
900
|
+
" iccdata_tran_type_code: #{@iccdata_tran_type_code}, transaction_type:"\
|
901
|
+
" #{@transaction_type}, latitude: #{@latitude}, longitude: #{@longitude}, merchant_category:"\
|
902
|
+
" #{@merchant_category}, merchant_category_description: #{@merchant_category_description},"\
|
903
|
+
" purchased_in_country: #{@purchased_in_country}, merchant_id: #{@merchant_id}, site_name:"\
|
904
|
+
" #{@site_name}, network: #{@network}, delco_code: #{@delco_code}, odometer_input:"\
|
905
|
+
" #{@odometer_input}, odometer_reading_km: #{@odometer_reading_km}, odometer_reading_miles:"\
|
906
|
+
" #{@odometer_reading_miles}, card_pan: #{@card_pan}, pin_indicator: #{@pin_indicator},"\
|
907
|
+
" poi_receipt_number: #{@poi_receipt_number}, products_code_additional:"\
|
908
|
+
" #{@products_code_additional}, products_tax_code: #{@products_tax_code}, fuel_volume:"\
|
909
|
+
" #{@fuel_volume}, sfgw_card_date_of_expiry: #{@sfgw_card_date_of_expiry},"\
|
910
|
+
" site_currency_iso_code: #{@site_currency_iso_code}, card_id: #{@card_id},"\
|
911
|
+
" transaction_date: #{@transaction_date}, transaction_date_time: #{@transaction_date_time},"\
|
912
|
+
" transaction_id: #{@transaction_id}, transaction_status: #{@transaction_status},"\
|
913
|
+
" unit_of_measure: #{@unit_of_measure}, vehicle_registration_number:"\
|
914
|
+
" #{@vehicle_registration_number}, network_delco_name: #{@network_delco_name},"\
|
915
|
+
" product_group_name: #{@product_group_name}, fuel_product: #{@fuel_product},"\
|
916
|
+
" account_customer_name: #{@account_customer_name}, payer_name: #{@payer_name},"\
|
917
|
+
" transaction_time: #{@transaction_time}, transaction_currency: #{@transaction_currency},"\
|
918
|
+
" unit_price: #{@unit_price}, authorised_flag: #{@authorised_flag}, transaction_time_gmt:"\
|
919
|
+
" #{@transaction_time_gmt}, reason_code: #{@reason_code}, issuer_action_code:"\
|
920
|
+
" #{@issuer_action_code}, issuer_action_code_description:"\
|
921
|
+
" #{@issuer_action_code_description}, declined_reason: #{@declined_reason},"\
|
922
|
+
" card_status_reason_description: #{@card_status_reason_description}, transaction_country:"\
|
923
|
+
" #{@transaction_country}, issuing_collecting_company_name:"\
|
924
|
+
" #{@issuing_collecting_company_name}, card_issuer_name: #{@card_issuer_name}, driver_name:"\
|
925
|
+
" #{@driver_name}, bearer_description: #{@bearer_description}, card_category_description:"\
|
926
|
+
" #{@card_category_description}, card_type_description: #{@card_type_description},"\
|
927
|
+
" card_token_type_description: #{@card_token_type_description}, emboss_type:"\
|
928
|
+
" #{@emboss_type}, ev_printed_number: #{@ev_printed_number}, is_rfid: #{@is_rfid}>"
|
929
|
+
end
|
930
|
+
|
931
|
+
# Provides a debugging-friendly string with detailed object information.
|
932
|
+
def inspect
|
933
|
+
class_name = self.class.name.split('::').last
|
934
|
+
"<#{class_name} col_co_code: #{@col_co_code.inspect}, payer_number:"\
|
935
|
+
" #{@payer_number.inspect}, account_number: #{@account_number.inspect}, card_issue_number:"\
|
936
|
+
" #{@card_issue_number.inspect}, collecting_company_currency_code:"\
|
937
|
+
" #{@collecting_company_currency_code.inspect}, cust_data_customer_entered:"\
|
938
|
+
" #{@cust_data_customer_entered.inspect}, cust_data_driver_id:"\
|
939
|
+
" #{@cust_data_driver_id.inspect}, cust_data_fleet_description:"\
|
940
|
+
" #{@cust_data_fleet_description.inspect}, fleet_id_input: #{@fleet_id_input.inspect},"\
|
941
|
+
" amount: #{@amount.inspect}, euroshell_site_number: #{@euroshell_site_number.inspect},"\
|
942
|
+
" incoming_product_code: #{@incoming_product_code.inspect}, product_code:"\
|
943
|
+
" #{@product_code.inspect}, product_name: #{@product_name.inspect}, site_code:"\
|
944
|
+
" #{@site_code.inspect}, hosting_collecting_company_name:"\
|
945
|
+
" #{@hosting_collecting_company_name.inspect}, hosting_collecting_company_number:"\
|
946
|
+
" #{@hosting_collecting_company_number.inspect}, iccdata_tran_type_code:"\
|
947
|
+
" #{@iccdata_tran_type_code.inspect}, transaction_type: #{@transaction_type.inspect},"\
|
948
|
+
" latitude: #{@latitude.inspect}, longitude: #{@longitude.inspect}, merchant_category:"\
|
949
|
+
" #{@merchant_category.inspect}, merchant_category_description:"\
|
950
|
+
" #{@merchant_category_description.inspect}, purchased_in_country:"\
|
951
|
+
" #{@purchased_in_country.inspect}, merchant_id: #{@merchant_id.inspect}, site_name:"\
|
952
|
+
" #{@site_name.inspect}, network: #{@network.inspect}, delco_code: #{@delco_code.inspect},"\
|
953
|
+
" odometer_input: #{@odometer_input.inspect}, odometer_reading_km:"\
|
954
|
+
" #{@odometer_reading_km.inspect}, odometer_reading_miles:"\
|
955
|
+
" #{@odometer_reading_miles.inspect}, card_pan: #{@card_pan.inspect}, pin_indicator:"\
|
956
|
+
" #{@pin_indicator.inspect}, poi_receipt_number: #{@poi_receipt_number.inspect},"\
|
957
|
+
" products_code_additional: #{@products_code_additional.inspect}, products_tax_code:"\
|
958
|
+
" #{@products_tax_code.inspect}, fuel_volume: #{@fuel_volume.inspect},"\
|
959
|
+
" sfgw_card_date_of_expiry: #{@sfgw_card_date_of_expiry.inspect}, site_currency_iso_code:"\
|
960
|
+
" #{@site_currency_iso_code.inspect}, card_id: #{@card_id.inspect}, transaction_date:"\
|
961
|
+
" #{@transaction_date.inspect}, transaction_date_time: #{@transaction_date_time.inspect},"\
|
962
|
+
" transaction_id: #{@transaction_id.inspect}, transaction_status:"\
|
963
|
+
" #{@transaction_status.inspect}, unit_of_measure: #{@unit_of_measure.inspect},"\
|
964
|
+
" vehicle_registration_number: #{@vehicle_registration_number.inspect}, network_delco_name:"\
|
965
|
+
" #{@network_delco_name.inspect}, product_group_name: #{@product_group_name.inspect},"\
|
966
|
+
" fuel_product: #{@fuel_product.inspect}, account_customer_name:"\
|
967
|
+
" #{@account_customer_name.inspect}, payer_name: #{@payer_name.inspect}, transaction_time:"\
|
968
|
+
" #{@transaction_time.inspect}, transaction_currency: #{@transaction_currency.inspect},"\
|
969
|
+
" unit_price: #{@unit_price.inspect}, authorised_flag: #{@authorised_flag.inspect},"\
|
970
|
+
" transaction_time_gmt: #{@transaction_time_gmt.inspect}, reason_code:"\
|
971
|
+
" #{@reason_code.inspect}, issuer_action_code: #{@issuer_action_code.inspect},"\
|
972
|
+
" issuer_action_code_description: #{@issuer_action_code_description.inspect},"\
|
973
|
+
" declined_reason: #{@declined_reason.inspect}, card_status_reason_description:"\
|
974
|
+
" #{@card_status_reason_description.inspect}, transaction_country:"\
|
975
|
+
" #{@transaction_country.inspect}, issuing_collecting_company_name:"\
|
976
|
+
" #{@issuing_collecting_company_name.inspect}, card_issuer_name:"\
|
977
|
+
" #{@card_issuer_name.inspect}, driver_name: #{@driver_name.inspect}, bearer_description:"\
|
978
|
+
" #{@bearer_description.inspect}, card_category_description:"\
|
979
|
+
" #{@card_category_description.inspect}, card_type_description:"\
|
980
|
+
" #{@card_type_description.inspect}, card_token_type_description:"\
|
981
|
+
" #{@card_token_type_description.inspect}, emboss_type: #{@emboss_type.inspect},"\
|
982
|
+
" ev_printed_number: #{@ev_printed_number.inspect}, is_rfid: #{@is_rfid.inspect}>"
|
983
|
+
end
|
886
984
|
end
|
887
985
|
end
|
@@ -102,5 +102,20 @@ module ShellDataReportingApIs
|
|
102
102
|
total_pages,
|
103
103
|
data)
|
104
104
|
end
|
105
|
+
|
106
|
+
# Provides a human-readable string representation of the object.
|
107
|
+
def to_s
|
108
|
+
class_name = self.class.name.split('::').last
|
109
|
+
"<#{class_name} request_id: #{@request_id}, status: #{@status}, page: #{@page}, row_count:"\
|
110
|
+
" #{@row_count}, total_pages: #{@total_pages}, data: #{@data}>"
|
111
|
+
end
|
112
|
+
|
113
|
+
# Provides a debugging-friendly string with detailed object information.
|
114
|
+
def inspect
|
115
|
+
class_name = self.class.name.split('::').last
|
116
|
+
"<#{class_name} request_id: #{@request_id.inspect}, status: #{@status.inspect}, page:"\
|
117
|
+
" #{@page.inspect}, row_count: #{@row_count.inspect}, total_pages: #{@total_pages.inspect},"\
|
118
|
+
" data: #{@data.inspect}>"
|
119
|
+
end
|
105
120
|
end
|
106
121
|
end
|
@@ -95,5 +95,22 @@ module ShellDataReportingApIs
|
|
95
95
|
is_service_account,
|
96
96
|
is_user_admin)
|
97
97
|
end
|
98
|
+
|
99
|
+
# Provides a human-readable string representation of the object.
|
100
|
+
def to_s
|
101
|
+
class_name = self.class.name.split('::').last
|
102
|
+
"<#{class_name} role_name: #{@role_name}, is_customer_admin: #{@is_customer_admin},"\
|
103
|
+
" is_customer_user: #{@is_customer_user}, is_shell_admin: #{@is_shell_admin},"\
|
104
|
+
" is_service_account: #{@is_service_account}, is_user_admin: #{@is_user_admin}>"
|
105
|
+
end
|
106
|
+
|
107
|
+
# Provides a debugging-friendly string with detailed object information.
|
108
|
+
def inspect
|
109
|
+
class_name = self.class.name.split('::').last
|
110
|
+
"<#{class_name} role_name: #{@role_name.inspect}, is_customer_admin:"\
|
111
|
+
" #{@is_customer_admin.inspect}, is_customer_user: #{@is_customer_user.inspect},"\
|
112
|
+
" is_shell_admin: #{@is_shell_admin.inspect}, is_service_account:"\
|
113
|
+
" #{@is_service_account.inspect}, is_user_admin: #{@is_user_admin.inspect}>"
|
114
|
+
end
|
98
115
|
end
|
99
116
|
end
|
@@ -257,5 +257,33 @@ module ShellDataReportingApIs
|
|
257
257
|
vat_issuer_country,
|
258
258
|
sorty_by)
|
259
259
|
end
|
260
|
+
|
261
|
+
# Provides a human-readable string representation of the object.
|
262
|
+
def to_s
|
263
|
+
class_name = self.class.name.split('::').last
|
264
|
+
"<#{class_name} payer_number: #{@payer_number}, account_number: #{@account_number},"\
|
265
|
+
" account_number_list: #{@account_number_list}, invoice_number: #{@invoice_number},"\
|
266
|
+
" invoice_number_list: #{@invoice_number_list}, invoice_status: #{@invoice_status},"\
|
267
|
+
" issuing_date_from: #{@issuing_date_from}, issuing_date_to: #{@issuing_date_to},"\
|
268
|
+
" due_date_from: #{@due_date_from}, due_date_to: #{@due_date_to}, gross_amount:"\
|
269
|
+
" #{@gross_amount}, gross_amount_operator: #{@gross_amount_operator}, document_type:"\
|
270
|
+
" #{@document_type}, vat_issuer_country: #{@vat_issuer_country}, sorty_by: #{@sorty_by},"\
|
271
|
+
" col_co_code: #{@col_co_code}>"
|
272
|
+
end
|
273
|
+
|
274
|
+
# Provides a debugging-friendly string with detailed object information.
|
275
|
+
def inspect
|
276
|
+
class_name = self.class.name.split('::').last
|
277
|
+
"<#{class_name} payer_number: #{@payer_number.inspect}, account_number:"\
|
278
|
+
" #{@account_number.inspect}, account_number_list: #{@account_number_list.inspect},"\
|
279
|
+
" invoice_number: #{@invoice_number.inspect}, invoice_number_list:"\
|
280
|
+
" #{@invoice_number_list.inspect}, invoice_status: #{@invoice_status.inspect},"\
|
281
|
+
" issuing_date_from: #{@issuing_date_from.inspect}, issuing_date_to:"\
|
282
|
+
" #{@issuing_date_to.inspect}, due_date_from: #{@due_date_from.inspect}, due_date_to:"\
|
283
|
+
" #{@due_date_to.inspect}, gross_amount: #{@gross_amount.inspect}, gross_amount_operator:"\
|
284
|
+
" #{@gross_amount_operator.inspect}, document_type: #{@document_type.inspect},"\
|
285
|
+
" vat_issuer_country: #{@vat_issuer_country.inspect}, sorty_by: #{@sorty_by.inspect},"\
|
286
|
+
" col_co_code: #{@col_co_code.inspect}>"
|
287
|
+
end
|
260
288
|
end
|
261
289
|
end
|