Skip to content

NXC-289: Change UpdateCustomerRequest Currency property - #15

Merged
raymens merged 1 commit into
mainfrom
289_updateCustomer_method
Jun 17, 2026
Merged

raymens merged 1 commit into
mainfrom
289_updateCustomer_method

Conversation

@AsimaksiAnt

Copy link
Copy Markdown
Contributor
  • Change currencyId to currencyCode
  • Add 'Other' type in CustomerPersonType enum

- Change currencyId to currencyCode
- Add 'Other' type in CustomerPersonType enum
Copilot AI review requested due to automatic review settings June 16, 2026 14:58

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Pull request overview

Updates the SDK’s customer models to align with an API change: UpdateCustomerRequest now uses a currency code instead of an integer currency id, and customer-person relationships gain an additional Other classification.

Changes:

  • Replaced UpdateCustomerRequest.CurrencyId (int?) with CurrencyCode (string?).
  • Added Other to the CustomerPersonType enum.

Reviewed changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated 1 comment.

File Description
src/Nexus.Crypto.SDK/Models/Customer/CustomerModel.cs Renames the update-request currency field from ID-based to code-based.
src/Nexus.Crypto.SDK/Models/CustomerPerson.cs Extends CustomerPersonType with Other to support an additional person linkage type.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread src/Nexus.Crypto.SDK/Models/CustomerPerson.cs
@raymens
raymens merged commit a31f2e3 into main Jun 17, 2026
6 checks passed
@raymens
raymens deleted the 289_updateCustomer_method branch June 17, 2026 07:17
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