Skip to content

fix: add missing BatchPayment mapping to BankTransaction#809

Open
miachillgood wants to merge 1 commit into
XeroAPI:masterfrom
miachillgood:codex/add-banktransaction-batchpayment
Open

fix: add missing BatchPayment mapping to BankTransaction#809
miachillgood wants to merge 1 commit into
XeroAPI:masterfrom
miachillgood:codex/add-banktransaction-batchpayment

Conversation

@miachillgood

Copy link
Copy Markdown

Summary

  • add the missing batchPayment field to BankTransaction
  • include the BatchPayment -> batchPayment attribute map entry so API responses deserialize it
  • add regression coverage for the attribute map

Why

Issue #776 reports that BankTransaction responses include BatchPayment, but the SDK model does not expose it. The generated Payment model already includes the same nested type, so this is a model-mapping gap rather than a new feature.

Validation

  • npm test -- --runInBand
  • npm run build

Closes #776

@miachillgood miachillgood marked this pull request as ready for review June 12, 2026 15:23
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.

BankTransaction type is missing the batchPayment object.

1 participant