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

[V7] Add Encodable protocol for paypal_accounts LPM #1493

Merged
merged 4 commits into from
Jan 7, 2025

Conversation

richherrera
Copy link
Contributor

Summary of changes

  • Add encodable types for post bodies used in the LocalPayment PayPal Accounts flow.
  • LocalPaymentPayPalAccounts has been tested in the Demo app to ensure the dictionaries are still constructed as expected.

Checklist

  • [ ] Added a changelog entry
  • Tested and confirmed payment flows affected by this change are functioning as expected

Authors

@richherrera richherrera self-assigned this Jan 6, 2025
@richherrera richherrera requested a review from a team as a code owner January 6, 2025 23:47
@richherrera richherrera changed the title Lpm accounts encodable [V7] Add Encodable protocol for paypal_accounts LPM Jan 6, 2025
// MARK: - Private Properties

private let paypalAccount: LocalPaymentPayPalAccount
private let meta: LocalPaymentPayPalAccountMetadata
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nit: can we name this either payPalAccountMetadata

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes, we can, Updated: c291980


// MARK: - Private Properties

private let paypalAccount: LocalPaymentPayPalAccount
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
private let paypalAccount: LocalPaymentPayPalAccount
private let payPalAccount: LocalPaymentPayPalAccount

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Updated: c291980

Copy link
Contributor

@agedd agedd left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm!

@richherrera richherrera merged commit 4145563 into v7 Jan 7, 2025
8 checks passed
@richherrera richherrera deleted the lpm-accounts-encodable branch January 7, 2025 18:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants