genesis_ruby 0.1.6 → 0.1.8

Sign up to get free protection for your applications and to get access to all the features.
Files changed (64) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +26 -0
  3. data/Gemfile.lock +42 -38
  4. data/README.md +305 -3
  5. data/VERSION +1 -1
  6. data/lib/genesis_ruby/api/constants/transactions/parameters/mobile/apple_pay/payment_subtypes.rb +29 -0
  7. data/lib/genesis_ruby/api/constants/transactions/parameters/mobile/google_pay/payment_subtypes.rb +29 -0
  8. data/lib/genesis_ruby/api/constants/transactions/parameters/mpi_protocol_sub_versions.rb +43 -0
  9. data/lib/genesis_ruby/api/constants/transactions/parameters/online_banking/bank_code_currencies.rb +128 -0
  10. data/lib/genesis_ruby/api/constants/transactions/parameters/online_banking/bank_codes.rb +600 -0
  11. data/lib/genesis_ruby/api/constants/transactions/parameters/online_banking/payment_types.rb +36 -0
  12. data/lib/genesis_ruby/api/constants/transactions/parameters/travel_data/ancillary_charges_types.rb +43 -0
  13. data/lib/genesis_ruby/api/constants/transactions.rb +1 -5
  14. data/lib/genesis_ruby/api/mixins/requests/attribute_validation.rb +138 -4
  15. data/lib/genesis_ruby/api/mixins/requests/birth_date_attributes.rb +22 -0
  16. data/lib/genesis_ruby/api/mixins/requests/customer_address/customer_info_attributes.rb +1 -1
  17. data/lib/genesis_ruby/api/mixins/requests/financial/cards/credit_card_attributes.rb +7 -0
  18. data/lib/genesis_ruby/api/mixins/requests/financial/cards/mpi_attributes.rb +14 -4
  19. data/lib/genesis_ruby/api/mixins/requests/financial/cards/recurring/managed_recurring_attributes.rb +23 -20
  20. data/lib/genesis_ruby/api/mixins/requests/financial/cards/recurring/managed_recurring_indian_card_attributes.rb +19 -39
  21. data/lib/genesis_ruby/api/mixins/requests/financial/cards/recurring/recurring_type_attributes.rb +15 -9
  22. data/lib/genesis_ruby/api/mixins/requests/financial/cards/tokenization_attributes.rb +9 -0
  23. data/lib/genesis_ruby/api/mixins/requests/financial/mobile/apple_pay_token_attributes.rb +51 -0
  24. data/lib/genesis_ruby/api/mixins/requests/financial/mobile/google_pay_token_attributes.rb +50 -0
  25. data/lib/genesis_ruby/api/mixins/requests/financial/online_banking_payments/virtual_payment_address_attributes.rb +27 -0
  26. data/lib/genesis_ruby/api/mixins/requests/financial/threeds/version2/browser.rb +11 -22
  27. data/lib/genesis_ruby/api/mixins/requests/financial/threeds/version2/card_holder_account.rb +81 -49
  28. data/lib/genesis_ruby/api/mixins/requests/financial/threeds/version2/common_attributes.rb +23 -0
  29. data/lib/genesis_ruby/api/mixins/requests/financial/threeds/version2/control.rb +13 -26
  30. data/lib/genesis_ruby/api/mixins/requests/financial/threeds/version2/merchant_risk.rb +21 -58
  31. data/lib/genesis_ruby/api/mixins/requests/financial/threeds/version2/purchase.rb +8 -11
  32. data/lib/genesis_ruby/api/mixins/requests/financial/threeds/version2/sdk.rb +10 -10
  33. data/lib/genesis_ruby/api/mixins/requests/financial/threeds/version2/wpf_attributes.rb +9 -0
  34. data/lib/genesis_ruby/api/mixins/requests/financial/travel_data/airline_itinerary_attributes.rb +166 -0
  35. data/lib/genesis_ruby/api/mixins/requests/financial/travel_data/car_rental_attributes.rb +119 -0
  36. data/lib/genesis_ruby/api/mixins/requests/financial/travel_data/hotel_rental_attributes.rb +77 -0
  37. data/lib/genesis_ruby/api/mixins/requests/financial/travel_data/reference_ticket_attributes.rb +75 -0
  38. data/lib/genesis_ruby/api/mixins/requests/financial/travel_data/travel_attributes.rb +34 -0
  39. data/lib/genesis_ruby/api/request.rb +4 -2
  40. data/lib/genesis_ruby/api/requests/base/financials/credit_card.rb +6 -4
  41. data/lib/genesis_ruby/api/requests/base/reference.rb +3 -2
  42. data/lib/genesis_ruby/api/requests/financial/capture.rb +3 -1
  43. data/lib/genesis_ruby/api/requests/financial/cards/authorize.rb +13 -3
  44. data/lib/genesis_ruby/api/requests/financial/cards/authorize3d.rb +22 -11
  45. data/lib/genesis_ruby/api/requests/financial/cards/sale.rb +13 -3
  46. data/lib/genesis_ruby/api/requests/financial/cards/sale3d.rb +22 -11
  47. data/lib/genesis_ruby/api/requests/financial/cards/threeds/v2/method_continue.rb +2 -2
  48. data/lib/genesis_ruby/api/requests/financial/mobile/apple_pay.rb +91 -0
  49. data/lib/genesis_ruby/api/requests/financial/mobile/google_pay.rb +108 -0
  50. data/lib/genesis_ruby/api/requests/financial/online_banking_payments/online_banking/pay_in.rb +157 -0
  51. data/lib/genesis_ruby/api/requests/financial/void.rb +2 -2
  52. data/lib/genesis_ruby/api/requests/non_financial/reconcile/date_range.rb +2 -2
  53. data/lib/genesis_ruby/api/requests/wpf/create.rb +11 -15
  54. data/lib/genesis_ruby/api/requests/wpf/reconcile.rb +2 -2
  55. data/lib/genesis_ruby/builders/xml.rb +6 -0
  56. data/lib/genesis_ruby/utils/common.rb +26 -0
  57. data/lib/genesis_ruby/utils/transactions/financial_types.rb +1 -1
  58. data/lib/genesis_ruby/utils/transactions/references/refundable_types.rb +1 -1
  59. data/lib/genesis_ruby/utils/transactions/travel_data/airline_itinerary/base.rb +33 -0
  60. data/lib/genesis_ruby/utils/transactions/travel_data/airline_itinerary/leg.rb +97 -0
  61. data/lib/genesis_ruby/utils/transactions/travel_data/airline_itinerary/tax.rb +42 -0
  62. data/lib/genesis_ruby/utils/transactions/wpf_types.rb +1 -1
  63. data/lib/genesis_ruby/version.rb +1 -1
  64. metadata +24 -2
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: genesis_ruby
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.6
4
+ version: 0.1.8
5
5
  platform: ruby
6
6
  authors:
7
7
  - emerchantpay Ltd.
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2024-03-25 00:00:00.000000000 Z
11
+ date: 2024-10-03 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: net-http
@@ -250,7 +250,13 @@ files:
250
250
  - lib/genesis_ruby/api/constants/transactions/parameters/managed_recurring/intervals.rb
251
251
  - lib/genesis_ruby/api/constants/transactions/parameters/managed_recurring/modes.rb
252
252
  - lib/genesis_ruby/api/constants/transactions/parameters/managed_recurring/payment_types.rb
253
+ - lib/genesis_ruby/api/constants/transactions/parameters/mobile/apple_pay/payment_subtypes.rb
254
+ - lib/genesis_ruby/api/constants/transactions/parameters/mobile/google_pay/payment_subtypes.rb
255
+ - lib/genesis_ruby/api/constants/transactions/parameters/mpi_protocol_sub_versions.rb
253
256
  - lib/genesis_ruby/api/constants/transactions/parameters/mpi_protocol_versions.rb
257
+ - lib/genesis_ruby/api/constants/transactions/parameters/online_banking/bank_code_currencies.rb
258
+ - lib/genesis_ruby/api/constants/transactions/parameters/online_banking/bank_codes.rb
259
+ - lib/genesis_ruby/api/constants/transactions/parameters/online_banking/payment_types.rb
254
260
  - lib/genesis_ruby/api/constants/transactions/parameters/recurring/categories.rb
255
261
  - lib/genesis_ruby/api/constants/transactions/parameters/recurring/types.rb
256
262
  - lib/genesis_ruby/api/constants/transactions/parameters/refund/bank_account_types.rb
@@ -271,10 +277,12 @@ files:
271
277
  - lib/genesis_ruby/api/constants/transactions/parameters/threeds/version2/purchase/categories.rb
272
278
  - lib/genesis_ruby/api/constants/transactions/parameters/threeds/version2/sdk/interfaces.rb
273
279
  - lib/genesis_ruby/api/constants/transactions/parameters/threeds/version2/sdk/ui_types.rb
280
+ - lib/genesis_ruby/api/constants/transactions/parameters/travel_data/ancillary_charges_types.rb
274
281
  - lib/genesis_ruby/api/constants/transactions/parameters/wpf/reminder_channels.rb
275
282
  - lib/genesis_ruby/api/mixins/constants/common.rb
276
283
  - lib/genesis_ruby/api/mixins/requests/address_info_attributes.rb
