Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

PayTo full flow #2040

Open
wants to merge 16 commits into
base: feature/payto-base
Choose a base branch
from
Open

PayTo full flow #2040

wants to merge 16 commits into from

Conversation

erenbesel
Copy link
Contributor

Summary

Working flow for payto.
(Picker auto first responder still not worked on)

Ticket

COIOS-877

@erenbesel erenbesel added the chore a pull request that has chore changes that shouldn't be in the release notes label Mar 6, 2025
Copy link
Contributor

github-actions bot commented Mar 6, 2025

⚠️ 8 public changes detected ⚠️

Comparing feature/payto-full-flow to feature/payto-base

❇️6 Additions
🔀1 Modification
1 Removal

Adyen

PaymentMethodType

❇️ Added

case payTo

❌ Removed

case payto

AdyenActions

AwaitPaymentMethod

❇️ Added

case payTo

AdyenComponents

❇️ Added

public struct PayToDetails: Adyen.PaymentMethodDetails, Adyen.ShopperInformation {
  public func encode(to encoder: any Swift.Encoder) throws -> Swift.Void
  public let accountIdentifier: Swift.String { get }
  public let shopperName: Adyen.ShopperName? { get }
  public let type: Adyen.PaymentMethodType { get }
}

🔀 Modified

// From
final public class PayToComponent: Adyen.AdyenObserver, Adyen.PaymentComponent, Adyen.PresentableComponent

// To
final public class PayToComponent: Adyen.AdyenObserver, Adyen.LoadingComponent, Adyen.PaymentAware, Adyen.PaymentComponent, Adyen.PresentableComponent, Adyen.SubmittableComponent

/**
Changes:
- Added inheritance `Adyen.LoadingComponent`
- Added inheritance `Adyen.PaymentAware`
- Added inheritance `Adyen.SubmittableComponent`
*/

PayToComponent

❇️ Added

final public func stopLoading() -> Swift.Void
final public func submit() -> Swift.Void
final public func validate() -> Swift.Bool

Analyzed targets: Adyen, AdyenActions, AdyenCard, AdyenCashAppPay, AdyenComponents, AdyenDelegatedAuthentication, AdyenDropIn, AdyenEncryption, AdyenSession, AdyenSwiftUI, AdyenTwint, AdyenWeChatPay

Copy link

sonarqubecloud bot commented Mar 6, 2025

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
chore a pull request that has chore changes that shouldn't be in the release notes
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants