citypay_api_client 1.0.2 → 1.1.1
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/README.md +105 -34
- data/citypay_api_client.gemspec +4 -5
- data/docs/AccountCreate.md +10 -9
- data/docs/AccountStatus.md +8 -7
- data/docs/Acknowledgement.md +14 -13
- data/docs/AclCheckRequest.md +18 -0
- data/docs/AclCheckResponseModel.md +24 -0
- data/docs/AirlineAdvice.md +38 -37
- data/docs/AirlineSegment.md +22 -21
- data/docs/AuthReference.md +34 -33
- data/docs/AuthReferences.md +8 -7
- data/docs/AuthRequest.md +50 -49
- data/docs/AuthResponse.md +60 -59
- data/docs/AuthenRequired.md +12 -11
- data/docs/AuthorisationAndPaymentApi.md +559 -0
- data/docs/Batch.md +22 -0
- data/docs/BatchProcessingApi.md +214 -0
- data/docs/BatchReportRequest.md +20 -0
- data/docs/BatchReportResponseModel.md +28 -0
- data/docs/BatchTransaction.md +24 -0
- data/docs/BatchTransactionResultModel.md +40 -0
- data/docs/Bin.md +34 -0
- data/docs/BinLookup.md +18 -0
- data/docs/CResAuthRequest.md +8 -7
- data/docs/CaptureRequest.md +18 -17
- data/docs/Card.md +46 -41
- data/docs/CardHolderAccount.md +24 -21
- data/docs/CardHolderAccountApi.md +326 -105
- data/docs/CardStatus.md +10 -9
- data/docs/ChargeRequest.md +36 -31
- data/docs/CheckBatchStatus.md +20 -0
- data/docs/CheckBatchStatusResponse.md +18 -0
- data/docs/ContactDetails.md +32 -31
- data/docs/Decision.md +12 -11
- data/docs/DirectPostApi.md +365 -0
- data/docs/DirectPostRequest.md +58 -0
- data/docs/DirectTokenAuthRequest.md +24 -0
- data/docs/DomainKeyCheckRequest.md +18 -0
- data/docs/DomainKeyRequest.md +22 -0
- data/docs/DomainKeyResponse.md +26 -0
- data/docs/Error.md +16 -13
- data/docs/EventDataModel.md +26 -0
- data/docs/Exists.md +22 -0
- data/docs/ExternalMPI.md +16 -15
- data/docs/ListMerchantsResponse.md +12 -11
- data/docs/MCC6012.md +14 -13
- data/docs/Merchant.md +16 -15
- data/docs/OperationalApi.md +124 -22
- data/docs/OperationalFunctionsApi.md +355 -0
- data/docs/PaResAuthRequest.md +10 -9
- data/docs/PaylinkAddress.md +30 -0
- data/docs/PaylinkAdjustmentRequest.md +22 -0
- data/docs/PaylinkApi.md +630 -0
- data/docs/PaylinkAttachmentRequest.md +26 -0
- data/docs/PaylinkAttachmentResult.md +22 -0
- data/docs/PaylinkBillPaymentTokenRequest.md +32 -0
- data/docs/PaylinkCardHolder.md +36 -0
- data/docs/PaylinkCart.md +30 -0
- data/docs/PaylinkCartItemModel.md +32 -0
- data/docs/PaylinkConfig.md +60 -0
- data/docs/PaylinkCustomParam.md +36 -0
- data/docs/PaylinkEmailNotificationPath.md +26 -0
- data/docs/PaylinkErrorCode.md +20 -0
- data/docs/PaylinkFieldGuardModel.md +30 -0
- data/docs/PaylinkPartPayments.md +28 -0
- data/docs/PaylinkSMSNotificationPath.md +20 -0
- data/docs/PaylinkStateEvent.md +22 -0
- data/docs/PaylinkTokenCreated.md +44 -0
- data/docs/PaylinkTokenRequestModel.md +38 -0
- data/docs/PaylinkTokenStatus.md +72 -0
- data/docs/PaylinkTokenStatusChangeRequest.md +26 -0
- data/docs/PaylinkTokenStatusChangeResponse.md +20 -0
- data/docs/PaylinkUI.md +24 -0
- data/docs/PaymentProcessingApi.md +307 -68
- data/docs/Ping.md +8 -7
- data/docs/ProcessBatchRequest.md +24 -0
- data/docs/ProcessBatchResponse.md +20 -0
- data/docs/RefundRequest.md +26 -0
- data/docs/RegisterCard.md +16 -13
- data/docs/RequestChallenged.md +16 -15
- data/docs/RetrieveRequest.md +12 -11
- data/docs/ThreeDSecure.md +32 -15
- data/docs/TokenisationResponseModel.md +36 -0
- data/docs/VoidRequest.md +12 -13
- data/lib/.DS_Store +0 -0
- data/lib/citypay_api_client/api/authorisation_and_payment_api__.rb +565 -0
- data/lib/citypay_api_client/api/batch_processing_api__.rb +225 -0
- data/lib/citypay_api_client/api/{card_holder_account_api.rb → card_holder_account_api__.rb} +136 -46
- data/lib/citypay_api_client/api/direct_post_api__.rb +373 -0
- data/lib/citypay_api_client/api/operational_functions_api__.rb +356 -0
- data/lib/citypay_api_client/api/paylink_api__.rb +614 -0
- data/lib/citypay_api_client/api_client.rb +59 -59
- data/lib/citypay_api_client/api_error.rb +2 -2
- data/lib/citypay_api_client/configuration.rb +53 -15
- data/lib/citypay_api_client/models/account_create.rb +21 -8
- data/lib/citypay_api_client/models/account_status.rb +21 -8
- data/lib/citypay_api_client/models/acknowledgement.rb +21 -8
- data/lib/citypay_api_client/models/acl_check_request.rb +224 -0
- data/lib/citypay_api_client/models/acl_check_response_model.rb +249 -0
- data/lib/citypay_api_client/models/airline_advice.rb +23 -10
- data/lib/citypay_api_client/models/airline_segment.rb +21 -8
- data/lib/citypay_api_client/models/api_key.rb +16 -0
- data/lib/citypay_api_client/models/auth_reference.rb +45 -11
- data/lib/citypay_api_client/models/auth_references.rb +21 -8
- data/lib/citypay_api_client/models/auth_request.rb +79 -33
- data/lib/citypay_api_client/models/auth_response.rb +43 -106
- data/lib/citypay_api_client/models/authen_required.rb +21 -8
- data/lib/citypay_api_client/models/batch.rb +264 -0
- data/lib/citypay_api_client/models/batch_report_request.rb +277 -0
- data/lib/citypay_api_client/models/batch_report_response_model.rb +357 -0
- data/lib/citypay_api_client/models/batch_transaction.rb +321 -0
- data/lib/citypay_api_client/models/batch_transaction_result_model.rb +421 -0
- data/lib/citypay_api_client/models/bin.rb +299 -0
- data/lib/citypay_api_client/models/bin_lookup.rb +234 -0
- data/lib/citypay_api_client/models/c_res_auth_request.rb +21 -8
- data/lib/citypay_api_client/models/capture_request.rb +38 -20
- data/lib/citypay_api_client/models/card.rb +67 -10
- data/lib/citypay_api_client/models/card_holder_account.rb +35 -12
- data/lib/citypay_api_client/models/card_status.rb +21 -8
- data/lib/citypay_api_client/models/charge_request.rb +96 -24
- data/lib/citypay_api_client/models/check_batch_status.rb +259 -0
- data/lib/citypay_api_client/models/check_batch_status_response.rb +220 -0
- data/lib/citypay_api_client/models/contact_details.rb +87 -44
- data/lib/citypay_api_client/models/decision.rb +21 -8
- data/lib/citypay_api_client/models/direct_post_request.rb +670 -0
- data/lib/citypay_api_client/models/direct_token_auth_request.rb +249 -0
- data/lib/citypay_api_client/models/domain_key_check_request.rb +252 -0
- data/lib/citypay_api_client/models/domain_key_request.rb +250 -0
- data/lib/citypay_api_client/models/domain_key_response.rb +294 -0
- data/lib/citypay_api_client/models/error.rb +35 -12
- data/lib/citypay_api_client/models/event_data_model.rb +259 -0
- data/lib/citypay_api_client/models/exists.rb +244 -0
- data/lib/citypay_api_client/models/external_mpi.rb +27 -8
- data/lib/citypay_api_client/models/list_merchants_response.rb +21 -8
- data/lib/citypay_api_client/models/mcc6012.rb +21 -8
- data/lib/citypay_api_client/models/merchant.rb +21 -8
- data/lib/citypay_api_client/models/pa_res_auth_request.rb +22 -9
- data/lib/citypay_api_client/models/paylink_address.rb +402 -0
- data/lib/citypay_api_client/models/paylink_adjustment_request.rb +269 -0
- data/lib/citypay_api_client/models/paylink_attachment_request.rb +269 -0
- data/lib/citypay_api_client/models/paylink_attachment_result.rb +249 -0
- data/lib/citypay_api_client/models/paylink_bill_payment_token_request.rb +292 -0
- data/lib/citypay_api_client/models/paylink_card_holder.rb +353 -0
- data/lib/citypay_api_client/models/paylink_cart.rb +280 -0
- data/lib/citypay_api_client/models/paylink_cart_item_model.rb +289 -0
- data/lib/citypay_api_client/models/paylink_config.rb +433 -0
- data/lib/citypay_api_client/models/paylink_custom_param.rb +314 -0
- data/lib/citypay_api_client/models/paylink_email_notification_path.rb +268 -0
- data/lib/citypay_api_client/models/paylink_error_code.rb +239 -0
- data/lib/citypay_api_client/models/paylink_field_guard_model.rb +279 -0
- data/lib/citypay_api_client/models/paylink_part_payments.rb +269 -0
- data/lib/citypay_api_client/models/paylink_sms_notification_path.rb +234 -0
- data/lib/citypay_api_client/models/paylink_state_event.rb +239 -0
- data/lib/citypay_api_client/models/paylink_token_created.rb +364 -0
- data/lib/citypay_api_client/models/paylink_token_request_model.rb +374 -0
- data/lib/citypay_api_client/models/paylink_token_status.rb +490 -0
- data/lib/citypay_api_client/models/paylink_token_status_change_request.rb +270 -0
- data/lib/citypay_api_client/models/paylink_token_status_change_response.rb +235 -0
- data/lib/citypay_api_client/models/paylink_ui.rb +249 -0
- data/lib/citypay_api_client/models/ping.rb +21 -8
- data/lib/citypay_api_client/models/process_batch_request.rb +308 -0
- data/lib/citypay_api_client/models/process_batch_response.rb +234 -0
- data/lib/citypay_api_client/models/refund_request.rb +332 -0
- data/lib/citypay_api_client/models/register_card.rb +59 -12
- data/lib/citypay_api_client/models/request_challenged.rb +29 -16
- data/lib/citypay_api_client/models/retrieve_request.rb +21 -8
- data/lib/citypay_api_client/models/three_d_secure.rb +106 -13
- data/lib/citypay_api_client/models/tokenisation_response_model.rb +333 -0
- data/lib/citypay_api_client/models/void_request.rb +22 -19
- data/lib/citypay_api_client/utils/digest_utils.rb +18 -0
- data/lib/citypay_api_client/utils/direct_post_mac.rb +22 -0
- data/lib/citypay_api_client/version.rb +3 -3
- data/lib/citypay_api_client.rb +53 -6
- data/spec/.DS_Store +0 -0
- data/spec/api/authorisation_and_payment_api___spec.rb +130 -0
- data/spec/api/batch_processing_api___spec.rb +70 -0
- data/spec/api/{card_holder_account_api_spec.rb → card_holder_account_api___spec.rb} +15 -3
- data/spec/api/direct_post_api___spec.rb +98 -0
- data/spec/api/operational_functions_api___spec.rb +94 -0
- data/spec/api/paylink_api___spec.rb +131 -0
- data/spec/api_client_spec.rb +4 -4
- data/spec/configuration_spec.rb +5 -5
- data/spec/it_api_sandbox_spec.rb +222 -0
- data/spec/models/acknowledgement_spec.rb +6 -8
- data/spec/models/acl_check_request_spec.rb +33 -0
- data/spec/models/acl_check_response_model_spec.rb +51 -0
- data/spec/models/auth_references_spec.rb +7 -8
- data/spec/models/auth_response_spec.rb +29 -30
- data/spec/models/batch_report_request_spec.rb +39 -0
- data/spec/models/batch_report_response_model_spec.rb +63 -0
- data/spec/models/batch_spec.rb +45 -0
- data/spec/models/batch_transaction_result_model_spec.rb +87 -0
- data/spec/models/batch_transaction_spec.rb +51 -0
- data/spec/models/bin_lookup_spec.rb +33 -0
- data/spec/models/bin_spec.rb +81 -0
- data/spec/models/card_holder_account_spec.rb +8 -5
- data/spec/models/check_batch_status_response_spec.rb +45 -0
- data/spec/models/check_batch_status_spec.rb +39 -0
- data/spec/models/decision_spec.rb +1 -1
- data/spec/models/direct_post_request_spec.rb +153 -0
- data/spec/models/direct_token_auth_request_spec.rb +51 -0
- data/spec/models/domain_key_check_request_spec.rb +33 -0
- data/spec/models/domain_key_request_spec.rb +45 -0
- data/spec/models/domain_key_response_spec.rb +57 -0
- data/spec/models/event_data_model_spec.rb +57 -0
- data/spec/{api/operational_api_spec.rb → models/exists_spec.rb} +14 -20
- data/spec/models/list_merchants_response_spec.rb +2 -2
- data/spec/models/paylink_address_spec.rb +69 -0
- data/spec/models/paylink_adjustment_request_spec.rb +45 -0
- data/spec/models/paylink_attachment_request_spec.rb +45 -0
- data/spec/models/paylink_attachment_result_spec.rb +45 -0
- data/spec/models/paylink_bill_payment_token_request_spec.rb +63 -0
- data/spec/models/paylink_card_holder_spec.rb +87 -0
- data/spec/models/paylink_cart_item_model_spec.rb +75 -0
- data/spec/models/paylink_cart_spec.rb +69 -0
- data/spec/models/paylink_config_spec.rb +159 -0
- data/spec/models/paylink_custom_param_spec.rb +87 -0
- data/spec/models/paylink_email_notification_path_spec.rb +57 -0
- data/spec/models/paylink_error_code_spec.rb +39 -0
- data/spec/models/paylink_field_guard_model_spec.rb +45 -0
- data/spec/models/paylink_part_payments_spec.rb +63 -0
- data/spec/models/paylink_sms_notification_path_spec.rb +39 -0
- data/spec/models/paylink_state_event_spec.rb +45 -0
- data/spec/models/paylink_token_created_spec.rb +111 -0
- data/spec/models/paylink_token_request_model_spec.rb +93 -0
- data/spec/models/paylink_token_status_change_request_spec.rb +57 -0
- data/spec/models/paylink_token_status_change_response_spec.rb +39 -0
- data/spec/models/paylink_token_status_spec.rb +195 -0
- data/spec/models/paylink_ui_spec.rb +51 -0
- data/spec/models/process_batch_request_spec.rb +51 -0
- data/spec/models/process_batch_response_spec.rb +39 -0
- data/spec/models/refund_request_spec.rb +64 -0
- data/spec/models/tokenisation_response_model_spec.rb +87 -0
- data/spec/spec_helper.rb +2 -2
- data/spec/utils/direct_post_mac_spec.rb +13 -0
- metadata +212 -37
- data/Gemfile.lock +0 -70
- data/git_push.sh +0 -58
- data/lib/citypay_api_client/api/operational_api.rb +0 -147
- data/lib/citypay_api_client/api/payment_processing_api.rb +0 -405
- data/lib/citypay_api_client/test.rb +0 -20
- data/spec/api/payment_processing_api_spec.rb +0 -106
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: citypay_api_client
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.1.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- citypay
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2023-11-15 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: typhoeus
|
@@ -30,26 +30,6 @@ dependencies:
|
|
30
30
|
- - ">="
|
31
31
|
- !ruby/object:Gem::Version
|
32
32
|
version: 1.0.1
|
33
|
-
- !ruby/object:Gem::Dependency
|
34
|
-
name: json
|
35
|
-
requirement: !ruby/object:Gem::Requirement
|
36
|
-
requirements:
|
37
|
-
- - ">="
|
38
|
-
- !ruby/object:Gem::Version
|
39
|
-
version: 2.1.0
|
40
|
-
- - "~>"
|
41
|
-
- !ruby/object:Gem::Version
|
42
|
-
version: '2.1'
|
43
|
-
type: :runtime
|
44
|
-
prerelease: false
|
45
|
-
version_requirements: !ruby/object:Gem::Requirement
|
46
|
-
requirements:
|
47
|
-
- - ">="
|
48
|
-
- !ruby/object:Gem::Version
|
49
|
-
version: 2.1.0
|
50
|
-
- - "~>"
|
51
|
-
- !ruby/object:Gem::Version
|
52
|
-
version: '2.1'
|
53
33
|
- !ruby/object:Gem::Dependency
|
54
34
|
name: rspec
|
55
35
|
requirement: !ruby/object:Gem::Requirement
|
@@ -78,13 +58,14 @@ extensions: []
|
|
78
58
|
extra_rdoc_files: []
|
79
59
|
files:
|
80
60
|
- Gemfile
|
81
|
-
- Gemfile.lock
|
82
61
|
- README.md
|
83
62
|
- Rakefile
|
84
63
|
- citypay_api_client.gemspec
|
85
64
|
- docs/AccountCreate.md
|
86
65
|
- docs/AccountStatus.md
|
87
66
|
- docs/Acknowledgement.md
|
67
|
+
- docs/AclCheckRequest.md
|
68
|
+
- docs/AclCheckResponseModel.md
|
88
69
|
- docs/AirlineAdvice.md
|
89
70
|
- docs/AirlineSegment.md
|
90
71
|
- docs/AuthReference.md
|
@@ -92,6 +73,15 @@ files:
|
|
92
73
|
- docs/AuthRequest.md
|
93
74
|
- docs/AuthResponse.md
|
94
75
|
- docs/AuthenRequired.md
|
76
|
+
- docs/AuthorisationAndPaymentApi.md
|
77
|
+
- docs/Batch.md
|
78
|
+
- docs/BatchProcessingApi.md
|
79
|
+
- docs/BatchReportRequest.md
|
80
|
+
- docs/BatchReportResponseModel.md
|
81
|
+
- docs/BatchTransaction.md
|
82
|
+
- docs/BatchTransactionResultModel.md
|
83
|
+
- docs/Bin.md
|
84
|
+
- docs/BinLookup.md
|
95
85
|
- docs/CResAuthRequest.md
|
96
86
|
- docs/CaptureRequest.md
|
97
87
|
- docs/Card.md
|
@@ -99,33 +89,76 @@ files:
|
|
99
89
|
- docs/CardHolderAccountApi.md
|
100
90
|
- docs/CardStatus.md
|
101
91
|
- docs/ChargeRequest.md
|
92
|
+
- docs/CheckBatchStatus.md
|
93
|
+
- docs/CheckBatchStatusResponse.md
|
102
94
|
- docs/ContactDetails.md
|
103
95
|
- docs/Decision.md
|
96
|
+
- docs/DirectPostApi.md
|
97
|
+
- docs/DirectPostRequest.md
|
98
|
+
- docs/DirectTokenAuthRequest.md
|
99
|
+
- docs/DomainKeyCheckRequest.md
|
100
|
+
- docs/DomainKeyRequest.md
|
101
|
+
- docs/DomainKeyResponse.md
|
104
102
|
- docs/Error.md
|
103
|
+
- docs/EventDataModel.md
|
104
|
+
- docs/Exists.md
|
105
105
|
- docs/ExternalMPI.md
|
106
106
|
- docs/ListMerchantsResponse.md
|
107
107
|
- docs/MCC6012.md
|
108
108
|
- docs/Merchant.md
|
109
109
|
- docs/OperationalApi.md
|
110
|
+
- docs/OperationalFunctionsApi.md
|
110
111
|
- docs/PaResAuthRequest.md
|
112
|
+
- docs/PaylinkAddress.md
|
113
|
+
- docs/PaylinkAdjustmentRequest.md
|
114
|
+
- docs/PaylinkApi.md
|
115
|
+
- docs/PaylinkAttachmentRequest.md
|
116
|
+
- docs/PaylinkAttachmentResult.md
|
117
|
+
- docs/PaylinkBillPaymentTokenRequest.md
|
118
|
+
- docs/PaylinkCardHolder.md
|
119
|
+
- docs/PaylinkCart.md
|
120
|
+
- docs/PaylinkCartItemModel.md
|
121
|
+
- docs/PaylinkConfig.md
|
122
|
+
- docs/PaylinkCustomParam.md
|
123
|
+
- docs/PaylinkEmailNotificationPath.md
|
124
|
+
- docs/PaylinkErrorCode.md
|
125
|
+
- docs/PaylinkFieldGuardModel.md
|
126
|
+
- docs/PaylinkPartPayments.md
|
127
|
+
- docs/PaylinkSMSNotificationPath.md
|
128
|
+
- docs/PaylinkStateEvent.md
|
129
|
+
- docs/PaylinkTokenCreated.md
|
130
|
+
- docs/PaylinkTokenRequestModel.md
|
131
|
+
- docs/PaylinkTokenStatus.md
|
132
|
+
- docs/PaylinkTokenStatusChangeRequest.md
|
133
|
+
- docs/PaylinkTokenStatusChangeResponse.md
|
134
|
+
- docs/PaylinkUI.md
|
111
135
|
- docs/PaymentProcessingApi.md
|
112
136
|
- docs/Ping.md
|
137
|
+
- docs/ProcessBatchRequest.md
|
138
|
+
- docs/ProcessBatchResponse.md
|
139
|
+
- docs/RefundRequest.md
|
113
140
|
- docs/RegisterCard.md
|
114
141
|
- docs/RequestChallenged.md
|
115
142
|
- docs/RetrieveRequest.md
|
116
143
|
- docs/ThreeDSecure.md
|
144
|
+
- docs/TokenisationResponseModel.md
|
117
145
|
- docs/VoidRequest.md
|
118
|
-
-
|
146
|
+
- lib/.DS_Store
|
119
147
|
- lib/citypay_api_client.rb
|
120
|
-
- lib/citypay_api_client/api/
|
121
|
-
- lib/citypay_api_client/api/
|
122
|
-
- lib/citypay_api_client/api/
|
148
|
+
- lib/citypay_api_client/api/authorisation_and_payment_api__.rb
|
149
|
+
- lib/citypay_api_client/api/batch_processing_api__.rb
|
150
|
+
- lib/citypay_api_client/api/card_holder_account_api__.rb
|
151
|
+
- lib/citypay_api_client/api/direct_post_api__.rb
|
152
|
+
- lib/citypay_api_client/api/operational_functions_api__.rb
|
153
|
+
- lib/citypay_api_client/api/paylink_api__.rb
|
123
154
|
- lib/citypay_api_client/api_client.rb
|
124
155
|
- lib/citypay_api_client/api_error.rb
|
125
156
|
- lib/citypay_api_client/configuration.rb
|
126
157
|
- lib/citypay_api_client/models/account_create.rb
|
127
158
|
- lib/citypay_api_client/models/account_status.rb
|
128
159
|
- lib/citypay_api_client/models/acknowledgement.rb
|
160
|
+
- lib/citypay_api_client/models/acl_check_request.rb
|
161
|
+
- lib/citypay_api_client/models/acl_check_response_model.rb
|
129
162
|
- lib/citypay_api_client/models/airline_advice.rb
|
130
163
|
- lib/citypay_api_client/models/airline_segment.rb
|
131
164
|
- lib/citypay_api_client/models/api_key.rb
|
@@ -134,36 +167,86 @@ files:
|
|
134
167
|
- lib/citypay_api_client/models/auth_request.rb
|
135
168
|
- lib/citypay_api_client/models/auth_response.rb
|
136
169
|
- lib/citypay_api_client/models/authen_required.rb
|
170
|
+
- lib/citypay_api_client/models/batch.rb
|
171
|
+
- lib/citypay_api_client/models/batch_report_request.rb
|
172
|
+
- lib/citypay_api_client/models/batch_report_response_model.rb
|
173
|
+
- lib/citypay_api_client/models/batch_transaction.rb
|
174
|
+
- lib/citypay_api_client/models/batch_transaction_result_model.rb
|
175
|
+
- lib/citypay_api_client/models/bin.rb
|
176
|
+
- lib/citypay_api_client/models/bin_lookup.rb
|
137
177
|
- lib/citypay_api_client/models/c_res_auth_request.rb
|
138
178
|
- lib/citypay_api_client/models/capture_request.rb
|
139
179
|
- lib/citypay_api_client/models/card.rb
|
140
180
|
- lib/citypay_api_client/models/card_holder_account.rb
|
141
181
|
- lib/citypay_api_client/models/card_status.rb
|
142
182
|
- lib/citypay_api_client/models/charge_request.rb
|
183
|
+
- lib/citypay_api_client/models/check_batch_status.rb
|
184
|
+
- lib/citypay_api_client/models/check_batch_status_response.rb
|
143
185
|
- lib/citypay_api_client/models/contact_details.rb
|
144
186
|
- lib/citypay_api_client/models/decision.rb
|
187
|
+
- lib/citypay_api_client/models/direct_post_request.rb
|
188
|
+
- lib/citypay_api_client/models/direct_token_auth_request.rb
|
189
|
+
- lib/citypay_api_client/models/domain_key_check_request.rb
|
190
|
+
- lib/citypay_api_client/models/domain_key_request.rb
|
191
|
+
- lib/citypay_api_client/models/domain_key_response.rb
|
145
192
|
- lib/citypay_api_client/models/error.rb
|
193
|
+
- lib/citypay_api_client/models/event_data_model.rb
|
194
|
+
- lib/citypay_api_client/models/exists.rb
|
146
195
|
- lib/citypay_api_client/models/external_mpi.rb
|
147
196
|
- lib/citypay_api_client/models/list_merchants_response.rb
|
148
197
|
- lib/citypay_api_client/models/mcc6012.rb
|
149
198
|
- lib/citypay_api_client/models/merchant.rb
|
150
199
|
- lib/citypay_api_client/models/pa_res_auth_request.rb
|
200
|
+
- lib/citypay_api_client/models/paylink_address.rb
|
201
|
+
- lib/citypay_api_client/models/paylink_adjustment_request.rb
|
202
|
+
- lib/citypay_api_client/models/paylink_attachment_request.rb
|
203
|
+
- lib/citypay_api_client/models/paylink_attachment_result.rb
|
204
|
+
- lib/citypay_api_client/models/paylink_bill_payment_token_request.rb
|
205
|
+
- lib/citypay_api_client/models/paylink_card_holder.rb
|
206
|
+
- lib/citypay_api_client/models/paylink_cart.rb
|
207
|
+
- lib/citypay_api_client/models/paylink_cart_item_model.rb
|
208
|
+
- lib/citypay_api_client/models/paylink_config.rb
|
209
|
+
- lib/citypay_api_client/models/paylink_custom_param.rb
|
210
|
+
- lib/citypay_api_client/models/paylink_email_notification_path.rb
|
211
|
+
- lib/citypay_api_client/models/paylink_error_code.rb
|
212
|
+
- lib/citypay_api_client/models/paylink_field_guard_model.rb
|
213
|
+
- lib/citypay_api_client/models/paylink_part_payments.rb
|
214
|
+
- lib/citypay_api_client/models/paylink_sms_notification_path.rb
|
215
|
+
- lib/citypay_api_client/models/paylink_state_event.rb
|
216
|
+
- lib/citypay_api_client/models/paylink_token_created.rb
|
217
|
+
- lib/citypay_api_client/models/paylink_token_request_model.rb
|
218
|
+
- lib/citypay_api_client/models/paylink_token_status.rb
|
219
|
+
- lib/citypay_api_client/models/paylink_token_status_change_request.rb
|
220
|
+
- lib/citypay_api_client/models/paylink_token_status_change_response.rb
|
221
|
+
- lib/citypay_api_client/models/paylink_ui.rb
|
151
222
|
- lib/citypay_api_client/models/ping.rb
|
223
|
+
- lib/citypay_api_client/models/process_batch_request.rb
|
224
|
+
- lib/citypay_api_client/models/process_batch_response.rb
|
225
|
+
- lib/citypay_api_client/models/refund_request.rb
|
152
226
|
- lib/citypay_api_client/models/register_card.rb
|
153
227
|
- lib/citypay_api_client/models/request_challenged.rb
|
154
228
|
- lib/citypay_api_client/models/retrieve_request.rb
|
155
229
|
- lib/citypay_api_client/models/three_d_secure.rb
|
230
|
+
- lib/citypay_api_client/models/tokenisation_response_model.rb
|
156
231
|
- lib/citypay_api_client/models/void_request.rb
|
157
|
-
- lib/citypay_api_client/
|
232
|
+
- lib/citypay_api_client/utils/digest_utils.rb
|
233
|
+
- lib/citypay_api_client/utils/direct_post_mac.rb
|
158
234
|
- lib/citypay_api_client/version.rb
|
159
|
-
- spec
|
160
|
-
- spec/api/
|
161
|
-
- spec/api/
|
235
|
+
- spec/.DS_Store
|
236
|
+
- spec/api/authorisation_and_payment_api___spec.rb
|
237
|
+
- spec/api/batch_processing_api___spec.rb
|
238
|
+
- spec/api/card_holder_account_api___spec.rb
|
239
|
+
- spec/api/direct_post_api___spec.rb
|
240
|
+
- spec/api/operational_functions_api___spec.rb
|
241
|
+
- spec/api/paylink_api___spec.rb
|
162
242
|
- spec/api_client_spec.rb
|
163
243
|
- spec/configuration_spec.rb
|
244
|
+
- spec/it_api_sandbox_spec.rb
|
164
245
|
- spec/models/account_create_spec.rb
|
165
246
|
- spec/models/account_status_spec.rb
|
166
247
|
- spec/models/acknowledgement_spec.rb
|
248
|
+
- spec/models/acl_check_request_spec.rb
|
249
|
+
- spec/models/acl_check_response_model_spec.rb
|
167
250
|
- spec/models/airline_advice_spec.rb
|
168
251
|
- spec/models/airline_segment_spec.rb
|
169
252
|
- spec/models/api_key_spec.rb
|
@@ -172,30 +255,73 @@ files:
|
|
172
255
|
- spec/models/auth_request_spec.rb
|
173
256
|
- spec/models/auth_response_spec.rb
|
174
257
|
- spec/models/authen_required_spec.rb
|
258
|
+
- spec/models/batch_report_request_spec.rb
|
259
|
+
- spec/models/batch_report_response_model_spec.rb
|
260
|
+
- spec/models/batch_spec.rb
|
261
|
+
- spec/models/batch_transaction_result_model_spec.rb
|
262
|
+
- spec/models/batch_transaction_spec.rb
|
263
|
+
- spec/models/bin_lookup_spec.rb
|
264
|
+
- spec/models/bin_spec.rb
|
175
265
|
- spec/models/c_res_auth_request_spec.rb
|
176
266
|
- spec/models/capture_request_spec.rb
|
177
267
|
- spec/models/card_holder_account_spec.rb
|
178
268
|
- spec/models/card_spec.rb
|
179
269
|
- spec/models/card_status_spec.rb
|
180
270
|
- spec/models/charge_request_spec.rb
|
271
|
+
- spec/models/check_batch_status_response_spec.rb
|
272
|
+
- spec/models/check_batch_status_spec.rb
|
181
273
|
- spec/models/contact_details_spec.rb
|
182
274
|
- spec/models/decision_spec.rb
|
275
|
+
- spec/models/direct_post_request_spec.rb
|
276
|
+
- spec/models/direct_token_auth_request_spec.rb
|
277
|
+
- spec/models/domain_key_check_request_spec.rb
|
278
|
+
- spec/models/domain_key_request_spec.rb
|
279
|
+
- spec/models/domain_key_response_spec.rb
|
183
280
|
- spec/models/error_spec.rb
|
281
|
+
- spec/models/event_data_model_spec.rb
|
282
|
+
- spec/models/exists_spec.rb
|
184
283
|
- spec/models/external_mpi_spec.rb
|
185
284
|
- spec/models/list_merchants_response_spec.rb
|
186
285
|
- spec/models/mcc6012_spec.rb
|
187
286
|
- spec/models/merchant_spec.rb
|
188
287
|
- spec/models/pa_res_auth_request_spec.rb
|
288
|
+
- spec/models/paylink_address_spec.rb
|
289
|
+
- spec/models/paylink_adjustment_request_spec.rb
|
290
|
+
- spec/models/paylink_attachment_request_spec.rb
|
291
|
+
- spec/models/paylink_attachment_result_spec.rb
|
292
|
+
- spec/models/paylink_bill_payment_token_request_spec.rb
|
293
|
+
- spec/models/paylink_card_holder_spec.rb
|
294
|
+
- spec/models/paylink_cart_item_model_spec.rb
|
295
|
+
- spec/models/paylink_cart_spec.rb
|
296
|
+
- spec/models/paylink_config_spec.rb
|
297
|
+
- spec/models/paylink_custom_param_spec.rb
|
298
|
+
- spec/models/paylink_email_notification_path_spec.rb
|
299
|
+
- spec/models/paylink_error_code_spec.rb
|
300
|
+
- spec/models/paylink_field_guard_model_spec.rb
|
301
|
+
- spec/models/paylink_part_payments_spec.rb
|
302
|
+
- spec/models/paylink_sms_notification_path_spec.rb
|
303
|
+
- spec/models/paylink_state_event_spec.rb
|
304
|
+
- spec/models/paylink_token_created_spec.rb
|
305
|
+
- spec/models/paylink_token_request_model_spec.rb
|
306
|
+
- spec/models/paylink_token_status_change_request_spec.rb
|
307
|
+
- spec/models/paylink_token_status_change_response_spec.rb
|
308
|
+
- spec/models/paylink_token_status_spec.rb
|
309
|
+
- spec/models/paylink_ui_spec.rb
|
189
310
|
- spec/models/ping_spec.rb
|
311
|
+
- spec/models/process_batch_request_spec.rb
|
312
|
+
- spec/models/process_batch_response_spec.rb
|
313
|
+
- spec/models/refund_request_spec.rb
|
190
314
|
- spec/models/register_card_spec.rb
|
191
315
|
- spec/models/request_challenged_spec.rb
|
192
316
|
- spec/models/retrieve_request_spec.rb
|
193
317
|
- spec/models/three_d_secure_spec.rb
|
318
|
+
- spec/models/tokenisation_response_model_spec.rb
|
194
319
|
- spec/models/void_request_spec.rb
|
195
320
|
- spec/spec_helper.rb
|
321
|
+
- spec/utils/direct_post_mac_spec.rb
|
196
322
|
homepage: https://github.com/citypay/citypay-api-client-ruby
|
197
323
|
licenses:
|
198
|
-
-
|
324
|
+
- Unlicense
|
199
325
|
metadata: {}
|
200
326
|
post_install_message:
|
201
327
|
rdoc_options: []
|
@@ -205,52 +331,101 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
205
331
|
requirements:
|
206
332
|
- - ">="
|
207
333
|
- !ruby/object:Gem::Version
|
208
|
-
version: '
|
334
|
+
version: '2.4'
|
209
335
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
210
336
|
requirements:
|
211
337
|
- - ">="
|
212
338
|
- !ruby/object:Gem::Version
|
213
339
|
version: '0'
|
214
340
|
requirements: []
|
215
|
-
rubygems_version: 3.0.3
|
341
|
+
rubygems_version: 3.0.3.1
|
216
342
|
signing_key:
|
217
343
|
specification_version: 4
|
218
344
|
summary: A ruby wrapper for the CityPay API
|
219
345
|
test_files:
|
220
|
-
- spec/api/
|
221
|
-
- spec/api/
|
222
|
-
- spec/api/
|
346
|
+
- spec/api/direct_post_api___spec.rb
|
347
|
+
- spec/api/operational_functions_api___spec.rb
|
348
|
+
- spec/api/authorisation_and_payment_api___spec.rb
|
349
|
+
- spec/api/batch_processing_api___spec.rb
|
350
|
+
- spec/api/card_holder_account_api___spec.rb
|
351
|
+
- spec/api/paylink_api___spec.rb
|
223
352
|
- spec/api_client_spec.rb
|
224
353
|
- spec/configuration_spec.rb
|
354
|
+
- spec/it_api_sandbox_spec.rb
|
225
355
|
- spec/models/error_spec.rb
|
356
|
+
- spec/models/direct_token_auth_request_spec.rb
|
357
|
+
- spec/models/batch_spec.rb
|
358
|
+
- spec/models/paylink_token_status_change_request_spec.rb
|
359
|
+
- spec/models/batch_transaction_result_model_spec.rb
|
226
360
|
- spec/models/capture_request_spec.rb
|
361
|
+
- spec/models/paylink_bill_payment_token_request_spec.rb
|
362
|
+
- spec/models/paylink_email_notification_path_spec.rb
|
227
363
|
- spec/models/acknowledgement_spec.rb
|
364
|
+
- spec/models/paylink_field_guard_model_spec.rb
|
228
365
|
- spec/models/external_mpi_spec.rb
|
366
|
+
- spec/models/paylink_config_spec.rb
|
367
|
+
- spec/models/paylink_token_status_spec.rb
|
368
|
+
- spec/models/paylink_address_spec.rb
|
369
|
+
- spec/models/domain_key_check_request_spec.rb
|
370
|
+
- spec/models/bin_spec.rb
|
371
|
+
- spec/models/domain_key_request_spec.rb
|
372
|
+
- spec/models/paylink_attachment_result_spec.rb
|
373
|
+
- spec/models/paylink_card_holder_spec.rb
|
374
|
+
- spec/models/domain_key_response_spec.rb
|
375
|
+
- spec/models/tokenisation_response_model_spec.rb
|
229
376
|
- spec/models/decision_spec.rb
|
377
|
+
- spec/models/acl_check_response_model_spec.rb
|
378
|
+
- spec/models/acl_check_request_spec.rb
|
230
379
|
- spec/models/airline_advice_spec.rb
|
231
380
|
- spec/models/retrieve_request_spec.rb
|
381
|
+
- spec/models/paylink_adjustment_request_spec.rb
|
382
|
+
- spec/models/direct_post_request_spec.rb
|
383
|
+
- spec/models/paylink_token_request_model_spec.rb
|
384
|
+
- spec/models/paylink_sms_notification_path_spec.rb
|
232
385
|
- spec/models/ping_spec.rb
|
386
|
+
- spec/models/process_batch_response_spec.rb
|
233
387
|
- spec/models/card_holder_account_spec.rb
|
388
|
+
- spec/models/exists_spec.rb
|
234
389
|
- spec/models/c_res_auth_request_spec.rb
|
390
|
+
- spec/models/paylink_ui_spec.rb
|
235
391
|
- spec/models/airline_segment_spec.rb
|
236
392
|
- spec/models/card_spec.rb
|
393
|
+
- spec/models/paylink_state_event_spec.rb
|
237
394
|
- spec/models/api_key_spec.rb
|
238
395
|
- spec/models/auth_references_spec.rb
|
396
|
+
- spec/models/batch_report_response_model_spec.rb
|
397
|
+
- spec/models/paylink_cart_item_model_spec.rb
|
239
398
|
- spec/models/list_merchants_response_spec.rb
|
399
|
+
- spec/models/batch_transaction_spec.rb
|
240
400
|
- spec/models/void_request_spec.rb
|
241
401
|
- spec/models/auth_request_spec.rb
|
402
|
+
- spec/models/paylink_attachment_request_spec.rb
|
242
403
|
- spec/models/register_card_spec.rb
|
404
|
+
- spec/models/paylink_cart_spec.rb
|
405
|
+
- spec/models/event_data_model_spec.rb
|
406
|
+
- spec/models/paylink_token_status_change_response_spec.rb
|
407
|
+
- spec/models/check_batch_status_spec.rb
|
408
|
+
- spec/models/paylink_custom_param_spec.rb
|
243
409
|
- spec/models/account_status_spec.rb
|
244
410
|
- spec/models/auth_response_spec.rb
|
411
|
+
- spec/models/refund_request_spec.rb
|
245
412
|
- spec/models/request_challenged_spec.rb
|
246
413
|
- spec/models/account_create_spec.rb
|
247
414
|
- spec/models/merchant_spec.rb
|
248
415
|
- spec/models/contact_details_spec.rb
|
416
|
+
- spec/models/process_batch_request_spec.rb
|
249
417
|
- spec/models/charge_request_spec.rb
|
418
|
+
- spec/models/paylink_token_created_spec.rb
|
250
419
|
- spec/models/mcc6012_spec.rb
|
420
|
+
- spec/models/paylink_part_payments_spec.rb
|
421
|
+
- spec/models/paylink_error_code_spec.rb
|
422
|
+
- spec/models/check_batch_status_response_spec.rb
|
251
423
|
- spec/models/card_status_spec.rb
|
424
|
+
- spec/models/bin_lookup_spec.rb
|
252
425
|
- spec/models/pa_res_auth_request_spec.rb
|
253
426
|
- spec/models/authen_required_spec.rb
|
427
|
+
- spec/models/batch_report_request_spec.rb
|
254
428
|
- spec/models/three_d_secure_spec.rb
|
255
429
|
- spec/models/auth_reference_spec.rb
|
256
430
|
- spec/spec_helper.rb
|
431
|
+
- spec/utils/direct_post_mac_spec.rb
|
data/Gemfile.lock
DELETED
@@ -1,70 +0,0 @@
|
|
1
|
-
PATH
|
2
|
-
remote: .
|
3
|
-
specs:
|
4
|
-
citypay_api_client (1.0.2)
|
5
|
-
json (~> 2.1, >= 2.1.0)
|
6
|
-
typhoeus (~> 1.0, >= 1.0.1)
|
7
|
-
|
8
|
-
GEM
|
9
|
-
remote: https://rubygems.org/
|
10
|
-
specs:
|
11
|
-
ast (2.4.1)
|
12
|
-
byebug (11.1.3)
|
13
|
-
coderay (1.1.3)
|
14
|
-
diff-lcs (1.4.4)
|
15
|
-
ethon (0.12.0)
|
16
|
-
ffi (>= 1.3.0)
|
17
|
-
ffi (1.13.1)
|
18
|
-
jaro_winkler (1.5.4)
|
19
|
-
json (2.3.1)
|
20
|
-
method_source (1.0.0)
|
21
|
-
parallel (1.19.2)
|
22
|
-
parser (2.7.1.4)
|
23
|
-
ast (~> 2.4.1)
|
24
|
-
pry (0.13.1)
|
25
|
-
coderay (~> 1.1)
|
26
|
-
method_source (~> 1.0)
|
27
|
-
pry-byebug (3.9.0)
|
28
|
-
byebug (~> 11.0)
|
29
|
-
pry (~> 0.13.0)
|
30
|
-
psych (3.2.0)
|
31
|
-
rainbow (3.0.0)
|
32
|
-
rake (13.0.1)
|
33
|
-
rspec (3.9.0)
|
34
|
-
rspec-core (~> 3.9.0)
|
35
|
-
rspec-expectations (~> 3.9.0)
|
36
|
-
rspec-mocks (~> 3.9.0)
|
37
|
-
rspec-core (3.9.2)
|
38
|
-
rspec-support (~> 3.9.3)
|
39
|
-
rspec-expectations (3.9.2)
|
40
|
-
diff-lcs (>= 1.2.0, < 2.0)
|
41
|
-
rspec-support (~> 3.9.0)
|
42
|
-
rspec-mocks (3.9.1)
|
43
|
-
diff-lcs (>= 1.2.0, < 2.0)
|
44
|
-
rspec-support (~> 3.9.0)
|
45
|
-
rspec-support (3.9.3)
|
46
|
-
rubocop (0.66.0)
|
47
|
-
jaro_winkler (~> 1.5.1)
|
48
|
-
parallel (~> 1.10)
|
49
|
-
parser (>= 2.5, != 2.5.1.1)
|
50
|
-
psych (>= 3.1.0)
|
51
|
-
rainbow (>= 2.2.2, < 4.0)
|
52
|
-
ruby-progressbar (~> 1.7)
|
53
|
-
unicode-display_width (>= 1.4.0, < 1.6)
|
54
|
-
ruby-progressbar (1.10.1)
|
55
|
-
typhoeus (1.4.0)
|
56
|
-
ethon (>= 0.9.0)
|
57
|
-
unicode-display_width (1.5.0)
|
58
|
-
|
59
|
-
PLATFORMS
|
60
|
-
ruby
|
61
|
-
|
62
|
-
DEPENDENCIES
|
63
|
-
citypay_api_client!
|
64
|
-
pry-byebug
|
65
|
-
rake (~> 13.0.1)
|
66
|
-
rspec (~> 3.6, >= 3.6.0)
|
67
|
-
rubocop (~> 0.66.0)
|
68
|
-
|
69
|
-
BUNDLED WITH
|
70
|
-
2.1.4
|
data/git_push.sh
DELETED
@@ -1,58 +0,0 @@
|
|
1
|
-
#!/bin/sh
|
2
|
-
# ref: https://help.github.com/articles/adding-an-existing-project-to-github-using-the-command-line/
|
3
|
-
#
|
4
|
-
# Usage example: /bin/sh ./git_push.sh wing328 openapi-pestore-perl "minor update" "gitlab.com"
|
5
|
-
|
6
|
-
git_user_id=$1
|
7
|
-
git_repo_id=$2
|
8
|
-
release_note=$3
|
9
|
-
git_host=$4
|
10
|
-
|
11
|
-
if [ "$git_host" = "" ]; then
|
12
|
-
git_host="github.com"
|
13
|
-
echo "[INFO] No command line input provided. Set \$git_host to $git_host"
|
14
|
-
fi
|
15
|
-
|
16
|
-
if [ "$git_user_id" = "" ]; then
|
17
|
-
git_user_id="citypay"
|
18
|
-
echo "[INFO] No command line input provided. Set \$git_user_id to $git_user_id"
|
19
|
-
fi
|
20
|
-
|
21
|
-
if [ "$git_repo_id" = "" ]; then
|
22
|
-
git_repo_id="citypay-api-client-ruby"
|
23
|
-
echo "[INFO] No command line input provided. Set \$git_repo_id to $git_repo_id"
|
24
|
-
fi
|
25
|
-
|
26
|
-
if [ "$release_note" = "" ]; then
|
27
|
-
release_note="Minor update"
|
28
|
-
echo "[INFO] No command line input provided. Set \$release_note to $release_note"
|
29
|
-
fi
|
30
|
-
|
31
|
-
# Initialize the local directory as a Git repository
|
32
|
-
git init
|
33
|
-
|
34
|
-
# Adds the files in the local repository and stages them for commit.
|
35
|
-
git add .
|
36
|
-
|
37
|
-
# Commits the tracked changes and prepares them to be pushed to a remote repository.
|
38
|
-
git commit -m "$release_note"
|
39
|
-
|
40
|
-
# Sets the new remote
|
41
|
-
git_remote=`git remote`
|
42
|
-
if [ "$git_remote" = "" ]; then # git remote not defined
|
43
|
-
|
44
|
-
if [ "$GIT_TOKEN" = "" ]; then
|
45
|
-
echo "[INFO] \$GIT_TOKEN (environment variable) is not set. Using the git credential in your environment."
|
46
|
-
git remote add origin https://${git_host}/${git_user_id}/${git_repo_id}.git
|
47
|
-
else
|
48
|
-
git remote add origin https://${git_user_id}:${GIT_TOKEN}@${git_host}/${git_user_id}/${git_repo_id}.git
|
49
|
-
fi
|
50
|
-
|
51
|
-
fi
|
52
|
-
|
53
|
-
git pull origin master
|
54
|
-
|
55
|
-
# Pushes (Forces) the changes in the local repository up to the remote repository
|
56
|
-
echo "Git pushing to https://${git_host}/${git_user_id}/${git_repo_id}.git"
|
57
|
-
git push origin master 2>&1 | grep -v 'To https'
|
58
|
-
|