inttegro 11.0.0 → 12.0.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.
Files changed (111) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +18 -0
  3. data/lib/inttegro/app/application.rb +18 -0
  4. data/lib/inttegro/app/create_request.rb +9 -0
  5. data/lib/inttegro/app/looked_up.rb +18 -0
  6. data/lib/inttegro/app/operating_policy.rb +36 -0
  7. data/lib/inttegro/app/update_request.rb +9 -0
  8. data/lib/inttegro/app/updated.rb +18 -0
  9. data/lib/inttegro/balance_transaction/balance_transaction.rb +4 -3
  10. data/lib/inttegro/broadcast/request.rb +5 -3
  11. data/lib/inttegro/checkout/customer_data.rb +41 -0
  12. data/lib/inttegro/checkout/lookup_request.rb +3 -3
  13. data/lib/inttegro/checkout/{lookup_request_variant2.rb → lookup_resource_request_variant2.rb} +2 -2
  14. data/lib/inttegro/checkout/lookup_response.rb +8 -17
  15. data/lib/inttegro/checkout/order_line_item_group.rb +5 -3
  16. data/lib/inttegro/checkout/pay_request.rb +40 -3
  17. data/lib/inttegro/checkout/pay_request_selected_amount.rb +36 -0
  18. data/lib/inttegro/checkout/select_amount_request_variant2.rb +6 -6
  19. data/lib/inttegro/checkout/select_amount_request_variant2_line_items_item.rb +36 -0
  20. data/lib/inttegro/chime/inline_recipient.rb +4 -4
  21. data/lib/inttegro/chime/recipient.rb +4 -3
  22. data/lib/inttegro/chime/send_request.rb +5 -3
  23. data/lib/inttegro/chime/{inline_recipient_variant1.rb → send_request_recipient_variant1_variant1.rb} +9 -8
  24. data/lib/inttegro/chime/{inline_recipient_variant1_phone.rb → send_request_recipient_variant1_variant1_phone.rb} +3 -2
  25. data/lib/inttegro/chime/{inline_recipient_variant1_type.rb → send_request_recipient_variant1_variant1_type.rb} +3 -3
  26. data/lib/inttegro/chime/{inline_recipient_variant2.rb → send_request_recipient_variant1_variant2.rb} +9 -8
  27. data/lib/inttegro/chime/{inline_recipient_variant2_email.rb → send_request_recipient_variant1_variant2_email.rb} +3 -2
  28. data/lib/inttegro/chime/{inline_recipient_variant2_type.rb → send_request_recipient_variant1_variant2_type.rb} +3 -3
  29. data/lib/inttegro/client.rb +10 -0
  30. data/lib/inttegro/financial_account/connected.rb +9 -0
  31. data/lib/inttegro/financial_account/created.rb +9 -0
  32. data/lib/inttegro/financial_account/details.rb +9 -0
  33. data/lib/inttegro/financial_account/financial_account.rb +9 -0
  34. data/lib/inttegro/financial_account/name_enquiry.rb +42 -0
  35. data/lib/inttegro/financial_account/updated.rb +9 -0
  36. data/lib/inttegro/generated/enums.rb +5 -2
  37. data/lib/inttegro/generated/models.rb +77 -31
  38. data/lib/inttegro/generated/operations.rb +26 -8
  39. data/lib/inttegro/message_template/create_email_request.rb +2 -3
  40. data/lib/inttegro/message_template/email_content.rb +6 -3
  41. data/lib/inttegro/message_template/email_content_from.rb +36 -0
  42. data/lib/inttegro/message_template/message_template.rb +2 -3
  43. data/lib/inttegro/message_template/rendered.rb +2 -3
  44. data/lib/inttegro/message_template/update_request.rb +2 -3
  45. data/lib/inttegro/order/create_existing_customer.rb +5 -3
  46. data/lib/inttegro/order/create_new_customer.rb +5 -3
  47. data/lib/inttegro/order/line_item_group.rb +6 -3
  48. data/lib/inttegro/order/update_request.rb +5 -3
  49. data/lib/inttegro/payment/children_policy_capabilities.rb +35 -0
  50. data/lib/inttegro/payment/operating_policy_capabilities.rb +35 -0
  51. data/lib/inttegro/payment/operating_policy_capabilities_input.rb +35 -0
  52. data/lib/inttegro/payment_method/children_policy_payment_method_capabilities.rb +35 -0
  53. data/lib/inttegro/payment_method/children_policy_payment_methods_capabilities.rb +50 -0
  54. data/lib/inttegro/payment_method/operating_policy_payment_method_capabilities.rb +35 -0
  55. data/lib/inttegro/payment_method/operating_policy_payment_methods_capabilities.rb +50 -0
  56. data/lib/inttegro/payout/amount_limits.rb +9 -7
  57. data/lib/inttegro/payout/children_policy_capabilities.rb +43 -0
  58. data/lib/inttegro/payout/limit_value.rb +28 -0
  59. data/lib/inttegro/payout/operating_policy_capabilities.rb +43 -0
  60. data/lib/inttegro/payout/operating_policy_capabilities_input.rb +43 -0
  61. data/lib/inttegro/payout/settings_limits.rb +3 -3
  62. data/lib/inttegro/payout/settings_lookup_schedule_aging_spec.rb +7 -0
  63. data/lib/inttegro/payout/settings_mutation_schedule_spec.rb +4 -4
  64. data/lib/inttegro/product/line_item.rb +6 -3
  65. data/lib/inttegro/product/media.rb +8 -7
  66. data/lib/inttegro/product/update_request.rb +1 -1
  67. data/lib/inttegro/purchase_intent/merchant.rb +14 -19
  68. data/lib/inttegro/purchase_intent/merchant_asset.rb +34 -0
  69. data/lib/inttegro/purchase_intent/merchant_branding.rb +50 -0
  70. data/lib/inttegro/purchase_intent/merchant_color_scheme.rb +76 -0
  71. data/lib/inttegro/purchase_intent/merchant_profile.rb +42 -0
  72. data/lib/inttegro/purchase_intent/merchant_support.rb +34 -0
  73. data/lib/inttegro/purchase_intent/purchase_intent.rb +10 -2
  74. data/lib/inttegro/refund/line_item.rb +5 -3
  75. data/lib/inttegro/refund/payment_method_settlement.rb +4 -3
  76. data/lib/inttegro/refund/refund.rb +4 -3
  77. data/lib/inttegro/resources/children_policies.rb +61 -0
  78. data/lib/inttegro/resources/operating_policies.rb +88 -0
  79. data/lib/inttegro/schedule/chime_request.rb +5 -3
  80. data/lib/inttegro/shared/children_policy.rb +84 -0
  81. data/lib/inttegro/shared/children_policy_capabilities.rb +44 -0
  82. data/lib/inttegro/shared/children_policy_response.rb +28 -0
  83. data/lib/inttegro/shared/children_policy_versions_page.rb +63 -0
  84. data/lib/inttegro/shared/children_policy_versions_page_response.rb +29 -0
  85. data/lib/inttegro/shared/create_operating_policy_request.rb +42 -0
  86. data/lib/inttegro/shared/inline_operating_policy_selection.rb +28 -0
  87. data/lib/inttegro/shared/lookup_children_policy_request.rb +27 -0
  88. data/lib/inttegro/shared/lookup_operating_policy_request.rb +34 -0
  89. data/lib/inttegro/shared/operating_policy.rb +98 -0
  90. data/lib/inttegro/shared/operating_policy_capabilities.rb +44 -0
  91. data/lib/inttegro/shared/operating_policy_capabilities_input.rb +44 -0
  92. data/lib/inttegro/shared/operating_policy_response.rb +28 -0
  93. data/lib/inttegro/shared/operating_policy_selection.rb +18 -0
  94. data/lib/inttegro/shared/operating_policy_selection_by_id.rb +27 -0
  95. data/lib/inttegro/shared/operating_policy_source.rb +42 -0
  96. data/lib/inttegro/shared/operating_policy_source_type.rb +28 -0
  97. data/lib/inttegro/shared/operating_policy_versions_page.rb +63 -0
  98. data/lib/inttegro/shared/operating_policy_versions_page_response.rb +29 -0
  99. data/lib/inttegro/shared/page_children_policy_versions_request.rb +35 -0
  100. data/lib/inttegro/shared/page_operating_policy_versions_request.rb +42 -0
  101. data/lib/inttegro/shared/policy_amount_range.rb +34 -0
  102. data/lib/inttegro/shared/policy_bt_aging_spec.rb +35 -0
  103. data/lib/inttegro/shared/policy_bt_aging_spec_id.rb +33 -0
  104. data/lib/inttegro/shared/policy_bt_aging_spec_reference.rb +28 -0
  105. data/lib/inttegro/shared/policy_bt_aging_spec_reference_id.rb +33 -0
  106. data/lib/inttegro/shared/policy_limits.rb +28 -0
  107. data/lib/inttegro/shared/update_operating_policy_request.rb +56 -0
  108. data/lib/inttegro/version.rb +1 -1
  109. data/rbi/inttegro/generated.rbi +45 -4
  110. metadata +61 -10
  111. data/lib/inttegro/checkout/amount_selection.rb +0 -84
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: inttegro
3
3
  version: !ruby/object:Gem::Version
4
- version: 11.0.0
4
+ version: 12.0.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Inttegro Engineering
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2026-10-14 00:00:00.000000000 Z
11
+ date: 2026-11-06 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: sorbet-runtime
@@ -101,6 +101,7 @@ files:
101
101
  - lib/inttegro/app/lookup_capabilities_request.rb
102
102
  - lib/inttegro/app/lookup_response.rb
103
103
  - lib/inttegro/app/management_role.rb
104
+ - lib/inttegro/app/operating_policy.rb
104
105
  - lib/inttegro/app/pending_review_capability.rb
105
106
  - lib/inttegro/app/pending_review_capability_status.rb
106
107
  - lib/inttegro/app/pending_review_capability_status_reason.rb
@@ -168,10 +169,10 @@ files:
168
169
  - lib/inttegro/broadcast/request.rb
169
170
  - lib/inttegro/broadcast/request_request_meta.rb
170
171
  - lib/inttegro/broadcast/response.rb
171
- - lib/inttegro/checkout/amount_selection.rb
172
172
  - lib/inttegro/checkout/base.rb
173
173
  - lib/inttegro/checkout/billing_details.rb
174
174
  - lib/inttegro/checkout/confirm_payment_request.rb
175
+ - lib/inttegro/checkout/customer_data.rb
175
176
  - lib/inttegro/checkout/invoice_view.rb
