feat: Add store_for_future_use
Property and Update Tests
#156
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
feat: Add
store_for_future_use
Property and Update TestsDescription:
This PR enhances the Checkout SDK for Ruby by introducing a new
store_for_future_use
property in theNetworkTokenSource
class and updating various test cases to improve coverage and skip unavailable scenarios. Additionally, this PR refines helper methods and test validations.Key Changes:
New Property:
store_for_future_use
to theNetworkTokenSource
class to enable token storage preferences.Test Updates:
skip: 'unavailable'
in:InstrumentsIntegrationSpec
HostedPaymentsIntegrationSpec
PaymentsIntegrationSpec
(Previous and APM)TokensIntegrationSpec
request_apm_payments_integration_spec
:create_hosted_payments_request
to includedisplay_name
for payment descriptions.Helper Updates:
data_factory
and payment helpers from 2025 to 2030.Impact:
store_for_future_use
property.Testing:
store_for_future_use
integration in related classes.Notes:
store_for_future_use
property if applicable.