277
284
  - lib/genesis_ruby/api/mixins/requests/attribute_validation.rb
285
+ - lib/genesis_ruby/api/mixins/requests/birth_date_attributes.rb
278
286
  - lib/genesis_ruby/api/mixins/requests/customer_address/billing_info_attributes.rb
279
287
  - lib/genesis_ruby/api/mixins/requests/customer_address/customer_info_attributes.rb
280
288
  - lib/genesis_ruby/api/mixins/requests/customer_address/shipping_info_attributes.rb
@@ -301,8 +309,11 @@ files:
301
309
  - lib/genesis_ruby/api/mixins/requests/financial/crypto_attributes.rb
302
310
  - lib/genesis_ruby/api/mixins/requests/financial/dynamic_descriptor_attributes.rb
303
311
  - lib/genesis_ruby/api/mixins/requests/financial/gaming_attributes.rb
312
+ - lib/genesis_ruby/api/mixins/requests/financial/mobile/apple_pay_token_attributes.rb
313
+ - lib/genesis_ruby/api/mixins/requests/financial/mobile/google_pay_token_attributes.rb
304
314
  - lib/genesis_ruby/api/mixins/requests/financial/moto_attributes.rb
305
315
  - lib/genesis_ruby/api/mixins/requests/financial/notification_attributes.rb
316
+ - lib/genesis_ruby/api/mixins/requests/financial/online_banking_payments/virtual_payment_address_attributes.rb
306
317
  - lib/genesis_ruby/api/mixins/requests/financial/payment_attributes.rb
307
318
  - lib/genesis_ruby/api/mixins/requests/financial/pending_payment_attributes.rb
308
319
  - lib/genesis_ruby/api/mixins/requests/financial/reference_attributes.rb
@@ -318,6 +329,11 @@ files:
318
329
  - lib/genesis_ruby/api/mixins/requests/financial/threeds/version2/recurring.rb
319
330
  - lib/genesis_ruby/api/mixins/requests/financial/threeds/version2/sdk.rb
320
331
  - lib/genesis_ruby/api/mixins/requests/financial/threeds/version2/wpf_attributes.rb
332
+ - lib/genesis_ruby/api/mixins/requests/financial/travel_data/airline_itinerary_attributes.rb
333
+ - lib/genesis_ruby/api/mixins/requests/financial/travel_data/car_rental_attributes.rb
334
+ - lib/genesis_ruby/api/mixins/requests/financial/travel_data/hotel_rental_attributes.rb
335
+ - lib/genesis_ruby/api/mixins/requests/financial/travel_data/reference_ticket_attributes.rb
336
+ - lib/genesis_ruby/api/mixins/requests/financial/travel_data/travel_attributes.rb
321
337
  - lib/genesis_ruby/api/mixins/requests/restricted_setter.rb
322
338
  - lib/genesis_ruby/api/mixins/requests/wpf_reminders_attributes.rb
323
339
  - lib/genesis_ruby/api/notification.rb
@@ -331,6 +347,9 @@ files:
331
347
  - lib/genesis_ruby/api/requests/financial/cards/sale.rb
332
348
  - lib/genesis_ruby/api/requests/financial/cards/sale3d.rb
333
349
  - lib/genesis_ruby/api/requests/financial/cards/threeds/v2/method_continue.rb
350
+ - lib/genesis_ruby/api/requests/financial/mobile/apple_pay.rb
351
+ - lib/genesis_ruby/api/requests/financial/mobile/google_pay.rb
352
+ - lib/genesis_ruby/api/requests/financial/online_banking_payments/online_banking/pay_in.rb
334
353
  - lib/genesis_ruby/api/requests/financial/refund.rb
335
354
  - lib/genesis_ruby/api/requests/financial/void.rb
336
355
  - lib/genesis_ruby/api/requests/non_financial/reconcile/date_range.rb
@@ -383,6 +402,9 @@ files:
383
402
  - lib/genesis_ruby/utils/transactions/references/capturable_types.rb
384
403
  - lib/genesis_ruby/utils/transactions/references/refundable_types.rb
385
404
  - lib/genesis_ruby/utils/transactions/references/voidable_types.rb
405
+ - lib/genesis_ruby/utils/transactions/travel_data/airline_itinerary/base.rb
406
+ - lib/genesis_ruby/utils/transactions/travel_data/airline_itinerary/leg.rb
407
+ - lib/genesis_ruby/utils/transactions/travel_data/airline_itinerary/tax.rb
386
408
  - lib/genesis_ruby/utils/transactions/wpf_types.rb
387
409
  - lib/genesis_ruby/version.rb
388
410
  homepage: https://github.com/GenesisGateway/genesis_ruby