176
177
  - lib/inttegro/checkout/invoice_view_beneficiary.rb
177
178
  - lib/inttegro/checkout/invoice_view_format.rb
@@ -179,7 +180,7 @@ files:
179
180
  - lib/inttegro/checkout/invoice_view_format_web.rb
180
181
  - lib/inttegro/checkout/invoice_view_status.rb
181
182
  - lib/inttegro/checkout/lookup_request.rb
182
- - lib/inttegro/checkout/lookup_request_variant2.rb
183
+ - lib/inttegro/checkout/lookup_resource_request_variant2.rb
183
184
  - lib/inttegro/checkout/lookup_response.rb
184
185
  - lib/inttegro/checkout/mobile_money_data.rb
185
186
  - lib/inttegro/checkout/mobile_money_data_network.rb
@@ -202,6 +203,7 @@ files:
202
203
  - lib/inttegro/checkout/pay_request.rb
203
204
  - lib/inttegro/checkout/pay_request_payment_method_data.rb
204
205
  - lib/inttegro/checkout/pay_request_payment_method_data_type.rb
206
+ - lib/inttegro/checkout/pay_request_selected_amount.rb
205
207
  - lib/inttegro/checkout/payment_address.rb
206
208
  - lib/inttegro/checkout/payment_method_data.rb
207
209
  - lib/inttegro/checkout/payment_method_data_billing_details.rb
@@ -209,6 +211,7 @@ files:
209
211
  - lib/inttegro/checkout/select_amount_request.rb
210
212
  - lib/inttegro/checkout/select_amount_request_variant1.rb
211
213
  - lib/inttegro/checkout/select_amount_request_variant2.rb
214
+ - lib/inttegro/checkout/select_amount_request_variant2_line_items_item.rb
212
215
  - lib/inttegro/checkout/selected_amount.rb
213
216
  - lib/inttegro/chime/base.rb
214
217
  - lib/inttegro/chime/chime.rb
@@ -221,12 +224,6 @@ files:
221
224
  - lib/inttegro/chime/email_schema_kind.rb
222
225
  - lib/inttegro/chime/email_schema_markup.rb
223
226
  - lib/inttegro/chime/inline_recipient.rb
224
- - lib/inttegro/chime/inline_recipient_variant1.rb
225
- - lib/inttegro/chime/inline_recipient_variant1_phone.rb
226
- - lib/inttegro/chime/inline_recipient_variant1_type.rb
227
- - lib/inttegro/chime/inline_recipient_variant2.rb
228
- - lib/inttegro/chime/inline_recipient_variant2_email.rb
229
- - lib/inttegro/chime/inline_recipient_variant2_type.rb
230
227
  - lib/inttegro/chime/lookup_request.rb
231
228
  - lib/inttegro/chime/page.rb
232
229
  - lib/inttegro/chime/page_request.rb
@@ -240,6 +237,12 @@ files:
240
237
  - lib/inttegro/chime/saved_customer_recipient.rb
241
238
  - lib/inttegro/chime/send_request.rb
242
239
  - lib/inttegro/chime/send_request_cooldown.rb
240
+ - lib/inttegro/chime/send_request_recipient_variant1_variant1.rb
241
+ - lib/inttegro/chime/send_request_recipient_variant1_variant1_phone.rb
242
+ - lib/inttegro/chime/send_request_recipient_variant1_variant1_type.rb
243
+ - lib/inttegro/chime/send_request_recipient_variant1_variant2.rb
244
+ - lib/inttegro/chime/send_request_recipient_variant1_variant2_email.rb
245
+ - lib/inttegro/chime/send_request_recipient_variant1_variant2_type.rb
243
246
  - lib/inttegro/chime/send_request_request_meta.rb
244
247
  - lib/inttegro/chime/transmission.rb
245
248
  - lib/inttegro/chime/transport.rb
@@ -343,6 +346,7 @@ files:
343
346
  - lib/inttegro/financial_account/id_request.rb
344
347
  - lib/inttegro/financial_account/lookup_response.rb
345
348
  - lib/inttegro/financial_account/mandate.rb
349
+ - lib/inttegro/financial_account/name_enquiry.rb
346
350
  - lib/inttegro/financial_account/owner.rb
347
351
  - lib/inttegro/financial_account/owner_input.rb
348
352
  - lib/inttegro/financial_account/owner_input_address.rb
@@ -390,6 +394,7 @@ files:
390
394
  - lib/inttegro/message_template/create_sms_request.rb
391
395
  - lib/inttegro/message_template/create_sms_request_channel.rb
392
396
  - lib/inttegro/message_template/email_content.rb
397
+ - lib/inttegro/message_template/email_content_from.rb
393
398
  - lib/inttegro/message_template/envelope.rb
394
399
  - lib/inttegro/message_template/id_request.rb
395
400
  - lib/inttegro/message_template/mailbox.rb
@@ -501,6 +506,7 @@ files:
501
506
  - lib/inttegro/payment/base.rb
502
507
  - lib/inttegro/payment/billing_details.rb
503
508
  - lib/inttegro/payment/billing_details_owner.rb
509
+ - lib/inttegro/payment/children_policy_capabilities.rb
504
510
  - lib/inttegro/payment/confirm_request.rb
505
511
  - lib/inttegro/payment/confirmation_channel.rb
506
512
  - lib/inttegro/payment/customer.rb
@@ -521,6 +527,8 @@ files:
521
527
  - lib/inttegro/payment/next_action_request_confirmation.rb
522
528
  - lib/inttegro/payment/next_action_request_confirmation_last_request.rb
523
529
  - lib/inttegro/payment/next_action_type.rb
530
+ - lib/inttegro/payment/operating_policy_capabilities.rb
531
+ - lib/inttegro/payment/operating_policy_capabilities_input.rb
524
532
  - lib/inttegro/payment/payment.rb
525
533
  - lib/inttegro/payment/payment_method.rb
526
534
  - lib/inttegro/payment/payout_configuration.rb
@@ -537,6 +545,8 @@ files:
537
545
  - lib/inttegro/payment_method/bank_account_ghana_bank_account.rb
538
546
  - lib/inttegro/payment_method/base.rb
539
547
  - lib/inttegro/payment_method/card.rb
548
+ - lib/inttegro/payment_method/children_policy_payment_method_capabilities.rb
549
+ - lib/inttegro/payment_method/children_policy_payment_methods_capabilities.rb
540
550
  - lib/inttegro/payment_method/data.rb
541
551
  - lib/inttegro/payment_method/data_mobile_money.rb
542
552
  - lib/inttegro/payment_method/data_type.rb
@@ -548,6 +558,8 @@ files:
548
558
  - lib/inttegro/payment_method/lookup_request.rb
549
559
  - lib/inttegro/payment_method/lookup_response.rb
550
560
  - lib/inttegro/payment_method/mobile_money.rb
561
+ - lib/inttegro/payment_method/operating_policy_payment_method_capabilities.rb
562
+ - lib/inttegro/payment_method/operating_policy_payment_methods_capabilities.rb
551
563
  - lib/inttegro/payment_method/owner.rb
552
564
  - lib/inttegro/payment_method/owner_address.rb
553
565
  - lib/inttegro/payment_method/owner_input.rb
@@ -581,6 +593,7 @@ files:
581
593
  - lib/inttegro/payout/cancel_request.rb
582
594
  - lib/inttegro/payout/cancellation.rb
583
595
  - lib/inttegro/payout/cancellation_reason.rb
596
+ - lib/inttegro/payout/children_policy_capabilities.rb
584
597
  - lib/inttegro/payout/destinations.rb
585
598
  - lib/inttegro/payout/disable_automatic_request.rb
586
599
  - lib/inttegro/payout/disable_automatic_response.rb
@@ -589,7 +602,10 @@ files:
589
602
  - lib/inttegro/payout/failure.rb
590
603
  - lib/inttegro/payout/failure_reason.rb
591
604
  - lib/inttegro/payout/get_settings_request.rb
605
+ - lib/inttegro/payout/limit_value.rb
592
606
  - lib/inttegro/payout/lookup_request.rb
607
+ - lib/inttegro/payout/operating_policy_capabilities.rb
608
+ - lib/inttegro/payout/operating_policy_capabilities_input.rb
593
609
  - lib/inttegro/payout/page.rb
594
610
  - lib/inttegro/payout/page_request.rb
595
611
  - lib/inttegro/payout/page_response.rb
@@ -679,6 +695,11 @@ files:
679
695
  - lib/inttegro/purchase_intent/create_request_usage.rb
680
696
  - lib/inttegro/purchase_intent/lookup_request.rb
681
697
  - lib/inttegro/purchase_intent/merchant.rb
698
+ - lib/inttegro/purchase_intent/merchant_asset.rb
699
+ - lib/inttegro/purchase_intent/merchant_branding.rb
700
+ - lib/inttegro/purchase_intent/merchant_color_scheme.rb
701
+ - lib/inttegro/purchase_intent/merchant_profile.rb
702
+ - lib/inttegro/purchase_intent/merchant_support.rb
682
703
  - lib/inttegro/purchase_intent/original_price.rb
683
704
  - lib/inttegro/purchase_intent/page.rb
684
705
  - lib/inttegro/purchase_intent/page_request.rb
@@ -747,6 +768,7 @@ files:
747
768
  - lib/inttegro/resources/balance_transactions.rb
748
769
  - lib/inttegro/resources/balances.rb
749
770
  - lib/inttegro/resources/broadcasts.rb
771
+ - lib/inttegro/resources/children_policies.rb
750
772
  - lib/inttegro/resources/chimes.rb
751
773
  - lib/inttegro/resources/customers.rb
752
774
  - lib/inttegro/resources/file_links.rb
@@ -755,6 +777,7 @@ files:
755
777
  - lib/inttegro/resources/financial_accounts.rb
756
778
  - lib/inttegro/resources/keys.rb
757
779
  - lib/inttegro/resources/message_templates.rb
780
+ - lib/inttegro/resources/operating_policies.rb
758
781
  - lib/inttegro/resources/orders.rb
759
782
  - lib/inttegro/resources/otp.rb
760
783
  - lib/inttegro/resources/payment_methods.rb
@@ -827,12 +850,18 @@ files:
827
850
  - lib/inttegro/shared/address.rb
828
851
  - lib/inttegro/shared/base.rb
829
852
  - lib/inttegro/shared/billing_details.rb
853
+ - lib/inttegro/shared/children_policy.rb
854
+ - lib/inttegro/shared/children_policy_capabilities.rb
855
+ - lib/inttegro/shared/children_policy_response.rb
856
+ - lib/inttegro/shared/children_policy_versions_page.rb
857
+ - lib/inttegro/shared/children_policy_versions_page_response.rb
830
858
  - lib/inttegro/shared/content_safety_status.rb
831
859
  - lib/inttegro/shared/country_bank.rb
832
860
  - lib/inttegro/shared/country_bank_branch.rb
833
861
  - lib/inttegro/shared/country_bank_directory.rb
834
862
  - lib/inttegro/shared/country_specification.rb
835
863
  - lib/inttegro/shared/country_specifications.rb
864
+ - lib/inttegro/shared/create_operating_policy_request.rb
836
865
  - lib/inttegro/shared/delivery_channel.rb
837
866
  - lib/inttegro/shared/dosh_account.rb
838
867
  - lib/inttegro/shared/error_envelope.rb
@@ -844,11 +873,32 @@ files:
844
873
  - lib/inttegro/shared/financial_institution_bank.rb
845
874
  - lib/inttegro/shared/financial_institution_bank_branch.rb
846
875
  - lib/inttegro/shared/financial_institution_mobile_money_provider.rb
876
+ - lib/inttegro/shared/inline_operating_policy_selection.rb
847
877
  - lib/inttegro/shared/invoice_settings.rb
848
878
  - lib/inttegro/shared/line_item.rb
849
879
  - lib/inttegro/shared/list_country_specs_request.rb
880
+ - lib/inttegro/shared/lookup_children_policy_request.rb
881
+ - lib/inttegro/shared/lookup_operating_policy_request.rb
850
882
  - lib/inttegro/shared/mobile_money.rb
851
883
  - lib/inttegro/shared/mobile_money_network.rb
884
+ - lib/inttegro/shared/operating_policy.rb
885
+ - lib/inttegro/shared/operating_policy_capabilities.rb
886
+ - lib/inttegro/shared/operating_policy_capabilities_input.rb
887
+ - lib/inttegro/shared/operating_policy_response.rb
888
+ - lib/inttegro/shared/operating_policy_selection.rb
889
+ - lib/inttegro/shared/operating_policy_selection_by_id.rb
890
+ - lib/inttegro/shared/operating_policy_source.rb
891
+ - lib/inttegro/shared/operating_policy_source_type.rb
892
+ - lib/inttegro/shared/operating_policy_versions_page.rb
893
+ - lib/inttegro/shared/operating_policy_versions_page_response.rb
894
+ - lib/inttegro/shared/page_children_policy_versions_request.rb
895
+ - lib/inttegro/shared/page_operating_policy_versions_request.rb
896
+ - lib/inttegro/shared/policy_amount_range.rb
897
+ - lib/inttegro/shared/policy_bt_aging_spec.rb
898
+ - lib/inttegro/shared/policy_bt_aging_spec_id.rb
899
+ - lib/inttegro/shared/policy_bt_aging_spec_reference.rb
900
+ - lib/inttegro/shared/policy_bt_aging_spec_reference_id.rb
901
+ - lib/inttegro/shared/policy_limits.rb
852
902
  - lib/inttegro/shared/request_confirmation_request.rb
853
903
  - lib/inttegro/shared/resource_supply.rb
854
904
  - lib/inttegro/shared/response_meta.rb
@@ -856,6 +906,7 @@ files:
856
906
  - lib/inttegro/shared/shipping_details.rb
857
907
  - lib/inttegro/shared/shipping_line_item.rb
858
908
  - lib/inttegro/shared/shipping_line_item_type.rb
909
+ - lib/inttegro/shared/update_operating_policy_request.rb
859
910
  - lib/inttegro/shared/upload_fulfillment.rb
860
911
  - lib/inttegro/shared/upload_review_decision.rb
861
912
  - lib/inttegro/shared/upload_review_type.rb
@@ -1,84 +0,0 @@
1
- # frozen_string_literal: true
2
- # typed: strict
3
-
4
- # Generated from openapi/commerce.yml by bin/generate-openapi-types. Do not edit.
5
-
6
- require_relative "base"
7
- require_relative "../price/customer_selected_amount"
8
-
9
- module Inttegro
10
- module Checkout
11
- # Typed representation of the amount selection object in the Inttegro API.
12
- #
13
- # This generated model is immutable. Construct it with `.new`, or decode a string-keyed API
14
- # payload with `.from_hash`. `#serialize` produces a string-keyed hash using the original wire
15
- # field names and serialized enum values.
16
- #
17
- # @api public
18
- #
19
- # @!attribute [r] purchase_intent_id
20
- # Purchase Intent reference present when selection creates an Order.
21
- #
22
- # Optional in the API payload; omitted values default to `nil`. Wire name: `purchase_intent_id`.
23
- # @return [String, nil]
24
- #
25
- # @!attribute [r] order_id
26
- # Order reference present when selection changes an existing Order.
27
- #
28
- # Optional in the API payload; omitted values default to `nil`. Wire name: `order_id`.
29
- # @return [String, nil]
30
- #
31
- # @!attribute [r] price_id
32
- # Value of the `price_id` field in the Inttegro API payload.
33
- #
34
- # Required in the API payload. Wire name: `price_id`.
35
- # @return [String]
36
- #
37
- # @!attribute [r] product_id
38
- # Value of the `product_id` field in the Inttegro API payload.
39
- #
40
- # Required in the API payload. Wire name: `product_id`.
41
- # @return [String]
42
- #
43
- # @!attribute [r] merchant_name
44
- # Value of the `merchant_name` field in the Inttegro API payload.
45
- #
46
- # Required in the API payload. Wire name: `merchant_name`.
47
- # @return [String]
48
- #
49
- # @!attribute [r] product_name
50
- # Value of the `product_name` field in the Inttegro API payload.
51
- #
52
- # Required in the API payload. Wire name: `product_name`.
53
- # @return [String]
54
- #
55
- # @!attribute [r] product_about
56
- # Value of the `product_about` field in the Inttegro API payload.
57
- #
58
- # Optional in the API payload; omitted values default to `nil`. Wire name: `product_about`.
59
- # @return [String, nil]
60
- #
61
- # @!attribute [r] expires_at
62
- # Value of the `expires_at` field in the Inttegro API payload.
63
- #
64
- # Optional in the API payload; omitted values default to `nil`. Wire name: `expires_at`.
65
- # @return [Time, nil]
66
- #
67
- # @!attribute [r] customer_selected_amount
68
- # Value of the `customer_selected_amount` field in the Inttegro API payload.
69
- #
70
- # Required in the API payload. Wire name: `customer_selected_amount`.
71
- # @return [Inttegro::Price::CustomerSelectedAmount]
72
- class AmountSelection < T::Struct
73
- const :purchase_intent_id, T.nilable(String), default: nil
74
- const :order_id, T.nilable(String), default: nil
75
- const :price_id, String
76
- const :product_id, String
77
- const :merchant_name, String
78
- const :product_name, String
79
- const :product_about, T.nilable(String), default: nil
80
- const :expires_at, T.nilable(Time), default: nil
81
- const :customer_selected_amount, Inttegro::Price::CustomerSelectedAmount
82
- end
83
- end
84
- end