Skip to content

LEDG-3333 Fix CardDetails - add FeeProgram #213

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

Merged
merged 4 commits into from
Jul 8, 2025

Conversation

kolaworld
Copy link
Contributor

  • Fix to resolve test Test_Transfers/list_transfers test failure: json: unknown field "feeProgram"
  • Add CardDetails.FeeProgram field to match moov-api spec
  • Mark CardDetails.InterchangeQualification as deprecated per spec ^

@kolaworld kolaworld requested review from atonks2, a team, sarumont, pa3ng, vxio and carsonab and removed request for wadearnold, adamdecaf, InfernoJJ and a team July 8, 2025 17:22
@InfernoJJ
Copy link
Collaborator

Can we try to fix up the diff's caused by formatting?

@kolaworld
Copy link
Contributor Author

Can we try to fix up the diff's caused by formatting?

@InfernoJJ what do you suggest?

Move the comment inline? Move the added field 'FeeProgram' to the bottom of the struct definition?

@InfernoJJ
Copy link
Collaborator

I was referencing the lines that changed only because of formatting changes. I would just match what was there.

@@ -128,26 +128,6 @@ func CreateTemporaryTestAccount(t *testing.T, mc *moov.Client, create moov.Creat
return account
}

func createTemporaryBankAccount(t *testing.T, mc *moov.Client, accountID string) *moov.BankAccount {
Copy link
Contributor Author

Choose a reason for hiding this comment

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

unused method

@@ -52,7 +52,7 @@ func Test_SweepConfig_CRUD_Endpoints(t *testing.T) {
require.NoError(t, err)

// Get by ID
sweepConfig, err = mc.GetSweepConfig(ctx, accountID, sweepConfig.SweepConfigID)
_, err = mc.GetSweepConfig(ctx, accountID, sweepConfig.SweepConfigID)
Copy link
Contributor Author

Choose a reason for hiding this comment

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

fix lint

@kolaworld kolaworld merged commit e4f63f7 into main Jul 8, 2025
4 checks passed
@kolaworld kolaworld deleted the ledg-3333-fix-card-details-add-feeprogram branch July 8, 2025 18:07
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.

2 participants